* limitations under the License.
*/
-!function(a,b,c){"use strict";var d=a.tau=a.tau||{},e=a.tauConfig=a.tauConfig||{};e.rootNamespace="tau",e.fileName="tau",d.version="1.2.7",function(b,d){var e=0,f=+new Date,g=[].slice,h="",i="",j=function(a){var b=new Date;a.unshift("["+h+"]["+b.toLocaleString()+"]")},k=a.ns||a.tau||{},l=a.nsConfig||a.tauConfig||{},m=function(a){this.message=a};k.info=k.info||{profile:"custom"},k.tauPerf=k.tauPerf||{},a.ns=k,a.nsConfig=l,a.tau=k,a.tauConfig=l,h=l.rootNamespace,i=l.fileName,m.prototype.toString=function(){return this.message},k.getUniqueId=function(){return h+"-"+k.getNumberUniqueId()+"-"+f},k.getNumberUniqueId=function(){return e++},k.log=function(){var a=g.call(arguments);j(a),d&&d.log.apply(d,a)},k.warn=function(){var a=g.call(arguments);j(a),d&&d.warn.apply(d,a)},k.error=function(){var a=g.call(arguments);j(a),d&&d.error.apply(d,a)},k.getConfig=function(a,b){return l[a]===c?b:l[a]},k.setConfig=function(a,b,d){d&&l[a]!==c||(l[a]=b)},k.getFrameworkPath=function(){var a,c,d,e,f=b.getElementsByTagName("script"),g=f.length;for(a=0;g>a;a++)if(c=f[a].src,d=c.split("/"),e=d.length,d[e-1]===i+".js"||d[e-1]===i+".min.js")return d.slice(0,e-1).join("/");return null},k._TAUException=m,k["throws"]=function(a){throw"string"!=typeof a&&k["throws"]("Wrong parameter type. Message must be a string!"),new k._TAUException(a)}}(a.document,a.console),function(){d.setConfig("autoBuildOnPageChange",!0,!0),d.setConfig("loader",!1,!0),d.setConfig("pageContainerBody",!0,!0),d.setConfig("popupTransition","slideup",!0),d.setConfig("pageTransition","none",!0),d.setConfig("enablePageScroll",!1,!0)}(),function(){d.setConfig("rootDir",d.getFrameworkPath(),!0),d.setConfig("version","",!0),d.setConfig("allowCrossDomainPages",!1,!0),d.setConfig("domCache",!1,!0),d.setConfig("autoBuildOnPageChange",!0,!0),d.setConfig("autoInitializePage",!0,!0),d.setConfig("dynamicBaseEnabled",!0,!0),d.setConfig("pageTransition","none",!0),d.setConfig("popupTransition","none",!0),d.setConfig("popupFullSize",!1,!0),d.setConfig("scrollEndEffectArea","content",!0),d.setConfig("enablePopupScroll",!1,!0),d.setConfig("pageContainer",b.body,!0),d.setConfig("findProfileFile",!1,!0),d.setConfig("keyboardSupport",!1)}(),function(){function a(a){Object.defineProperty(d.defaults,a,{get:function(){return d.warn("tau.defaults are deprecated from Tizen 3.0, please use tau.getConfig."),d.getConfig(a)},set:function(b){return d.warn("tau.defaults are deprecated from Tizen 3.0, please use tau.setConfig."),d.setConfig(a,b)}})}var b={};d.defaults=b,a("autoInitializePage"),a("dynamicBaseEnabled"),a("pageTransition"),a("popupTransition"),a("popupFullSize"),a("enablePageScroll"),a("goToTopButton"),a("scrollEndEffectArea"),a("enablePopupScroll")}(),function(a,b){function e(d){var e=b.createElement("style"),f="@media "+d+" { #jquery-mediatest { position:absolute; } }";return d.cacheMedia===c&&(e.type="text/css",e.styleSheet?e.styleSheet.cssText=f:e.appendChild(b.createTextNode(f)),s.firstChild?s.insertBefore(q,s.firstChild):s.appendChild(q),s.insertBefore(e,q),l=a.getComputedStyle(p),o[d]="absolute"===l.position,e.parentNode.removeChild(e),q.parentNode.removeChild(q)),o[d]}function f(a,c,d){var e,f,g=b.createElement("div"),h=function(a){return a.charAt(0).toUpperCase()+a.substr(1)},i=function(a){return"-"+a.charAt(0).toLowerCase()+a.substr(1)+"-"},j=function(b){var d=i(b)+a+": "+c+";",f=h(b),j=f+h(a);g.setAttribute("style",d),g.style[j]&&(e=!0)},k=d?[d]:t,l=k.length;for(f=0;l>f;f++)j(k[f]);return!!e}function g(a){var b,d=a.charAt(0).toUpperCase()+a.substr(1),e=(a+" "+t.join(d+" ")+d).split(" ");for(b=0;b<e.length;b++)if(e.hasOwnProperty(b)&&r[e[b]]!==c)return!0;return!1}function h(){var a="transform-3d";return f("perspective","10px","moz")||e("(-"+t.join("-"+a+"),(-")+"-"+a+"),("+a+")")}function i(){var a,c,d=location.protocol+"//"+location.host+location.pathname+"ui-dir/",e=b.head,f=e.querySelector("base"),g=null,h=!1,i="";return f?(i=f.getAttribute("href"),f.setAttribute("href",d),h=!0):(f=g=b.createElement("base"),f.setAttribute("href",d),e.appendChild(f)),a=b.createElement("a"),a.href="testurl",q.firstChild?q.insertBefore(a,q.firstChild):q.appendChild(a),c=a.href,f.href=i||location.pathname,g&&e.removeChild(g),h&&f.setAttribute("href",i),"#build"===location.hash?!1:0===c.indexOf(d)}function j(){var d,e=b.createElement("x"),f=b.documentElement,g=a.getComputedStyle,h=e.style;return h.pointerEvents===c?!1:(h.pointerEvents="x",f.appendChild(e),d=g&&"auto"===g(e,"").pointerEvents,f.removeChild(e),!!d)}function k(){var a=b.createElement("div");return a.getBoundingClientRect!==c}var l,m,n,o={},p=b.createElement("div"),q=b.createElement("body"),r=q.style,s=b.getElementsByTagName("html")[0],t=["Webkit","Moz","O"],u=a.palmGetResource,v=a.opera,w=a.operamini&&"[object OperaMini]"==={}.toString.call(a.operamini),x=p.style;p.id="jquery-mediatest",q.appendChild(p),m=a.blackberry&&!g("-webkit-transform"),n=function(){var a=3,c=b.createElement("div"),d=c.all||[];do c.innerHTML="<!--[if gt IE "+ ++a+"]><br><![endif]-->";while(d[0]);return a}(),d.support={media:e,cssTransitions:(a.WebKitTransitionEvent!==c||f("transition","height 100ms linear"))&&!v,pushState:a.history.pushState&&a.history.replaceState&&!0,mediaquery:e("only all"),cssPseudoElement:!!g("content"),touchOverflow:!!g("overflowScrolling"),cssTransform3d:h(),boxShadow:!!g("boxShadow")&&!m,scrollTop:(a.pageXOffset||b.documentElement.scrollTop||q.scrollTop)===c||u||w?!1:!0,dynamicBaseTag:i(),cssPointerEvents:j(),cssAnimationPrefix:x.hasOwnProperty("webkitAnimation")?"-webkit-":x.hasOwnProperty("mozAnimation")?"-moz-":x.hasOwnProperty("oAnimation")?"-o-":"",boundingRect:k(),browser:{ie:n>4},gradeA:function(){return(this.mediaquery||this.browser.ie&&n>=7)&&(this.boundingRect||null!==(a.jQuery&&a.jQuery.fn&&a.jQuery.fn.jquery.match(/1\.[0-7+]\.[0-9+]?/)))},touch:b.ontouchend!==c,orientation:a.orientation!==c&&a.onorientationchange!==c},p=null,q=null}(a,a.document),function(a,b,c){function d(a,b){var c,d=new XMLHttpRequest;return d.open("get",a,!1),b&&d.overrideMimeType(b),d.send(),4===d.readyState&&(c=d.status,200===c||0===c&&d.responseText)?d.responseText:null}function e(a){for(var b,c=m.call(a.querySelectorAll("script[src]")),d=c.length;--d>=0;)b=c[d],b.parentNode.removeChild(b);return c}function f(b){return function(){try{a.eval(b)}catch(d){d.stack?c.error(d.stack):d.name&&d.message?c.error(d.name,d.message):c.error(d)}}}function g(a){var b,c=a.length;for(b=0;c>b;++b)a[b]()}function h(a,c){var d,e,f,g,h=[];for(f=0,g=a.length;g>f;++f)e=k.fetchSync(a[f].src,"text/plain"),e&&(d=b.adoptNode(a[f]),d.setAttribute("data-src",a[f].src),d.removeAttribute("src"),h.push(k.safeEvalWrap(e)),c&&c.appendChild(d));return h}function i(a){var c,d=[];return m.call(a.querySelectorAll("script:not([data-src]):not([type]):not([id]):not([src])")).forEach(function(a){c=b.createElement("script"),c.innerText=a.textContent,m.call(a.attributes).forEach(function(b){c.setAttribute(b.name,a.getAttribute(b.name))}),a.parentNode.removeChild(a),d.push(c)}),d}var j=null,k=c.util||{},l=[],m=[].slice,n=!1;k._requestAnimationFrameOnSetTimeout=function(b){"function"!=typeof b&&c["throws"]("Parameter is not a function!"),j=a.setTimeout(b.bind(b,+new Date),1e3/60)},k._loop=function(){var a=m.call(l),b=a.shift(),c=performance.now();for(l=[];b;)b(c),b=performance.now()-c<15?a.shift():null;a.length||l.length?(l.unshift.apply(l,a),k.windowRequestAnimationFrame(k._loop)):n=!1},k._getRequestAnimationFrame=function(){return(a.requestAnimationFrame||a.webkitRequestAnimationFrame||a.mozRequestAnimationFrame||a.oRequestAnimationFrame||a.msRequestAnimationFrame||k._requestAnimationFrameOnSetTimeout).bind(a)},k.windowRequestAnimationFrame=k._getRequestAnimationFrame(),k.requestAnimationFrame=function(a){l.push(a),n||(k.windowRequestAnimationFrame(k._loop),n=!0)},k._cancelAnimationFrameOnSetTimeout=function(){a.clearTimeout(j)},k.cancelAnimationFrames=function(a){var b=0,d=l.length,e=0;if(a)for(;d>0&&b>-1;){for(b=-1;d>e;e++)if(l[e].animationId===a){b=e;break}b>-1&&(l.splice(b,1),d--)}else c.warn("cancelAnimationFrames() require one parameter for request identify")},k._getCancelAnimationFrame=function(){return(a.cancelAnimationFrame||a.webkitCancelAnimationFrame||a.mozCancelAnimationFrame||a.oCancelAnimationFrame||a.msCancelAnimationFrame||k._cancelAnimationFrameOnSetTimeout).bind(a)},k.cancelAnimationFrame=k._getCancelAnimationFrame(),k.fetchSync=d,k._removeExternalScripts=e,k.safeEvalWrap=f,k.batchCall=g,k._createScriptsSync=h,k._removeInlineScripts=i,k.async=k.requestAnimationFrame,k.importEvaluateAndAppendElement=function(a,c){var d=k._createScriptsSync(k._removeExternalScripts(a),a),e=k._removeInlineScripts(a),f=b.importNode(a,!0);return c.appendChild(f),e.forEach(function(a){c.appendChild(a)}),k.batchCall(d),f},k.isNumber=function(a){var b=parseFloat(a);return!isNaN(b)&&isFinite(b)},k.runScript=function(c,d){var e,f,g,h=b.createElement("script"),i=m.call(d.attributes),j=d.getAttribute("src");for(null!==j&&(j=k.path.makeUrlAbsolute(j,c)),f=i.length;--f>=0;)g=i[f],"src"!==g.name?h.setAttribute(g.name,g.value):h.setAttribute("data-src",g.value);e=j?k.fetchSync(j,"text/plain"):d.textContent,e&&(h.src=a.URL.createObjectURL(new Blob([e],{type:"text/javascript"})),h.textContent=e),d.parentNode.replaceChild(h,d)},c.util=k}(a,a.document,d),function(a){function b(a,b){var c,d,e=!1;return isNaN(a)&&isNaN(b)?(e=!0,c=a.charCodeAt(0),d=b.charCodeAt(0)):(c=isNaN(a)?0:a,d=isNaN(b)?0:b),{inival:c,endval:d,chars:e}}function d(a,c,d){var e,f,g,h,i,j=[],k=d||1;if(i=b(a,c),e=i.inival,f=i.endval,h=i.chars,g=f>=e)for(;f>=e;)j.push(h?String.fromCharCode(e):e),e+=k;else for(;e>=f;)j.push(h?String.fromCharCode(e):e),e-=k;return j}function e(a){return Array.isArray(a)||a instanceof NodeList||"function"==typeof a}function f(a){var b=a.length;return 0===b||"number"==typeof b&&b>0&&b-1 in a}function g(a){return a&&a!==a.window?e(a)&&f(a):!1}function h(a,b){var c,d,e=a;for(a instanceof Array||(e=[].slice.call(a)),d=e.length,c=0;d>c;c++)b(e[c],c,e)}function i(a,b){var c,d,e,f=[],g=a;for(a instanceof Array||(g=[].slice.call(a)),d=g.length,c=0;d>c;c++)e=g[c],b(e,c,g)&&f.push(e);return f}function j(a,b){var c,d,e=[],f=a;for(a instanceof Array||(f=[].slice.call(a)),d=f.length,c=0;d>c;c++)e.push(b(f[c],c,f));return e}function k(a,b,d){var e,f,g,h=d,i=a;for(a instanceof Array||(i=[].slice.call(a)),f=i.length,e=0;f>e;e++)g=i[e],h=h===c&&0===e?g:b(h,g,e,i);return h}a.util.array={range:d,isArrayLike:g,forEach:h,filter:i,map:j,reduce:k}}(d),function(a,d){function e(a){var b;return g.forEach(function(c){c.element===a&&(b=c.instance)}),b}function f(a){g.forEach(function(b,c){b.element===a&&g.splice(c,1)})}var g=[],h=Array.isArray,i=d.util.array.isArrayLike,j=/\s+/g,k=function(a){return a.trim()},l=function(a,b){var c,d,e=[];if("string"==typeof a&&(a=a.split(j).map(k)),h(a))for(d=0;d<a.length;d++)e.push({type:a[d],callback:b});else for(c in a)a.hasOwnProperty(c)&&e.push({type:c,callback:a[c]});return e};d.event={trigger:function(a,b,c,d,e){var f=new CustomEvent(b,{detail:c,bubbles:"boolean"==typeof d?d:!0,cancelable:"boolean"==typeof e?e:!0});return a.dispatchEvent(f)},preventDefault:function(a){var b=a._originalEvent;b&&b.preventDefault&&b.preventDefault(),a.preventDefault()},stopPropagation:function(a){var b=a._originalEvent;b&&b.stopPropagation&&b.stopPropagation(),a.stopPropagation()},stopImmediatePropagation:function(a){var b=a._originalEvent;b&&b.stopImmediatePropagation&&b.stopImmediatePropagation(),a.stopImmediatePropagation()},documentRelativeCoordsFromEvent:function(c){var d,e=c?c:a.event,f={x:e.clientX,y:e.clientY},g={x:e.pageX,y:e.pageY},h=0,i=0,j=b.body,k=b.documentElement;return c.type.match(/^touch/)&&(d=e.targetTouches[0]||e.originalEvent.targetTouches[0],g={x:d.pageX,y:d.pageY},f={x:d.clientX,y:d.clientY}),g.x||g.y?(h=g.x,i=g.y):(f.x||f.y)&&(h=f.x+j.scrollLeft+k.scrollLeft,i=f.y+j.scrollTop+k.scrollTop),{x:h,y:i}},targetRelativeCoordsFromEvent:function(a){var b=a.target,e={x:a.offsetX,y:a.offsetY};return(e.x===c||isNaN(e.x)||e.y===c||isNaN(e.y))&&(e=d.event.documentRelativeCoordsFromEvent(a),e.x-=b.offsetLeft,e.y-=b.offsetTop),e},fastOn:function(a,b,c,d){a.addEventListener(b,c,d||!1)},fastOff:function(a,b,c,d){a.removeEventListener(b,c,d||!1)},prefixedFastOn:function(a,b,c,d){var e=b.charAt(0).toLocaleUpperCase()+b.substring(1);a.addEventListener(b.toLowerCase(),c,d||!1),a.addEventListener("webkit"+e,c,d||!1),a.addEventListener("moz"+e,c,d||!1),a.addEventListener("ms"+e,c,d||!1),a.addEventListener("o"+e.toLowerCase(),c,d||!1)},prefixedFastOff:function(a,b,c,d){var e=b.charAt(0).toLocaleUpperCase()+b.substring(1);a.removeEventListener(b.toLowerCase(),c,d||!1),a.removeEventListener("webkit"+e,c,d||!1),a.removeEventListener("moz"+e,c,d||!1),a.removeEventListener("ms"+e,c,d||!1),a.removeEventListener("o"+e.toLowerCase(),c,d||!1)},on:function(a,b,c,e){var f,g,h,j,k,m;for(k=i(a)?a:[a],h=k.length,m=l(b,c),j=m.length,f=0;h>f;f++)if("function"==typeof k[f].addEventListener)for(g=0;j>g;g++)d.event.fastOn(k[f],m[g].type,m[g].callback,e)},off:function(a,b,c,e){var f,g,h,j,k,m;for(k=i(a)?a:[a],h=k.length,m=l(b,c),j=m.length,f=0;h>f;f++)if("function"==typeof k[f].addEventListener)for(g=0;j>g;g++)d.event.fastOff(k[f],m[g].type,m[g].callback,e)},one:function(a,b,c,e){var f,g,h,j,k,m,n=[].slice,o=[];for(k=i(a)?n.call(a):[a],h=k.length,m=l(b,c),j=m.length,f=0;h>f;f++)if("function"==typeof k[f].addEventListener)for(o[f]=[],g=0;j>g;g++)o[f][g]=function(a,b){var c=n.call(arguments);d.event.fastOff(k[a],m[b].type,o[a][b],e),c.shift(),c.shift(),m[b].callback.apply(this,c)}.bind(null,f,g),d.event.fastOn(k[f],m[g].type,o[f][g],e)},enableGesture:function(a){var b=e(a),c=arguments.length,f=1;for(b||(b=new d.event.gesture.Instance(a),g.push({element:a,instance:b}));c>f;f++)b.addDetector(arguments[f])},disableGesture:function(a){var b=e(a),c=arguments.length,d=1;b&&(c>1?b.removeDetector(arguments[d]):(b.destroy(),f(a)))}}}(a,d),function(a,b){var c=d.event,e={profile:"default",theme:"default",version:d.version,refreshTheme:function(d){var e,f=b.createElement("span"),g=b.body;return"interactive"!==b.readyState&&"complete"!==b.readyState?(c.fastOn(b,"DOMContentLoaded",this.refreshTheme.bind(this,d)),null):(f.classList.add("tau-info-theme"),g.appendChild(f),e=a.getComputedStyle(f,":after").content,e&&(e=e.replace(/\"/g,"")),g.removeChild(f),e&&e.length>0&&(this.theme=e),e=e||null,d&&d(e),e)}};e.refreshTheme(),d.info=e}(a,a.document),function(b,c){function d(a){var b=c.getConfig("namespace");return"[data-"+(b?b+"-":"")+a+"]"}function e(a,b){return l&&a[l]?a[l](b):!1}function f(a){for(var c=[],d=a.parentNode;d&&d!==b;)c.push(d),d=d.parentNode;return c}function g(a,c){for(var d=a;d&&d!==b;){if(c(d))return d;d=d.parentNode}return null}function h(a,b){return e(b,a)}function i(a,b){return b&&b.classList&&b.classList.contains(a)}function j(a,b){return b.tagName.toLowerCase()===a}var k=[].slice,l=function(){var a=b.createElement("div");return"function"==typeof a.webkitMatchesSelector?"webkitMatchesSelector":"function"==typeof a.mozMatchesSelector?"mozMatchesSelector":"function"==typeof a.msMatchesSelector?"msMatchesSelector":"function"==typeof a.matchesSelector?"matchesSelector":"function"==typeof a.matches?"matches":""}();c.util.selectors={matchesSelector:e,getChildrenBySelector:function(a,b){return k.call(a.children).filter(h.bind(null,b))},getChildrenByDataNS:function(a,b){return k.call(a.children).filter(h.bind(null,d(b)))},getChildrenByClass:function(a,b){return k.call(a.children).filter(i.bind(null,b))},getChildrenByTag:function(a,b){return k.call(a.children).filter(j.bind(null,b))},getParents:f,getParentsBySelector:function(a,b){return f(a).filter(h.bind(null,b))},getParentsBySelectorNS:function(a,b){return f(a).filter(h.bind(null,d(b)))},getParentsByClass:function(a,b){return f(a).filter(i.bind(null,b))},getParentsByTag:function(a,b){return f(a).filter(j.bind(null,b))},getClosestBySelector:function(a,b){return g(a,h.bind(null,b))},getClosestBySelectorNS:function(a,b){return g(a,h.bind(null,d(b)))},getClosestByClass:function(a,b){return g(a,i.bind(null,b))},getClosestByTag:function(a,b){return g(a,j.bind(null,b))},getAllByDataNS:function(a,b){return k.call(a.querySelectorAll(d(b)))},getScrollableParent:function(c){for(var d,e;c&&c!==b.body;){if(e=a.getComputedStyle(c),e&&(d=e.getPropertyValue("overflow-y"),"scroll"===d||"auto"===d&&c.scrollHeight>c.clientHeight))return c;c=c.parentNode}return null}}}(a.document,d),function(){var a={copy:function(b){return a.merge({},b)},fastMerge:function(a,b){var d,e;for(d in b)b.hasOwnProperty(d)&&(e=Object.getOwnPropertyDescriptor(a,d),e&&e.writable!==!0&&e.set==c||(a[d]=b[d]));return a},merge:function(){var a,b,d,e,f,g,h=[].slice.call(arguments),i=h.length;for(a=h.shift(),d=!0,"boolean"==typeof arguments[i-1]&&(d=arguments[i-1],i--),f=0;i>f;f++)if(b=h.shift(),null!==b)for(e in b)b.hasOwnProperty(e)&&(g=Object.getOwnPropertyDescriptor(a,e),(!g||d&&(g.writable===!0||g.set!=c))&&(a[e]=b[e]));return a},inherit:function(a,b,c){var d,e,f=new b;for(d in c)c.hasOwnProperty(d)&&(e=c[d],"function"==typeof e?f[d]=function(a,b,c){var d=function(){var c=a.prototype[b];return c?c.apply(this,arguments):null};return function(){var a,b=this._super;return this._super=d,a=c.apply(this,arguments),this._super=b,a}}(b,d,e):f[d]=e);a.prototype=f,a.prototype.constructor=a},hasPropertiesOfValue:function(a,b){var c=Object.keys(a),d=c.length;if(0===d)return!1;for(;--d>=0;)if(a[c[d]]!==b)return!1;return!0},removeProperties:function(a,b){var c,d,e=b.length;for(d=0;e>d;d++)c=b[d],a.hasOwnProperty(c)&&delete a[c];return a}};d.util.object=a}(),function(a,b){function e(a){return a.match(/\[data-role=/)&&!a.match(/:not\(\[data-role=/)?a.trim():a.trim()+":not([data-role='none'])"}function f(a,f,g,h,i,j,k,l,m){var n;if(m=m||{},a){if(!R[a]||j)return g=g||[],g.push("destroy","disable","enable","option","refresh","value"),n={name:a,methods:g,selector:f||"",selectors:f?f.split(",").map(e):[],widgetClass:h||null,namespace:i||"",widgetNameToLowercase:k===c?!0:!!k,BaseElement:l,buildOptions:m},R[a]=n,i&&(R[i+"."+a]=n),M.trigger(b,"widgetdefined",n,!1),!0}else d.error("Widget with selector ["+f+"] defined without a name, aborting!");return!1}function g(a,b,c){var d,e,f=c?c.split("."):[],g=f.pop(),h=f.pop();return g?d=a.instances[g]:(e=Object.keys(a.instances),d=a.instances[e[0]]),h&&d&&d.namespace!==h&&(d=null),d&&d.element===b?d:null}function h(a){return a.hasAttribute(X)}function i(a,c){var d,e,f=a&&typeof a!==V?a.id:a;if(typeof a===V&&(a=b.getElementById(f)),a){if(d=S[f],d&&"object"==typeof d)return g(d,a,c);if(typeof a.hasAttribute===W&&a.hasAttribute($)&&(e=L.call(a.children).filter(h)[0]))return i(e,c)}return null}function j(a){var b=a.element.id,c=a.name,d=S[b];d||(d={elementId:b,element:a.element,instances:{}}),d.instances[c]=a,S[b]=d}function k(a){var b=a&&typeof a!==V?a.id:a;return S[b]&&S[b].instances||null}function l(a,b){var c,d;return c=b.split(_),d=c.indexOf(a),d>-1&&(c.splice(d,1),b=c.join(_)),b}function m(a){a.removeAttribute(X),a.removeAttribute(Z),a.removeAttribute(Y)}function n(a,b){var c,d,e;b?(c=l(b,a.getAttribute(X)||""),d=l(b,a.getAttribute(Z)||""),e=l(b,a.getAttribute(Y)||""),c&&d&&e?(a.setAttribute(X,c),a.setAttribute(Z,d),a.setAttribute(Y,e)):m(a)):m(a)}function o(a,b){var c=a[b];return c?(c.element&&typeof c.element.setAttribute===W&&n(c.element,b),delete a[b],!0):!1}function p(a,b){var c,d,e=!0;for(d in a)a.hasOwnProperty(d)&&(c=o(a,d),a[d]=null,e=e&&c);return O.hasPropertiesOfValue(a,null)&&(S[b]=null),e}function q(a,b,c){var d;return b?(d=o(a,b),O.hasPropertiesOfValue(a,null)&&(S[c]=null)):d=p(a,c),d}function r(a,b){var c,d=typeof a===V?a:a.id,e=S[d];if(e){if(typeof a===V&&(a=e.element),a&&n(a,b),c=S[d]&&S[d].instances)return q(c,b,d);S[d].instances&&0===Object.keys(S[d].instances).length&&(S[d]=null)}return!1}function s(a){return r(a)}function t(a,c){return a&&a instanceof HTMLElement||(a=typeof c.createEmptyElement===W?c.createEmptyElement():b.createElement("div")),a}function u(a,c,d,e){var f,g=e||{},h=g.create;a=c.configure(d,a,e),typeof h===W&&M.one(a,d.name.toLowerCase()+"create",h),a.id&&(c.id=a.id),f=a.getAttribute(X),f&&-1!==f.split(_).indexOf(c.name)||(a=c.build(a)),a&&(c.element=a,j(c),c.trigger(ca.WIDGET_BUILT,c,!1),U||c.init(a),c.bindEvents(a,U),c.trigger(c.widgetEventPrefix+ca.WIDGET_INIT),c.trigger(ca.WIDGET_BOUND,c,!1),M.trigger(b,ca.WIDGET_BOUND,c))}function v(a,b,c){var d,e,f,g=b.widgetClass;return a=t(a,g),d=g?new g(a,c):!1,e=P.getParentsBySelectorNS(a,"enhance=false"),f=i(a,b.name),f&&f.element===a?a:d?(e.length||u(a,d,b,c),d.element):null}function w(a,c){var d;typeof a===V&&(a=b.getElementById(a)),d=i(a,c),d&&(d.destroy(),d.trigger("widgetdestroyed"),r(a,c))}function x(a){var b,c,d;d=k(a);for(b in d)d.hasOwnProperty(b)&&(c=d[b],c&&(c.destroy(),c.trigger("widgetdestroyed")))}function y(a,c){var d,e;for(typeof a===V&&(a=b.getElementById(a)),c||x(a),d=L.call(a.querySelectorAll("["+Z+"]")),e=d.length-1;e>=0;e-=1)d[e]&&y(d[e],!1);s(a)}function z(a,b,c){var d=a&&a.getAttribute(Y)||b&&b.name;return b=b||d&&R[d]||{name:d},v(a,b,c)}function A(a,b){var c=Node.DOCUMENT_POSITION_CONTAINS|Node.DOCUMENT_POSITION_PRECEDING;return a.element===b.element?0:a.element.compareDocumentPosition(b.element)&c?1:-1}function B(a){z(a.element||a,R[a.widgetName])}function C(a){var c,d,e,f,g,h,i,j=L.call(a.querySelectorAll(aa)),k=[],l=Object.keys(R),m=l.length;for(j.forEach(B),e=0;m>e;++e)if(h=l[e],-1===h.indexOf(".")&&(g=R[h],i=g.selectors,i.length))for(d=ba(h),c=L.call(a.querySelectorAll(i.join(d+",")+d)),f=c.length;--f>=0;)k.push({element:c[f],widgetName:h});k.sort(A),k.forEach(B),M.trigger(b,"built"),M.trigger(b,ca.BOUND)}function D(a){C(a.target)}function E(){var a,c,d,e,f=b.head;if(c=f.querySelectorAll('[name="viewport"]'),a=c.length,a>0)for(--a,e=0;a>e;++e)f.removeChild(c[e]);else d=b.createElement("meta"),d.setAttribute("name","viewport"),d.setAttribute("content","width=device-width, user-scalable=no"),f.firstChild?f.insertBefore(d,f.firstChild):f.appendChild(d)}function F(){M.trigger(b,ca.READY),E()}function G(){M.trigger(b,ca.STOP_ROUTING)}function H(){G(),M.fastOff(b,"create",D),y(b,!0),M.trigger(b,ca.DESTROY)}function I(a,b){var c=b instanceof HTMLElement?"HTMLElement":typeof b;return a[c]=b,a}function J(a){return Q.reduce(a,I,{})}var K,L=[].slice,M=d.event,N=d.util,O=N.object,P=N.selectors,Q=d.util.array,R={},S={},T=a.location,U="#build"===T.hash,V="string",W="function",X="data-tau-built",Y="data-tau-name",Z="data-tau-bound",$="data-tau-wrapper",_=",",aa="*["+X+"]["+Y+"]:not(["+Z+"])",ba=function(a){return":not(["+X+"*='"+a+"']):not(["+Z+"*='"+a+"'])"},ca={INIT:"tauinit",READY:"tauready",WIDGET_BOUND:"widgetbound",WIDGET_DEFINED:"widgetdefined",WIDGET_BUILT:"widgetbuilt",DESTROY:"taudestroy",BOUND:"bound",WIDGET_INIT:"init",STOP_ROUTING:"tauroutingstop"};d.widgetDefinitions={},K={justBuild:"#build"===T.hash,dataTau:{built:X,name:Y,bound:Z,separator:_,widgetWrapper:$},destroyWidget:w,destroyAllWidgets:y,createWidgets:C,getDefinitions:function(){return R},getWidgetDefinition:function(a){return R[a]},defineWidget:f,getBinding:i,getAllBindings:k,setBinding:j,removeBinding:r,removeAllBindings:s,_clearBindings:function(){S={}},build:F,run:function(){switch(G(),M.fastOn(b,"create",D),M.trigger(b,ca.INIT,{tau:d}),b.readyState){case"interactive":case"complete":F();break;default:M.one(b,"DOMContentLoaded",F.bind(K))}},instanceWidget:function(a,b,c){var e,f,g=J(arguments);if(a=g.HTMLElement,b=g.string,c=g.object,a&&(e=i(a,b)),!e&&R[b]){if(f=R[b],f.buildOptions.requireMatchSelector&&!d.util.selectors.matchesSelector(a,f.selector))return null;a=z(a,f,c),e=i(a,b)}else e&&e.option(c);return e},stop:G,destroy:H,setJustBuild:function(a){a?T.hash="build":T.hash="",U=a},getJustBuild:function(){return U},_createEventHandler:D},K.eventType=ca,d.engine=K}(a,a.document),function(a,c){function d(){a.event.trigger(b,"mobileinit")}function e(){b.removeEventListener(f.INIT,d,!1),b.removeEventListener(f.DESTROY,e,!1)}var f=a.engine.eventType;a.jqm={jQuery:a.getConfig("jQuery")||c.jQuery},b.addEventListener(f.INIT,d,!1),b.addEventListener(f.DESTROY,e,!1)}(d,a),function(a,b){var c=d.engine.eventType,e=d.jqm.jQuery,f={INIT:c.INIT,DESTROY:c.DESTROY},g={init:function(){e&&(e.mobile=e.mobile||{},e.mobile.ns="",e.mobile.subPageUrlKey="ui-page",e.mobile.activePageClass="ui-page-active",e.mobile.activeBtnClass="ui-btn-active",e.mobile.focusClass="ui-focus",e.mobile.ajaxEnabled=!0,e.mobile.hashListeningEnabled=!0,e.mobile.linkBindingEnabled=!0,e.mobile.defaultPageTransition="fade",e.mobile.maxTransitionWidth=!1,e.mobile.minScrollBack=250,e.mobile.touchOverflowEnabled=!1,e.mobile.defaultDialogTransition="pop",e.mobile.pageLoadErrorMessage="Error Loading Page",e.mobile.phonegapNavigationEnabled=!1,e.mobile.autoInitializePage=!0,e.mobile.pushStateEnabled=!0,e.mobile.ignoreContentEnabled=!1,e.mobile.orientationChangeEnabled=!0,e.mobile.tizen=e.mobile.tizen||{},e.mobile.tizen.enableHWKeyHandler=!0)},destroy:function(){b.removeEventListener(f.INIT,g.init,!1),b.removeEventListener(f.DESTROY,g.destroy,!1),e=null}};b.addEventListener(f.INIT,g.init,!1),b.addEventListener(f.DESTROY,g.destroy,!1)}(a,a.document),function(){function a(a,b){return b.toLocaleUpperCase()}function b(a,b){return"-"+b.toLowerCase()}function c(b){return b.replace(j,a)}function e(a){return a.replace(k,b)}function f(a){return a.charAt(0).toLocaleUpperCase()+a.substring(1)}function g(a){var b;return a&&-1===(a+"").indexOf("%")?(b=parseInt(a,10),isNaN(b)&&(b=null),b):a}function h(a){var b;return b="string"==typeof a?a.split(","):a||[],l.map(b,g)}function i(a){var b=[];return[].slice.call(arguments).slice(1).forEach(function(a){a.split(" ").forEach(function(a){b.push(a.trim())})}),a.split(" ").filter(function(a){return-1===b.indexOf(a)}).join(" ")}var j=/-([a-z])/gi,k=/([A-Z])/g,l=d.util.array;d.util.string={dashesToCamelCase:c,camelCaseToDashes:e,firstToUpperCase:f,parseProperty:h,removeExactTags:i}}(),function(){d.util.DOM=d.util.DOM||{}}(),function(){function a(a,b){var c=d.getConfig(g),e="";return b||(e="data-"),e+(c?c+"-":"")+a}function b(a,b,c){a[b]=c,a.setAttribute(b,c)}var e=d.util.selectors,f=d.util.DOM,g="namespace";f.inheritAttr=function(a,b,c){var d,f=a.getAttribute(b);return!f&&(d=e.getClosestBySelector(a,c))?d.getAttribute(b):f},f.getNumberFromAttribute=function(a,b,c,d){var e=a.getAttribute(b),f=d;return isNaN(e)||("float"===c?(e=parseFloat(e),isNaN(e)||(f=e)):(e=parseInt(e,10),isNaN(e)||(f=e))),f},f.setNSData=function(b,c,d){b.setAttribute(a(c),d)},f.getNSData=function(b,c,d){var e=b.getAttribute(a(c,d));return"true"===e?!0:"false"===e?!1:e},f.hasNSData=function(b,c){return b.hasAttribute(a(c))},f.nsData=function(a,b,d){return d===c?f.getNSData(a,b):f.setNSData(a,b,d)},f.removeNSData=function(b,c){b.removeAttribute(a(c))},f.getData=function(a){var b,c,d,e,f,g="data-",h={},i=a.attributes,j=i.length;for(e=0;j>e;e++)b=i.item(e),c=b.nodeName,c.indexOf(g)>-1&&(d=b.value,f=d.toLowerCase(),"true"===f?d=!0:"false"===f&&(d=!1),h[c.replace(g,"")]=d);return h},f.removeAttribute=function(a,b){a.removeAttribute(b),a[b]=!1},f.setAttribute=b,f.setAttributes=function(a,c){var d,e,f,g=Object.keys(c);for(d=0,f=g.length;f>d;d++)e=g[d],b(a,e,c[e])}}(),function(a,c){function d(b,c,d,e){var f,g=a.getComputedStyle(b),h=d;if(g&&(f=g.getPropertyValue(c)))switch(e){case"integer":f=parseInt(f,10),isNaN(f)||(h=f);break;case"float":f=parseFloat(f),isNaN(f)||(h=f);break;default:h=f}return h}function e(a){return(a+"").indexOf(".")>-1?parseFloat(a):parseInt(a,10)}function f(b,c,d,f){var g,h,i,j=a.getComputedStyle(b,d);for(g in c)c.hasOwnProperty(g)&&(h=j.getPropertyValue(g),i=e(h),isNaN(i)&&f||(h=i),c[g]=h)}function g(a,b,c,d,e){var g,h,i,j,k=a.style;return"none"!==k.display?(f(a,b,c,!0),j=a[e]):d&&(g=k.display,h=k.visibility,i=k.position,k.display="block",k.visibility="hidden",k.position="relative",f(a,b,c,!0),j=a[e],k.display=g,k.visibility=h,k.position=i),j}function h(a,b,c,d,f,h){var i,j,k=0,l=b&&"outer"===b||!1,m={height:0,"margin-top":0,"margin-bottom":0,"padding-top":0,"padding-bottom":0,"border-top-width":0,"border-bottom-width":0,"box-sizing":""};if(a){i=g(a,m,f,h,"offsetHeight");for(j in m)m.hasOwnProperty(j)&&"box-sizing"!==j&&(m[j]=e(m[j]));k+=m.height,"border-box"!==m["box-sizing"]&&(k+=m["padding-top"]+m["padding-bottom"]),c?k=i:l&&"border-box"!==m["box-sizing"]&&(k+=m["border-top-width"]+m["border-bottom-width"]),d&&(k+=Math.max(0,m["margin-top"])+Math.max(0,m["margin-bottom"]))}return k}function i(a,b,c,d,e,f){var h,i,j,k=0,l=b&&"outer"===b||!1,m={width:0,"margin-left":0,"margin-right":0,"padding-left":0,"padding-right":0,"border-left-width":0,"border-right-width":0,"box-sizing":""};if(a){i=g(a,m,e,f,"offsetWidth");for(j in m)m.hasOwnProperty(j)&&"box-sizing"!==j&&(h=parseFloat(m[j]),m[j]=h);k+=m.width,"border-box"!==m["box-sizing"]&&(k+=m["padding-left"]+m["padding-right"]),c?k=i:l&&"border-box"!==m["box-sizing"]&&(k+=m["border-left-width"]+m["border-right-width"]),d&&(k+=Math.max(0,m["margin-left"])+Math.max(0,m["margin-right"]))}return k}function j(a){var b=0,c=0,d=a;do c+=d.offsetTop,b+=d.offsetLeft,d=d.offsetParent;while(null!==d);return{top:c,left:b}}function k(a){return!(a.offsetWidth<=0&&a.offsetHeight<=0)}function l(a,b,c){var d=a.style,e=b,f="object"!=typeof c?{webkit:c,moz:c,o:c,ms:c,normal:c}:c;d.setProperty(b,f.normal),d.setProperty("-webkit-"+e,f.webkit),d.setProperty("-moz-"+e,f.moz),d.setProperty("-o-"+e,f.o),d.setProperty("-ms-"+e,f.ms)}function m(a){return{webkit:"-webkit-"+a,moz:"-moz-"+a,o:"-ms-"+a,ms:"-o-"+a,normal:a}}function n(a,b){var c,d,e=m(b);for(d in e)if(e.hasOwnProperty(d)&&(c=a[e[d]],c&&"none"!==c))break;return c}function o(a){var b="",c=t.parseProperty(a);return c&&2===c.length&&(b="width: "+c[0]+"px; height: "+c[1]+"px;"),b}function p(a,c,d){var e,f,g,h=[];r||(e=b.head||b.getElementsByTagName("head")[0],f=b.createElement("style"),f.type="text/css",e.appendChild(f),r=f.sheet);for(g in d)d.hasOwnProperty(g)&&h.push(g+": "+d[g]);return h.length?r.addRule(a+"::"+c,h.join("; ")):null}function q(a){r&&r.deleteRule(a)}var r,s=c.util.DOM,t=c.util.string;s.getCSSProperty=d,s.extractCSSProperties=f,s.getElementHeight=h,s.getElementWidth=i,s.getElementOffset=j,s.isOccupiedPlace=k,s.setPrefixedStyle=l,s.getPrefixedValue=m,s.getPrefixedStyleValue=n,s.toCSSSize=o,s.setStylesForPseudoClass=p,s.removeCSSRule=q}(a,d),function(a,b){var c=function(){this._data=[]};c.prototype={add:function(){var a=this._data;this._data=a.concat.apply(a,[].slice.call(arguments)).filter(function(a,b,c){return c.indexOf(a)===b})},clear:function(){this._data=[]},"delete":function(a){var b=this._data,c=b.indexOf(a);c>-1&&b.splice(c,1)},has:function(a){return this._data.indexOf(a)>-1},forEach:function(a){this._data.forEach(a)}},b.util._Set=c,b.util.Set=a.Set||c}(a,d),function(a){function b(a,b,c){var d={name:a,element:b,options:c};return d}function c(a,c,d){var e=b(a,c,d);return g.instanceWidget(e.element,e.name,e.options)}function e(a){var b=a.detail,e=b.name;d.widget[e]=c.bind(null,e)}function f(){a.removeEventListener(h.WIDGET_DEFINED,e,!0),a.removeEventListener(h.DESTROY,f,!1)}var g=d.engine,h=g.eventType,i={getInstance:g.getBinding,getAllInstances:g.getAllBindings};a.addEventListener(h.WIDGET_DEFINED,e,!0),a.addEventListener(h.DESTROY,f,!1),d.widget=i}(a.document),function(a,b){function d(a){return!a.toRemove}function e(a){a.object[a.property]===a.value&&(n.requestAnimationFrame(a.callback.bind(a.object)),a.toRemove=!0)}function f(){j.forEach(e),j=j.filter(d),j.length&&n.requestAnimationFrame(f)}function g(a,b){var d=b.classList;d!==c&&(d instanceof t?d.clear():(d=new t,b.classList=d),a.classList.length&&k.call(a.classList).forEach(function(a){d.add(a)}))}function h(a,b){g(a,b),b.offsetWidth!==c&&(b.offsetWidth=a.offsetWidth),b.style!==c&&p.extractCSSProperties(a,b.style,null,!0),b.children!==c&&b.children.forEach(function(b,c){h(a.children[c],b)})}function i(a,b,d){var e=!1;
-a.classList!==c&&(k.call(b.classList).forEach(function(c){a.classList.has(c)||(b.classList.remove(c),e=!0)}),a.classList.forEach(function(a){b.classList.contains(a)||(b.classList.add(a),e=!0)})),a.style!==c&&Object.keys(a.style).forEach(function(c){b.style[c]=a.style[c]}),a.children!==c&&a.children.forEach(function(a,c){i(a,b.children[c],!0)}),e&&!d&&n.requestAnimationFrame(h.bind(null,b,a))}var j,k=[].slice,l=b.engine,m=l.dataTau,n=b.util,o=b.event,p=n.DOM,q=n.string,r=n.object,s=n.selectors,t=n.Set,u=function(){return this.flowState="created",this},v=p.getNSData,w={},x="function",y="string",z=",",A="ui-state-disabled",B="aria-disabled",C={INLINE:"ui-inline"};u.classes={disable:A},w._configureDefinition=function(a){var c,d,e=this;a&&(c=a.name,d=a.namespace,e.name=c,e.widgetName=c,e.widgetEventPrefix=c.toLowerCase(),e.namespace=d,e.widgetFullName=((d?d+"-":"")+c).toLowerCase(),e.id=b.getUniqueId(),e.selector=a.selector)},w.configure=function(a,b,c){var d=this;return d.flowState="configuring",d.options=d.options||{},d.element=d.element||null,d._configureDefinition(a),typeof d._configure===x&&(b=d._configure(b)||b),d.isCustomElement=!!b.createdCallback,d._getCreateOptions(b),r.fastMerge(d.options,c),b.style.cssText&&(b.dataset.originalStyle=b.style.cssText),d.flowState="configured",b},w._getCreateOptions=function(a){var b,c=this,d=c.options,e=a.localName.toLowerCase();return d&&Object.keys(d).forEach(function(f){var g=q.camelCaseToDashes(f),h=v(a,g,!0),i=v(a,g);null!==i?("number"==typeof d[f]?i=parseFloat(i):"object"==typeof d[f]&&"string"==typeof i&&Array.isArray(d[f])&&(b=a.dataset.delimiter||z,i=i.split(b)),d[f]=i):"boolean"==typeof d[f]&&(c._readCommonOptionFromElementClassname(a,f)||c._readPrefixedOptionFromElementClassname(a,f)||(typeof c._readWidgetSpecyficOptionFromElementClassname!==x||typeof c._readWidgetSpecyficOptionFromElementClassname===x&&!c._readWidgetSpecyficOptionFromElementClassname(a,f))&&typeof c._getDefaultOption===x&&(d[f]=c._getDefaultOption(f))),"type"===f&&"input"===e||"style"===f||null!==h&&("number"==typeof d[f]&&(h=parseFloat(h)),d[f]=h)}),d},w.build=function(a){var b,c,d=this,e=a.getAttribute(m.built),f=a.getAttribute(m.name);return o.trigger(a,d.widgetEventPrefix+"beforecreate"),d.flowState="building",b=a.id,b?d.id=b:a.id=d.id,c=typeof d._build===x?d._build(a):a,d._setBooleanOptions(a),e=e?e+m.separator+d.name:d.name,f=f?f+m.separator+d.name:d.name,a.setAttribute(m.built,e),a.setAttribute(m.name,f),d.flowState="built",c},w.init=function(a){var b,c,d=this;return d.id=a.id,d.flowState="initiating",a.dataset.originalStyle&&(b=d.getContainer(),b!=a&&(c=a.dataset.originalStyle,c.split(";").forEach(function(c){var d,e,f;f=c.split(":"),2===f.length&&(d=f[0].trim(),e=f[1].trim(),b.style[d]=a.style[d],a.style[d]===e&&(a.style[d]=""))}))),typeof d._init===x&&d._init(a),a.hasAttribute("disabled")&&"false"!==a.getAttribute("disabled")||d.options.disabled===!0?d.disable():d.enable(),d.flowState="initiated",d},w.getContainer=function(){var a=this;return typeof a._getContainer===x?a._getContainer():a.element},w.bindEvents=function(a,b){var c=this,d=a.getAttribute(m.bound);return b||(d=d?d+m.separator+c.name:c.name,a.setAttribute(m.bound,d)),typeof c._buildBindEvents===x&&c._buildBindEvents(a),b||typeof c._bindEvents!==x||c._bindEvents(a),c.trigger(c.widgetEventPrefix+"create",c),c},w.focus=function(b){var c,d,e,f,g=this,h=g.element;return b=b||{},c=b.previousElement,c&&(f=l.getBinding(c),f?(b=r.merge({},b,{element:c}),f.blur(b)):c.blur()),b=r.merge({},b,{element:h}),e=s.getClosestBySelector(h,"[data-tau-name='Scrollview']"),e&&(d=l.getBinding(e)),o.trigger(a,"taufocus",b),typeof g._focus===x?(b.event&&d&&d.ensureElementIsVisible(h),g._focus(h)):h.focus(),!0},w.blur=function(b){var c=this,d=c.element;return b=r.merge({},b,{element:d}),o.trigger(a,"taublur",b),typeof c._blur===x?c._blur(d):d.blur(),!0},w.destroy=function(a){var b=this;a=a||b.element,b.flowState="destroying",typeof b._destroy===x&&b._destroy(a),b.element&&(b.trigger(b.widgetEventPrefix+"destroy"),b.element.dataset.originalStyle&&(b.element.style.cssText=b.element.dataset.originalStyle,delete b.element.dataset.originalStyle)),a&&l.removeBinding(a,b.name),b.flowState="destroyed"},w.disable=function(){var a=this,b=k.call(arguments),c=a.element;return c.classList.add(A),c.setAttribute(B,!0),typeof a._disable===x&&(b.unshift(c),a._disable.apply(a,b)),this},w.isDisabled=function(){var a=this;return a.element.getAttribute("disabled")||a.options.disabled===!0},w.enable=function(){var a=this,b=k.call(arguments),c=a.element;return c.classList.remove(A),c.setAttribute(B,!1),typeof a._enable===x&&(b.unshift(c),a._enable.apply(a,b)),this},w.refresh=function(){var a=this,b=a.element;return a._getCreateOptions(b),typeof a._refresh===x&&a._refresh.apply(a,arguments),a},w._readPrefixedOptionFromElementClassname=function(a,b){var c,d=this._classesPrefix;return d&&(c=d+q.camelCaseToDashes(b),a.classList.contains(c))?(this.options[b]=a.classList.contains(c),!0):!1},w._readCommonOptionFromElementClassname=function(a,b){var c=this.options,d=a.classList;switch(b){case"inline":if(d.contains(C.INLINE))return c.inline=!0,!0}return!1},w._setBooleanOption=function(a,b,c){var d,e=this._classesPrefix;return e&&(d=e+q.camelCaseToDashes(b),a.classList.toggle(d,c)),!1},w._setBooleanOptions=function(a){var b=this,d=b._classesPrefix,e=b.options;return d&&e!==c&&Object.keys(e).forEach(function(c){"boolean"==typeof e[c]&&(e[c]=b._setBooleanOption(a,c,e[c]))}),e},w._processOptionObject=function(a){var b,d,e=this,f=!1;for(b in a)a.hasOwnProperty(b)&&(d=e._oneOption(b,a[b]),b!==c&&a[b]!==c&&(f=f||d));return f},w.option=function(a,b){var d=this,e=a,f=b,g=null,h=!1;return"string"==typeof e?(g=d._oneOption(e,f),f!==c&&(h=g,g=null)):"object"==typeof e&&(h=d._processOptionObject(e)),h&&d.refresh(),g},w._oneOption=function(a,b){var d,e=this,f=!1;return b===c?(d="_get"+(a[0].toUpperCase()+a.slice(1)),typeof e[d]===x?e[d]():e.options[a]):(d="_set"+(a[0].toUpperCase()+a.slice(1)),typeof e[d]===x?(f=e[d](e.element,b),e.element&&("object"!=typeof b||Array.isArray(b))&&e.element.setAttribute("data-"+a.replace(/[A-Z]/g,function(a){return"-"+a.toLowerCase()}),b)):"boolean"==typeof b?f=e._setBooleanOption(e.element,a,b):(e.options[a]=b,e.element&&("object"!=typeof b||Array.isArray(b))&&(e.element.setAttribute("data-"+a.replace(/[A-Z]/g,function(a){return"-"+a.toLowerCase()}),b),f=!0)),""===b&&e.element&&e.element.removeAttribute("data-"+a.replace(/[A-Z]/g,function(a){return"-"+a.toLowerCase()})),f)},w.isBound=function(a){var b=this.element;return a=a||this.name,b&&b.hasAttribute(m.bound)&&b.getAttribute(m.bound).indexOf(a)>-1},w.isBuilt=function(a){var b=this.element;return a=a||this.name,b&&b.hasAttribute(m.built)&&b.getAttribute(m.built).indexOf(a)>-1},w.value=function(a){var b=this;return a!==c?typeof b._setValue===x?b._setValue(a):b:typeof b._getValue===x?b._getValue():b},w.trigger=function(a,b,c,d){return this.element?o.trigger(this.element,a,b,c,d):!1},w.on=function(a,b,c){o.on(this.element,a,b,c)},w.off=function(a,b,c){o.off(this.element,a,b,c)},w._framesFlow=function(){var a=this,b=k.call(arguments),d=b.shift();"function"==typeof d&&d(),d!==c&&n.requestAnimationFrame(function(){a._framesFlow.apply(a,b)})},w._waitFor=function(a,b,c){var d=this;d[a]===b?c.call(d):(j=j||[],j.push({object:d,property:a,value:b,callback:c})),f()},w._render=function(a){var b=this,c=b._stateDOM,d=b.element;a===!0?i(c,d,!1):n.requestAnimationFrame(i.bind(null,c,d,!1))},w._initDOMstate=function(){h(this.element,this._stateDOM)},w._togglePrefixedClass=function(a,b,c){var d=!1,e=b+c;return a.classList.forEach(function(c){0===c.indexOf(b)&&e!==c&&(a.classList["delete"](c),d=!0)}),a.classList.has(e)||(a.classList.add(e),d=!0),d},w._createWrapper=function(b){var c;return b=typeof b===y?b:"div",c=a.createElement(b),c.setAttribute(m.widgetWrapper,!0),c},u.prototype=w,b.widget.BaseWidget=u}(a.document,d),function(a,b){function e(b,d,e,f){var g=null;return function(){var h,j,l,m,n,o,p=i.call(arguments),q={};for(o=0;o<this.length;o++){switch(h=this.get(o),d){case"slider":g=b.getBinding(h,"Slider")||b.getBinding(h,"TizenSlider");break;default:g=b.getBinding(h,f)}if(j=g&&g.isBuilt(),n=p.shift(),n===c||"object"==typeof n)"object"==typeof n&&(q=n),g&&j?g.option(q):b.instanceWidget(h,f,q);else{if(null===g)return this;if(l=n,"destroy"===l)return g.destroy(),this;if(e.indexOf(l)<0)throw"Method "+l+" does not exist!";if("listview"===d&&"option"===l&&"autodividersSelector"===p[0]&&"function"==typeof p[1]&&(p[1]=k(p[1])),"popup"===d&&"open"===l&&(p[1]=a.event),m=g[l].apply(g,p),m!==c&&m!==g)return m}}return this}}function f(a){n.init(l,a.detail)}function g(){b.removeEventListener(o.WIDGET_DEFINED,f,!1),b.removeEventListener(o.INIT,h,!1),b.removeEventListener(o.DESTROY,g,!1)}function h(){l.defineWidget("FixedToolbar","",[],d.widget.Page,"mobile"),l.defineWidget("pagelayout","",[],d.widget.Page,"mobile"),l.defineWidget("popupwindow","",[],d.widget.Popup,"tizen"),l.defineWidget("ctxpopup","",[],d.widget.Popup,"tizen")}var i=[].slice,j=d.jqm.jQuery,k=function(a){return function(b){return a(j(b))}},l=d.engine,m=d.util.object,n={init:function(a,c){var d=c.widgetNameToLowercase?c.name.toLowerCase():c.name;j&&(b.addEventListener(d+"create",function(a){var b=a.target,c=a.detail,e=j(b).data(d);c&&(c.bindings={},c.hoverable={},c.focusable={},c.document=j(b.style?b.ownerDocument:b.document||b),c.window=j(c.document[0].defaultView||c.document[0].parentWindow),m.merge(c,e),j(b).data(d,c))},!0),this.processDefinition(c,a))},processDefinition:function(a,b){var c=a.widgetNameToLowercase?a.name.toLowerCase():a.name,d=a.methods;j.fn[c]=e(b,c,d,a.name),a.namespace&&(j[a.namespace]=j[a.namespace]||{},j[a.namespace][a.name.toLowerCase()]=a.widgetClass),a=null}},o=l.eventType;b.addEventListener(o.WIDGET_DEFINED,f,!1),b.addEventListener(o.INIT,h,!1),b.addEventListener(o.DESTROY,g,!1),d.jqm.widget=n}(a,a.document),function(a,b,d){d.util.callbacks=function(a){var b,e,f,g,h,i,j,k,l=d.util.object,m=l.copy(a),n=[].slice,o=[],p=!m.once&&[],q={add:function(){var a;return o&&(a=o.length,k(arguments),f?h=o.length:b&&(g=a,j(b))),this},remove:function(){return o&&n.call(arguments).forEach(function(a){for(var b=o.indexOf(a);b>-1;)o.splice(b,1),f&&(h>=b&&h--,i>=b&&i--),b=o.indexOf(a,b)}),this},has:function(a){return a?!!o&&o.indexOf(a)>-1:!(!o||!o.length)},empty:function(){return o=[],h=0,this},disable:function(){return o=p=b=c,this},disabled:function(){return!o},lock:function(){return p=c,b||q.disable(),this},locked:function(){return!p},fireWith:function(a,b){return!o||e&&!p||(b=b||[],b=[a,b.slice?b.slice():b],f?p.push(b):j(b)),this},fire:function(){return q.fireWith(this,arguments),this},fired:function(){return!!e}};return k=function(a){n.call(a).forEach(function(a){var b=typeof a;"function"===b?m.unique&&q.has(a)||o.push(a):a&&a.length&&"string"!==b&&k(a)})},j=function(a){for(b=m.memory&&a,e=!0,i=g||0,g=0,h=o.length,f=!0;o&&h>i;){if(o[i].apply(a[0],a[1])===!1&&m.stopOnFalse){b=!1;break}i++}f=!1,o&&(p?p.length&&j(p.shift()):b?o=[]:q.disable())},q}}(a,a.document,d),function(a,b,c){var d=function(a){var b=c.util.callbacks,e=c.util.object,f=[["resolve","done",b({once:!0,memory:!0}),"resolved"],["reject","fail",b({once:!0,memory:!0}),"rejected"],["notify","progress",b({memory:!0})]],g="pending",h={},i={state:function(){return g},always:function(){return h.done(arguments).fail(arguments),this},then:function(){var a=arguments;return new d(function(b){f.forEach(function(c,d){var e="function"==typeof a[d]&&a[d];h[c[1]](function(){var a=e&&e.apply(this,arguments);a&&"function"==typeof a.promise?a.promise().done(b.resolve).fail(b.reject).progress(b.notify):b[c[0]+"With"](this===i?b.promise():this,e?[a]:arguments)})}),a=null}).promise()},promise:function(a){return a?e.merge(a,i):i}};return i.pipe=i.then,f.forEach(function(a,b){var c=a[2],d=a[3];i[a[1]]=c.add,d&&c.add(function(){g=d},f[1^b][2].disable,f[2][2].lock),h[a[0]]=function(){return h[a[0]+"With"](this===h?i:this,arguments),this},h[a[0]+"With"]=c.fireWith}),i.promise(h),a&&a.call(h,h),h};c.util.deferred=d}(a,a.document,d),function(a,b,c,d){function e(a){return a.filter(function(a){return a}).join("/")}function f(c){var d,e=c||b.getElementsByTagName("html")[0].getAttribute("lang")||a.navigator.language.split(".")[0]||"en",f=e.lastIndexOf("-"),h=["Cyrl","Latn","Mong"];return-1!==f&&(d=e.substr(f+1),h.join("-").indexOf(d)<0&&(e=[e.substr(0,f),d.toUpperCase()].join("-"))),e=g(e)}function g(a){var b,c=a.lastIndexOf("-");return b=-1!==c?a.substr(0,c):a}function h(a,b,c){var d;return b="supplemental"===a?null:b,d=[C,B,a,b,c+A],e(d)}function i(a){return e([D,a+A])}function j(a){var b,c,d,e=new x;if(a)try{b=new XMLHttpRequest,b.onreadystatechange=function(){if(4===b.readyState)switch(b.status){case 0:case 200:c=JSON.parse(b.responseText),d={state:b.status,path:a,data:c},e.resolve(d);break;case 404:d={state:b.status,path:a,data:null},e.reject(d);break;default:c=JSON.parse(b.responseText),d={state:b.status,path:a,data:c},e.reject(d)}},b.open("GET",a,!0),b.send("")}catch(f){d={state:-1,path:a,data:null},e.reject(d)}else d={state:-2,path:a,data:null},e.reject(d);return e}function k(a,b){var c,e=w[b].length,f=null,g=new x;return f=a?u[b].hasOwnProperty(a)?u[b][a]:u[b][a]={}:u[b],w[b].forEach(function(i){c=h(b,a,i),f[c]?g.resolve(a):j(c).then(function(b){var c=b.data,h=b.path;f[h]=c,d.load(c),Object.keys(f).length===e&&g.resolve(a)},g.reject)}),g}function l(a){var b=null,c=new x,d=v;return b=i(a),d[b]?(d[b].fromCache=!0,c.resolve(d[b])):j(b).then(function(a){d[b]=a,a.fromCache=!1,c.resolve(a)},c.reject),c}function m(){var a=new x;return s=!0,k(null,t.supplemental).then(a.resolve,a.reject),a}function n(a){var b=h(t.supplemental,a,w.supplemental[0]),c=u.supplemental[b]||null,e=null;if(a=d.locale().attributes.script,c)return c.some(function(b){if(b.IDENTIFIER===a){switch(b.RTL){case"YES":e=!0;break;case"NO":e=!1;break;case"UNKNOWN":e=!0}return!0}return!1}),e;throw new Error("Globalize is not initialized")}function o(b){var c=new x;return s?a.tizen&&!b?a.tizen.systeminfo.getPropertyValue("LOCALE",function(a){var b=a.country;b&&(b=g(b.replace("_","-"))),k(b,t.main).then(function(a){c.resolve(a)},c.reject)}):k(b,t.main).then(function(a){c.resolve(a)},c.reject):m().then(function(){o(b).then(function(a){c.resolve(a)},c.reject)}),c}function p(){var a=n(d.locale().locale),c=b.body,e=c.classList;a?(e.contains(z)||e.add(z),d.prototype.rtl=!0):(e.contains(z)&&e.remove(z),d.prototype.rtl=!1)}function q(){d.prototype.getLocale=c.util.globalize.getLocale,d.prototype.getCalendar=c.util.globalize.getCalendar}function r(){return a.Globalize&&a.Cldr}var s=!1,t={main:"main",supplemental:"supplemental"},u={main:{},supplemental:{}},v={},w={main:["currencies","ca-gregorian","numbers"],supplemental:["scriptMetaData","likelySubtags","currencyData","plurals","timeData","weekData","numberingSystems"]},x=c.util.deferred,y=null,z="ui-script-direction-rtl",A=".json",B="cldr-data",C="lib",D="locale";c.util.globalize={importModule:function(a){var b,c=a.split("/"),d=c.shift(),e=w.main,f=w.supplemental,g=0;switch(a=c.shift(),d){case"main":for(b=e.length;b>g;g++)if(e[g]===a)return;e.push(a);break;case"supplemental":for(b=f.length;b>g;g++)if(f[g]===a)return;f.push(a)}},setLocale:function(a){var b=new x;if(a=f(a),r())return o(a).then(function(a){return d.locale(a),y=new d(a),a},b.reject).done(function(a){l(a).then(function(c){c.fromCache||d.loadMessages(c.data),y=new d(a),b.resolve(y)},function(){y=new d(a),b.resolve(y)})}).done(p).done(q),b;throw new Error("Globalize is not loaded")},getLocale:function(){if(r())return d.locale().locale;throw new Error("Globalize is not loaded")},getCalendar:function(){if(r()&&y)return y.cldr.main("dates/calendars/gregorian");throw new Error("Globalize is not initialized")}}}(a,a.document,d,a.Globalize),function(a,b,c){var d=b.querySelector("meta[name=viewport]"),e=d&&d.getAttribute("content"),f=e+",maximum-scale=1, user-scalable=no",g=e+",maximum-scale=10, user-scalable=yes",h=/(user-scalable[\s]*=[\s]*no)|(maximum-scale[\s]*=[\s]*1)[$,\s]/.test(e),i={enabled:!h,locked:!1,disable:function(a){h||i.locked||(d&&d.setAttribute("content",f),i.enabled=!1,i.locked=a||!1)},enable:function(a){h||i.locked&&a!==!0||(d&&d.setAttribute("content",g),i.enabled=!0,i.locked=!1)},restore:function(){h||(d&&d.setAttribute("content",e),i.enabled=!0)}};c.util.zoom=i}(a,a.document,d),function(a,b){function c(a,b,c){var d=new XMLHttpRequest;d.open("GET",a,!1),d.send(),200===d.status||0===d.status?"function"==typeof b&&b(d,d.status):"function"==typeof c&&c(d,d.status,new Error(d.statusText))}function d(a,b,c){var d,e=new XMLHttpRequest,f=function(){if(200===e.status){if("function"==typeof b)try{d=JSON.parse(e.responseText),b(d,e.status)}catch(a){c(e,e.status,new Error(a))}}else"function"==typeof c&&c(e,e.status,new Error(e.statusText))},g=function(){4===e.status&&f()};e.open("GET",a,!0),e.onreadystatechange=g,e.onload=f,e.onerror=function(a){c(e,e.status,new Error(a))},e.send()}function e(b,c,d){var e=a.createElement("script");e.type="text/javascript",e.text=c.responseText,a.body.appendChild(e),"function"==typeof b&&b(c,d)}function f(a,b,d){c(a,e.bind(null,b),d)}function g(b,c,d){var e=a.createElement("style"),f=b.replace(x,"");e.type="text/css",e.textContent=d.responseText.replace(v,"url("+f+"$1)"),"function"==typeof c&&c(e)}function h(b,c,d){var e=a.createElement("style");e.type="text/css",e.textContent=d.responseText.replace(u,"url("+b.replace(w,"images")),"function"==typeof c&&c(e)}function i(a,b,d){c(a,g.bind(null,a,b),d)}function j(a,b,d){c(a,h.bind(null,a,b),d)}function k(a,b){var c;if(o){if(b&&(c=o.firstElementChild))return void o.insertBefore(a,c);o.appendChild(a)}}function l(b){var c=a.createElement("link");return c.setAttribute("rel","stylesheet"),c.setAttribute("href",b),c.setAttribute("name","tizen-theme"),c}function m(a,b,c){s(a,"name","tizen-theme"),s(a,"theme-name",b),c?c.parentNode.replaceChild(a,c):k(a,!0)}function n(a,c,d){var e,f,g,h=p.length,i=null;for(e=0;h>e;e++)if(f=p[e].ownerNode,"tizen-theme"===r(f,"name")||f.getAttribute("href")===a){if(r(f,"theme-name")===c)return;i=f;break}d?j(a,function(a){m(a,c,i)},function(a,d){b.warn("There was a problem when loading '"+c+"', status: "+d)}):(g=l(a),m(g,c,i))}var o=a.head,p=a.styleSheets,q=b.util.DOM,r=q.getNSData,s=q.setNSData,t=b.util.load||{},u=/url\((\.\/)?images/gm,v=/url\((.+)\)/gm,w=/[^/]+\.css$/,x=/[^\/]+$/;t.cacheBust=a.location.href.match(/debug=true/)?"?cacheBust="+(new Date).getTime():"",t.scriptSync=f,t.addElementToHead=k,t.makeLink=l,t.themeCSS=n,t.cssSync=i,t.JSON=d,b.util.load=t}(a.document,d),function(a,b){var c=Array.prototype.slice,d="tizen-web-ui-fw",e="tau",f=/(^|[\\\/])(tau(\.full|\.mvc)?(\.min)?\.js)$/,g=/(^|[\\\/])(tau|tizen-web-ui-fw)(\.full|\.mvc|\.custom)?(\.min)?\.js$/,h=/(^|[\\\/])(tau|tizen-web-ui-fw)(\.full|\.mvc|\.custom)?(\.min)?\.css$/,i=/^(changeable|white|black|default)$/i,j=/\.min\.js$/,k={frameworkName:d,rootDir:"/usr/share/"+d,version:"latest",theme:"default",themeLoaded:!1,defaultViewportWidth:360,viewportWidth:"device-width",viewportScale:!1,defaultFontSize:22,minified:!1,deviceCapa:{inputKeyBack:!0,inputKeyMenu:!0},debug:!1,pkgVersion:"0.2.83",dataPrefix:"data-framework-",profile:""};k.getParams=function(){function b(a){var b,c=a.ownerNode,d=c.getAttribute("data-theme-name"),e=c.getAttribute("href"),f=e&&e.split("/");d?i.test(d)&&(l=d):e&&h.test(e)&&f.length>=2&&(b=f.slice(-2)[0].match(i),l=b&&b[0]),q=q||!!l}function k(a){var b,c,h,i=a.getAttribute("src"),k="";g.test(i)&&(l=l||a.getAttribute(n+"theme")||m.theme,l=l.toLowerCase(),f.test(i)?(b=e,k=a.getAttribute(n+"profile")||i.split("/").slice(-3)[0],c="/"+k+"/theme/"+l,h="/"+k+"/js"):(b=d,c="/latest/themes/"+l,h="/latest/js"),m.rootDir=a.getAttribute(n+"root")||i.substring(0,i.lastIndexOf(b)-h.length-1)||m.rootDir,m.themePath=m.rootDir+c,m.jsPath=m.rootDir+h,m.version=a.getAttribute(n+"version")||m.version,m.theme=l,m.themeLoaded=q,m.frameworkName=b,m.minified=i.search(j)>-1,m.profile=k)}var l,m=this,n=m.dataPrefix,o=c.call(a.querySelectorAll("script[src]")),p=c.call(a.styleSheets),q=!1;p.forEach(b),o.forEach(k)},b.frameworkData=k,b.frameworkData.getParams()}(a.document,d),function(a,b){function e(a,b,c,d){var e=f.call(a).map(b);c[d].apply(c,e)}var f=[].slice,g={},h=d.jqm.jQuery,i=d.util,j=i.zoom,k=d.event,l=i.load,m=i.object,n=function(a){return"object"==typeof a&&a.selector&&a.get?1===a.length?a.get(0):a.toArray():a},o=d.engine,p=o.eventType,q=function(){var f,p,q,r,s,t=Object.keys(o),u=/:jqmData\(([^)]*)\)/g,v=":jqmData";if(h){for(f=0,p=t.length;p>f;++f)q=t[f],h[q]=e.bind(null,arguments,n,o,q);m.merge(h.mobile,{ns:"",nsNormalize:function(a){return a?(g[a]=g[a]||h.camelCase(h.mobile.ns+a),g[a]):null},activeBtnClass:d.widget.core.Button.classes.uiBtnActive,activePageClass:d.widget.core.Page.classes.uiPageActive,focusClass:d.widget.core.Button.classes.uiFocus,version:"1.2.0",getAttrFixed:function(a,b){var d=a.getAttribute(b);return"true"===d?!0:"false"===d?!1:null===d?c:d},path:d.util.path,back:a.history.back.bind(a.history),silentScroll:function(d){d===c&&(d=h.mobile.defaultHomeScroll),setTimeout(function(){a.scrollTo(0,d),k.trigger(b,"silentscroll",{x:0,y:d})},20),setTimeout(function(){},150)},nsNormalizeDict:g,closestPageData:function(a){var b=d.util.selectors.getClosestBySelector(h(a)[0],"[data-"+(h.mobile.ns||"")+"role='page'], [data-"+(h.mobile.ns||"")+"role='dialog']");return d.engine.instanceWidget(b,"Page")},enhanceable:function(a){return this.haveParents(a,"enhance")},hijackable:function(a){return this.haveParents(a,"ajax")},haveParents:function(a,b){var c,d,e,f,g,i=0,j=null;if(!h.mobile.ignoreContentEnabled)return a;for(i=a.length,j=h(),f=0;i>f;f++){for(d=a.eq(f),e=!1,c=a[f];c;){if(g=c.getAttribute?c.getAttribute("data-"+h.mobile.ns+b):"","false"===g){e=!0;break}c=c.parentNode}e||(j=j.add(d))}return j},getScreenHeight:function(){return a.innerHeight},widget:function(){return null},media:d.support.media,browser:{},gradeA:function(){return null},zoom:j,popupwindow:{}}),h.mobile.buttonMarkup=h.mobile.buttonMarkup||d.widget.mobile.Button,h.mobile.$window=h(a),h.mobile.$document=h(b),h.mobile.keyCode={ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND:91,COMMAND_LEFT:91,COMMAND_RIGHT:93,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,MENU:93,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38,WINDOWS:91},h.tizen=h.tizen||{},s=h.tizen,s.globalize=d.util.globalize,h.mobile.tizen=m.merge(h.mobile.tizen,{_widgetPrototypes:{},disableSelection:function(){d.warn("Function $.mobile.tizen.disableSelection is deprecated")},enableSelection:function(){d.warn("Function $.mobile.tizen.enableSelection is deprecated")},enableContextMenu:function(){d.warn("Function $.mobile.tizen.enableContextMenu is deprecated")},disableContextMenu:function(){d.warn("Function $.mobile.tizen.disableContextMenu is deprecated")}}),h.mobile.tizen.loadPrototype=null,h.fn.jqmData=function(a,b){var d;return a!==c&&(a&&(a=h.mobile.nsNormalize(a)),d=arguments.length<2||b===c?this.data(a):this.data(a,b)),d},h.fn.jqmRemoveData=function(a){return a!==c&&(a&&(a=h.mobile.nsNormalize(a)),this.removeData(a)),this},h.jqmData=function(a,b,c){var d=h(a).jqmData(b,c);return c||d},h.jqmRemoveData=function(a,b){h(a).jqmRemoveData(b)},h.fn.removeWithDependents=function(){h.removeWithDependents(this)},h.removeWithDependents=function(a){var b=h(a);(b.jqmData("dependents")||h()).remove(),b.remove()},h.fn.addDependents=function(a){h.addDependents(h(this),a)},h.addDependents=function(a,b){var c=h(a).jqmData("dependents")||h();h(a).jqmData("dependents",h.merge(c,b))},h.fn.getEncodedText=function(){return h("<div/>").text(h(this).text()).html()},h.fn.jqmEnhanceable=function(){return h.mobile.enhanceable(this)},h.fn.jqmHijackable=function(){return h.mobile.hijackable(this)},r=h.find,h.find=function(a,b,c,d){return a.indexOf(v)>-1&&(a=a.replace(u,"[data-"+(h.mobile.ns||"")+"$1]")),r.call(this,a,b,c,d)},h.extend(h.find,r),h.find.matches=function(a,b){return h.find(a,null,null,b)},h.find.matchesSelector=function(a,b){return h.find(b,null,null,[a]).length>0},h(b).bind("create",d.engine._createEventHandler),h(b).bind("pagecreate",function(a){var b,c=a.originalEvent||a,e=c.detail instanceof d.widget.core.Page;e||(b=o.instanceWidget(c.target,"Page"),b.refresh(),d.engine._createEventHandler(c))}),h(b).bind("activePopup",function(a){h.mobile.popup.active=h.mobile.popupwindow.active=a.originalEvent.detail}),h.tizen.frameworkData=d.frameworkData,h.tizen.__tizen__=s,s.libFileName="tizen-web-ui-fw(.custom|.full)?(.min)?.js",s.log={debug:function(a){h.tizen.frameworkData.debug&&d.log(a)},warn:d.warn.bind(d),error:d.error.bind(d),alert:a.alert.bind(a)},s.util={loadScriptSync:l.scriptSync,isMobileBrowser:function(){d.warn("Function $.tizen.__tizen__.util.isMobileBrowser is deprecated")}},s.css={cacheBust:l.cacheBust,addElementToHead:l.addElementToHead.bind(l),makeLink:l.makeLink.bind(l),load:l.themeCSS},s.loadTheme=function(){d.warn("Function $.tizen.__tizen__.loadTheme is deprecated")},s.setLocale=i.globalize.setLocale,s.setViewport=function(){d.warn("Function $.tizen.__tizen__.setViewport is deprecated")},s.scaleBaseFontSize=function(){d.warn("Function $.tizen.__tizen__.scaleBaseFontSize is deprecated")},s.setScaling=function(){d.warn("Function $.tizen.__tizen__.setScaling is deprecated")},s.getParams=d.frameworkData.getParams.bind(d.frameworkData),d.setConfig("enableHWKeyHandler",h.mobile.tizen.enableHWKeyHandler)}},r=function(){b.removeEventListener(p.INIT,q,!1),b.removeEventListener(p.DESTROY,r,!1)};b.addEventListener(p.INIT,q,!1),b.addEventListener(p.DESTROY,r,!1)}(a,a.document),function(a,b,d){function e(a,b,c,d){var e,f,g,h;for(e=0,f=d.length;f>e;++e)h=d[e],(isNaN(c[h])===!1||isNaN(a[h])===!1)&&(g=Object.getOwnPropertyDescriptor(b,h),"detail"===h||g&&!g.writable||(b[h]=c[h]||a[h]))}function f(a,b,c){var d,f,g,h,i=new CustomEvent(a,{bubbles:b.bubbles,cancelable:b.cancelable,detail:b.detail}),j=b.type,k=0;if(e(b,i,c,x),i._originalEvent=b,-1!==j.indexOf("touch")&&(j=b.touches,d=b.changedTouches,f=j&&j.length?j[0]:d&&d.length?d[0]:null))for(g=D.length;g>k;k++)h=D[k],i[h]=f[h];return i}function g(a,b,c){return b.target.dispatchEvent(f(a,b,c||{}))}function h(a){g("vmousedown",a)}function i(a){var b=a.clientX,c=a.clientY;return b||c?null:t(a)}function j(a){g("vclick",a,i(a))}function k(a){g("vmouseup",a)}function l(a){g("vmousemove",a)}function m(a){g("vmouseover",a)}function n(a){g("vmouseout",a)}function o(a){var b,c=a.touches;c&&1===c.length&&(y=!1,b=c[0],B=b.pageX||b.clientX||0,C=b.pageY||b.clientX||0,g("vmousedown",a))}function p(a){var b=a.touches;b&&0===b.length&&(g("vmouseup",a),g("vmouseout",a),A=null)}function q(a){var d,e,f,h=a.touches&&a.touches[0],i=y,j=w.eventDistanceThreshold;return h===c||h.identifier>0?void a.stopPropagation():(e=h.pageX||h.clientX||0,f=h.pageY||h.clientY||0,y=y||Math.abs(e-B)>j||Math.abs(f-C)>j,d=b.elementFromPoint(e,f),d&&A!==d&&(A=d,g("vmouseover",a)),y&&!i&&(g("vmousecancel",a),A=null),void g("vmousemove",a))}function r(a){y||g("vmousecancel",a),y=!0}function s(a){g("vmousecancel",a),A=null}function t(a){var b=a.target&&a.target.getBoundingClientRect(),c={};return b&&(c={clientX:b.left+b.width/2,clientY:b.top+b.height/2,which:1}),c}function u(a){var b;a.keyCode===E.enter&&(b=t(a),g("vmouseup",a,b),g("vclick",a,b))}function v(a){a.keyCode===E.enter&&g("vmousedown",a,t(a))}var w,x,y,z=a.hasOwnProperty("ontouchstart"),A=null,B=0,C=0,D=["clientX","clientY","pageX","pageY","screenX","screenY"],E={enter:13};x=["currentTarget","detail","button","buttons","clientX","clientY","offsetX","offsetY","pageX","pageY","screenX","screenY","toElement","which"],w={eventDistanceThreshold:10,touchSupport:z},w.bindCommonEvents=function(){b.addEventListener("keyup",u,!0),b.addEventListener("keydown",v,!0),b.addEventListener("scroll",r,!0),b.addEventListener("click",j,!0)},w.bindTouch=function(){b.addEventListener("touchstart",o,!0),b.addEventListener("touchend",p,!0),b.addEventListener("touchmove",q,!0),b.addEventListener("touchcancel",s,!0)},w.bindMouse=function(){b.addEventListener("mousedown",h,!0),b.addEventListener("mouseup",k,!0),b.addEventListener("mousemove",l,!0),b.addEventListener("mouseover",m,!0),b.addEventListener("mouseout",n,!0)},w.unbindTouch=function(){b.removeEventListener("touchstart",o,!0),b.removeEventListener("touchend",p,!0),b.removeEventListener("touchmove",q,!0),b.removeEventListener("touchcancel",s,!0),b.removeEventListener("click",j,!0)},w.unbindMouse=function(){b.removeEventListener("mousedown",h,!0),b.removeEventListener("mouseup",k,!0),b.removeEventListener("mousemove",l,!0),b.removeEventListener("mouseover",m,!0),b.removeEventListener("mouseout",n,!0),b.removeEventListener("keyup",u,!0),b.removeEventListener("keydown",v,!0),b.removeEventListener("scroll",r,!0),b.removeEventListener("click",j,!0)},d.event.vmouse=w,z?w.bindTouch():w.bindMouse(),w.bindCommonEvents()}(a,a.document,d),function(a,b,d){var e=d.event,f=d.engine.eventType,g={_window:a,supported:a.orientation!==c&&a.onorientationchange!==c,properties:["orientation"],_orientation:"portrait"},h=function(b){var c=g._window,d=c.innerWidth,f=c.innerHeight;c.screen&&(d=c.screen.availWidth,f=c.screen.availHeight),d>f?g._orientation="landscape":g._orientation="portrait",b||e.trigger(a,"orientationchange",{orientation:g._orientation})},i=function(){if(g._window.orientation)switch(g._window.orientation){case 90:case-90:g._orientation="portrait";break;default:g._orientation="landscape"}else h(!0)},j=function(b,c){b.matches?g._orientation="portrait":g._orientation="landscape",c||e.trigger(a,"orientationchange",{orientation:g._orientation})},k=null;g.getOrientation=function(){return g._orientation},g.trigger=function(a){e.trigger(a,"orientationchange",{orientation:g._orientation})},g.unbind=function(){a.removeEventListener("orientationchange",i,!1),b.removeEventListener("throttledresize",h,!0),b.removeEventListener(f.DESTROY,g.unbind,!1)},g.detect=function(){g.supported?(a.addEventListener("orientationchange",i,!1),i()):g._window.matchMedia?(k=g._window.matchMedia("(orientation: portrait)"),k.matches?g._orientation="portrait":g._orientation="landscape",k.addListener(j)):(b.addEventListener("throttledresize",h,!0),h())},b.addEventListener(f.DESTROY,g.unbind,!1),g.detect(),d.event.orientationchange=g}(a,a.document,d),function(a,b){var e,f,g=d.event,h=d.jqm.jQuery,i={CLICK:"click",SUBMIT:"submit",KEYUP:"keyup",TOUCHSTART:"touchstart",TOUCHEND:"touchend",VCLICK:"vclick",MOUSEDOWN:"mousedown",MOUSEUP:"mouseup",BEFOREROUTERINIT:"beforerouterinit",DESTROY:"taudestroy"},j=["touchstart","touchmove","touchend","tap","taphold","swipeleft","swiperight","scrollstart","scrollstop"],k={proxyEventTriggerMethod:function(a,b){h.fn[a]=function(){var a,c=this,d=c.length;for(a=0;d>a;a++)b(c.get(a))}},proxyTrigger:function(a,b){var c,d=this,f=d.length;for(i[a.toUpperCase()]||e.call(d,a,b),c=0;f>c;c++)g.trigger(d.get(c),a);return this},proxyDispatch:function(a){var b,c=a.originalEvent&&a.originalEvent.detail||a.detail;return b=[].slice.call(arguments),c&&b.push(c),f.apply(this,b)},copyEventProperties:function(b,c,d){h(b).on(c,function(c){var e,f;for(e=0;e<d.length;e++)f=d[e],c[f]||(b instanceof a.screen.constructor?c[f]=c.originalEvent.detail&&c.originalEvent.detail[f]||c.target[f]:c[f]=c.originalEvent.detail&&c.originalEvent.detail[f])})},init:function(){var d=function(a){return a.stopPropagation(),a.preventDefault(),!1},l=[i.TOUCHSTART,i.TOUCHEND,i.VCLICK,i.MOUSEDOWN,i.MOUSEUP,i.CLICK],m=l.length,n=b.body.parentNode;h&&(j.forEach(function(a){h.fn[a]=function(b){return b?this.bind(a,b):this.trigger(a)},h.attrFn&&(h.attrFn[a]=!0)}),k.copyEventProperties(a.screen,"orientationchange",g.orientationchange.properties),
-k.proxyEventTriggerMethod("orientationchange",g.orientationchange.trigger),e===c&&(e=h.fn.trigger,h.fn.trigger=k.proxyTrigger),f||(f=h.event.dispatch,h.event.dispatch=k.proxyDispatch),h.mobile=h.mobile||{},h.mobile.tizen=h.mobile.tizen||{},h.mobile.tizen.documentRelativeCoordsFromEvent=null,h.mobile.tizen.targetRelativeCoordsFromEvent=null,h.mobile.addEventBlocker=function(){var a;for(n.classList.add("ui-blocker"),a=0;m>a;a++)n.addEventListener(l[a],d,!0)},h.mobile.removeEventBlocker=function(){var a;for(n.classList.remove("ui-blocker"),a=0;m>a;a++)n.removeEventListener(l[a],d,!0)},h.mobile.tizen.documentRelativeCoordsFromEvent=g.documentRelativeCoordsFromEvent.bind(g),h.mobile.tizen.targetRelativeCoordsFromEvent=g.targetRelativeCoordsFromEvent.bind(g))},destroy:function(){b.removeEventListener(i.BEFOREROUTERINIT,k.init,!1),b.removeEventListener(i.DESTROY,k.destroy,!1)}};b.addEventListener(i.BEFOREROUTERINIT,k.init,!1),b.addEventListener(i.DESTROY,k.destroy,!1),d.jqm.event=k}(a,a.document),function(a,b,d){var e,f=d.util.object,g=d.util.selectors,h=d.util.DOM,i={},j={uiStateKey:"&ui-state",urlParseRE:/^(((([^:\/#\?]+:)?(?:(\/\/)((?:(([^:@\/#\?]+)(?:\:([^:@\/#\?]+))?)@)?(([^:\/#\?\]\[]+|\[[^\/\]@#?]+\])(?:\:([0-9]+))?))?)?)?((\/?(?:[^\/\?#]+\/+)*)([^\?#]*)))?(\?[^#]+)?)((#[^\?]*)(\?.*)?)?/,getLocation:function(b){var c=this.parseUrl(b||a.location.href),d=c.hash,e=c.hashSearch;return d="#"!==d||e?d:"",i=c,c.protocol+"//"+c.host+c.pathname+c.search+d+e},getDocumentUrl:function(a){return a?f.copy(j.documentUrl):j.documentUrl.href},parseLocation:function(){return this.parseUrl(this.getLocation())},parseUrl:function(a){var b;return"object"==typeof a?a:(b=j.urlParseRE.exec(a||"")||[],{href:b[0]||"",hrefNoHash:b[1]||"",hrefNoSearch:b[2]||"",domain:b[3]||"",protocol:b[4]||"",doubleSlash:b[5]||"",authority:b[6]||"",username:b[8]||"",password:b[9]||"",host:b[10]||"",hostname:b[11]||"",port:b[12]||"",pathname:b[13]||"",directory:b[14]||"",filename:b[15]||"",search:b[16]||"",hash:b[18]||"",hashSearch:b[19]||""})},makePathAbsolute:function(a,b){var c,d,e,f;if(a&&"/"===a.charAt(0))return a;for(a=a||"",b=b?b.replace(/^\/|(\/[^\/]*|[^\/]+)$/g,""):"",c=b?b.split("/"):[],d=a.split("/"),f=0;f<d.length;f++)switch(e=d[f]){case".":break;case"..":c.length&&c.pop();break;default:c.push(e)}return"/"+c.join("/")},isSameDomain:function(a,b){return j.parseUrl(a).domain===j.parseUrl(b).domain},isRelativeUrl:function(a){return""===j.parseUrl(a).protocol},isAbsoluteUrl:function(a){return""!==j.parseUrl(a).protocol},makeUrlAbsolute:function(a,b){var c,d,e,f,g,h,i,k,l;return j.isRelativeUrl(a)?(c=j.parseUrl(a),d=j.parseUrl(b),e=c.protocol||d.protocol,f=c.protocol?c.doubleSlash:c.doubleSlash||d.doubleSlash,g=c.authority||d.authority,h=""!==c.pathname,i=j.makePathAbsolute(c.pathname||d.filename,d.pathname),k=c.search||!h&&d.search||"",l=c.hash,e+f+g+i+k+l):a},addSearchParams:function(a,b){var c,d=j.parseUrl(a),e="object"==typeof b?this.getAsURIParameters(b):b,f=d.hash;return j.isEmbedded(a)&&e.length>0?(c=d.hashSearch||"?",d.hrefNoHash+(f||"")+c+("?"===c.charAt(c.length-1)?"":"&")+e):(c=d.search||"?",d.hrefNoSearch+c+("?"===c.charAt(c.length-1)?"":"&")+e+(f||""))},addHashSearchParams:function(a,b){var c=j.parseUrl(a),d="object"==typeof b?j.getAsURIParameters(b):b,e=c.hash,f=e?e.indexOf("?")<0?e+"?":e+"&":"#?";return c.hrefNoHash+f+("?"===f.charAt(f.length-1)?"":"&")+d},convertUrlToDataUrl:function(b,c,d){var e=j.parseUrl(b);return j.isEmbeddedPage(e,!!c)?j.getFilePath(e.hash+e.hashSearch,c):(d=d||j.documentBase,j.isSameDomain(e,d)?e.hrefNoHash.replace(d.domain,""):a.decodeURIComponent(b))},get:function(a){return a===c&&(a=this.parseLocation().hash),this.stripHash(a).replace(/[^\/]*\.[^\/*]+$/,"")},isPath:function(a){return/\//.test(a)},clean:function(a,b){return a.replace(b.domain,"")},stripHash:function(a){return a.replace(/^#/,"")},stripQueryParams:function(a){return a.replace(/\?.*$/,"")},isHashValid:function(a){return/^#[^#]+$/.test(a)},isExternal:function(a,b){var c=j.parseUrl(a);return c.protocol&&c.domain!==b.domain?!0:!1},hasProtocol:function(a){return/^(:?\w+:)/.test(a)},isEmbedded:function(a){var b=j.parseUrl(a);return""!==b.protocol?!j.isPath(b.hash)&&!!b.hash&&b.hrefNoHash===j.parseLocation().hrefNoHash:/\?.*#|^#/.test(b.href)},squash:function(a,b){var c,d,e,f,g=this.isPath(a),h=this.parseUrl(a),i=h.hash,k="";return b=b||(j.isPath(a)?j.getLocation():j.getDocumentUrl()),d=g?j.stripHash(a):a,d=j.isPath(h.hash)?j.stripHash(h.hash):d,f=d.indexOf(this.uiStateKey),f>-1&&(k=d.slice(f),d=d.slice(0,f)),c=j.makeUrlAbsolute(d,b),e=this.parseUrl(c).search,g?((j.isPath(i)||0===i.replace("#","").indexOf(this.uiStateKey))&&(i=""),k&&-1===i.indexOf(this.uiStateKey)&&(i+=k),-1===i.indexOf("#")&&""!==i&&(i="#"+i),c=j.parseUrl(c),c=c.protocol+"//"+c.host+c.pathname+e+i):c+=c.indexOf("#")>-1?k:"#"+k,c},isPreservableHash:function(a){return 0===a.replace("#","").indexOf(this.uiStateKey)},hashToSelector:function(a){var b="#"===a.substring(0,1);return b&&(a=a.substring(1)),(b?"#":"")+a.replace(new RegExp("([!\"#$%&'()*+,./:;<=>?@[\\]^`{|}~])","g"),"\\$1")},isFirstPageUrl:function(a,b,d,e,f){var g,h,i,k;return d=d===c?j.documentBase:d,e=e===c?j.documentBaseDiffers:e,f=f===c?j.documentUrl:f,g=j.parseUrl(j.makeUrlAbsolute(a,d)),h=g.hrefNoHash===f.hrefNoHash||e&&g.hrefNoHash===d.hrefNoHash,i=b&&b.id||!1,k=g.hash,h&&(!k||"#"===k||i&&k.replace(/^#/,"")===i)},isPermittedCrossDomainRequest:function(a,b){return d.getConfig("allowCrossDomainPages",!1)&&"file:"===a.protocol&&-1!==b.search(/^https?:/)},getAsURIParameters:function(a){var b,c="";for(b in a)a.hasOwnProperty(b)&&(c+=encodeURIComponent(b)+"="+encodeURIComponent(a[b])+"&");return c.substring(0,c.length-1)},documentUrl:null,documentBaseDiffers:!1,set:function(a){i.hash=a},getFilePath:function(a,b){var c="&"+d.getConfig("subPageUrlKey","");return a&&a.split(c)[0].split(b)[0]},cleanHash:function(a,b){return j.stripHash(a.replace(/\?.*$/,"").replace(b,""))},isEmbeddedPage:function(a,b){var c=j.parseUrl(a);return""!==c.protocol?c.hash&&(b?c.hrefNoHash===j.documentUrl.hrefNoHash:c.hrefNoHash===j.parseLocation().hrefNoHash):/^#/.test(c.href)}};j.documentUrl=j.parseLocation(),e=b.querySelector("base"),j.documentBase=e?j.parseUrl(j.makeUrlAbsolute(e.getAttribute("href"),j.documentUrl.href)):j.documentUrl,j.documentBaseDiffers=j.documentUrl.hrefNoHash!==j.documentBase.hrefNoHash,j.getDocumentBase=function(a){return a?f.copy(j.documentBase):j.documentBase.href},j.getClosestBaseUrl=function(a,b){var c=h.getNSData(g.getClosestBySelector(a,b),"url"),e=j.documentBase.hrefNoHash;return d.getConfig("dynamicBaseEnabled",!0)&&c&&j.isPath(c)||(c=e),j.makeUrlAbsolute(c,e)},d.util.path=j}(a,a.document,d),function(a){function b(a){for(var b,c=[],d=0,e=0,g="";null!=(b=o.exec(a));){var h=b[0],i=b[1],j=b.index;if(g+=a.slice(e,j),e=j+h.length,i)g+=i[1];else{g&&(c.push(g),g="");var k=b[2],l=b[3],m=b[4],n=b[5],p=b[6],q="+"===p||"*"===p,r="?"===p||"*"===p,s=k||"/";c.push({name:l||d++,prefix:k||"",delimiter:s,optional:r,repeat:q,pattern:f(m||n||"[^"+s+"]+?")})}}return e<a.length&&(g+=a.substr(e)),g&&c.push(g),c}function c(a){return d(b(a))}function d(a){for(var b=new Array(a.length),c=0;c<a.length;c++)"object"==typeof a[c]&&(b[c]=new RegExp("^"+a[c].pattern+"$"));return function(c){var d="";c=c||{};for(var e=0;e<a.length;e++){var f=a[e];if("string"!=typeof f){var g=c[f.name];if(null==g){if(f.optional)continue;throw new TypeError('Expected "'+f.name+'" to be defined')}if(n(g)){if(!f.repeat)throw new TypeError('Expected "'+f.name+'" to not repeat');if(0===g.length){if(f.optional)continue;throw new TypeError('Expected "'+f.name+'" to not be empty')}for(var h=0;h<g.length;h++){if(!b[e].test(g[h]))throw new TypeError('Expected all "'+f.name+'" to match "'+f.pattern+'"');d+=(0===h?f.prefix:f.delimiter)+encodeURIComponent(g[h])}}else{if(!b[e].test(g))throw new TypeError('Expected "'+f.name+'" to match "'+f.pattern+'"');d+=f.prefix+encodeURIComponent(g)}}else d+=f}return d}}function e(a){return a.replace(/([.+*?=^!:${}()[\]|\/])/g,"\\$1")}function f(a){return a.replace(/([=!:$\/()])/g,"\\$1")}function g(a,b){return a.keys=b,a}function h(a){return a.sensitive?"":"i"}function i(a,b){var c=a.source.match(/\((?!\?)/g);if(c)for(var d=0;d<c.length;d++)b.push({name:d,prefix:null,delimiter:null,optional:!1,repeat:!1,pattern:null});return g(a,b)}function j(a,b,c){for(var d=[],e=0;e<a.length;e++)d.push(m(a[e],b,c).source);var f=new RegExp("(?:"+d.join("|")+")",h(c));return g(f,b)}function k(a,c,d){for(var e=b(a),f=l(e,d),h=0;h<e.length;h++)"string"!=typeof e[h]&&c.push(e[h]);return g(f,c)}function l(a,b){b=b||{};for(var c=b.strict,d=b.end!==!1,f="",g=a[a.length-1],i="string"==typeof g&&/\/$/.test(g),j=0;j<a.length;j++){var k=a[j];if("string"==typeof k)f+=e(k);else{var l=e(k.prefix),m=k.pattern;k.repeat&&(m+="(?:"+l+m+")*"),m=k.optional?l?"(?:"+l+"("+m+"))?":"("+m+")?":l+"("+m+")",f+=m}}return c||(f=(i?f.slice(0,-2):f)+"(?:\\/(?=$))?"),f+=d?"$":c&&i?"":"(?=\\/|$)",new RegExp("^"+f,h(b))}function m(a,b,c){return b=b||[],n(b)?c||(c={}):(c=b,b=[]),a instanceof RegExp?i(a,b,c):n(a)?j(a,b,c):k(a,b,c)}var n=Array.isArray;m.parse=b,m.compile=c,m.tokensToFunction=d,m.tokensToRegExp=l;var o=new RegExp(["(\\\\.)","([\\/.])?(?:\\:(\\w+)(?:\\(((?:\\\\.|[^)])*)\\))?|\\(((?:\\\\.|[^)])*)\\))([+*?])?"].join("|"),"g");a.pathToRegexp=m}(a),function(a){d.util.pathToRegexp=a.pathToRegexp}(a),function(){d.router=d.router||{}}(),function(){d.router.route=d.router.route||{}}(),function(a){var c,e=d.util.object,f=0,g=0,h=a.history,i={activeState:null,startURL:null,replace:function(a,b,d){var j=e.merge({},a,{uid:c?g:++f,stateUrl:d,stateTitle:b});!this.startURL&&d&&d.length&&(this.startURL=d),h[c?"replaceState":"pushState"](j,b,d),i.setActive(j)},back:function(){var c;this.startURL!==a.location.href?h.back():(c=new CustomEvent("tauback",{bubbles:!0,cancelable:!0}),b.body.dispatchEvent(c))},setActive:function(a){return a&&(i.activeState=a,g=a.uid,a.volatileRecord)?void i.enableVolatileMode():void i.disableVolatileMode()},getDirection:function(a){return a?a.uid<=g?"back":"forward":"back"},enableVolatileMode:function(){c=!0},disableVolatileMode:function(){c=!1}};d.history=i}(a),function(a,b){function c(a){return o.trigger(b,t,a,!0,!0)}function e(a){var b,d,e,f,g=a.target,h=p.getClosestBySelector(g,l),i=!0;return h&&1===a.which&&(b=h.getAttribute("href"),f=h.getAttribute("rel"),d="external"===f||h.hasAttribute("target"),d||(e=s.getData(h),e.event=a,f&&!e.rel?e.rel=f:f=e.rel,b&&!e.href&&(e.href=b),"popup"!==f||e.link||(e.link=h),n.disableVolatileMode(),"back"===f&&(o.preventDefault(a),i=!1),c(e)||(o.preventDefault(a),i=!1))),i}function f(a){var d,e=a.state,f=n.activeState,g={},i=!0,j=!1;h.locked?(n.disableVolatileMode(),f&&n.replace(f,f.stateTitle,f.stateUrl)):e&&(d="back"===n.getDirection(e),g=q.merge(g,e,{reverse:d,transition:d?f&&f.transition||"none":e.transition,fromHashChange:!0}),f&&(i=o.trigger(b,u,q.merge(g,{url:r.getLocation(),stateUrl:f.stateUrl}),!0,!0),j=i),e.url=r.getLocation(),n.setActive(e),j||(g.event=a,c(g)))}function g(a){var b=a.newURL;b&&n.activeState.url!==b&&c({href:b,fromHashChange:!0,event:a})}var h=Object.create(null),i="popstate",j="hashchange",k="vclick",l="a,tau-button",m=d.util,n=d.history,o=d.event,p=m.selectors,q=m.object,r=m.path,s=m.DOM,t="historystatechange",u="historyhashchange",v="historyenabled",w="historydisabled",x={STATECHANGE:t,HASHCHANGE:u,ENABLED:v,DISABLED:w};h.events=x,h.enabled=!0,h.locked=!1,h.lock=function(){this.locked=!0},h.unlock=function(){this.locked=!1},h.enable=function(){b.addEventListener(k,e,!1),a.addEventListener(i,f,!1),a.addEventListener(j,g,!1),n.enableVolatileMode(),this.enabled=!0,o.trigger(b,v,this)},h.disable=function(){b.removeEventListener(k,e,!1),a.removeEventListener(i,f,!1),a.removeEventListener(j,g,!1),n.disableVolatileMode(),this.enabled=!1,o.trigger(b,w,this)},d.history.manager=h}(a,a.document),function(a,b){b.widget.core=b.widget.core||{}}(a.document,d),function(b,c){function d(a,b,c,d){a&&(a.onHide(),c._removeExternalPage(a,d)),b.onShow(),c.trigger(k.PAGE_CHANGE)}var e=c.widget.BaseWidget,f=c.util,g=f.DOM,h=c.engine,i={pageContainer:"ui-page-container",uiViewportTransitioning:"ui-viewport-transitioning",out:"out","in":"in",reverse:"reverse",uiPreIn:"ui-pre-in",uiBuild:"ui-page-build"},j=function(){this.activePage=null,this.inTransition=!1},k={PAGE_BEFORE_CHANGE:"pagebeforechange",PAGE_CHANGE:"pagechange",PAGE_REMOVE:"pageremove"},l="animationend",m="webkitAnimationEnd",n="mozAnimationEnd",o="msAnimationEnd",p="oAnimationEnd",q=[l,m,n,o,p],r=new e;j.events=k,j.classes=i,r._build=function(a){return a.classList.add(i.pageContainer),a},r.change=function(a,b){var c,e=this,f=e.getActivePage(),g=b||{};e._options=g,g.widget=g.widget||"Page",f&&f.element===a||(a.parentNode!==e.element&&(a=e._include(a)),e.trigger(k.PAGE_BEFORE_CHANGE),a.classList.add(i.uiBuild),delete b.url,c=h.instanceWidget(a,g.widget,b),c.layout(),(c.option("autoBuildWidgets")||a.querySelector(".ui-i3d")||a.querySelector(".ui-coverflow"))&&h.createWidgets(a,b),f&&f.onBeforeHide(),c.onBeforeShow(),a.classList.remove(i.uiBuild),g===e._options&&(g.deferred={resolve:d},e._transition(c,f,g)))},r._transition=function(b,c,d){var e,f,g=this,h=g.element,j=h.classList,k=c&&d.transition?d.transition:"none",l=d.deferred,m=[i["in"],i.out,i.uiPreIn,k];d.reverse&&m.push(i.reverse),g.inTransition=!0,j.add(i.uiViewportTransitioning),e=l.resolve,l.resolve=function(){var a=c&&c.element.classList,f=b.element.classList;g._setActivePage(b),g._clearTransitionClasses(m,a,f),e(c,b,g,d)},"none"!==k?(f=function(){b.off(q,f,!1),l.resolve()},b.on(q,f,!1),g._appendTransitionClasses(c,b,k,d.reverse)):a.setTimeout(l.resolve,0)},r._appendTransitionClasses=function(a,b,c,d){var e;a&&(e=a.element.classList,e.add(c,i.out),d&&e.add(i.reverse)),e=b.element.classList,e.add(c,i["in"],i.uiPreIn),d&&e.add(i.reverse)},r._clearTransitionClasses=function(a,b,c){var d=this,e=d.element,f=e.classList;f.remove(i.uiViewportTransitioning),d.inTransition=!1,a.forEach(function(a){c.remove(a)}),b&&a.forEach(function(a){b.remove(a)})},r._include=function(a){var c=this.element;return a.parentNode&&a.ownerDocument===b||(a=f.importEvaluateAndAppendElement(a,c)),a},r._setActivePage=function(a){var b=this;b.activePage&&b.activePage.setActive(!1),b.activePage=a,a.setActive(!0)},r.getActivePage=function(){return this.activePage},r._removeExternalPage=function(a,b){var c=a.element;b&&b.reverse&&g.hasNSData(c,"external")&&c.parentNode&&(a.destroy(),c.parentNode.removeChild(c),this.trigger(k.PAGE_REMOVE))},j.prototype=r,c.widget.core.PageContainer=j,h.defineWidget("pagecontainer","",["change","getActivePage"],j,"core")}(a.document,d),function(b,d){function e(){return b.querySelector(":focus")||b.activeElement}function f(a){return a===Y.left||a===Y.right||a===Y.up||a===Y.down||a===Y.enter||a===Y.escape}function g(b,c){var d=[];return b?(d=S.call(b.querySelectorAll(V)),c?d.filter(function(b){return b.offsetWidth&&"hidden"!==a.getComputedStyle(b).visibility}):d):[]}function h(a){return a.element}function i(){var a=aa.length;V="",L.forEach(aa,function(b,c){V+=b.value,b.includeDisabled||(V+=_),a-1>c&&(V+=",")})}function j(a,b){var c=b instanceof HTMLElement?b.getBoundingClientRect():b,d={x:a.width/2+a.left,y:a.height/2+a.top},e={x:c.width/2+c.left,y:c.height/2+c.top},f=d.y-e.y,g=d.x-e.x;return Math.sqrt(f*f+g*g)}function k(a,b,c){var d,e,f,g,h=!1,i=b instanceof HTMLElement?b.getBoundingClientRect():b;if("down"===c||"up"===c)d=i.left,e=i.left+i.width,f=a.left,g=a.left+a.width;else{if("left"!==c&&"right"!==c)return h;d=i.top,e=i.top+i.height,f=a.top,g=a.top+a.height}return h=d>f&&g>d||e>f&&g>e||f>=d&&e>=g}function l(a,b){var c=b instanceof HTMLElement?b.getBoundingClientRect():b,d={x:a.width/2+a.left,y:a.height/2+a.top},e={x:c.width/2+c.left,y:c.height/2+c.top},f=d.y-e.y,g=d.x-e.x,h=180*O(-f,g)/Q;return h}function m(a,b){return b=b||0,P(a-180)<b||P(a+180)<b?$.left:P(a-90)<b?$.up:P(a)<b?$.right:P(a+90)<b?$.down:""}function n(a,b){return a===b?0:b>a?-1:1}function o(a,b,c){return c===$.right&&parseInt(a.right)<=parseInt(b.left)?c:c===$.left&&parseInt(b.right)<=parseInt(a.left)?c:c===$.down&&parseInt(a.bottom)<=parseInt(b.top)?c:c===$.up&&parseInt(a.top)>=parseInt(b.bottom)?c:b?m(l(b,a),5):""}function p(a,b){var c=a.left-b.left,d=a.top-b.top;return 0|R(c*c+d*d)}function q(a,b){var c={top:b.top-(a.top+a.height)+0,bottom:a.top-b.top-b.height,right:a.left-b.left-b.width,left:b.left-(a.left+a.width)};return c.leftRest=c.left+a.width,c.rightRest=c.right+a.width,c.topRest=c.top+a.height,c.bottomRest=c.bottom+a.height,c}function r(a,b){return a.distanceByCenter===b.distanceByCenter?0:a.distanceByCenter<b.distanceByCenter?-1:1}function s(a,b){return a.distanceByDirection.distance===b.distanceByDirection.distance?r(a,b):a.distanceByDirection.distance<b.distanceByDirection.distance?-1:1}function t(a,b){return a.inSideDistanceLimit&&b.inSideDistanceLimit?s(a,b):a.inSideDistanceLimit||b.inSideDistanceLimit?a.inSideDistanceLimit&&!b.inSideDistanceLimit?-1:1:r(a,b)}function u(a,b){return a.inLine&&b.inLine||!a.inLine&&!b.inLine?t(a,b):a.inLine&&!b.inLine?-1:1}function v(a,b){switch(b){case"left":return{distance:a.left,distanceRest:a.leftRest};case"right":return{distance:a.right,distanceRest:a.rightRest};case"up":return{distance:a.top,distanceRest:a.topRest};case"down":return{distance:a.bottom,distanceRest:a.bottomRest}}return null}function w(a,c,d){var f,i,m,r=d.direction,s=c||e(),t=[],w=s.getBoundingClientRect(),x=[],y=null,A=null,B={},C=0,D=0;if(i=s&&z(s,r,a))return[i];if(f=g(a,!0),s&&s!==b.body){for(C=0,D=f.length;D>C;++C)y=f[C],A=y.getBoundingClientRect(),B=q(A,w),m=v(B,r),x.push({element:y,angle:l(A,w),direction:o(w,A,r),distance:p(w,A),distanceByDirection:m,distanceByCenter:j(A,w),inLine:k(A,w,r),inSideDistanceLimit:m.distance>=0&&m.distance<T});return x=x.filter(function(a){return a.distanceByDirection.distanceRest>0}),x=x.filter(function(b){return 0===b.distance?r===$.down?!!(s.compareDocumentPosition(typeof b===a?b:b.element)&Node.DOCUMENT_POSITION_CONTAINED_BY):r===$.up?!!(s.compareDocumentPosition(typeof b===a?b:b.element)&Node.DOCUMENT_POSITION_PRECEDING):!1:b.direction===r}),x=x.sort(u).map(h)}return t=L.map(f,function(a){var b=a.getBoundingClientRect();return{offset:b,element:a,width:a.offsetWidth,height:a.offsetHeight}}),L.map(t.sort(function(a,b){return a.offset.top===b.offset.top?n(a.offset.left,b.offset.left):n(a.offset.top,b.offset.top)}),h)}function x(a){var b,c,d;a=a||{},b=a.current||Z||e(),b&&(d=I.getBinding(b),d?d.blur(a):(a.element=b,c=!M.trigger(b,"taublur",a),c||(b.classList.remove(X.focus),b.blur())),Z=null)}function y(a,b,c){var d,f,g,h=c.current||Z||e(),i=b&&N.getClosestBySelectorNS(b.parentNode,"focus-lock=true"),j=i&&I.getBinding(i)||null;return j&&j!==G?!1:(c=c||{},f=I.getBinding(b),f?(c.previousElement=h,d=f.focus(c),x(c)):b!==h&&(c.previousElement=h,b&&(c.element=b,g=!M.trigger(b,"taufocus",c),g||(b.classList.add(X.focus),b.focus())),x(c),d=!0),Z=b,a&&a._openActiveElement&&a._openActiveElement(b),d)}function z(a,c,d){var e=a.getAttribute("data-focus-"+c),f={selector:e,direction:c,currentElement:a,nextElement:null},g="true"===a.getAttribute("data-focus-container-context"),h=a.getAttribute("data-focus-context");if(e){if(M.trigger(a,"focusquery",f,!0,!0))return g&&(h&&(d=b.querySelector(h)),d)?d.parentNode.querySelector(e):a.parentNode.querySelector(e);if(f.nextElement)return f.nextElement}return null}function A(a,b){var c=null;return J.getNSData(b,"focus-lock")===!0&&(c=I.getBinding(b),c&&c!==G)?(c.saveKeyboardSupport(),c.enableKeyboardSupport(),c.blur(),C(a,b,{direction:H,key:Y.down}),!0):!1}function B(a,b){var c;return J.getNSData(b,"focus-lock")===!0||(b=N.getClosestBySelectorNS(b.parentNode,"focus-lock=true"))?(c=I.getBinding(b),c&&c===G?(c.disableKeyboardSupport(),c.restoreKeyboardSupport(),y(a,b,{direction:H,key:Y.down}),!0):!1):!1}function C(a,b,c){var e,f,g="",h=[],i=0,j=c.current,k=c.event,l=!1;switch(c.key){case Y.left:g=$.left;break;case Y.up:g=$.up;break;case Y.right:g=$.right;break;case Y.down:g=$.down;break;case Y.enter:if(j)return void(A(a,j)?k&&(k.preventDefault(),k.stopImmediatePropagation()):(f=d.engine.getBinding(j),f&&"function"==typeof f._actionEnter&&f._actionEnter(j)));break;case Y.escape:if(j)return void(B(a,j)?k&&(k.preventDefault(),k.stopImmediatePropagation()):(f=d.engine.getBinding(j),f&&"function"==typeof f._actionEscape&&f._actionEscape(j)));break;default:return}if(c.direction=c.direction||g,g&&(H=g),e=z(b,g),e||(h=w(b,j,c),e=h[i]),c._last)for(i=h.length-1,e=h[i];e&&!l;)l=y(a,e,c),e=h[--i];else if(i=0,e=h[i])for(;e&&!l;)l=y(a,e,c),e=h[++i];else M.trigger(J.isChildElementOf(j,b)?j:b,"taufocusborder",c)}function D(a,b,c,d){var e=b.offset,f=b.height,g=b.width,h=c.offsetHeight,i=c.offsetWidth;switch(d=d||c.getBoundingClientRect(),a){case"top":return d.left>=e.left+g||d.left+i<=e.left?!1:e.top<d.top;case"bottom":return d.left>=e.left+g||d.left+i<=e.left?!1:e.top>=d.bottom;case"left":return d.top>=e.top+f||d.top+h<=e.top?!1:e.left<d.left;case"right":return d.top>=e.top+f||d.top+h<=e.top?!1:e.left>=d.right}return!1}function E(a){return a.value}function F(a){return L.map(aa,E).indexOf(a)}var G,H,I=d.engine,J=d.util.DOM,K=d.util.object,L=d.util.array,M=d.event,N=d.util.selectors,O=Math.atan2,P=Math.abs,Q=Math.PI,R=Math.sqrt,S=[].slice,T=200,U={_supportKeyboard:!1},V="",W=function(){var a=this,b=a.options||{};K.merge(a,U),K.merge(b,{focusDirection:null,focusContext:null,focusContainerContext:!1,focusUp:null,focusDown:null,focusLeft:null,focusRight:null,focusLock:!1}),a.isKeyboardSupport=!0,""===V&&i(),a._onKeyupHandler=null,a._onClickHandler=null,a._onHWKeyHandler=null,a.keydownEventTimeStart=null,a.keydownEventRepeated=!1},X={focusDisabled:"ui-focus-disabled",focusEnabled:"ui-focus-enabled",focusDisabledByWidget:"ui-focus-disabled-by-widget",focus:"ui-focus"},Y={left:37,up:38,right:39,down:40,enter:13,tab:9,escape:27},Z=null,$={up:"up",down:"down",left:"left",right:"right"},_=":not(."+X.focusDisabled+"):not(."+d.widget.BaseWidget.classes.disable+")",aa=[{value:"a",includeDisabled:!1,count:1},{value:"."+X.focusEnabled,includeDisabled:!1,count:1},{value:"[tabindex]",includeDisabled:!1,count:1},{value:"[data-focus-lock=true]",includeDisabled:!1,count:1}],ba=[],ca=50;W.KEY_CODES=Y,W.classes=X,U.preventFocusOnElement=function(a){a.classList.add(X.focusDisabled)},U.disableFocusableElements=function(a){this.getFocusableElements(a).forEach(function(a){a.classList.add(X.focusDisabled),a.classList.add(X.focusDisabledByWidget)})},U.enableDisabledFocusableElements=function(a){var b;a&&(b=a.querySelectorAll("."+X.focusDisabledByWidget),S.call(b).forEach(function(a){a.classList.remove(X.focusDisabled),a.classList.remove(X.focusDisabledByWidget)}))},U.getActiveSelector=function(){return V},W.copyFocusAttributes=function(a,b){var c=a.options;J.setNSDataAttributes(b,{focusDirection:c.focusDirection,focusContext:c.focusContext,focusContainerContext:c.focusContainerContext,focusUp:c.focusUp,focusDown:c.focusDown,focusLeft:c.focusLeft,focusRight:c.focusRight},!0)},U.blurOnActiveElement=x,U._onKeyup=function(a){var b=this,c=d.getConfig("keyboardSupport",!1);c&&b._supportKeyboard&&(b.keydownEventRepeated||b._onShortPress(a),b.keydownEventTimeStart=null,b.keydownEventRepeated=!1)},U._onMouseMove=function(a){var c=this,e=b.elementFromPoint(a.pageX,a.pageY),f=d.getConfig("keyboardSupport",!1),g=null,h=Z,i=$.down;f&&c._supportKeyboard&&(g=N.getClosestBySelector(e,V),g!==h&&(i=m(h?l({left:a.pageX,top:a.pageY},h):l({left:a.pageX,top:a.pageY},{left:a.pageX-a.movementX,top:a.pageY-a.movementY})),y(c,g,{direction:i})))},U._onHWKey=function(a){var b=this,c=Z||e();return"back"===a.keyName&&c&&B(b,c)?(a.preventDefault(),a.stopImmediatePropagation(),!0):!1},U._onLongPress=function(a){var b=this,c=d.getConfig("keyboardLongpressInterval",100),f={current:Z||e(),key:a.keyCode,duration:c-30>=ca?c-30:ca,_last:!0,_filterNeighbors:D};C(b,b.keyboardElement||b.element,f)},U._onShortPress=function(a){var b=this;d.getConfig("keyboardSupport",!1)&&C(b,b.keyboardElement||b.element,{current:Z||e(),event:a,key:a.keyCode})},U._onKeydown=function(a){var b,c=this,e=d.getConfig("keyboardLongpressInterval",1e3),g=d.getConfig("keyboardSupport",!1);g&&c._supportKeyboard&&f(a.keyCode)&&(a.preventDefault(),a.stopPropagation(),b=Date.now(),(!c.keydownEventTimeStart||b-c.keydownEventTimeStart>e)&&(c.keydownEventTimeStart&&(c._onLongPress(a),c.keydownEventRepeated=!0),c.keydownEventTimeStart=b))},U._bindEventKey=function(){var a=this;a._onKeyupHandler||(a._onKeyupHandler=a._onKeyup.bind(a),a._onKeydownHandler=a._onKeydown.bind(a),a._onHWKeyHandler=a._onHWKey.bind(a),b.addEventListener("keyup",a._onKeyupHandler,!1),b.addEventListener("keydown",a._onKeydownHandler,!1),b.addEventListener("tizenhwkey",a._onHWKeyHandler,!1))},U._bindEventMouse=function(){var a=this;a._onMouseMoveHandler||(a._onMouseMoveHandler=a._onMouseMove.bind(a),b.addEventListener("mousemove",a._onMouseMoveHandler,!1))},U._destroyEventKey=function(){this._onKeyupHandler&&(b.removeEventListener("keyup",this._onKeyupHandler,!1),b.removeEventListener("keydown",this._onKeydownHandler,!1),b.removeEventListener("tizenhwkey",this._onHWKeyHandler,!1),this._onKeyupHandler=null)},U._destroyEventMouse=function(){this._onClickHandler&&b.removeEventListener("mousemove",this._onMouseMoveHandler,!1)},W.blurAll=function(){var a=Z||e(),b=a&&I.getBinding(a);b?b.blur():a&&a.blur()},W.focusElement=function(a,b,d){var f,h,i;if(d=d||{},d.current===c&&(d.current=e()),b instanceof HTMLElement)if(a)for(f=g(a,!0),h=f.length,i=0;h>i;i++)f[i]===b&&b.focus();else b.focus();else"number"==typeof b?(f=g(a,!0),f[b]&&y(null,f[b],d)):"string"==typeof b&&Y[b]?(d.direction=Y[b],C(null,a,d)):(f=g(a,!0),f[0]&&y(null,f[0],d))},U.enableKeyboardSupport=function(){this._supportKeyboard=!0,G=this},U.restoreKeyboardSupport=function(){var a=ba.pop();a&&a.enableKeyboardSupport()},U.disableKeyboardSupport=function(){G=null,this._supportKeyboard=!1},U.saveKeyboardSupport=function(){G&&(ba.push(G),G.disableKeyboardSupport())},U.getFocusableElements=g,W.registerActiveSelector=function(a,b){var c,d=a.split(",");L.forEach(d,function(a){a=a.trim(),c=F(a),-1===c?aa.push({value:a,includeDisabled:b,count:1}):aa[c].count++}),i()},W.unregisterActiveSelector=function(a){var b,c=a.split(",");L.forEach(c,function(a){a=a.trim(),b=F(a),-1!==b&&(--aa[b].count,0===aa[b].count&&aa.splice(b,1))}),i()},d.widget.core.BaseKeyboardSupport=W}(a.document,d),function(b,d){var e=d.widget.BaseWidget,f=d.widget.core.PageContainer,g=d.util,h=g.DOM,i=g.selectors,j=d.engine,k=d.widget.core.BaseKeyboardSupport,l=d.util.array,m=function(a,b){var c=this;k.call(c),c._contentFillAfterResizeCallback=null,c._initialContentStyle={},c._lastScrollPosition=0,c._requestToShowGoToTopButton=null,c.options=b||{},c._contentStyleAttributes=["height","width","minHeight","marginTop","marginBottom"],c._ui={}},n={SHOW:"pageshow",HIDE:"pagehide",CREATE:"pagecreate",BEFORE_CREATE:"pagebeforecreate",BEFORE_SHOW:"pagebeforeshow",BEFORE_HIDE:"pagebeforehide"},o={uiPage:"ui-page",uiPageActive:"ui-page-active",uiSection:"ui-section",uiHeader:"ui-header",uiMore:"ui-more",uiHeaderOnlyMoreButton:"ui-header-has-only-more-button",uiFooter:"ui-footer",uiContent:"ui-content",uiTitle:"ui-title",uiPageScroll:"ui-scroll-on",uiScroller:"ui-scroller",uiArcListview:"ui-arc-listview",uiContentUnderPopup:"ui-content-under-popup",uiPageFlex:"ui-page-flex",uiAppbar:"ui-appbar",uiAppbarTitle:"ui-appbar-title",uiAppbarTitleContainer:"ui-appbar-title-container"},p="header,[data-role='header'],."+o.uiHeader,q="footer,[data-role='footer'],."+o.uiFooter,r="[data-role='content'],."+o.uiContent,s="."+o.uiMore+":first-child:last-child",t=800,u=new e;m.classes=o,m.events=n,m.selector="[data-role=page],.ui-page",u._configure=function(){var a=this.options;a.header=null,a.footer=null,a.content=null,a.goToTopButton=d.getConfig("goToTopButton"),a.enablePageScroll=d.getConfig("enablePageScroll"),a.autoBuildWidgets=d.getConfig("autoBuildOnPageChange"),this.options=a},u.getContentHeight=function(){return this._contentHeight},u._contentFill=function(){var b,c=this,d=c.element,e=a.innerWidth,f=a.innerHeight,g=d.style,i=c._ui,j=i.content,k=i.header,l=0,m=0,n=i.footer,p=i.mainTab;p&&(f-=p.getBoundingClientRect().height),g.width=e+"px",g.height=f+"px",n&&(m+=n.getBoundingClientRect().height),k&&(l=h.getElementHeight(k,null,!1,!0)),c._contentHeight=f-l-m,j&&!d.classList.contains(o.uiPageFlex)&&(b=j.style,n&&(b.marginBottom=m+"px",b.paddingBottom=-m+"px"),c.options.enablePageScroll||(b.height=c._contentHeight+"px")),c.options.model&&c._fillContentsFromModel()},u._fillContentsFromModel=function(){var a=this,b=a.options.model||{},c=b;Object.keys(c).forEach(function(b){[].slice.call(a.element.querySelectorAll("[data-bind='"+b+"']")).forEach(function(a){a.textContent=c[b]})})},u._storeContentStyle=function(){var a=this,b=a._initialContentStyle,c=a._contentStyleAttributes,d=a.element.querySelector("."+o.uiContent),e=d?d.style:{};c.forEach(function(a){b[a]=e[a]})},u._restoreContentStyle=function(){var a=this,b=a._initialContentStyle,c=a._contentStyleAttributes,d=a.element.querySelector("."+o.uiContent),e=d?d.style:{};c.forEach(function(a){b[a]&&(e[a]=b[a])})},u._setFooter=function(a,c){var d=this,e=d._ui,f=e.footer;!f&&c&&(f=b.createElement("footer"),a.appendChild(f),e.footer=f),f&&(c===!1?(a.removeChild(f),e.footer=null):(f.classList.add(o.uiFooter),"string"==typeof c&&(e.footer.textContent=c)),d.options.footer=c)},u._setHeader=function(a,c){var e=this,f=e._ui,g=f.header;!g&&c&&(g=b.createElement("header"),a.appendChild(g),f.header=g),g&&(c===!1?(a.removeChild(g),f.header=null):(g.classList.add(o.uiHeader),"string"==typeof c&&(f.header.textContent=c),d.support&&d.support.shape&&d.support.shape.circle&&g.querySelector(s)&&""===g.textContent.trim()&&g.classList.add(o.uiHeaderOnlyMoreButton)),e.options.header=c)},u._setContent=function(a,c){var d,e=this,f=e._ui,g=f.content,h=a.firstChild;if(!g&&c){for(g=b.createElement("div");h;)d=h.nextSibling,h!==f.footer&&h!==f.header&&g.appendChild(h),h=d;a.insertBefore(g,f.footer),f.content=g}g&&(c===!1?(a.removeChild(g),f.content=null):(g.classList.add(o.uiContent),"string"==typeof c&&(g.textContent=c)),e.options.content=c)},u._buildHeader=function(a){var b=this;b._ui.header=i.getChildrenBySelector(a,p)[0]||null,b.options.header===c&&(b.options.header=!!b._ui.header),b._setHeader(a,b.options.header)},u._buildFooter=function(a){var b=this;b._ui.footer=i.getChildrenBySelector(a,q)[0]||null,b.options.footer===c&&(b.options.footer=!!b._ui.footer),b._setFooter(a,b.options.footer)},u._buildContent=function(a){var b=this;b._ui.content=i.getChildrenBySelector(a,r)[0]||null,b.options.content===c&&(b.options.content=!!b._ui.content),b._setContent(a,b.options.content)},u._findMainTab=function(){var a=this,b=i.getClosestBySelector(a.element,"."+f.classes.pageContainer);a._ui.mainTab=a.element.querySelector(".ui-main-tab")||b&&b.querySelector(".ui-main-tab-visible")||null},u._buildGoToTopButton=function(a){var c=this,d=c._ui;c.options.goToTopButton&&(d.goToTopButton=b.createElement("div"),d.goToTopButton.classList.add("ui-button-go-to-top"),a.appendChild(d.goToTopButton))},u._showGoToTopButton=function(){var a=this,b=a._ui,c=b.goToTopButton;a._requestToShowGoToTopButton||(a._requestToShowGoToTopButton=setTimeout(function(){c.style.display="block",a._requestToShowGoToTopButton=null},t))},u._hideGoToTopButton=function(){var a=this,b=a._ui,c=b.goToTopButton;a._requestToShowGoToTopButton&&(clearTimeout(a._requestToShowGoToTopButton),a._requestToShowGoToTopButton=null),c.style.display="none"},u._handleGoToTopButtonClick=function(){var a=this,b=a.element,c=a.getScroller(),e=null,f=null;a._hideGoToTopButton(),e=b.querySelector("."+o.uiArcListview),e?(f=d.engine.getBinding(e),f&&f.scrollToPosition(0,!1)):c.scrollTop=0},u._setAria=function(){var a=this,b=a._ui,c=b.content,d=b.header,e=b.footer,f=b.title;
-c&&c.setAttribute("role","main"),d&&d.setAttribute("role","header"),e&&e.setAttribute("role","footer"),f&&(f.setAttribute("role","heading"),f.setAttribute("aria-level",1),f.setAttribute("aria-label","title"))},u._setTitle=function(a){var c,d,e,f=this,g=h.getNSData(a,"title"),j=f._ui.header,k=g;j&&(j.classList.add(o.uiAppbar),e=i.getChildrenByClass(j,o.uiAppbarTitleContainer)[0],e||(e=b.createElement("div"),e.classList.add(o.uiAppbarTitleContainer),j.appendChild(e)),c=i.getChildrenBySelector(j,"h1, h2, h3, h4, h5, h6"),d=c[0],!k&&d&&(k=d.innerText,f._ui.title=d),!g&&k&&h.setNSData(a,"title",k),l.forEach(c,function(a){a.classList.add(o.uiTitle),a.classList.add(o.uiAppbarTitle),e.appendChild(a)}))},u._build=function(a){var b=this;return a.classList.add(o.uiPage),a.classList.add(o.uiPageFlex),b._buildHeader(a),b._buildFooter(a),b._buildContent(a),b._buildGoToTopButton(a),b._setTitle(a),b._setAria(),b.options.enablePageScroll!==!0||a.querySelector("."+o.uiScroller)||j.instanceWidget(a,"Scrollview"),a},u.setActive=function(a){var b=this.element.classList;a||a===c?(this.focus(),b.add(o.uiPageActive)):(this.blur(),b.remove(o.uiPageActive))},u.isActive=function(){return this.element.classList.contains(o.uiPageActive)},u.focus=function(){var a=this.element,b=a.querySelector("[autofocus]")||a;b.focus()},u.blur=function(){var a=this.element,c=b.activeElement||a;c.blur()},u._bindEvents=function(){var b=this,c=b.element,e=b._ui.header,f=b._ui.goToTopButton;b._contentFillAfterResizeCallback=b._contentFill.bind(b),a.addEventListener("resize",b._contentFillAfterResizeCallback,!1),e&&(e.addEventListener("appbarcollapsed",function(){var a=b.getScroller(),c=d.engine.getBinding(a);c.enableScrolling()},!1),e.addEventListener("appbarexpanded",function(){var a=b.getScroller(),c=d.engine.getBinding(a,"Scrollview");c&&c.disableScrolling()},!1)),f&&(c.addEventListener("showGoToTopButton",b._showGoToTopButton.bind(b),!1),c.addEventListener("hideGoToTopButton",b._hideGoToTopButton.bind(b),!1),f.addEventListener("vclick",b._handleGoToTopButtonClick.bind(b),!1))},u._refresh=function(){this._findMainTab(),this._restoreContentStyle(),this._contentFill()},u.layout=function(){this._findMainTab(),this._storeContentStyle(),this._contentFill()},u.onBeforeShow=function(){var a=this,b=a.getScroller();b&&(b.scrollTop=a._lastScrollPosition||0),"function"==typeof a.enableKeyboardSupport&&(a.enableKeyboardSupport(),a._bindEventKey()),a.trigger(n.BEFORE_SHOW)},u.onShow=function(){this.trigger(n.SHOW)},u.onBeforeHide=function(){var a=this,b=a.getScroller();b&&(a._lastScrollPosition=b.scrollTop),"function"==typeof a.disableKeyboardSupport&&(a.disableKeyboardSupport(),a._destroyEventKey()),a.trigger(n.BEFORE_HIDE)},u.onHide=function(){this._restoreContentStyle(),this.trigger(n.HIDE)},u._destroy=function(b){var c=this;b=b||c.element,a.removeEventListener("resize",c._contentFillAfterResizeCallback,!1),j.destroyAllWidgets(b,!0),c._contentFillAfterResizeCallback=null},u.getScroller=function(){var a=this.element,b=a.querySelector("."+o.uiScroller);return b||a.querySelector("."+o.uiContent)||a},u.setLastScrollPosition=function(a){this._lastScrollPosition=a},m.prototype=u,m.createEmptyElement=function(){var a=b.createElement("div");return a.classList.add(o.uiPage),a},j.defineWidget("Page",m.selector,["focus","blur","setActive"],m,"mobile"),d.widget.core.Page=m}(a.document,d),function(){function a(a){return l[a]}function b(a,b){l[a]=b}function c(a,b){k[a]=b}function e(a){k[a]=null}function f(a){return k[a]}function g(a,b){var c=d.info.profile,e=a.lastIndexOf(".");return j.isAbsoluteUrl(a)?a:(b&&(a=a.substring(0,e)+"."+c+a.substring(e)),j.makeUrlAbsolute((l.pathPrefix||"")+a,j.getLocation()))}function h(b,c,e,f){var h,i=k[f||a("default")||""],j=function(a,b){a.absUrl=h,e(a,b)},m=function(a,d){a.success?j(a,d):(h=g(b,!1),i(l,h,c||{},j))};i||(i=k[Object.keys(k).pop()]),i?(h=g(b,d.getConfig("findProfileFile",!1)),i(l,h,c||{},m)):e({success:!1,description:"Can't get engine system"},null)}var i,j=d.util.path,k={},l={pathPrefix:"","default":""};i={get:a,set:b,register:c,unregister:e,engine:f,render:h},d.template=i}(),function(a,b){function c(a){for(;a&&(a.nodeType!==Node.ELEMENT_NODE||!a.nodeName||"A"!==a.nodeName);)a=a.parentNode;return a}function e(a,b){var d,e,f,g=c(b.target);g&&1===b.which&&(d=g.getAttribute("href"),e="external"===g.getAttribute("rel")||g.hasAttribute("target"),e||(f=q.getData(g),a.open(d,f,b),p.preventDefault(b)))}function f(a,b){var c,d,e,f,g,h=v.route,i=w.activeState,j=b&&"back"===w.getDirection(b),k=[],l=r.getLocation(),m=!0;f=j?i&&i.transition||"none":b.transition,e=t.merge({},b,{reverse:j,transition:f,fromHashChange:!0});for(d in h)h.hasOwnProperty(d)&&h[d].active&&k.push(h[d].orderNumber);if(c=Math.max.apply(null,k),g=h[D[c]],g&&g.onHashChange(l,e,i)){if(10===c)return;m=!1}w.setActive(b),m&&a.open(b.url,e)}function g(a){var b=G.classes,c="."+b.uiPageActive,d=B.call(a.querySelectorAll(c));d.forEach(function(a){a.classList.remove(c)})}function h(a,b){f(a,b.detail)}function i(a,b){var c=b.detail,d=c.reverse?c.url:c.href||c.url;delete c.event,a.open(d,c),p.preventDefault(b),p.stopImmediatePropagation(b)}function j(a,c){var e=null,f=b.implementation.createHTMLDocument(c),g=f.body;if(a instanceof HTMLElement)e=a;else try{g.insertAdjacentHTML("beforeend",a),e=g.firstChild}catch(h){d.error("Failed to inject element",h)}return e}function k(a,b){b&&a instanceof HTMLElement&&!q.hasNSData(a,"url")&&(b=b.replace(/^#/,""),q.setNSData(a,"url",b))}function l(a,b){var c,d=b.detail,e=d.content,f=d.options,g=f.href||f.url;e&&(c=j(e,f.title),k(c,g),a.open(c,f),p.preventDefault(b))}function m(a){var c,d;return"string"==typeof a&&(c="#"===a[0]?a.substr(1):a,d=b.getElementById(c),d&&(a=d)),a}var n,o=d.util,p=d.event,q=o.DOM,r=o.path,s=o.selectors,t=o.object,u=d.engine,v=d.router,w=d.history,x=w.manager,y=x.events,z=v.route,A=b.body,B=[].slice,C=!1,D={1:"page",10:"panel",100:"popup",101:"dialog",1e3:"drawer",2e3:"circularindexscrollbar"},E={BEFORE_ROUTER_INIT:"beforerouterinit",ROUTER_INIT:"routerinit"},F=/[#|\s]/g,G=d.widget.core.Page,H=d.template,I=function(){var a=this;a.container=null,a.settings={},a._onStateChangeHandler=null,a._onHashChangeHandler=null,a._onControllerContent=null,a.locked=!1};I.prototype.defaults={fromHashChange:!1,reverse:!1,volatileRecord:!1},I.prototype.linkClick=function(a){e(this,a)},I.prototype.detectRel=function(a){var b,c;for(c in z)if(z.hasOwnProperty(c)&&(b=z[c],s.matchesSelector(a,b.filter)))return c;return null},I.prototype._openDeferred=function(a,b,c){var d=this,e=z[b.rel],f={resolve:function(a,b){e.open(b,a,c)},reject:function(a){p.trigger(d.container.element,"changefailed",a)}};"string"==typeof a?a.replace(F,"")&&d._loadUrl(a,b,e,f):a&&s.matchesSelector(a,e.filter)?f.resolve(b,a):f.reject(b)},I.prototype.open=function(a,b,c){var d,e,f=this;if(!C)if(a=m(a),d=b&&b.rel||a instanceof HTMLElement&&f.detectRel(a),d=d||"page",e=z[d],"back"===d)w.back();else{if(!e)throw new Error("Not defined router rule ["+d+"]");b=t.merge({rel:d},f.defaults,e.option(),b),f._openDeferred(a,b,c)}},I.prototype._initRoutes=function(){var a,b=v.route;for(a in b)b.hasOwnProperty(a)&&b[a].init&&b[a].init()},I.prototype._autoInitializePage=function(c,e,f){var h,i=this,j=a.location,k=G.classes.uiPageActive,l=c.querySelector("."+k);if(l||(l=e[0]),l&&g(c),j.hash&&(h=b.getElementById(j.hash.replace("#","")),h&&s.matchesSelector(h,f)&&(l=h)),!l&&d.getConfig("addPageIfNotExist",!0)){for(l=G.createEmptyElement();c.firstChild;)l.appendChild(c.firstChild);c.appendChild(l)}return i.justBuild&&l&&i.register(u.instanceWidget(c,"pagecontainer"),l),l},I.prototype.init=function(a){var c,e,f,g=d.engine.getWidgetDefinition("Page"),h=g.selector,i=this;p.trigger(b,E.BEFORE_ROUTER_INIT,i,!1),A=b.body,i.justBuild=a,c=d.getConfig("pageContainer")||A,f=B.call(c.querySelectorAll(h)),d.getConfig("pageContainerBody",!1)||(c=f.length?f[0].parentNode:c),d.getConfig("autoInitializePage",!0)&&(e=i._autoInitializePage(c,f,h),a)||(x.enable(),i._initRoutes(),i.register(u.instanceWidget(c,"pagecontainer"),e),p.trigger(b,E.ROUTER_INIT,i,!1))},I.prototype.destroy=function(){var b=this,c=this.getRoute("panel");x.disable(),a.removeEventListener("popstate",b.popStateHandler,!1),c&&a.removeEventListener("tauback",c.tauback,!1),A&&(A.removeEventListener("pagebeforechange",b.pagebeforechangeHandler,!1),A.removeEventListener("vclick",b.linkClickHandler,!1)),d.setConfig("pageContainer",null)},I.prototype.setContainer=function(a){this.container=a},I.prototype.getContainer=function(){return this.container},I.prototype.getFirstPage=function(){return this.getRoute("page").getFirstElement()},I.prototype.register=function(c,e){var f=this,g=this.getRoute("popup");f.container=c,f.getRoute("page").setFirstElement(e),p.trigger(b,"themeinit",f),f._onHashChangeHandler||(f._onHashChangeHandler=h.bind(null,f),a.addEventListener(y.HASHCHANGE,f._onHashChangeHandler,!1)),f._onStateChangeHandler||(f._onStateChangeHandler=i.bind(null,f),a.addEventListener(y.STATECHANGE,f._onStateChangeHandler,!1)),f._onControllerContent||(f._onControllerContent=l.bind(null,f),a.addEventListener("controller-content-available",f._onControllerContent,!1)),d.getConfig("loader",!1)&&c.element.appendChild(f.getLoader().element),w.enableVolatileMode(),e&&f.open(e,{transition:"none"}),g&&g.setActive(null)},I.prototype.close=function(a,b){var c,d="back",e=m(a);if(b&&b.rel?d=b.rel:e&&(d=this.detectRel(e)),c=z[d],!this.locked)if("back"===d)w.back();else{if(!c)throw new Error("Not defined router rule ["+d+"]");c.close(e,b)}},I.prototype.back=function(){this.locked||w.back()},I.prototype.openPopup=function(a,b){this.open(a,t.fastMerge({rel:"popup"},b))},I.prototype.closePopup=function(a){var b=this.getRoute("popup");b&&b.close(null,a)},I.prototype.lock=function(){this.locked=!0},I.prototype.unlock=function(){this.locked=!1},I.prototype._loadUrl=function(a,b,c,d){var e,f=r.makeUrlAbsolute(a,r.getLocation()),g=this,h=b.data||{};e=c.find(f),!e&&r.isEmbedded(f)?d.reject({}):e?d.resolve(t.fastMerge({absUrl:f},b),e):(p.trigger(g.getContainer().element,b.rel+"beforeload"),h.fullDocument=!0,H.render(a,h,function(a,e){a.success?(g._loadSuccess(a.absUrl,b,c,d,e),p.trigger(g.getContainer().element,b.rel+"load")):g._loadError(a.absUrl,b,d)}))},I.prototype._loadError=function(a,b,c){var e=t.fastMerge({url:a},b),f=this;d.error("load error, file: ",a),f.container.trigger("loadfailed",e),c.reject(e)},I.prototype._loadSuccess=function(a,b,c,d,e){var f=t.fastMerge({url:a},b),g=c.parse(e,a);g?d.resolve(f,g):d.reject(f)},I.prototype._getInitialContent=function(){return this.getRoute("page").getFirstElement()},I.prototype._showError=function(a){d.error("load error, file: ",a)},I.prototype.getActive=function(a){var b=this.getRoute(a||"page");return b&&b.getActive()},I.prototype.hasActive=function(a){var b=this.getRoute(a||"page");return!(!b||!b.hasActive())},I.prototype.hasActivePopup=function(){return this.hasActive("popup")},I.prototype.getRoute=function(a){return z[a]},I.prototype.getLoader=function(){var a,c=u.getWidgetDefinition("Loader"),d=c.selector;return c?(a=b.querySelector(d),u.instanceWidget(a,"Loader")):null},I.newInstance=function(){return n=new I},I.getInstance=function(){return n?n:this.newInstance()},v.Router=I,I.eventType=E,u.getRouter=function(){return d.warn("getRouter() method is deprecated! Use tau.router.Router.getInstance() instead"),I.getInstance()},d.getConfig("disableRouter",!1)||(b.addEventListener(u.eventType.READY,function(){I.getInstance().init()},!1),b.addEventListener(u.eventType.DESTROY,function(){I.getInstance().destroy()},!1),b.addEventListener(u.eventType.STOP_ROUTING,function(){I.getInstance().destroy()},!1))}(a,a.document),function(a,b){var e=d.engine,f=d.jqm.jQuery,g=d.router.Router.eventType,h={beforeinit:function(){var a,e=d.router.Router.getInstance();f&&(f.mobile?(f.mobile.pageContainer&&(a=f.mobile.pageContainer,a instanceof f&&(a=a[0]),a instanceof HTMLElement||(a=b.body),d.setConfig("pageContainer",a),f.mobile.pageContainer=f(a)),f.mobile.autoInitializePage!==c&&d.setConfig("autoInitializePage",f.mobile.autoInitializePage),f.mobile._bindPageRemove!==c&&d.setConfig("_bindPageRemove",f.mobile._bindPageRemove),f.mobile.changePage=function(a,b){var c;return a instanceof f?(c=f(a).get(0),e.open(c,b)):e.open(a,b)},b.addEventListener("pagechange",function(){var a=e.getRoute("page"),b=a&&a.getActive(),c=b&&b.element;f.mobile.activePage=f(c)},!0),f.mobile.activePage=f(),f.mobile.firstPage=f(e.getRoute("page").getFirstElement()),f.mobile.pageContainer=f(),f.mobile.subPageUrlKey=d.widget.core.Page.classes.uiPage,f.mobile.ajaxEnabled=!0,f.mobile.hashListeningEnabled=!0,f.mobile.linkBindingEnabled=!0,f.mobile.maxTransitionWidth=!1,f.mobile.minScrollBack=250,f.mobile.touchOverflowEnabled=!1,f.mobile.defaultDialogTransition="pop",f.mobile.pageLoadErrorMessage="Error Loading Page",f.mobile.pageLoadErrorMessageTheme="e",f.mobile.phonegapNavigationEnabled=!1,f.mobile.autoInitializePage=!1,f.mobile.pushStateEnabled=!0,f.mobile.ignoreContentEnabled=!1,f.mobile.orientationChangeEnabled=!0,f.mobile.ajaxBlacklist=!1,f.mobile.defaultTransitionHandler=null,f.mobile.transitionHandlers={},f.mobile.transitionFallbacks={},f.mobile._maybeDegradeTransition=null,f.mobile.focusPage=null,f.mobile.dialogHashKey="&ui-state=dialog",f.mobile.allowCrossDomainPages=!1,f.mobile.getDocumentUrl=d.util.path.getDocumentUrl,f.mobile.getDocumentBase=d.util.path.getDocumentBase,f.mobile._bindPageRemove=null,f.mobile.loadPage=e.loadPage===c?d.error.bind(null,"router PageExternal is not loaded"):e.loadPage.bind(e),f.mobile.navreadyDeferred=e.navreadyDeferred,f.mobile.initializePage=null,f.mobile._handleHashChange=e._hashChangeHandler):f.mobile={})},init:function(){var a,b,g,h=d.router.Router.getInstance();if(f){if(f.mobile.defaultPageTransition="none",h.getTransitions){a=h.getTransitions();for(b in a)a.hasOwnProperty(b)&&(a[b].fallback!==c&&(f.mobile.transitionFallbacks[b]=a[b].fallback),a[b].handler!==c&&(f.mobile.transitionHandlers[b]=a[b].handler));f.mobile.defaultTransitionHandler=a.sequential.handler,f.mobile._maybeDegradeTransition=h._maybeDegradeTransition.bind(h),f.mobile.getMaxScrollForTransition=h.getMaxScrollForTransition.bind(h)}f.mobile.focusPage=function(a){var b=f(a)[0],c=e.getBinding(b);c.focus()},f.mobile.initializePage=h.init.bind(h),g=h.getContainer(),g&&(f.mobile.pageContainer=f(g.element))}},destroy:function(){b.removeEventListener(g.ROUTER_INIT,h.init,!1),b.removeEventListener(g.BEFORE_ROUTER_INIT,h.beforeinit,!1),b.removeEventListener(g.DESTROY,h.destroy,!1)}};b.addEventListener(g.ROUTER_INIT,h.init,!1),b.addEventListener(g.BEFORE_ROUTER_INIT,h.beforeinit,!1),b.addEventListener(g.DESTROY,h.destroy,!1),d.jqm.router=h}(a,a.document),function(a,b){var e=d.support,f=d.jqm.jQuery,g=d.util.object,h=d.engine.eventType,i={touch:b.ontouchend!==c,init:function(){var a=d.router.Router.getInstance();f&&(d.support=g.merge(f.support,e),f.mobile=f.mobile||{},f.mobile.support=f.mobile.support||{},f.mobile.support.touch=e.touch,f.mobile.base=e.dynamicBaseTag&&{element:a.resetBase===c?d.error.bind(null,"router PageExternal is not loaded"):a.resetBase(),set:a.setBase===c?d.error.bind(null,"router PageExternal is not loaded"):a.setBase.bind(a),reset:a.resetBase===c?d.error.bind(null,"router PageExternal is not loaded"):a.resetBase.bind(a)},f.mobile.gradeA=d.support.gradeA.bind(d.support),f.mobile.browser=d.support.browser)},destroy:function(){b.removeEventListener(h.INIT,i.init,!1),b.removeEventListener(h.DESTROY,i.destroy,!1)}};b.addEventListener(h.INIT,i.init,!1),b.addEventListener(h.DESTROY,i.destroy,!1),d.jqm.support=i}(a,a.document),function(a,b,c){c.util.colors={nearestInt:function(a){var b=Math.floor(a);return a-b>.5?b+1:b},HTMLToRGB:function(a){return a="#"===a.charAt(0)?a.substring(1):a,[a.substring(0,2),a.substring(2,4),a.substring(4,6)].map(function(a){return parseInt(a,16)/255})},RGBToHTML:function(a){return"#"+a.map(function(a){var b=255*a,c=Math.floor(b);return b=b-c>.5?c+1:c,b=(16>b?"0":"")+(255&b).toString(16)}).join("")},HSLToRGB:function(a){var b,c,d,e,f=a[0]/360,g=a[1],h=a[2];return 0===g?e=[h,h,h]:(c=.5>h?h*(1+g):h+g-h*g,b=2*h-c,d={r:f+1/3,g:f,b:f-1/3},d.r=d.r<0?d.r+1:d.r>1?d.r-1:d.r,d.g=d.g<0?d.g+1:d.g>1?d.g-1:d.g,d.b=d.b<0?d.b+1:d.b>1?d.b-1:d.b,e=[6*d.r<1?b+6*(c-b)*d.r:2*d.r<1?c:3*d.r<2?b+(c-b)*(2/3-d.r)*6:b,6*d.g<1?b+6*(c-b)*d.g:2*d.g<1?c:3*d.g<2?b+(c-b)*(2/3-d.g)*6:b,6*d.b<1?b+6*(c-b)*d.b:2*d.b<1?c:3*d.b<2?b+(c-b)*(2/3-d.b)*6:b]),e},HSVToRGB:function(a){return this.HSLToRGB(this.HSVToHSL(a))},RGBToHSV:function(a){var b,c,d,e,f,g,h=a[0],i=a[1],j=a[2];return b=Math.min(h,Math.min(i,j)),c=Math.max(h,Math.max(i,j)),d=c-b,e=0,f=0,g=c,d>1e-5&&(f=d/c,e=h===c?(i-j)/d:i===c?2+(j-h)/d:4+(h-i)/d,e*=60,0>e&&(e+=360)),[e,f,g]},HSVToHSL:function(a){var b=a[2],c=a[1]*b,d=b-c,e=b+d,f=e/2,g=.5>f?e:2-b-d;return[a[0],0===g?0:c/g,f]},RGBToHSL:function(a){return this.HSVToHSL(this.RGBToHSV(a))}}}(a,a.document,d),function(b){var c=d.engine.eventType,e=d.jqm.jQuery,f={init:function(){e&&(e.mobile.tizen.clrlib=f)},destroy:function(){b.removeEventListener(c.INIT,f.init,!1),b.removeEventListener(c.DESTROY,f.destroy,!1),e&&delete e.mobile.tizen.clrlib,a.ns=null,e=null,c=null,f=null}};b.addEventListener(c.INIT,f.init,!1),b.addEventListener(c.DESTROY,f.destroy,!1)}(a.document),function(a,b,c){function d(a){return x.getClosestBySelector(a,"a, label")}function e(a){return x.getClosestByClass(a,v.BUTTON)||x.getClosestByClass(a,v.HEADER_BUTTON)||x.getClosestByClass(a,v.NAVIGATION_BUTTON)||x.getClosestByClass(a,v.SUBTAB_ANCHOR)}function f(a){var b=a.target,c=b.classList;c.contains(v.ACTIVE_BTN)&&!c.contains(v.INACTIVE_BTN)?(B._activeAnimationFinished=!0,(B._touchEnd||b!==B._buttonTarget)&&c.add(v.INACTIVE_BTN)):(c.contains(v.ACTIVE_BTN)||c.contains(v.INACTIVE_BTN)||(b.parentNode.classList.remove(v.ACTIVE_BTN),b.parentNode.classList.remove(v.INACTIVE_BTN)),c.remove(v.INACTIVE_BTN),c.remove(v.ACTIVE_BTN))}function g(){B._buttonTarget&&(B._buttonTarget.classList.add(v.INACTIVE_BTN),B._buttonTarget.classList.remove(v.ACTIVE_BTN))}function h(){B._buttonTarget.classList.add(v.ACTIVE_BTN),B._activeAnimationFinished=!1}function i(){var a=B._buttonTarget;a&&(a.classList.remove(v.ACTIVE_BTN),a.classList.remove(v.INACTIVE_BTN)),B._target&&B._target.classList.remove(v.ACTIVE_LI)}function j(){var a,b;B._startTime&&(b=Date.now()-B._startTime,b>B.options.addActiveClassDelay?(B._startTime=0,B._buttonTarget=e(B._target),B._target=d(B._target),B._didScroll||(B._liTarget=B._detectLiElement(B._target),B._buttonTarget?(a=B._buttonTarget.classList,a.remove(v.ACTIVE_BTN),a.remove(v.INACTIVE_BTN),B._requestAnimationFrame(h)):B._liTarget&&(B._liTarget.classList.add(v.ACTIVE_LI),y.trigger(B._liTarget,w.ACTIVE_LI,{})))):B._requestAnimationFrame(j))}function k(){return C.call(a.getElementsByClassName(v.ACTIVE_LI))}function l(){for(var a=k(),b=a.length,c=0;b>c;c++)a[c].classList.remove(v.ACTIVE_LI)}function m(){var a=Date.now()-B._startRemoveTime;a>B.options.keepActiveClassDelay?l():B._requestAnimationFrame(m)}function n(a){var b=a.touches[0],c=B.options.scrollThreshold;!B._didScroll&&(z(b.clientX-t)>c||z(b.clientY-u)>c)&&(B._startTime=0,B._requestAnimationFrame(l),B._didScroll=!0)}function o(a){var b=a.touches,c=b?1===b.length?b[0]:null:a;c&&(B._didScroll=!1,t=c.clientX,u=c.clientY,B._target=a.target,B._startTime=Date.now(),B._startRemoveTime=0,B._requestAnimationFrame(j),B._touchEnd=!1)}function p(a){B._startRemoveTime=a.timeStamp,(!a.touches||a.touches&&0===a.touches.length)&&(B._didScroll||(B._startTime=0,B._requestAnimationFrame(m)),B._activeAnimationFinished&&B._requestAnimationFrame(g),B._didScroll=!1,B._touchEnd=!0)}function q(){"hidden"===a.visibilityState&&B._removeActiveClassLoop()}function r(){a.addEventListener("touchstart",B._touchstartHandler,!1),a.addEventListener("touchend",B._touchendHandler,!1),a.addEventListener("touchmove",B._touchmoveHandler,!1),a.addEventListener("mousedown",B._touchstartHandler,!1),a.addEventListener("mouseup",B._touchendHandler,!1),a.addEventListener("visibilitychange",B._checkPageVisibility,!1),a.addEventListener("pagehide",B._hideClear,!1),a.addEventListener("popuphide",B._hideClear,!1),a.addEventListener("animationend",B._clearBtnActiveClass,!1),a.addEventListener("animationEnd",B._clearBtnActiveClass,!1),a.addEventListener("webkitAnimationEnd",B._clearBtnActiveClass,!1)}function s(){a.removeEventListener("touchstart",B._touchstartHandler,!1),a.removeEventListener("touchend",B._touchendHandler,!1),a.removeEventListener("touchmove",B._touchmoveHandler,!1),a.removeEventListener("mousedown",B._touchstartHandler,!1),a.removeEventListener("mouseup",B._touchendHandler,!1),a.removeEventListener("visibilitychange",B._checkPageVisibility,!1),a.removeEventListener("pagehide",B._hideClear,!1),a.removeEventListener("popuphide",B._hideClear,!1),a.removeEventListener("animationend",B._clearBtnActiveClass,!1),a.removeEventListener("animationEnd",B._clearBtnActiveClass,!1),a.removeEventListener("webkitAnimationEnd",B._clearBtnActiveClass,!1)}var t=0,u=0,v={ACTIVE_LI:"ui-li-active",ACTIVE_BTN:"ui-btn-active",INACTIVE_BTN:"ui-btn-inactive",BUTTON:"ui-btn",HEADER_BUTTON:"ui-header-btn",SUBTAB_ANCHOR:"ui-sub-tab-anchor",NAVIGATION_BUTTON:"ui-navigation-item"},w={ACTIVE_LI:"anchorhighlightactiveli"},x=c.util.selectors,y=c.event,z=Math.abs,A=function(a){return x.getClosestByTag(a,"li")},B={options:{scrollThreshold:10,addActiveClassDelay:50,keepActiveClassDelay:100},_startTime:0,_startRemoveTime:0,_touchEnd:!1,_liTarget:null,_target:null,_didScroll:!1,_buttonTarget:null,_activeAnimationFinished:!1,_requestAnimationFrame:c.util.windowRequestAnimationFrame},C=Array.prototype.slice;c.util.anchorHighlight=B,B.enable=r,B.disable=s,B._clearActiveClass=l,B._detectHighlightTarget=d,B._detectBtnElement=e,B._removeActiveClassLoop=m,B._addButtonInactiveClass=g,B._addButtonActiveClass=h,B._addActiveClass=j,B._detectLiElement=A,B._touchmoveHandler=n,B._touchendHandler=p,B._touchstartHandler=o,B._checkPageVisibility=q,B._hideClear=i,B._clearBtnActiveClass=f,r()}(b,a,d),function(a){function b(a,b,d){a.forEach(function(a){c.matchesSelector(a,b)&&a.classList.add(d)})}var c=a.util.selectors,d=[].slice,e=[null,"solo","a","b","c","d"];a.util.grid={makeGrid:function(a,c){var f,g=a.classList,h=d.call(a.children);c||(c=e[h.length],c||(c="a",f=2,g.add("ui-grid-duo"))),f||(f=e.indexOf(c)),g.add("ui-grid-"+c),b(h,":nth-child("+f+"n+1)","ui-block-a"),f>1&&b(h,":nth-child("+f+"n+2)","ui-block-b"),f>2&&b(h,":nth-child("+f+"n+3)","ui-block-c"),f>3&&b(h,":nth-child("+f+"n+4)","ui-block-d"),f>4&&b(h,":nth-child("+f+"n+5)","ui-block-e")}}}(d),function(a,b,d){var e={},f=d.event,g=d.util.object,h=b.body,i=function(a,b){var c,d,e="data-"+b;if(a.hasAttribute(e)){c=a.getAttribute(e);try{d=JSON.parse(c)}catch(f){}}return d},j=function(a,b){var c="data-"+b;a.hasAttribute(c)&&a.removeAttribute(c)},k=function(a){var b;if(a===c||null===a||a===!1)throw"Hashed object/primitive can not be undefined, null or false";return a instanceof Element&&a.hasAttribute("data-ns-hash")?a.getAttribute("data-ns-hash"):(a instanceof Object&&(a.__tauHash=a.__tauHash||d.getUniqueId()),b=typeof a+"-"+(a instanceof Object?a.__tauHash:a.toString()),a instanceof Element&&a.setAttribute("data-ns-hash",b),b)};d.util.data={set:function(a,b,c){var d=k(a);return d?(e[d]||(e[d]={}),e[d][b]=c,a instanceof Element&&f.trigger(a,"setData",{key:b,value:c}),f.trigger(h,"globalSetData",{element:a,key:b,value:c}),c):!1},get:function(a,b,d){var g,j=k(a);return j?(e[j]&&e[j][b]!==c&&(g=e[j][b]),a instanceof Element&&(g===c&&(g=i(a,b),e[j]=e[j]||{},e[j][b]=e[j][b]||g),f.trigger(a,"getData",{key:b,value:g})),f.trigger(h,"globalGetData",{element:a,key:b,value:g}),g):d},remove:function(a,b){var d,i=k(a);return i&&e[i]&&e[i][b]!==c?(d=e[i][b],e[i][b]=c,g.hasPropertiesOfValue(e[i],c)&&(e[i]=c),a instanceof Element&&(j(a,b),f.trigger(a,"removeData",{key:b,value:d})),f.trigger(h,"globalRemoveData",{element:a,key:b,value:d}),!0):!1}}}(a,a.document,d),function(a){var b=/([\-0-9.]*)(ms|s)?/i,c={convertToMiliseconds:function(a){var c,d=a.match(b),e=0;return 3===d.length&&(c=parseFloat(d[1])||0,"ms"===d[2]?e=c:"s"===d[2]&&(e=1e3*c)),e}};a.util.date=c}(d),function(a,b,c){var d=function(a){var b,d,e,f=0,g=[].slice.call(arguments),h=g.length,i=1!==h||a&&"function"==typeof a.promise?h:0,j=1===i?a:new c.util.deferred,k=function(a,c,d){return function(e){c[a]=this,d[a]=arguments.length>1?[].slice.call(arguments):e,d===b?j.notifyWith(c,d):--i||j.resolveWith(c,d)}};if(h>1)for(b=[],b.length=h,d=[],d.length=h,e=[],e.length=h;h>f;f++)g[f]&&"function"==typeof g[f].promise?g[f].promise().done(k(f,e,g)).fail(j.reject).progress(k(f,d,b)):--i;return i||j.resolveWith(e,g),j.promise()};c.util.deferredWhen=d}(a,a.document,d),function(a){var b,c=Math.PI/2,d=.001,e=function(a,b){var c=[b[0]-a[0],b[1]-a[1],b[2]-a[2]];return Math.sqrt(c[0]*c[0]+c[1]*c[1]+c[2]*c[2])};b=function(){return this},b.prototype={points:[],step:d,length:0,levels:[],init:function(a){return this.points=a.points,this.step=a.step||d,this.length=this.calculateTotalLength(),this.levels=this.calculateLevel(a.maxLevel)||[],this},calculateLevel:function(a){var b,c=this.length,d=c/a,e=[];if(!a)return null;for(b=0;a>b;b+=1)e[a-b]=this.getPercent(0,d*b);return e},calculateTotalLength:function(){var a,b=this.step,c=this.getPosition(0),d=c,f=0;for(a=b;1>=a;a+=b)c=this.getPosition(a),f+=e(d,c),d=c;return f},getPosition:function(a){var b=this.points,c=function(a,b,c,d,e){return Math.pow(1-e,3)*a+3*e*Math.pow(1-e,2)*b+3*Math.pow(e,2)*(1-e)*c+Math.pow(e,3)*d},d=[c(b[0][0],b[1][0],b[2][0],b[3][0],a),c(b[0][2],b[1][2],b[2][2],b[3][2],a)];return[d[0],0,d[1]]},getPercent:function(a,b){var c,d,f,g,h=this.step,i=0;for(a=a||0,c=this.getPosition(a),d=c,f=a+b,g=a+h;1>=g;g+=h){if(c=this.getPosition(g),i+=e(d,c),i>=f)return g;d=c}return 1},getAngle:function(a){var b=this.points,d=function(a,b,c,d,e){return 3*e*e*(-a+3*b-3*c+d)+6*e*(a-2*b+c)+3*(-a+b)},e=d(b[0][0],b[1][0],b[2][0],b[3][0],a),f=d(b[0][2],b[1][2],b[2][2],b[3][2],a);return Math.atan2(e,f)-c}},a.util.bezierCurve=new b}(d),function(a){a.util.anim=a.util.anim||{}}(d),function(a){var b=null,c=function(a,b,c){var d,e,f,g,h="@"+a+"keyframes "+b+" {";for(d=0,e=c.length;e>d;++d)if(g=c[d]){h+=d+"% { ";for(f in g)g.hasOwnProperty(f)&&(h+=f+": "+g[f]+"; ");h+="} "}return h+="} "},e=d.support.cssAnimationPrefix,f=function(f){var g,h=d.getUniqueId();b||(g=a.createElement("style"),g.appendChild(a.createTextNode("")),a.head.appendChild(g),b=g.sheet),b.insertRule(c(e,h,f),0),this.keyframes=b.rules[0],this.id=h};f.prototype.destroy=function(){var a,b,c=this.keyframes,d=c.parentStyleSheet,e=d.rules;for(a=0,b=e.length;b>a;++a)if(e[a]===c){d.deleteRule(a);break}},d.util.anim.Keyframes=f}(a.document),function(){var b=d.util.object,c=d.util.anim.Keyframes,e=d.util.DOM,f=d.util.date,g=d.support.cssAnimationPrefix,h=function(a){return a.trim()},i=function(a,b){return"string"==typeof a&&(a=a.split(",").map(h)),a.indexOf(b)},j=(g||"").replace(/\-/gi,""),k=j.length>0?j+"AnimationEnd":"animationEnd",l=0,m=1,n=2,o="function",p=function(a,b){var c=a.options,d=c.element,e=c.onEnd,f=c.onPause;if(b.animationName===a.keyframes.id)switch(a.state){case m:a.state=n,typeof e===o&&e(a,d,b);break;case l:typeof f===o&&f(a,d,b)}},q=function(b,c){var d,e,j,k,l,n,p=null,q=null;return b._applied||b._apply(),d=b.options,p=d.element,q=d.onPlay,e=p.style,j=b.keyframes,k=e.getPropertyValue(g+"animation-play-state"),l=k&&k.split(",").map(h)||[],n=j?i(e.getPropertyValue(g+"animation-name"),j.id):-1,n>-1&&(l[n]=c||"running",e.setProperty(g+"animation-play-state",l.join(",")),b.state=m,typeof q===o&&(a.clearTimeout(b.playTimer),b.playTimer=a.setTimeout(function(){q(b,p)},f.convertToMiliseconds(d.delay)))),b},r=function(a){var c,d,f=this,g=b.merge({element:null,from:null,to:null,steps:[],duration:"0",direction:"normal",delay:"0",iterationCount:1,infinite:!1,fillMode:"none",preserve:!1,onEnd:null,onPause:null,onPlay:null,timingFunction:"ease",autoPlay:!1},a||{}),h=p.bind(null,this),i=g.element;0===g.steps.length?(c=[],c.length=101,g.to&&(c[100]=g.to),g.from?c[0]=g.from:g.to&&g.element&&(d=Object.keys(g.to),e.extractCSSProperties(g.element,d),c[0]=d)):c=g.steps,f.options=g,f.steps=c,f._applied=!1,f.keyframes=null,f.state=l,f.playTimer=null,this._endCallback=h,i&&(i.addEventListener(k,h,!1),g.autoPlay&&f.play())},s={};s._apply=function(){var a,b=this,d=b.options,e=d.element,f=e.style,i=f.getPropertyValue(g+"animation"),j=i&&i.split(",").map(h)||[];b.keyframes=new c(b.steps),a=b.keyframes.id,e&&(j.push(a+" "+d.duration+" "+d.timingFunction+" "+d.delay+" "+d.iterationCount+" "+d.direction+" "+d.fillMode),e.style.setProperty(g+"animation",j.join(",")),b._applied=!0)},s.step=function(a,b){var c=this;return c.steps[a]=b,c.reset()},s.reset=function(){var a=this,b=a.keyframes,d=a.options.element.style,e=d.getPropertyValue(g+"animation-name"),f=e&&e.split(",").map(h)||[],i=b?f.indexOf(b.id):-1;return a.keyframes&&a.keyframes.destroy(),b=new c(a.steps),i>-1&&(f[i]=b.id,a.keyframes=b,d.setProperty(g+"animation-name",f.join(","))),a},s.play=function(){return q(this,"running")},s.pause=function(){return q(this,"paused")},s.destroy=function(){var b,c,d,e=this,f=e.options.element,h=e.keyframes,i=e._endCallback;f&&(e._applied&&h&&(c=f.style,b=c.getPropertyValue(g+"animation"),b&&(d=new RegExp(",? ?"+h.id+"[^,%]*,? ?","i"),c.removeProperty(g+"animation",b.replace(d,""))),h.destroy(),e._applied=!1),i&&f.removeEventListener(k,i,!1)),a.clearTimeout(e.playTimer)},r.states={PAUSED:l,PLAYING:m,FINISHED:n},r.prototype=s,d.util.anim.Animation=r}(),function(){var a=d.util.anim.Animation,b=d.util.object,c=d.util.date,e=0,f=1,g=2,h="function",i=function(a,b){var c=a.options.onEnd,d=a.animations,e=d.indexOf(b);a.current=e,e===d.length-1&&(a.state=g,typeof c===h&&c(a))},j=function(a,c){var d=b.merge({conocurrent:!0,onPlay:null,onPause:null,onEnd:null},a||{}),f=this;f.current=null,f.animations=[],f.totalTime=0,f.options=d,f.state=e,c&&c.length>0&&f.addMultiple(c)},k={add:function(b){var d=b instanceof a?b:new a(b),e=d.options,f=c.convertToMiliseconds(e.duration),g=c.convertToMiliseconds(e.delay),j=e.onEnd,k=this;return typeof j===h?e.onEnd=function(a,b,c){j(a,b,c),i(k,a)}:e.onEnd=i.bind(null,k),k.options.concurrent===!1&&(e.delay=g+k.totalTime+"ms",k.totalTime+=g+f),k.animations.push(d),k.current||(k.current=0),k},addMultiple:function(a){var b,c;for(b=0,c=a.length;c>b;++b)this.add(a[b]);return this},play:function(){var a,b,c=this,d=c.options.onPlay;for(a=c.current,b=c.animations.length;b>a;++a)c.animations[a].play();return c.state=f,typeof d===h&&d(c),c},pause:function(){var a,b,c=this,d=c.options.onPause;for(a=c.current,b=c.animations.length;b>a;++a)c.animations[a].pause();return c.state=e,typeof d===h&&d(c),c},destroy:function(){var a,b;for(a=0,b=this.animations.length;b>a;++a)this.animations[a].destroy()}};j.states={PAUSED:e,PLAYING:f,FINISHED:g},j.prototype=k,d.util.anim.Chain=j}(),function(a,c){function d(){i.unbind(),i.bind()}function e(){b.removeEventListener(h.INIT,d,!1),b.removeEventListener(h.DESTROY,e,!1)}var f=function(a){var b,d,e,f=a.keyName,g=c.activePopup;if(c.getConfig("enableHWKeyHandler",!0)&&g){if(b=g._ui.container,d=b&&b.classList,"menu"===f&&(e=g.element.querySelector(".ui-focus")))return a.preventDefault(),void a.stopPropagation();("menu"===f||"back"===f)&&(!d||d.contains("ui-datetimepicker")&&!d.contains("in")||(g.close(),a.preventDefault(),a.stopPropagation()))}},g=function(a){var d,e,f=a.keyName;!c.getConfig("enableHWKeyHandler",!0)||"menu"!==f&&"back"!==f||(d=b.querySelector("div.ui-selectmenu-active select"),d&&(e=c.widget.SelectMenu(d),e.close(),a.preventDefault(),a.stopPropagation()))},h=c.engine.eventType,i={bind:function(){b.addEventListener("tizenhwkey",f,!0),b.addEventListener("tizenhwkey",g,!0)},unbind:function(){b.removeEventListener("tizenhwkey",f,!0),b.removeEventListener("tizenhwkey",g,!0)}};c.event.hwkey=i,b.addEventListener(h.INIT,d,!1),
-b.addEventListener(h.DESTROY,e,!1)}(a,d),function(a){var b,c={enabled:d.getConfig("enableThrottleResize",!0),ttl:250},e=d.event,f=function(){b&&a.clearTimeout(b),b=a.setTimeout(function(){e.trigger(a,"throttledresize")},c.ttl)},g=function(){c.enabled||(c.enabled=!0),a.addEventListener("resize",f,!0)},h=function(){c.enabled=!1,a.removeEventListener("resize",f,!0)};c.enabled&&g(),c.enable=g,c.unbind=h,d.event.throttledresize=c}(a),function(a){var b=a.event,c=function(b,c){return new a.event.gesture.Instance(b,c)};c.defaults={triggerEvent:!1,updateVelocityInterval:16,estimatedPointerTimeDifference:15},c.Orientation={VERTICAL:"vertical",HORIZONTAL:"horizontal"},c.Direction={UP:"up",DOWN:"down",LEFT:"left",RIGHT:"right"},c.Event={START:"start",MOVE:"move",END:"end",CANCEL:"cancel",BLOCKED:"blocked"},c.Result={PENDING:1,RUNNING:2,FINISHED:4,BLOCK:8},c.plugin={},c.createDetector=function(a,b,c){if(!a.plugin[a])throw a+" gesture is not supported";return new a.plugin[a](b,c)},b.gesture=c}(d),function(a){var b=a.event.gesture,c=a.util.object.merge,d=function(a,b){this.sender=b,this.strategy=a.create(),this.name=this.strategy.name,this.index=this.strategy.index||100,this.options=this.strategy.options||{}};d.prototype.detect=function(a){return this.strategy.handler(a,this.sender,this.strategy.options)},d.Sender={sendEvent:function(){}},d.plugin={},d.plugin.create=function(a){var b;return a.types||(a.types=[a.name]),b=function(b){this.options=c({},a.defaults,b)},b.prototype.create=function(){return c({options:this.options},a)},d.plugin[a.name]=b,b},b.Detector=d}(d),function(a,b){var c=a.event.gesture;c.utils={getCenter:function(a){var c=[],d=[];return[].forEach.call(a,function(a){c.push(isNaN(a.clientX)?a.pageX:a.clientX),d.push(isNaN(a.clientY)?a.pageY:a.clientY)}),{clientX:(b.min.apply(b,c)+b.max.apply(b,c))/2,clientY:(b.min.apply(b,d)+b.max.apply(b,d))/2}},getVelocity:function(a,c,d){return{x:b.abs(c/a)||0,y:b.abs(d/a)||0}},getAngle:function(a,c){var d=c.clientY-a.clientY,e=c.clientX-a.clientX;return 180*b.atan2(d,e)/b.PI},getDirection:function(a,d){var e=b.abs(a.clientX-d.clientX),f=b.abs(a.clientY-d.clientY);return e>=f?a.clientX-d.clientX>0?c.Direction.LEFT:c.Direction.RIGHT:a.clientY-d.clientY>0?c.Direction.UP:c.Direction.DOWN},getDistance:function(a,c){var d=c.clientX-a.clientX,e=c.clientY-a.clientY;return b.sqrt(d*d+e*e)},getScale:function(a,b){return a.length>=2&&b.length>=2?this.getDistance(b[0],b[1])/this.getDistance(a[0],a[1]):1},getRotation:function(a,b){return a.length>=2&&b.length>=2?this.getAngle(b[1],b[0])-this.getAngle(a[1],a[0]):0},isVertical:function(a){return a===c.Direction.UP||a===c.Direction.DOWN},isHorizontal:function(a){return a===c.Direction.LEFT||a===c.Direction.RIGHT},getOrientation:function(a){return this.isVertical(a)?c.Orientation.VERTICAL:c.Orientation.HORIZONTAL}}}(d,a.Math),function(a,b,c){function d(a,b){return a.index<b.index?-1:a.index>b.index?1:0}var e=a.event.gesture,f=e.utils,g=a.util.object,h=null,i=/touch/,j=function(){var a=this;a.instances=[],a.gestureDetectors=[],a.runningDetectors=[],a.detectorRequestedBlock=null,a.unregisterBlockList=[],a.gestureEvents={},a.velocity=null,a._isReadyDetecting=!1,a._blockMouseEvent=!1,a.touchSupport="ontouchstart"in b};j.prototype={_bindStartEvents:function(a){var b=a.getElement();this.touchSupport?b.addEventListener("touchstart",this,{passive:!1}):b.addEventListener("mousedown",this,!1)},_bindEvents:function(){var a=this;a.touchSupport?(c.addEventListener("touchmove",a,{passive:!1}),c.addEventListener("touchend",a,{passive:!1}),c.addEventListener("touchcancel",a,{passive:!1})):(c.addEventListener("mousemove",a),c.addEventListener("mouseup",a))},_unbindStartEvents:function(a){var b=a.getElement();this.touchSupport?b.removeEventListener("touchstart",this,{passive:!1}):b.removeEventListener("mousedown",this,!1)},_unbindEvents:function(){var a=this;a.touchSupport?(c.removeEventListener("touchmove",a,{passive:!1}),c.removeEventListener("touchend",a,{passive:!1}),c.removeEventListener("touchcancel",a,{passive:!1})):(c.removeEventListener("mousemove",a,!1),c.removeEventListener("mouseup",a,!1))},_detectEventType:function(a){var b=a.type;if(b.match(i))this._blockMouseEvent=!0;else if(this._blockMouseEvent||1!==a.which)return null;return b},handleEvent:function(a){var b=this,c=b._detectEventType(a);switch(c){case"mousedown":case"touchstart":b._start(a);break;case"mousemove":case"touchmove":b._move(a);break;case"mouseup":case"touchend":b._end(a);break;case"touchcancel":b._cancel(a)}},_start:function(a){var b=this,c=a.currentTarget,f={},h=[];b._isReadyDetecting||(b.resetDetecting(),b._bindEvents(),f=b._createDefaultEventData(e.Event.START,a),b.gestureEvents={start:f,last:f},b.velocity={event:f,x:0,y:0},f=g.fastMerge(f,b._createGestureEvent(e.Event.START,a)),b._isReadyDetecting=!0),b.instances.forEach(function(a){a.getElement()===c&&(h=h.concat(a.getGestureDetectors()))},b),h.sort(d),b.gestureDetectors=b.gestureDetectors.concat(h),b._detect(h,f)},_move:function(a){var b,c=this;c._isReadyDetecting&&(b=c._createGestureEvent(e.Event.MOVE,a),c._detect(c.gestureDetectors,b),c.gestureEvents.last=b)},_end:function(a){var b=this,c=g.merge({},b.gestureEvents.last,b._createDefaultEventData(e.Event.END,a));0===c.pointers.length&&(b._detect(b.gestureDetectors,c),b.unregisterBlockList.forEach(function(a){this.unregister(a)},b),b.resetDetecting(),b._blockMouseEvent=!1)},_cancel:function(a){var b=this;a=g.merge({},b.gestureEvents.last,b._createDefaultEventData(e.Event.CANCEL,a)),b._detect(b.gestureDetectors,a),b.unregisterBlockList.forEach(function(a){this.unregister(a)},b),b.resetDetecting(),b._blockMouseEvent=!1},_detect:function(a,b){var c=this,d=[];a.forEach(function(a){var f;c.detectorRequestedBlock||(f=a.detect(b),f&e.Result.RUNNING&&c.runningDetectors.indexOf(a)<0&&c.runningDetectors.push(a),f&e.Result.FINISHED&&d.push(a),f&e.Result.BLOCK&&(c.detectorRequestedBlock=a))}),d.forEach(function(a){var b=c.gestureDetectors.indexOf(a);b>-1&&c.gestureDetectors.splice(b,1),b=c.runningDetectors.indexOf(a),b>-1&&c.runningDetectors.splice(b,1)}),c.detectorRequestedBlock&&(c.runningDetectors.forEach(function(a){var c=g.fastMerge({},b);c.eventType=e.Event.BLOCKED,a.detect(c)}),c.runningDetectors.length=0,c.gestureDetectors.length=0,d.indexOf(c.detectorRequestedBlock)<0&&c.gestureDetectors.push(c.detectorRequestedBlock))},resetDetecting:function(){var a=this;a._isReadyDetecting=!1,a.gestureDetectors.length=0,a.runningDetectors.length=0,a.detectorRequestedBlock=null,a.gestureEvents={},a.velocity=null,a._unbindEvents()},_createDefaultEventData:function(a,b){var c=b.touches;return c||("mouseup"===b.type?c=[]:(b.identifier=1,c=[b])),{eventType:a,timeStamp:Date.now(),pointer:c[0],pointers:c,srcEvent:b,preventDefault:b.preventDefault.bind(b),stopPropagation:b.stopPropagation.bind(b)}},_createGestureEvent:function(a,b){var c,d=this,h=d._createDefaultEventData(a,b),i=d.gestureEvents.start,j=d.gestureEvents.last,k=d.velocity,l=k.event,m={time:h.timeStamp-i.timeStamp,x:h.pointer.clientX-i.pointer.clientX,y:h.pointer.clientY-i.pointer.clientY},n={x:h.pointer.clientX-j.pointer.clientX,y:h.pointer.clientY-j.pointer.clientY},o=e.defaults.estimatedPointerTimeDifference;return i&&h.pointers.length!==i.pointers.length&&(i.pointers=Array.prototype.slice.call(h.pointers)),h.timeStamp-l.timeStamp>e.defaults.updateVelocityInterval&&(g.fastMerge(k,f.getVelocity(h.timeStamp-l.timeStamp,h.pointer.clientX-l.pointer.clientX,h.pointer.clientY-l.pointer.clientY)),k.event=h),c={x:Math.round(h.pointer.clientX+o*k.x*(n.x<0?-1:1)),y:Math.round(h.pointer.clientY+o*k.y*(n.y<0?-1:1))},(n.x<0&&c.x>j.estimatedX||n.x>0&&c.x<j.estimatedX)&&(c.x=j.estimatedX),(n.y<0&&c.y>j.estimatedY||n.y>0&&c.y<j.estimatedY)&&(c.y=j.estimatedY),g.fastMerge(h,{deltaTime:m.time,deltaX:m.x,deltaY:m.y,velocityX:k.x,velocityY:k.y,estimatedX:c.x,estimatedY:c.y,estimatedDeltaX:c.x-i.pointer.clientX,estimatedDeltaY:c.y-i.pointer.clientY,distance:f.getDistance(i.pointer,h.pointer),angle:f.getAngle(i.pointer,h.pointer),direction:f.getDirection(i.pointer,h.pointer),scale:f.getScale(i.pointers,h.pointers),rotation:f.getRotation(i.pointers,h.pointers),startEvent:i,lastEvent:j}),h},register:function(a){var b=this,c=b.instances.indexOf(a);0>c&&(b.instances.push(a),b._bindStartEvents(a))},unregister:function(a){var b,c=this;c.gestureDetectors.length?c.unregisterBlockList.push(a):(b=c.instances.indexOf(a),b>-1&&(c.instances.splice(b,1),c._unbindStartEvents(a)),c.instances.length||c._destroy())},_destroy:function(){var a=this;a.resetDetecting(),a.instances.length=0,a.unregisterBlockList.length=0,a._blockMouseEvent=!1,h=null}},j.getInstance=function(){return h||(h=new j),h},e.Manager=j}(d,a,a.document),function(a){var b=a.event.gesture,c=b.Detector,d=b.Manager,e=a.event,f=a.util.object.merge,g=function(a,e){this.element=a,this.eventDetectors=[],this.options=f({},b.defaults,e),this.gestureManager=d.getInstance(),this.eventSender=f({},c.Sender,{sendEvent:this.trigger.bind(this)})};g.prototype={setOptions:function(a){return f(this.options,a),this},addDetector:function(a){var b=new c(a,this.eventSender),d=!!this.eventDetectors.length;return this.eventDetectors.push(b),this.eventDetectors.length&&!d&&this.gestureManager.register(this),this},removeDetector:function(a){var b=this.eventDetectors.indexOf(a);return b>-1&&this.eventDetectors.splice(b,1),this.eventDetectors.length||this.gestureManager.unregister(this),this},trigger:function(a,b){return e.trigger(this.element,a,b,!1)},getElement:function(){return this.element},getGestureDetectors:function(){return this.eventDetectors},destroy:function(){this.element=null,this.eventHandlers={},this.gestureManager=null,this.eventSender=null,this.eventDetectors.length=0}},b.Instance=g}(d),function(a,b,c){var d=a.event.gesture,e=d.utils,f=d.Detector,g=a.util.object.merge,h={start:"dragstart",drag:"drag",end:"dragend",cancel:"dragcancel",prepare:"dragprepare"},i=!!b.navigator.userAgent.match(/tizen/i)&&function(){var b,d=!0;if(c&&c.systeminfo&&c.systeminfo.getCapability)try{return b=c.systeminfo.getCapability("http://tizen.org/feature/platform.version"),"3.0">b}catch(e){a.error("Error name: "+e.name+", message: "+e.message)}return d}(),j=b.navigator.userAgent.indexOf("Chrome")>-1,k=d.Result,l=f.plugin.create({name:"drag",index:500,defaults:{blockHorizontal:!1,blockVertical:!1,threshold:20,delay:0},isTriggered:!1,handler:function(a,b,c){var f,l=c.threshold,m=k.PENDING,n=a.direction;if(!this.isTriggered&&a.eventType===d.Event.MOVE){if(Math.abs(a.deltaX)<l&&Math.abs(a.deltaY)<l)return j&&a.preventDefault(),k.PENDING;if(c.delay&&a.deltaTime<c.delay)return i||a.preventDefault(),k.PENDING;if(c.blockHorizontal&&e.isHorizontal(a.direction)||c.blockVertical&&e.isVertical(a.direction))return k.FINISHED;this.fixedStartPointX=0,this.fixedStartPointY=0,e.isHorizontal(a.direction)?this.fixedStartPointX=(a.deltaX<0?1:-1)*l:this.fixedStartPointY=(a.deltaY<0?1:-1)*l}switch(c.blockHorizontal&&(n=a.deltaY<0?d.Direction.UP:d.Direction.DOWN),c.blockVertical&&(n=a.deltaX<0?d.Direction.LEFT:d.Direction.RIGHT),f=g({},a,{deltaX:a.deltaX+this.fixedStartPointX,deltaY:a.deltaY+this.fixedStartPointY,estimatedDeltaX:a.estimatedDeltaX+this.fixedStartPointX,estimatedDeltaY:a.estimatedDeltaY+this.fixedStartPointY,direction:n}),f.eventType){case d.Event.START:this.isTriggered=!1,b.sendEvent(h.prepare,f)===!1&&(m=k.FINISHED);break;case d.Event.MOVE:this.isTriggered||b.sendEvent(h.start,f)!==!1||f.preventDefault(),m=b.sendEvent(h.drag,f)?k.RUNNING:k.FINISHED,m===!1&&f.preventDefault(),this.isTriggered=!0;break;case d.Event.BLOCKED:case d.Event.END:m=k.FINISHED,this.isTriggered&&(b.sendEvent(h.end,f)===!1&&f.preventDefault(),this.isTriggered=!1);break;case d.Event.CANCEL:m=k.FINISHED,this.isTriggered&&(b.sendEvent(h.cancel,f)===!1&&f.preventDefault(),this.isTriggered=!1)}return m}});a.event.gesture.Drag=l}(d,a,a.tizen),function(a){var b=a.event.gesture,c=b.Result,d=b.Detector,e=d.plugin.create({name:"swipe",index:400,defaults:{timeThreshold:400,velocity:.6,orientation:b.Orientation.HORIZONTAL},handler:function(a,d,e){var f=c.PENDING,g=e.velocity;return a.eventType===b.Event.END&&(a.deltaTime>e.timeThreshold||e.orientation!==b.utils.getOrientation(a.direction)?f=c.FINISHED:(a.velocityX>g||a.velocityY>g)&&(d.sendEvent(this.name,a),f=c.FINISHED|c.BLOCK)),f}});b.Swipe=e}(d),function(a){var b=a.event.gesture,c=b.Result,d=a.event.gesture.Detector,e={start:"pinchstart",move:"pinchmove",end:"pinchend",cancel:"pinchcancel","in":"pinchin",out:"pinchout"},f=d.plugin.create({name:"pinch",index:300,eventNames:e,defaults:{velocity:.6,timeThreshold:400},isTriggered:!1,handler:function(a,d,f){var g,h=c.PENDING;switch(a.eventType){case b.Event.MOVE:if(1===a.pointers.length&&a.distance>35)h=c.FINISHED;else if(!this.isTriggered&&a.pointers.length>=2)this.isTriggered=!0,d.sendEvent(e.start,a)===!1&&a.preventDefault(),h=c.RUNNING;else if(this.isTriggered){if(a.deltaTime<f.timeThreshold&&(a.velocityX>f.velocity||a.velocityY>f.velocity))return g=a.scale<1?d.sendEvent(e["in"],a):d.sendEvent(e.out,a),g===!1&&a.preventDefault(),this.isTriggered=!1,h=c.FINISHED|c.BLOCK;d.sendEvent(e.move,a)===!1&&a.preventDefault(),h=c.RUNNING}break;case b.Event.BLOCKED:case b.Event.END:this.isTriggered&&(d.sendEvent(e.end,a)===!1&&a.preventDefault(),this.isTriggered=!1,h=c.FINISHED);break;case b.Event.CANCEL:this.isTriggered&&(d.sendEvent(e.cancel,a)===!1&&a.preventDefault(),this.isTriggered=!1,h=c.FINISHED)}return h}});a.event.gesture.Pinch=f}(d),function(a){var b=a.event.gesture,c=b.Detector,d=c.plugin.create({name:"longpress",index:600,defaults:{longPressTimeThreshold:750,longPressDistanceThreshold:20,preventClick:!0},isTriggered:!1,longPressTimeOutId:0,handler:function(a,c,d){var e=b.Result.PENDING;switch(a.eventType){case b.Event.START:this.isTriggered=!1,this.longPressTimeOutId=setTimeout(function(){this.isTriggered=!0,c.sendEvent(this.name,a)}.bind(this),d.longPressTimeThreshold);break;case b.Event.MOVE:a.distance>d.longPressDistanceThreshold&&!this.isTriggered&&(clearTimeout(this.longPressTimeOutId),e=b.Result.FINISHED);break;case b.Event.END:this.isTriggered?d.preventClick&&a.preventDefault():clearTimeout(this.longPressTimeOutId),e=b.Result.FINISHED}return e}});b.LongPress=d}(d),function(a,b){b.widget.core.scroller=b.widget.core.scroller||{}}(a,d),function(a,b){b.widget.core.scroller.effect=b.widget.core.scroller.effect||{}}(a,d),function(a,b){var c=b.util.object,d=b.util.selectors,e=function(a,d){var f=this;f._orientation=null,f._maxScrollValue=null,f._container=null,f._effectElement={top:null,bottom:null,left:null,right:null},f.options=c.merge({},e.defaults,{scrollEndEffectArea:b.getConfig("scrollEndEffectArea",e.defaults.scrollEndEffectArea)}),f._targetElement=null,f._isShow=!1,f._isDrag=!1,f._isShowAnimating=!1,f._isHideAnimating=!1,f._create(a,d)},f={VERTICAL:"vertical",HORIZONTAL:"horizontal",VERTICAL_HORIZONTAL:"vertical-horizontal"},g={content:"content",screen:"screen"},h={duration:500,scrollEndEffectArea:"content"},i={bouncingEffect:"ui-scrollbar-bouncing-effect",page:"ui-page",left:"ui-left",right:"ui-right",top:"ui-top",bottom:"ui-bottom",hide:"ui-hide",show:"ui-show"};e.Orientation=f,e.defaults=h,e.prototype={_create:function(a,b){var c=this;c.options.scrollEndEffectArea===g.content?c._container=a:c._container=d.getClosestByClass(a,i.page),c._orientation=b.orientation,c._orientation===f.HORIZONTAL||c._orientation==f.VERTICAL?c._maxScrollValue=c._getValue(b.maxScrollX,b.maxScrollY):c._maxScrollValue={x:b.maxScrollX,y:b.maxScrollY},c._initLayout()},_createDivElement:function(){return a.createElement("DIV")},_initLayout:function(){var a=this,b=null,c=null,d=null,e=null,g=i.bouncingEffect;(a._orientation===f.HORIZONTAL||a._orientation==f.VERTICAL_HORIZONTAL)&&(b=a._createDivElement(),c=a._createDivElement(),b.className=g+" "+i.left,c.className=g+" "+i.right,a._container.appendChild(b),a._container.appendChild(c),a._registerAnimationEnd(b),a._registerAnimationEnd(c),a._effectElement.left=b,a._effectElement.right=c),(a._orientation===f.VERTICAL||a._orientation==f.VERTICAL_HORIZONTAL)&&(d=a._createDivElement(),e=a._createDivElement(),d.className=g+" "+i.top,e.className=g+" "+i.bottom,a._container.appendChild(d),a._container.appendChild(e),a._registerAnimationEnd(d),a._registerAnimationEnd(e),a._effectElement.top=d,a._effectElement.bottom=e)},_registerAnimationEnd:function(a){a.addEventListener("animationEnd",this),a.addEventListener("webkitAnimationEnd",this),a.addEventListener("mozAnimationEnd",this),a.addEventListener("msAnimationEnd",this),a.addEventListener("oAnimationEnd",this)},_unregisterAnimationEnd:function(a){a.removeEventListener("animationEnd",this),a.removeEventListener("webkitAnimationEnd",this),a.removeEventListener("mozAnimationEnd",this),a.removeEventListener("msAnimationEnd",this),a.removeEventListener("oAnimationEnd",this)},drag:function(a,b){this._isDrag=!0,this._checkAndShow(a,b)},dragEnd:function(){var a=this;!a._isShow||a._isShowAnimating||a._isHideAnimating||a._beginHide(),a._isDrag=!1},show:function(){var a=this;a._targetElement&&(a._isShow=!0,a._beginShow())},hide:function(){var a=this;a._isShow&&(a._targetElement.style.display="none",a._targetElement.classList.remove(i.hide),a._targetElement.classList.remove(i.show)),a._isShow=!1,a._isShowAnimating=!1,a._isHideAnimating=!1,a._targetElement=null},_checkAndShow:function(a,b){var c=this,d=null;c._isShow?!c._isShow||c._isDrag||c._isShowAnimating||c._isHideAnimating||c._beginHide():(c._orientation===f.HORIZONTAL||c._orientation===f.VERTICAL?(d=c._getValue(a,b),d>=0?c._targetElement=c._getMinEffectElement():d<=c._maxScrollValue&&(c._targetElement=c._getMaxEffectElement())):0==b?c._targetElement=c._effectElement.top:b==-c._maxScrollValue.y?c._targetElement=c._effectElement.bottom:0==a?c._targetElement=c._effectElement.left:a==-c._maxScrollValue.x&&(c._targetElement=c._effectElement.right),c.show())},_getValue:function(a,b){return this._orientation===f.VERTICAL_HORIZONTAL?null:this._orientation===f.HORIZONTAL?a:b},_getMinEffectElement:function(){var a=this;return a._orientation===f.VERTICAL_HORIZONTAL?null:a._orientation===f.HORIZONTAL?a._effectElement.left:a._effectElement.top},_getMaxEffectElement:function(){var a=this;return a._orientation===f.VERTICAL_HORIZONTAL?null:a._orientation===f.HORIZONTAL?a._effectElement.right:a._effectElement.bottom},_beginShow:function(){var a=this;a._targetElement&&!a._isShowAnimating&&(a._targetElement.style.display="block",a._targetElement.classList.remove(i.hide),a._targetElement.classList.add(i.show),a._isShowAnimating=!0,a._isHideAnimating=!1)},_finishShow:function(){var a=this;a._isShowAnimating=!1,a._isDrag||(a._targetElement.classList.remove(i.show),a._beginHide())},_beginHide:function(){var a=this;a._isHideAnimating||(a._targetElement.classList.remove(i.show),a._targetElement.classList.add(i.hide),a._isHideAnimating=!0,a._isShowAnimating=!1)},_finishHide:function(){var a=this;a._isHideAnimating=!1,a._targetElement.classList.remove(i.hide),a.hide(),a._checkAndShow()},handleEvent:function(a){a.type.toLowerCase().indexOf("animationend")>-1&&"-"!==a.animationName.charAt(0)&&(this._isShowAnimating?this._finishShow():this._isHideAnimating&&this._finishHide())},destroy:function(){var a=this,b=a._effectElement.top,c=a._effectElement.bottom,d=a._effectElement.left,e=a._effectElement.right;b&&(a._unregisterAnimationEnd(b),a._container.removeChild(b)),c&&(a._unregisterAnimationEnd(c),a._container.removeChild(c)),d&&(a._unregisterAnimationEnd(d),a._container.removeChild(d)),e&&(a._unregisterAnimationEnd(e),a._container.removeChild(e)),a._container=null,a._effectElement=null,a._targetElement=null,a._isShow=null,a._orientation=null,a._maxScrollValue=null}},b.widget.core.scroller.effect.Bouncing=e}(a.document,d),function(b,c){var d=c.widget.BaseWidget,e=c.engine,f=c.util.object,g=c.event,h=new d,i=c.widget.core.scroller.effect.Bouncing,j={START:"scrollstart",MOVE:"scrollmove",END:"scrollend",CANCEL:"scrollcancel"},k=!1,l=function(){};l.Orientation={VERTICAL:"vertical",HORIZONTAL:"horizontal"},l.EventType=j,h._build=function(a){return 1!==a.children.length?c.error("[Scroller] Scroller should have only one child."):(this.scroller=a.children[0],this.scrollerStyle=this.scroller.style,this.bouncingEffect=null,this.scrollbar=null,this.scrollerWidth=0,this.scrollerHeight=0,this.scrollerOffsetX=0,this.scrollerOffsetY=0,this.maxScrollX=0,this.maxScrollY=0,this.startScrollerOffsetX=0,this.startScrollerOffsetY=0,this.orientation=null,this.enabled=!0,this.scrolled=!1,this.dragging=!1,this.scrollCanceled=!1),a},h._configure=function(){this.options=f.merge({},this.options,{scrollDelay:0,threshold:30,scrollbar:"",useBouncingEffect:!0,orientation:"vertical"})},h._init=function(a){var b=null,c=this.options,d=null,e=a.style,f=null,g=a.offsetWidth/2,h=a.offsetHeight/2;return b=a.children[0],this.scroller=b,f=b.style,this.scrollerStyle=f,d=b.children,this.orientation=this.orientation||("horizontal"===c.orientation?l.Orientation.HORIZONTAL:l.Orientation.VERTICAL),this.scrollerWidth=b.offsetWidth,this.scrollerHeight=b.offsetHeight,d.length?(this.maxScrollX=g-this.scrollerWidth+d[d.length-1].offsetWidth/2,this.maxScrollY=h-this.scrollerHeight+d[d.length-1].offsetHeight/2,this.minScrollX=g-d[0].offsetWidth/2,this.minScrollY=h-d[0].offsetHeight/2):(this.maxScrollY=360,this.minScrollY=0),this.scrolled=!1,this.touching=!0,this.scrollCanceled=!1,this.orientation===l.Orientation.HORIZONTAL?this.maxScrollY=0:this.maxScrollX=0,e.overflow="hidden",e.position="relative",f.position="absolute",f.top="0px",f.left="0px",f.width=this.scrollerWidth+"px",f.height=this.scrollerHeight+"px",this._initScrollbar(),this._initBouncingEffect(),a},h._initScrollbar=function(){var a,b=this.options.scrollbar;b&&(a=c.widget.core.scroller.scrollbar.type[b],a&&(this.scrollbar=e.instanceWidget(this.element,"ScrollBar",{type:a,orientation:this.orientation})))},h._initBouncingEffect=function(){var a=this.options;a.useBouncingEffect&&(this.bouncingEffect=new i(this.element,{maxScrollX:this.maxScrollX,maxScrollY:this.maxScrollY,orientation:this.orientation}))},h._resetLayout=function(){var a=this.element.style,b=this.scrollerStyle;a.overflow="hidden",a.position="relative",b&&(b.position="",b.top="",b.left="",b.width="",b.height="",b["-webkit-transform"]="",b["-moz-transition"]="",b["-ms-transition"]="",b["-o-transition"]="",b.transition="")},h._bindEvents=function(){c.event.enableGesture(this.scroller,new c.event.gesture.Drag({threshold:this.options.threshold,delay:this.options.scrollDelay,blockVertical:this.orientation===l.Orientation.HORIZONTAL,blockHorizontal:this.orientation===l.Orientation.VERTICAL})),g.on(this.scroller,"drag dragstart dragend dragcancel",this),a.addEventListener("resize",this)},h._unbindEvents=function(){this.scroller&&(c.event.disableGesture(this.scroller),g.off(this.scroller,"drag dragstart dragend dragcancel",this),a.removeEventListener("resize",this))},h.handleEvent=function(a){switch(a.type){case"dragstart":this._start(a);break;case"drag":this._move(a);break;case"dragend":this._end(a);break;case"dragcancel":this._cancel(a);break;case"resize":this.refresh()}},h._refresh=function(){this._unbindEvents(),this._clear(),this._init(this.element),this._bindEvents()},h.scrollTo=function(a,b,c){this._translate(a,b,c),this._translateScrollbar(a,b,c)},h._translate=function(b,c,d){var e,f={normal:"none",webkit:"none",moz:"none",ms:"none",o:"none"},g=this.scrollerStyle;d&&(f.normal="transform "+d/1e3+"s ease-out",f.webkit="-webkit-transform "+d/1e3+"s ease-out",f.moz="-moz-transform "+d/1e3+"s ease-out",f.ms="-ms-transform "+d/1e3+"s ease-out",f.o="-o-transform "+d/1e3+"s ease-out"),e="translate3d("+b+"px,"+c+"px, 0)",g["-webkit-transform"]=g["-moz-transform"]=g["-ms-transform"]=g["-o-transform"]=g.transform=e,g.transition=f.normal,g["-webkit-transition"]=f.webkit,g["-moz-transition"]=f.moz,g["-ms-transition"]=f.ms,g["-o-transition"]=f.o,this.scrollerOffsetX=a.parseInt(b,10),this.scrollerOffsetY=a.parseInt(c,10)},h._translateScrollbar=function(a,b,c,d){this.scrollbar&&this.scrollbar.translate(this.orientation===l.Orientation.HORIZONTAL?-a:-b,c,d)},h._start=function(){var a=this;a.scrolled=!1,a.dragging=!0,a.scrollCanceled=!1,a.startScrollerOffsetX=a.scrollerOffsetX,a.startScrollerOffsetY=a.scrollerOffsetY},h._move=function(a){var b=this.startScrollerOffsetX,c=this.startScrollerOffsetY,d=!k;this.enabled&&!this.scrollCanceled&&this.dragging&&(this.orientation===l.Orientation.HORIZONTAL?b+=a.detail.estimatedDeltaX:c+=a.detail.estimatedDeltaY,(b>this.minScrollX||b<this.maxScrollX)&&(b=b>this.minScrollX?this.minScrollX:this.maxScrollX),(c>this.minScrollY||c<this.maxScrollY)&&(c=c>this.minScrollY?this.minScrollY:this.maxScrollY),b!==this.scrollerOffsetX||c!==this.scrollerOffsetY?(this.scrolled||this.trigger(j.START),this.scrolled=!0,this._translate(b,c),this._translateScrollbar(b,c,0,d),this.trigger(j.MOVE),this.bouncingEffect&&this.bouncingEffect.hide()):(this.bouncingEffect&&this.bouncingEffect.drag(b,c),this._translateScrollbar(b,c,0,d)))},h._end=function(){this.dragging&&(this.bouncingEffect&&this.bouncingEffect.dragEnd(),this.scrollbar&&this.scrollbar.end(),this._endScroll(),this.dragging=!1)},h._endScroll=function(){this.scrolled&&this.trigger(j.END),this.scrolled=!1},h._cancel=function(){this.scrollCanceled=!0,this.scrolled&&(this._translate(this.startScrollerOffsetX,this.startScrollerOffsetY),this._translateScrollbar(this.startScrollerOffsetX,this.startScrollerOffsetY),this.trigger(j.CANCEL)),this.scrollbar&&this.scrollbar.end(),this.scrolled=!1,this.dragging=!1},h._clear=function(){this.scrolled=!1,this.scrollCanceled=!1,this._resetLayout(),this._clearScrollbar(),this._clearBouncingEffect()},h._clearScrollbar=function(){this.scrollbar&&this.scrollbar.destroy(),this.scrollbar=null},h._clearBouncingEffect=function(){this.bouncingEffect&&this.bouncingEffect.destroy(),this.bouncingEffect=null},h._disable=function(){this.enabled=!1},h._enable=function(){this.enabled=!0},h._destroy=function(){this._unbindEvents(),this._clear(),this.scrollerStyle=null,this.scroller=null},l.prototype=h,c.widget.core.scroller.Scroller=l,e.defineWidget("Scroller",".scroller",["scrollTo","cancel"],l)}(a.document,d),function(a,b){b.widget.core.scroller.scrollbar=b.widget.core.scroller.scrollbar||{}}(a,d),function(a,b){b.widget.core.scroller.scrollbar.type=b.widget.core.scroller.scrollbar.type||{}}(a,d),function(a,b){b.widget.core.scroller.scrollbar.type["interface"]={setScrollbarLayout:function(){},remove:function(){},start:function(){},end:function(){},offset:function(){}}}(a.document,d),function(a,b){var c=b.util.object,d=b.widget.core.scroller.scrollbar.type,e=d["interface"],f=b.widget.core.scroller.Scroller;d.bar=c.merge({},e,{options:{animationDuration:500},setScrollbar:function(a,b,c){this._viewLayout=a,this._clipLayout=c,this._firstChildLayout=b,this._ratio=c/b},getScrollbarSize:function(){return this._firstChildLayout/this._viewLayout*this._firstChildLayout*this._ratio},offset:function(a,b){var c,d;return b=b*this._clipLayout/this._viewLayout,a===f.Orientation.VERTICAL?(c=0,d=b):(c=b,d=0),{x:c,y:d}},start:function(a){var b=a.style,c=this.options.animationDuration;b["-webkit-transition"]=b["-moz-transition"]=b["-ms-transition"]=b["-o-transition"]=b.transition="opacity "+c/1e3+"s ease",b.opacity=1},end:function(a){var b=a.style,c=this.options.animationDuration;b["-webkit-transition"]=b["-moz-transition"]=b["-ms-transition"]=b["-o-transition"]=b.transition="opacity "+c/1e3+"s ease",b.opacity=0}})}(a.document,d),function(b,c){var d=c.util.object,e=c.widget.core.scroller.scrollbar.type,f=e["interface"],g=c.widget.core.scroller.Scroller;e.tab=d.merge({},f,{options:{wrapperClass:"ui-scrollbar-tab-type",barClass:"ui-scrollbar-indicator",margin:1},insertAndDecorate:function(b){var c,d,e,f,h=b.wrapper,i=b.bar,j=b.container,k=b.clip,l=b.sections,m=b.orientation,n=this.options.margin,o=k.offsetWidth,p=k.offsetHeight,q=j.offsetWidth,r=j.offsetHeight,s=m===g.Orientation.VERTICAL?p:o,t=m===g.Orientation.VERTICAL?r:q,u=s/t;if(this.containerSize=q,this.maxScrollOffset=s-t,this.scrollZoomRate=q/s,this.barSize=a.parseInt((q-2*n*(u-1))/u),h.className=this.options.wrapperClass,i.className=this.options.barClass,i.style.width=this.barSize+"px",i.style.left="0px",j.insertBefore(h,k),d=i.offsetHeight,c=p-d,k.style.height=c+"px",l&&l.length)for(e=0,f=l.length;f>e;e++)l[e].style.height=c+"px"},remove:function(a){var b=a.wrapper,c=a.container;c&&b&&c.removeChild(b)},offset:function(a,b){return{x:0===b?-1:b===this.maxScrollOffset?this.containerSize-this.barSize-this.options.margin:b*this.scrollZoomRate,y:0}}})}(a.document,d),function(b,c){var d=c.widget.BaseWidget,e=c.engine,f=new d,g=c.util.object,h=c.util.selectors,i=c.widget.core.Page,j={wrapperClass:"ui-scrollbar-bar-type",barClass:"ui-scrollbar-indicator",orientationClass:"ui-scrollbar-",page:i.classes.uiPage},k=c.widget.core.scroller.Scroller,l=function(){this.wrapper=null,this.barElement=null,this.container=null,this.view=null,this.options={},this.type=null,this.maxScroll=null,this.started=!1,this.displayDelayTimeoutId=null,this.lastScrollPosition=0};f._build=function(a){return this.clip=a,this.view=a.children[0],this.firstChild=this.view.children[0],a},f._configure=function(){this.options=g.merge({},this.options,{type:!1,displayDelay:700,orientation:k.Orientation.VERTICAL})},f._init=function(a){this.clip=a,this.view=a.children[0],this.firstChild=this.view.children[0],this.type=this.options.type,this.type&&this._createScrollbar()},f._bindEvents=function(){b.addEventListener("visibilitychange",this)},f._createScrollbar=function(){var a=this.options.orientation,c=b.createElement("DIV"),d=b.createElement("span"),e=this.view,f=this.clip,g=this.firstChild,h=this.type;f.appendChild(c),c.appendChild(d),c.classList.add(j.wrapperClass),d.className=j.barClass,a===k.Orientation.HORIZONTAL?(h.setScrollbar(e.offsetWidth,g.offsetWidth,f.offsetWidth),d.style.width=h.getScrollbarSize()+"px",c.classList.add(j.orientationClass+"horizontal")):(h.setScrollbar(e.offsetHeight,g.offsetHeight,f.offsetHeight),d.style.height=h.getScrollbarSize()+"px",c.classList.add(j.orientationClass+"vertical")),this.wrapper=c,this.barElement=d},f._removeScrollbar=function(){this.clip.removeChild(this.wrapper),this.wrapper=null,this.barElement=null},f._refresh=function(){var a=this;a._clear(),a._init(a.element),a.translate(a.lastScrollPosition)},f.translate=function(b,c,d){var e,f,g,h=this.options.orientation,i={normal:"none",webkit:"none",moz:"none",ms:"none",o:"none"};this.wrapper&&this.type&&this.lastScrollPosition!==b&&(d=d!==!1,this.lastScrollPosition=b,b=this.type.offset(h,b),f=this.barElement.style,c&&(i.normal="transform "+c/1e3+"s ease-out",i.webkit="-webkit-transform "+c/1e3+"s ease-out",i.moz="-moz-transform "+c/1e3+"s ease-out",i.ms="-ms-transform "+c/1e3+"s ease-out",i.o="-o-transform "+c/1e3+"s ease-out"),e="translate3d("+b.x+"px,"+b.y+"px, 0)",f["-webkit-transform"]=f["-moz-transform"]=f["-ms-transform"]=f["-o-transform"]=f.transform=e,f["-webkit-transition"]=i.webkit,f["-moz-transition"]=i.moz,f["-ms-transition"]=i.ms,f["-o-transition"]=i.o,f.transition=i.normal,this.started||this._start(),null!==this.displayDelayTimeoutId&&(a.clearTimeout(this.displayDelayTimeoutId),this.displayDelayTimeoutId=null),d&&(g=(c||0)+this.options.displayDelay,this.displayDelayTimeoutId=a.setTimeout(this._end.bind(this),g)))},f.end=function(){this.displayDelayTimeoutId||(this.displayDelayTimeoutId=a.setTimeout(this._end.bind(this),this.options.displayDelay))},f._start=function(){this.type.start(this.wrapper,this.barElement),this.started=!0},f._end=function(){this.started=!1,this.displayDelayTimeoutId=null,this.type&&this.type.end(this.wrapper,this.barElement)},f.handleEvent=function(a){var d;switch(a.type){case"visibilitychange":d=h.getClosestBySelector(this.clip,"."+j.page),"visible"===b.visibilityState&&d===c.activePage&&this.refresh()}
-},f._clear=function(){this._removeScrollbar(),this.started=!1,this.type=null,this.barElement=null,this.displayDelayTimeoutId=null},f._destroy=function(){this._clear(),b.removeEventListener("visibilitychange",this),this.options=null,this.clip=null,this.view=null},l.prototype=f,c.widget.core.scroller.scrollbar.ScrollBar=l,e.defineWidget("ScrollBar","",["translate"],l)}(a.document,d),function(a){a.util.easing={cubicOut:function(a,b,c,d){return a/=d,a--,c*(a*a*a+1)+b},easeOutQuad:function(a,b,c,d){return-c*(a/=d)*(a-2)+b},easeOutSine:function(a,b,c,d){return c*Math.sin(a/d*(Math.PI/2))+b},easeOutExpo:function(a,b,c,d){return a===d?b+c:c*(-Math.pow(2,-10*a/d)+1)+b},linear:function(a,b,c,d){return b+c*a/d}}}(d),function(a,b,c){function d(a){"static"===o.getCSSProperty(a,"position")?a.style.position="relative":a.style.position="absolute"}function e(a,b,c,d,e,f,g,h,i,j){var k=(new Date).getTime()-c,n=parseInt(m.cubicOut(k,d,f,j),10),o=parseInt(m.cubicOut(k,e,g,j),10);b.scrollLeft!==h&&(b.scrollLeft=n),b.scrollTop!==i&&(b.scrollTop=o),(n!==h||o!==i)&&n>=0&&o>=0&&a.currentTransition?l.requestAnimationFrame(a.currentTransition):a.currentTransition=null}function f(a,b,c,d,f){f?(a.currentTransition=e.bind(null,a,b,(new Date).getTime(),b.scrollLeft,b.scrollTop,c,d,b.scrollLeft+c,b.scrollTop+d,f),l.requestAnimationFrame(a.currentTransition)):(c&&(b.scrollLeft=b.scrollLeft+c),d&&(b.scrollTop=b.scrollTop+d))}function g(a){var b=a._ui,c=b.jumpHorizontalButton,d=b.jumpVerticalButton,e=c||d?o.getElementOffset(a.element):null;c&&(c.style.left=e.left+"px"),d&&(d.style.top=e.top+"px")}function h(a){var b=a.classList,c=p.getChildrenByClass(a,w.indicatorTop)[0],d=p.getChildrenByClass(a,w.indicatorBottom)[0];b.remove(w.indicatorTopShown),b.remove(w.indicatorBottomShown),b.remove(w.indicatorRightShown),b.remove(w.indicatorLeftShown),c.style="",d.style=""}function i(a,b){var c,d=p.getChildrenByClass(a,w.indicatorTop)[0],e=p.getChildrenByClass(a,w.indicatorBottom)[0];d&&(c=d.style,c.width=b.width+"px",c.top=b.clipTop+"px",c.backgroundColor=b.color),e&&(c=e.style,c.width=b.width+"px",c.top=b.clipTop+b.clipHeight-o.getElementHeight(e)+"px",c.backgroundColor=b.color)}var j=c.widget.BaseWidget,k=c.engine,l=c.util,m=c.util.easing,n=c.event,o=c.util.DOM,p=c.util.selectors,q=null,r=c.widget.core.Page,s=r.classes.uiPage,t=r.classes.uiPageActive,u=r.events,v=function(){var a,b=this;b._scrollState={currentTransition:null},b.scrollDuration=300,b.scrollviewSetHeight=!1,b.options={scroll:"y",scrollJump:!1,scrollIndicator:!1},a=b._ui||{},a.view=null,a.page=null,a.jumpHorizontalButton=null,a.jumpVerticalButton=null,b._ui=a,b._callbacks={repositionJumps:null,jumpTop:null,jumpBottom:null},b._timers={scrollIndicatorHide:null}},w={view:"ui-scrollview-view",clip:"ui-scrollview-clip",jumpTop:"ui-scroll-jump-top-bg",jumpLeft:"ui-scroll-jump-left-bg",indicatorTop:"ui-overflow-indicator-top",indicatorBottom:"ui-overflow-indicator-bottom",indicatorTopShown:"ui-scrollindicator-top",indicatorBottomShown:"ui-scrollindicator-bottom",indicatorLeftShown:"ui-scrollindicator-left",indicatorRightShown:"ui-scrollindicator-right"};v.classes=w,v.prototype=new j,v.prototype._build=function(a){var c,e,f,g=this,h=g._ui,i=p.getChildrenByClass(a,w.view)[0]||b.createElement("div"),j=a.firstChild,l=g.options,m=l.scroll;for(i.className=w.view;j;)c=j,j=j.nextSibling,i!==c&&i.appendChild(c);return i.parentNode!==a&&a.appendChild(i),d(i),a.classList.add(w.clip),a.classList.add("ui-content"),g._setClipOverflowStyle(a),l.scrollJump&&(m.indexOf("x")>-1&&(f=b.createElement("div"),f.className=w.jumpLeft,e=b.createElement("div"),f.appendChild(e),a.appendChild(f),k.instanceWidget(e,"Button",{icon:"scrollleft",style:"box"}),h.jumpHorizontalButton=f),m.indexOf("y")>-1&&(f=b.createElement("div"),f.className=w.jumpTop,e=b.createElement("div"),f.appendChild(e),a.appendChild(f),k.instanceWidget(e,"Button",{icon:"scrolltop",style:"box"}),h.jumpVerticalButton=f)),h.view=i,l.scrollIndicator&&g._addOverflowIndicator(a),a},v.prototype._setClipOverflowStyle=function(a){var b,c=this,d=c.options.scroll;switch(a=a||c.element,b=a.style,d){case"x":b.overflowX="scroll";break;case"xy":b.overflow="scroll";break;default:b.overflowY="auto"}},v.prototype._setClipOverflowHidden=function(a){var b,c=this,d=c.options.scroll;switch(a=a||c.element,b=a.style,d){case"x":b.overflowX="hidden";break;case"xy":b.overflow="hidden";break;default:b.overflowY="hidden"}},v.prototype._init=function(a){var b=this._ui,c=b.page;b.view||(b.view=p.getChildrenByClass(a,w.view)[0]),c||(c=p.getClosestByClass(a,s),c&&(b.page=c,c.classList.contains(t)&&this.options.scrollJump&&g(this)))},v.prototype._addOverflowIndicator=function(a){a.insertAdjacentHTML("beforeend","<div class='"+w.indicatorTop+"'></div><div class='"+w.indicatorBottom+"'></div>")},v.prototype._showScrollIndicator=function(){var b=this,c=b.element,d=b._ui.view,e=c.scrollTop,f=o.getElementHeight(c),g=o.getElementOffset(c),j=o.getElementHeight(d),k=o.getElementWidth(d),l=o.getElementOffset(d);switch(h(c),b.options.scroll){case"x":case"xy":break;default:i(c,{clipTop:g.top,clipHeight:f,width:k,color:a.getComputedStyle(c).backgroundColor}),l.top-e<g.top&&c.classList.add(w.indicatorTopShown),l.top-e+j>g.top+f&&c.classList.add(w.indicatorBottomShown)}},v.prototype._hideScrollIndicator=function(){var b=this,c=b._timers,d=c.scrollIndicatorHide;d&&a.clearTimeout(d),c.scrollIndicatorHide=a.setTimeout(function(){h(b.element)},1500)},v.prototype.scrollTo=function(a,b,c){var d=this.element;this.translateTo(a-d.scrollLeft,b-d.scrollTop,c)},v.prototype.translateTo=function(a,b,c){f(this._scrollState,this.element,a,b,c)},v.prototype.ensureElementIsVisible=function(a){var b,c,d,e,f,g=this.element,h=o.getElementHeight(g),i=o.getElementWidth(g),j=0,k=h,l=o.getElementHeight(a),m=o.getElementWidth(a),n=0,p=h>=l&&i>=m,q=function(a){var b=a.getAttribute("id"),c=a.tagName.toLowerCase();return b&&["input","textarea","button"].indexOf(c)>-1?a.parentNode.querySelector("label[for="+b+"]"):null},r=!0;for(f=a.parentNode;f&&f!==g;)n+=f.offsetTop,f=f.parentNode;switch(b=n+l,r){case p&&n>j&&k>b:case n>j&&k>n&&b>k:case j>n&&k>b:break;case p&&n>j&&b>k:case p&&j>n&&k>b:case p:this.centerToElement(a);break;default:for(c=q(a),c||(c=a),d=c.offsetLeft+o.getCSSProperty(c,"margin-left",0,"integer"),e=c.offsetTop+o.getCSSProperty(c,"margin-top",0,"integer"),f=c.parentNode;f&&f!==g;)d+=f.offsetLeft,e+=f.offsetTop,f=f.parentNode;this.scrollTo(d,e,this.scrollDuration)}},v.prototype.centerToElement=function(a){for(var b=this.element,c=parseInt(o.getElementWidth(b)/2-o.getElementWidth(a)/2,10),d=parseInt(o.getElementHeight(b)/2-o.getElementHeight(a)/2,10),e=a.offsetLeft,f=a.offsetTop,g=a.parentNode;g&&g!==b;)e+=g.offsetLeft+o.getCSSProperty(g,"margin-left",0,"integer"),f+=g.offsetTop+o.getCSSProperty(g,"margin-top",0,"integer"),g=g.parentNode;this.scrollTo(e-c,f-d,this.scrollDuration)},v.prototype.getScrollPosition=function(){var a=this.element;return{x:a.scrollLeft,y:a.scrollTop}},v.prototype._bindEvents=function(c){var d,e,f,h=null,i=function(){n.trigger(c,"scrollstop"),a.clearTimeout(h),h=null},j=this,k=j._ui,l=k.page,m=k.jumpVerticalButton,o=k.jumpHorizontalButton,p=j._callbacks,r=j.options.scroll;l&&(j.options.scrollJump&&(d=g.bind(null,j),e=function(){j.scrollTo(c.scrollLeft,0,250)},f=function(){j.scrollTo(0,c.scrollTop,250)},l.addEventListener(u.SHOW,d,!1),m&&m.firstChild.addEventListener("vclick",e,!1),o&&o.firstChild.addEventListener("vclick",f,!1),p.repositionJumps=d,p.jumpTop=e,p.jumpLeft=f),c.addEventListener("scroll",function(){h?a.clearTimeout(h):n.trigger(c,"scrollstart"),"y"!==r||0!==c.scrollTop&&c.scrollTop+c.clientHeight!==c.scrollHeight?"x"!==r||0!==c.scrollLeft&&c.scrollLeft+c.clientWidth!==c.scrollWidth||n.trigger(c,"scrollboundary",{direction:0===c.scrollLeft?"left":"right"}):n.trigger(c,"scrollboundary",{direction:0===c.scrollTop?"top":"bottom"}),h=a.setTimeout(i,100),n.trigger(c,"scrollupdate")},!1),b.addEventListener("vmousedown",function(){q&&(q=null)},!1),j.options.scrollIndicator&&(p.scrollUpdate=j._showScrollIndicator.bind(j),c.addEventListener("scrollupdate",p.scrollUpdate,!1),p.scrollStop=j._hideScrollIndicator.bind(j),c.addEventListener("scrollstop",p.scrollStop,!1)))},v.prototype._destroy=function(){var b=this,c=b.element,d=b._ui,e=d.page,f=this.options.scrollJump,g=d.jumpVerticalButton,h=d.jumpHorizontalButton,i=b._callbacks,j=i.repositionJumps,k=i.jumpTop,l=i.jumpLeft;f&&(e&&j&&e.removeEventListener(u.SHOW,j,!1),g&&k&&g.firstChild.removeEventListener("vclick",k,!1),h&&l&&h.firstChild.removeEventListener("vclick",l,!1)),b.options.scrollIndicator&&c.removeEventListener("scrollupdate",i.scrollUpdate,!1),b._timers.scrollIndicatorHide&&a.clearTimeout(b._timers.scrollIndicatorHide)},v.prototype.enableScrolling=function(){this._setClipOverflowStyle()},v.prototype.disableScrolling=function(){this._setClipOverflowHidden()},c.widget.core.Scrollview=v}(a,a.document,d),function(a,b){var c=b.widget.BaseWidget,d=b.engine,e=b.event,f=function(){},g={},h={TAB_CHANGE:"tabchange"},i=new c;f.prototype=i,f.classes=g,i._setActive=function(a){var b=this.element;e.trigger(b,h.TAB_CHANGE,{active:a})},i.setActive=function(a){this._setActive(a)},i._getActive=function(){return this.options.active},i.getActive=function(){return this._getActive()},b.widget.core.Tab=f,d.defineWidget("Tab","",["setActive","getActive"],f,"tizen")}(a.document,d),function(a,b){var c=b.widget.core.Tab,d=b.engine,e=b.util.object,f=function(){this.tabSize=0,this.width=0},g=c.prototype,h=new c;f.prototype=h,h._init=function(a){var b=this.options;this.width=a.offsetWidth,a.classList.add(b.wrapperClass)},h._configure=function(){e.merge(this.options,{margin:4,triggerEvent:!1,wrapperClass:"ui-tab-indicator",itemClass:"ui-tab-item",activeClass:"ui-tab-active",active:0})},h._createIndicator=function(){var b,c=this.options,d=a.createDocumentFragment(),e=[],f=c.margin,g=0,h=this.tabSize,i=this.width-f*(h-1),j=Math.floor(i/h),k=i%h,l=0;for(g=0;h>g;g++)e[g]=j;for(g=Math.floor((h-k)/2);k>0;g++,k--)e[g]+=1;for(g=0;h>g;g++)b=a.createElement("span"),b.classList.add(c.itemClass),b.style.width=e[g]+"px",b.style.left=l+"px",l+=e[g]+f,g===c.active&&b.classList.add(c.activeClass),d.appendChild(b);this.element.appendChild(d)},h._removeIndicator=function(){this.element.innerHTML=""},h._refresh=function(){this._removeIndicator(),this._createIndicator()},h._setActive=function(a){var b=this.options,c=this.element.children;b.active=a,[].forEach.call(c,function(a){a.classList.remove(b.activeClass)}),a<c.length&&(c[a].classList.add(b.activeClass),g._setActive.call(this,a))},h.setSize=function(a){var b=this.tabSize!==a;this.tabSize=a,b&&this.refresh()},h._destroy=function(){var a=this.options;this._removeIndicator(),this.element.classList.remove(a.wrapperClass)},b.widget.core.TabIndicator=f,d.defineWidget("TabIndicator",".ui-tab",["setActive","getActive","setSize"],f)}(a.document,d),function(a,b){function d(){this.options=m({},s),n.call(this),this._ui={page:null}}function e(a,b,d){var e=b.length,f=d!==c?d:e,g=0,h=0;for(f>e&&(f=e),h;f>h;h++)g+=a===i.HORIZONTAL?b[h].offsetWidth:b[h].offsetHeight;return g}function f(a,b,c){var d=e(a,b,c+1),f=b[c];return f&&(d-=a===i.HORIZONTAL?f.offsetWidth/2:f.offsetHeight/2),d}var g=b.widget.core.scroller.Scroller,h=b.event.gesture,i=h.Orientation,j=b.engine,k=b.util.object,l=b.event,m=b.util.object.merge,n=b.widget.core.BaseKeyboardSupport,o=b.widget.core.Page,p=b.util.selectors,q=m({CHANGE:"sectionchange"},g.EventType),r={uiSectionChanger:"ui-section-changer"},s={items:"section",activeClass:"ui-section-active",circular:!1,animate:!0,animateDuration:100,orientation:"horizontal",changeThreshold:-1,useTab:!1,fillContent:!0,model:null,directives:null};k.inherit(d,g,{_build:function(a){var b=this,c=b.options;return b.tabIndicatorElement=null,b.tabIndicator=null,b.sections=null,b.sectionPositions=[],b.activeIndex=0,b.beforeIndex=0,b._super(a),a.classList.add(r.uiSectionChanger),b.scroller.style.position="absolute",b.scroller.classList.add("ui-section-changer-container"),b.orientation="horizontal"===c.orientation?i.HORIZONTAL:i.VERTICAL,a},_configure:function(){this._super(),this.options=k.merge(this.options,s)},_fillElementFromModel:function(a,b,c){var d,e;for(d in b)b.hasOwnProperty(d)&&(e=a.querySelector("[data-bind='"+d+"']"),e&&(c&&"function"==typeof c[d]?c[d].call(e,b[d]):e.innerText=b[d]))},_setModel:function(a,b){this.options.model=b,this._findDataBinding()},_fillWidgetFromModel:function(a,b,c){var d,e,f,g,h=this,i=h.element;d=i.querySelectorAll("[data-bind='"+a+"'] > section"),1===d.length&&(e=d[0],f=e.innerHTML,g=e.parentElement,g.removeChild(e),b.forEach(function(a){var b=e.cloneNode();b.innerHTML=f,h._fillElementFromModel(b,a,c),g.appendChild(b)}))},_findDataBinding:function(){var a,b,c,d=this.options.model,e=this.options.directives;if(d)for(c in d)d.hasOwnProperty(c)&&(a=d[c],"string"==typeof a||Array.isArray(a)&&(e&&(b=e[c]),this._fillWidgetFromModel(c,a,b)))},_init:function(a){var c,d,e,f=this,g=f.options,h=f.scroller,i=f._ui;if("tab"===g.scrollbar&&(g.scrollbar=!1,g.useTab=!0),g.model&&f._findDataBinding(),i.page=p.getClosestBySelector(f.element,"."+o.classes.uiPage),h)if(f.sections="string"==typeof g.items?h.querySelectorAll(g.items):g.items,c=f.sections.length,g.circular&&3>c)b.error("[SectionChanger] if you use circular option, you must have at least three sections.");else{for(d=0;c>d;d++)e=f.sections[d].className,e&&e.indexOf(g.activeClass)>-1?f.activeIndex=d:f.isKeyboardSupport===!0&&f.disableFocusableElements(f.sections[d]),f.sectionPositions[d]=d;f._prepareLayout(),f._initLayout(),f._super(a),f._repositionSections(!0),f.setActiveSection(f.activeIndex),g.animate||(g.animateDuration=0),g.changeThreshold<0&&(g.changeThreshold=f._sectionChangerHalfWidth)}return a},_prepareLayout:function(){var a,b=this.options,c=this.sections.length,d=this.orientation,f=this.scroller.style,g=this.element.offsetHeight;0===g&&(g=this.element.parentNode.offsetHeight,this.element.style.height=g+"px"),this._sectionChangerWidth=this.element.offsetWidth,this._sectionChangerHeight=g,this._sectionChangerHalfWidth=this._sectionChangerWidth/2,this._sectionChangerHalfHeight=this._sectionChangerHeight/2,b.useTab&&(this._initTabIndicator(),a=this.tabIndicatorElement.offsetHeight,this._sectionChangerHeight-=a,this._sectionChangerHalfHeight=this._sectionChangerHeight/2,this.element.style.height=this._sectionChangerHeight+"px"),d===i.HORIZONTAL?(f.width=(b.fillContent?this._sectionChangerWidth*c:e(d,this.sections))+"px",f.height=this._sectionChangerHeight+"px"):(f.width=this._sectionChangerWidth+"px",f.height=(b.fillContent?this._sectionChangerHeight*c:e(d,this.sections))+"px")},_initLayout:function(){var a,b,c,d=0,f=0;for(b=0,c=this.sections.length;c>b;b++)a=this.sections[b].style,a.position="absolute",this.options.fillContent&&(a.width=this._sectionChangerWidth+"px",a.height=this._sectionChangerHeight+"px"),this.orientation===i.HORIZONTAL?(f=0,d=e(this.orientation,this.sections,b)):(f=e(this.orientation,this.sections,b),d=0),a.top=f+"px",a.left=d+"px"},_initBouncingEffect:function(){var a=this.options;a.circular||this._super()},_translateScrollbar:function(a,b,c,d){var e,f=this,g=f.scrollbar;g&&(e=f.orientation===i.HORIZONTAL?-a+f.minScrollX:-b+f.minScrollY,g.translate(e,c,d))},_translateScrollbarWithPageIndex:function(a,b){var c;this.scrollbar&&(c=e(this.orientation,this.sections,this.activeIndex),this.scrollbar.translate(c,b))},_initTabIndicator:function(){var b=this,c=a.createElement("div"),d=b.element,e=null;b.tabIndicatorElement=c,d.parentNode.insertBefore(c,d),e=new j.instanceWidget(c,"TabIndicator"),b.tabIndicator=e,e.setSize(b.sections.length),e.setActive(b.activeIndex),b.tabIndicatorHandler=function(a){this.tabIndicator.setActive(a.detail.active)}.bind(b),d.addEventListener(q.CHANGE,b.tabIndicatorHandler,!1)},_clearTabIndicator:function(){this.tabIndicator&&(this.element.parentNode.removeChild(this.tabIndicatorElement),this.element.removeEventListener(q.CHANGE,this.tabIndicatorHandler,!1),this.tabIndicator.destroy(),this.tabIndicator=null,this.tabIndicatorElement=null,this.tabIndicatorHandler=null)},_resetLayout:function(){var a,b,c;for(b=0,c=this.sections.length;c>b;b++)a=this.sections[b].style,a.position="",a.width="",a.height="",a.top="",a.left="";this._super()},_bindEvents:function(){var c=this;c._super(),c.scroller&&(b.event.enableGesture(c.scroller,new b.event.gesture.Swipe({orientation:c.orientation===i.HORIZONTAL?h.Orientation.HORIZONTAL:h.Orientation.VERTICAL})),l.on(c.scroller,"swipe transitionEnd webkitTransitionEnd mozTransitionEnd msTransitionEnd oTransitionEnd",c),c._ui.page&&l.on(c._ui.page,"taufocusborder",c)),b.util.rotaryScrolling&&b.util.rotaryScrolling.lock(),a.addEventListener("rotarydetent",c,!0)},_unbindEvents:function(){var c=this;c._super(),c.scroller&&(b.event.disableGesture(c.scroller),l.off(c.scroller,"swipe transitionEnd webkitTransitionEnd mozTransitionEnd msTransitionEnd oTransitionEnd",c),c._ui.page&&l.off(c._ui.page,"taufocusborder",c)),a.removeEventListener("rotarydetent",c,!0),b.util.rotaryScrolling&&b.util.rotaryScrolling.unlock()},handleEvent:function(a){switch(this._super(a),a.type){case"swipe":case"taufocusborder":this._change(a);break;case"rotarydetent":this._change(a,!0);break;case"webkitTransitionEnd":case"mozTransitionEnd":case"msTransitionEnd":case"oTransitionEnd":case"transitionEnd":a.target===this.scroller&&this._endScroll()}},_notifyChangedSection:function(a){var b,c=this.options.activeClass,d=this.sections.length,e=0;for(e=0;d>e;e++)b=this.sections[e],b.classList.remove(c),e===this.activeIndex&&b.classList.add(c);this.trigger(q.CHANGE,{active:a})},setActiveSection:function(a,b,d,e){var g,h=this.sectionPositions[a],j=this.activeIndex,k=0,l=0;b=b||0,d=!!d,e==c&&(e=!0),g=b,this.orientation===i.HORIZONTAL?k=this._sectionChangerHalfWidth-f(this.orientation,this.sections,h):l=this._sectionChangerHalfHeight-f(this.orientation,this.sections,h),(this.beforeIndex-a>1||this.beforeIndex-a<-1)&&(g=0),this.activeIndex!==a&&this.isKeyboardSupport===!0&&this.disableFocusableElements(this.sections[this.activeIndex]),this.activeIndex=a,this.beforeIndex=this.activeIndex,k!==this.scrollerOffsetX||l!==this.scrollerOffsetY?(d!==!1&&(this.trigger(q.START),this.scrolled=!0),this._translate(k,l,b),this._translateScrollbarWithPageIndex(a,g)):this._endScroll(),this.activeIndex!==j&&this._notifyChangedSection(this.activeIndex),e&&this._repositionSections(!0)},getActiveSectionIndex:function(){return this.activeIndex},_start:function(a){this._super(a),this.beforeIndex=this.activeIndex},_move:function(a){var b=this,c=b.options.changeThreshold,d=b.orientation===i.HORIZONTAL?a.detail.deltaX:a.detail.deltaY,e=b.activeIndex,f=b.beforeIndex;b._super(a),b.scrolled&&(d>c?b.activeIndex=b._calculateIndex(f-1):-c>d?b.activeIndex=b._calculateIndex(f+1):b.activeIndex=f,b.activeIndex!==e&&b._notifyChangedSection(b.activeIndex))},_end:function(){var a=this;a.scrollbar&&a.scrollbar.end(),a.enabled&&!a.scrollCanceled&&a.dragging&&(a.bouncingEffect&&a.bouncingEffect.dragEnd(),a.setActiveSection(a.activeIndex,a.options.animateDuration,!1,!1),a.dragging=!1)},_change:function(a,b){var c,d=this,e=a.detail.direction,f=e===h.Direction.UP||e===h.Direction.LEFT||"CW"===e?1:-1;"taufocusborder"===a.type&&(f*=-1),c=d._calculateIndex(d.beforeIndex+f),b=!!b,d.enabled&&!d.scrollCanceled&&(d.bouncingEffect&&d.bouncingEffect.dragEnd(),d.activeIndex!==c&&(d.isKeyboardSupport===!0&&d.sections&&(d.disableFocusableElements(d.sections[d.activeIndex]),d.blurOnActiveElement()),d.activeIndex=c,d._notifyChangedSection(c)),d.setActiveSection(c,d.options.animateDuration,b,!1),d.dragging=!1)},_endScroll:function(){var a=this;this.isKeyboardSupport===!0&&a.enableDisabledFocusableElements(a.sections[a.activeIndex]),a.enabled&&a.scrolled&&!a.scrollCanceled&&(a._repositionSections(),a._super())},_repositionSections:function(a){var b,c,d,g,h,j,k,l=this,m=l.sections,n=l.activeIndex,o=l.orientation,p=o===i.HORIZONTAL,q=m.length,r=l.sectionPositions[n],s=Math.floor(q/2),t=l.options.circular,u=0,v=0;if(p?(j=-f(o,m,t?s:n),k=0):(j=0,k=-f(o,m,t?s:n)),l._translateScrollbarWithPageIndex(n),(a||0===r||r===q-1)&&(p?u=l._sectionChangerHalfWidth+j:v=l._sectionChangerHalfHeight+k,l._translate(u,v),t))for(b=0;q>b;b++)d=(q+n-s+b)%q,c=m[d].style,l.sectionPositions[d]=b,p?(g=0,h=e(o,m,b)):(g=e(o,m,b),h=0),c.top=g+"px",c.left=h+"px"},_calculateIndex:function(a){var b=this.sections.length;return a=this.options.circular?(b+a)%b:0>a?0:a>b-1?b-1:a},_clear:function(){this._clearTabIndicator(),this._super(),this.sectionPositions.length=0},_destroy:function(){var a=this.element;a.style.height=null,a.style.width=null,this._super()}}),b.widget.core.SectionChanger=d,j.defineWidget("SectionChanger","[data-role='section-changer'], .ui-section-changer",["getActiveSectionIndex","setActiveSection"],d)}(a.document,d),function(a,b,c){function d(a,c){var d=b.createElement("div"),e=a.querySelector("."+j.UI_DIMMER_TEXT),f=a.querySelector("."+j.UI_DIMMER_BULB_LIGHT),g=a.classList;d&&(c?(e.classList.add(j.UI_DIMMER_HIDDEN),f.classList.remove(j.UI_DIMMER_HIDDEN)):(e.classList.remove(j.UI_DIMMER_HIDDEN),f.classList.add(j.UI_DIMMER_HIDDEN))),c?g.add(j.UI_DIMMER_BULB):g.remove(j.UI_DIMMER_BULB)}function e(a){return"none"!==h.getCSSProperty(a,"background-image","none","string")}var f=c.util.object,g=function(){this.options=f.merge({},g.defaults),this.bulbMode=!1,this._observer=null,this._observerCallback=this._checkStyleChange.bind(this),this._refreshCallback=this.refresh.bind(this)},h=c.util.DOM,i={value:50,min:0,max:100,bulb:!1,options:"30:blue; 60:yellow; 100:red"},j={UI_DIMMER:"ui-dimmer",UI_DIMMER_BULB:"ui-dimmer-lightbulb",UI_DIMMER_BULB_LIGHT:"ui-dimmer-lightbulb-light",UI_DIMMER_TEXT:"ui-dimmer-text",UI_DIMMER_HIDDEN:"ui-dimmer-hidden"},k=c.widget.BaseWidget,l=new k;g.prototype=l,g.defaults=i,g.classes=j,l._init=function(a){var b=this,c=new MutationObserver(this._observerCallback);return a.getAttribute("value")||a.setAttribute("value",b.options.value),c.observe(a,{attributes:!0}),b._observer=c,a},l._checkStyleChange=function(a){var b=this,c=b.options,d=b._refreshCallback;a.forEach(function(a){"style"===a.attributeName&&(c.bulb=e(a.target),d())})},l._refresh=function(){var a=this;d(a.element,a.options.bulb),a.value(a.options.value)},l._build=function(a){var c=e(a),f=this.options,g=a.querySelector("."+j.UI_DIMMER_TEXT),h=b.createElement("div");return g||(g=b.createElement("span"),g.classList.add(j.UI_DIMMER_TEXT),a.appendChild(g)),h.classList.add(j.UI_DIMMER_BULB_LIGHT),a.appendChild(h),c||(c=a.classList.contains(j.UI_DIMMER_BULB),f.bulb||(f.bulb=c)),d(a,f.bulb),this._refreshValue(a),a},l._destroy=function(){this._observer.disconnect(),this.element.innerHTML=""},l._refreshValue=function(a){var b,c,d,e,f,g,h=this,i=h.options,k=i.value,l=i.min,m=i.max,n=[],o=[];if(a=a||h.element,b=a.querySelector(".ui-dimmer-text"),!i.bulb)return k=parseInt(k,10),c=k/m,a.style.border="60px solid rgba(0, 151, 216, "+c+")",b.innerHTML=k+"%",!0;if(i.bulb&&i.options)for(d=i.options.replace(/\s+/g,"").split(";").filter(function(a){return a&&a.length>0}),d.forEach(function(a){e=a.split(":"),o.push(e[0]),n.push(e[1])}),f=a.querySelector("."+j.UI_DIMMER_BULB_LIGHT),o.unshift(l),g=0;g<o.length;g++)if(g>0&&k<o[g]&&k>o[g-1])return f.style.backgroundColor=n[g-1],!0;return!1},l._setValue=function(a,b){var c=this,d=c.options;return a instanceof HTMLElement||(b=a,a=c.element),b<d.min?b=d.min:b>d.max&&(b=d.max),d.value=b,a.setAttribute("value",b),c._refreshValue(),!1},l._setBulb=function(a,b){return this.options.bulb=b,!0},l._getValue=function(){return parseInt(this.element.getAttribute("value"),10)},c.widget.core.Dimmer=g,c.engine.defineWidget("Dimmer","."+j.UI_DIMMER,[],g,"core")}(a,a.document,d),function(a,b){var c=b.widget.BaseWidget,d=b.widget.core.BaseKeyboardSupport,e=d.KEY_CODES,f=b.engine,g=b.event,h=function(){this.element=null,d.call(this)},i={checkbox:"ui-checkbox",focus:"ui-checkbox-focus",active:"ui-checkbox-active",backwardAnimation:"ui-checkbox-backward-animation"},j=new c;h.prototype=j,j._build=function(a){return"checkbox"===a.getAttribute("type")&&a.classList.add(i.checkbox),a},j._getValue=function(){return this.element.value},j._setValue=function(a){this.element.value=a},j._focus=function(){var a=this,b=a.element;b.focus()},j._blur=function(){var a=this,b=a.element;b.blur()},j._onFocus=function(){var a=this,c=a.element;b.getConfig("keyboardSupport",!1)&&c.classList.add(i.focus)},j._onBlur=function(){var a=this,c=a.element;b.getConfig("keyboardSupport",!1)&&c.classList.remove(i.focus)},j._onTouchStart=function(){this.element.classList.add(i.active)},j._onTouchEnd=function(){this.element.classList.remove(i.active)},j._onKeyUp=function(a){var b=this,c=b.element;a.keyCode===e.enter&&(g.trigger(c,"input"),c.checked=!c.checked,g.trigger(c,"change"))},j._onAnimationEnd=function(a){a.target.classList.toggle(i.backwardAnimation,a.target.checked)},j._bindEvents=function(a){var b=this;b._focusCallbackBound=b._onFocus.bind(b),b._blurCallbackBound=b._onBlur.bind(b),b._keyupCallbackBound=b._onKeyUp.bind(b),b._onTouchStart=b._onTouchStart.bind(b),b._onTouchEnd=b._onTouchEnd.bind(b),a.addEventListener("focus",b._focusCallbackBound,!1),a.addEventListener("blur",b._blurCallbackBound,!1),a.addEventListener("keyup",b._keyupCallbackBound,!1),a.addEventListener("vmousedown",b._onTouchStart,!1),a.addEventListener("vmouseup",b._onTouchEnd,!1),g.on(a,"animationend animationEnd webkitAnimationEnd",b._onAnimationEnd,!1)},j._unbindEvents=function(a){var b=this;a.removeEventListener("focus",b._focusCallbackBound,!1),a.removeEventListener("blur",b._blurCallbackBound,!1),a.removeEventListener("keyup",b._keyupCallbackBound,!1),a.removeEventListener("vmousedown",b._onTouchStart,!1),a.removeEventListener("vmouseup",b._onTouchEnd,!1)},b.widget.core.Checkbox=h,d.registerActiveSelector("input[type='checkbox'], input.ui-checkbox"),f.defineWidget("Checkbox","input[type='checkbox']:not(.ui-slider-switch-input):not([data-role='toggleswitch']):not([data-role='on-off-switch']):not(.ui-toggleswitch):not(.ui-toggle-switch):not(.ui-on-off-switch), input.ui-checkbox",[],h,"core",!1,!1,HTMLInputElement)}(a.document,d),function(a,b){var c=b.widget.BaseWidget,d=b.engine,e=b.widget.core.BaseKeyboardSupport,f=e.KEY_CODES,g=function(){e.call(self),this.element=null},h={radio:"ui-radio",focus:"ui-radio-focus",backwardAnimation:"ui-radio-backward-animation"},i=b.event,j=new c;g.prototype=j,j._build=function(a){return"radio"===a.getAttribute("type")&&a.classList.add(h.radio),a},j._onFocus=function(){var a=this.element;b.getConfig("keyboardSupport",!1)&&(a.focus(),a.classList.add(h.focus))},j._onBlur=function(){var a=this.element;b.getConfig("keyboardSupport",!1)&&(a.blur(),a.classList.remove(h.focus))},j._onKeyUp=function(a){var c=this.element;b.getConfig("keyboardSupport",!1)&&a.keyCode===f.enter&&(c.checked=!0,i.trigger(c,"change"))},j.handleEvent=function(a){var b=this;switch(a.type){case"focus":b._onFocus(a);break;case"blur":b._onBlur(a);break;case"keyup":b._onKeyUp(a);break;case"animationend":case"animationEnd":case"webkitAnimationEnd":b._onAnimationEnd(a)}},j._onAnimationEnd=function(a){a.target.classList.toggle(h.backwardAnimation,a.target.checked)},j._bindEvents=function(a){i.on(a,"focus blur keyup animationend animationEnd webkitAnimationEnd",this,!1)},j._unbindEvents=function(a){i.off(a,"focus blur keyup animationend animationEnd webkitAnimationEnd",this,!1)},j._getValue=function(){return this.element.value},j._setValue=function(a){this.element.value=a},b.widget.core.Radio=g,d.defineWidget("Radio","input[type='radio'], input.ui-radio",[],g,"core",!1,!1,HTMLInputElement),e.registerActiveSelector("input[type='radio'], input.ui-radio")}(a.document,d),function(a,b,c){var d=function(c,d,e){var f="";d=a.encodeURIComponent(d),f=c+"="+d,e&&e instanceof Date&&(f+=";expires="+e.toUTCString()),b.cookie=f},e=function(c){var d=b.cookie.split(";"),e="";return e=d.filter(function(a){return a.indexOf(c+"=")>-1})[0],e&&(e=a.decodeURIComponent(e.trim().replace(c+"=",""))),e};c.util.cookie={readFromCookie:e,writeToCookie:d}}(a,a.document,d),function(a,b){var c=b.widget.BaseWidget,d=b.engine,e=b.event,f={PANEL:"ui-panel",ACTIVE_PANEL:"ui-panel-active"},g={BEFORE_CREATE:"panelbeforecreate",CREATE:"panelcreate",BEFORE_SHOW:"panelbeforeshow",SHOW:"panelshow",BEFORE_HIDE:"panelbeforehide",HIDE:"panelhide",CHANGE:"panelchange"},h=function(){},i=new c;h.eventType=g,h.classes=f,h.prototype=i,i._build=function(a){var c=b.router.Router.getInstance().getRoute("panel");return a.classList.add(f.PANEL),c.setActive(a),a},i._destroy=function(a){e.trigger(a,g.HIDE)},b.widget.core.Panel=h,d.defineWidget("Panel","[data-role='panel'], .ui-panel",[],h,"core")}(a.document,d),function(a,b){function c(a){var b=this;l.on(a,"vclick",b,!1),l.prefixedFastOn(a,"animationEnd",b,!1)}function d(a){var b=this;l.off(a,"vclick",b,!1),l.prefixedFastOff(a,"animationEnd",b,!1)}var e=b.widget.BaseWidget,f=b.util.selectors,g=b.util.object,h=b.util.cookie,i=b.engine,j=b.widget.core.Page,k=b.widget.core.Panel,l=b.event,m={PANEL_CHANGER:"ui-panel-changer",PAGE:j.classes.uiPage,PANEL:k.classes.PANEL,ACTIVE_PANEL:k.classes.ACTIVE_PANEL,HEADER:"ui-header",FOOTER:"ui-footer",PRE_IN:"pre-in",IN:"-in",OUT:"-out"},n=function(){var a=this;a._ui={},a.options={},a.eventType={},a._animating=!1,a._animationClasses={},a.history=[]},o={ANIMATE:"slide",STORAGE_NAME:"panelhistory"},p=new e;n["default"]=o,n.classes=m,n.prototype=p,p._configure=function(){var a=this;g.merge(a.options,{animationType:o.ANIMATE,manageHistory:!0}),g.merge(a.eventType,k.eventType)},p._build=function(a){return a.classList.add(m.PANEL_CHANGER),a},p._init=function(a){var b=this,c=b._ui;return c.page=f.getClosestByClass(a,m.PAGE),c.header=c.page.querySelector("."+m.HEADER),c.footer=c.page.querySelector("."+m.FOOTER),c.activePanel=c.page.querySelector("."+m.ACTIVE_PANEL),c.activePanel||(c.activePanel=c.page.querySelector("[data-role='panel'], .ui-panel"),c.activePanel.classList.add(m.ACTIVE_PANEL)),c.activePanel.style.display="block",b._direction="forward",h.writeToCookie(o.STORAGE_NAME,JSON.stringify([])),b.history.push(c.activePanel.id),h.writeToCookie(o.STORAGE_NAME,JSON.stringify(b.history)),b._animationType=b.options.animationType,this._initLayout(),a},p._initLayout=function(){var a=this,b=a.element,c=a._ui,d=c.page?c.page.offsetHeight:0,e=c.header?c.header.offsetHeight:0,f=c.footer?c.footer.offsetHeight:0;b.style.height=d-e-f+"px"},p._bindEvents=function(a){c.call(this,a)},p._changePanel=function(a,b,c){var d=this,e=new XMLHttpRequest,f=a?a.split(/[#|?]+/)[0]:null;b&&(d._animationType=b),d._direction=c,e.responseType="document",e.open("GET",f),e.addEventListener("error",d._loadError),e.addEventListener("load",function(b){var e=b.target;4===e.readyState&&(200===e.status||0===e.status&&e.responseXML?d._loadSuccess(a,e.responseXML,c):d._loadError())}),e.send()},p._loadSuccess=function(a,c,d){var e,f,g,j,k=this,n=k.element,p=a.substring(a.lastIndexOf("#")),q=k.eventType,r=k._ui,s=p.length>1?n.querySelector(p):null;if(!s&&p.length>1&&(s=c.querySelector(p)||c.querySelector("[data-role='panel'], .ui-panel")),!s)return void b.warn("Panel is not existed");if(e=s.style,e.display="block",j=e.transform,e.transform="translate(-9999px, -9999px)",n.appendChild(s),r.toPanel=s,l.trigger(s,q.BEFORE_CREATE),i.createWidgets(n),l.trigger(s,q.CREATE),l.trigger(s,q.BEFORE_SHOW),l.trigger(r.activePanel,q.BEFORE_HIDE),s.classList.add(m.PRE_IN),e.display="none",e.transform=j,k.history=JSON.parse(h.readFromCookie(o.STORAGE_NAME)||"[]"),"forward"===d)k.history.push(s.getAttribute("id")),h.writeToCookie(o.STORAGE_NAME,JSON.stringify(k.history));else{for(g=k.history.length-1,f=k.history.indexOf(s.id);g>f;f++)k.history.pop();h.writeToCookie(o.STORAGE_NAME,JSON.stringify(k.history))}k._show()},p._show=function(){var a=this,b=a._ui.toPanel,c=a._ui.activePanel,d=a._animationType,e=a._animationClasses;
-a._animating=!0,c.classList.remove(m.ACTIVE_PANEL),b.style.display="block",e.IN=d+m.IN,e.OUT=d+m.OUT,c.classList.add(e.OUT),b.classList.add(e.IN),"none"===d&&a._onAnimationEnd()},p._loadError=function(){b.warn("We can't load AJAX")},p._bindEvents=function(a){c.call(this,a)},p._onClick=function(a){var b,c=this,d="a"===a.target.tagName.toLowerCase()?a.target:f.getClosestByTag(a.target,"A");!d||c._animating||d.getAttribute("data-rel")||(b=d.getAttribute("href"),c._changePanel(b,c.options.animationType,"forward"),a.preventDefault())},p._onAnimationEnd=function(){var a=this,b=a.element,c=a._ui.toPanel,d=a._ui.activePanel,e=a._animationClasses;a._animating&&(d.style.display="none",d.classList.remove(e.OUT),c.classList.add(m.ACTIVE_PANEL),c.classList.remove(m.PRE_IN),c.classList.remove(e.IN),l.trigger(d,a.eventType.HIDE),l.trigger(c,a.eventType.SHOW),l.trigger(b,a.eventType.CHANGE,{fromPanel:d,toPanel:c,direction:a._direction}),a._ui.activePanel=c,a._animating=!1)},p._onPagebeforeshow=function(){var a=b.router.Router.getInstance().getRoute("panel");a.setActive(this._ui._activePanel)},p.handleEvent=function(a){var b=this;switch(a.type){case"vclick":b._onClick(a);break;case"webkitAnimationEnd":case"mozAnimationEnd":case"msAnimationEnd":case"oAnimationEnd":case"animationend":b._onAnimationEnd(a);break;case"pagebeforeshow":b._onPagebeforeshow(a)}},p.changePanel=function(a,b,c){this._changePanel(a,b,c)},p._destroy=function(){var a=this;a._ui=null,a.options=null,a._eventType=null,d(a.element)},b.widget.core.PanelChanger=n,i.defineWidget("PanelChanger","[data-role='panel-changer'], .ui-panel-changer",["changePanel"],n,"core")}(a.document,d),function(b,d){var e=d.widget.BaseWidget,f=d.engine,g=function(){var a=this;a._activeIndex=null,a.options={}},h={indicator:"ui-page-indicator",indicatorActive:"ui-page-indicator-active",indicatorItem:"ui-page-indicator-item",indicatorDashed:"ui-page-indicator-dashed",linearIndicator:"ui-page-indicator-linear",circularIndicator:"ui-page-indicator-circular"},i={IN_CIRCLE:60,IN_LINEAR:5},j={LINEAR:"linear",CIRCULAR:"circular"},k=8,l=new e;g.classes=h,l._configure=function(){this.options={maxPage:null,numberOfPages:null,layout:"linear",intervalAngle:6,appearance:"dashed"}},l._build=function(a){var b=this,c=b.options;return b._createIndicator(a),c.layout===j.CIRCULAR&&b._circularPositioning(a),"dashed"===c.appearance&&a.classList.add(h.indicatorDashed),a},l._createIndicator=function(a){var c,e,f,g,i=this,k=i.options.numberOfPages;if(null===k)return void d.error("build error: numberOfPages is null");for(i.options.layout=i.options.layout.toLowerCase(),i.options.layout===j.CIRCULAR?(a.classList.remove(h.linearIndicator),a.classList.add(h.circularIndicator)):(a.classList.remove(h.circularIndicator),a.classList.add(h.linearIndicator)),f=i._getMaxPage(),e=f>k?k:f,c=0;e>c;c++)g=b.createElement("span"),g.classList.add(h.indicatorItem),a.appendChild(g)},l._circularPositioning=function(a){var b,c,d,e=this,f=a.children,g=f.length,h=parseFloat(e.options.intervalAngle);for(b=a.offsetWidth/2-k,d=0;g>d;d++)c="rotate("+(d*h-90-(g-1)*h*.5)+"deg) translate("+b+"px) ",f[d].style.transform=c},l._getMaxPage=function(){var a,b=this,c=b.options;return a=c.layout===j.CIRCULAR?c.maxPage||i.IN_CIRCLE:c.maxPage||i.IN_LINEAR},l._removeIndicator=function(a){a.textContent=""},l.setActive=function(b){var e,f,g,i=this,j=b,k=i.element.children,l=parseInt(i.options.numberOfPages,10),m=0,n=h.indicatorActive;if(null!==b&&b!==c){if(i._activeIndex=b,e=i._getMaxPage(),f=a.parseInt(e/2,10),l>e)m=l-e;else{if(isNaN(l))return void d.error("setActive error: numberOfPages is not a number");if(0===l)return}g=i.element.querySelector("."+n),g&&g.classList.remove(n),b>f&&f+m>=b?j=f:b>f+m&&(j=b-m),k[j].classList.add(n)}},l._refresh=function(){var a=this,b=a.element;a._removeIndicator(b),a._createIndicator(b),a.options.layout===j.CIRCULAR&&a._circularPositioning(b)},l._destroy=function(){this._removeIndicator(this.element)},g.prototype=l,d.widget.core.PageIndicator=g,f.defineWidget("PageIndicator","[data-role='page-indicator'], .ui-page-indicator",["setActive"],g,"core")}(a.document,d),function(a,b){function c(a){i.on(a.element,"input change vmouseup vmousedown",a,!1),a.isKeyboardSupport&&i.on(a.element,"focus, blur, keyup",a,!1)}function d(a){i.off(a.element,"input change vmouseup vmousedown",a,!1),a.isKeyboardSupport&&i.off(a.element,"focus, blur, keyup",a,!1)}var e=b.widget.BaseWidget,f=b.widget.core.BaseKeyboardSupport,g=b.engine,h=b.util.object.merge,i=b.event,j={type:"continues",orientation:"horizontal",expand:!1,warning:!1,warningLevel:0,disabled:!1,toggle:"",min:0,max:10,step:1,labels:!1},k=["orientation","expand","warning","warningLevel","toggle"],l=function(){var a=this;a.options=h({},j),f.call(a),a._ui={scale:null}},m={SLIDER:"ui-slider",SLIDER_VALUE:"ui-slider-value",SLIDER_HANDLER:"ui-slider-handler",SLIDER_DISABLED:"ui-disabled",SLIDER_HANDLER_VALUE:"ui-slider-handler-value",SLIDER_FOCUS:"ui-slider-focus",SLIDER_BAR:"ui-slider-bar",SLIDER_ACTIVE:"ui-slider-active",TRACK:"ui-slider-handler-track",SPACE_BEFORE:"ui-slider-before-space",SPACE_AFTER:"ui-slider-after-space",SLIDER_HAS_LABELS:"ui-slider-has-labels",LABEL:"ui-slider-label",LABEL_MIN:"ui-slider-label-min",LABEL_MAX:"ui-slider-label-max"},n=new e;l.prototype=n,l.classes=m,n._updateLevelBar=function(){var b,c,d=this,e=d._ui,f=e.scale,g=d.options,h=Math.round((g.max-g.min)/g.step)+1,i=f.children.length,j=h-i;if(j>0)for(c=0;j>c;c++)b=a.createElement("div"),b.classList.add("ui-slider-scale-dot"),f.appendChild(b);else if(0>j)for(j=-j,c=0;j>c;c++)f.removeChild(f.lastElementChild)},n._setType=function(b,c){var d=this,e=d._ui,f=e.scale,g=e.containerElement;"level-bar"===c?(f||(f=a.createElement("div"),f.classList.add("ui-slider-scale"),g.appendChild(f),e.scale=f),d._updateLevelBar()):f&&(g.remove(f),e.scale=null),g.classList.toggle("ui-slider-level-bar","level-bar"===c),d.options.type=c},n._setLabels=function(a,b){var c=this;b&&(c._ui.labelMin.innerText||(c._ui.labelMin.innerText=c.options.min),c._ui.labelMax.innerText||(c._ui.labelMax.innerText=c.options.max)),c._ui.containerElement.classList.toggle(m.SLIDER_HAS_LABELS,b),c.options.labels=b},n._build=function(b){var c=this,d=c._ui,e=a.createElement("div"),f=a.createElement("div"),g=a.createElement("div"),h=a.createElement("div"),i=a.createElement("div"),j=a.createElement("div"),k=a.createElement("div"),l=a.createElement("div"),n=a.createElement("div");return e.classList.add(m.SLIDER),f.classList.add(m.SLIDER_BAR),g.classList.add(m.SLIDER_VALUE),f.appendChild(g),h.classList.add(m.SLIDER_HANDLER),i.classList.add(m.TRACK),j.classList.add(m.SPACE_BEFORE),k.classList.add(m.SPACE_AFTER),l.classList.add(m.LABEL),n.classList.add(m.LABEL),l.classList.add(m.LABEL_MIN),n.classList.add(m.LABEL_MAX),i.appendChild(j),i.appendChild(h),i.appendChild(k),e.appendChild(i),e.appendChild(f),e.appendChild(l),e.appendChild(n),b.parentNode.appendChild(e),d.barElement=f,d.valueElement=g,d.handlerElement=h,d.containerElement=e,d.beforeSpace=j,d.afterSpace=k,d.labelMin=l,d.labelMax=n,b.parentNode.replaceChild(e,b),e.appendChild(b),c.isKeyboardSupport&&(c.preventFocusOnElement(b),e.setAttribute("data-focus-lock","true"),e.setAttribute("tabindex","0")),b},n._updateProperties=function(){var a=this,b=a.options,c=parseFloat(a.element.getAttribute("value"));a._min=b.min,a._max=b.max,a._minValue=a._min,a._maxValue=a._max,a._interval=a._max-a._min,a._value=c?c:parseFloat(a.element.value),a._previousValue=a._value},n._init=function(a){var b=this;return b._warnAboutUnsupportedOptions(),b._updateProperties(),b._setDisabled(a),b._locked=!1,b._initLayout(),a},n._warnAboutUnsupportedOptions=function(){var a=this.options;k.forEach(function(c){a[c]!==j[c]&&b.warn("The "+c+" option has no effect on Slider widget")})},n._initLayout=function(){var a=this,b=a._ui;a._setType(a.element,a.options.type),a._setLabels(a.element,a.options.labels),a._containerElementWidth=b.containerElement.offsetWidth,a._setValue(a._value)},n._setNormalValue=function(a){var b,c=this,d=c._ui;b=(a-c._min)/(c._max-c._min)*100,d.beforeSpace.style.width=b+"%",d.afterSpace.style.width=100-b+"%",d.valueElement.style.width=b+"%"},n._setValue=function(a){var b,c=this,d=c.element;c._previousValue=c._value,a<c._min?a=c._min:a>c._max&&(a=c._max),b=parseFloat(a),c._setNormalValue(a),c._previousValue!==b&&(d.setAttribute("value",b),d.value=b,c._value=b)},n._getValue=function(){return this._value},n._getContainer=function(){return this._ui.containerElement},n._setDisabled=function(a){var b=this,c=b.options;c.disabled===!0||a.disabled?b._disable(a):b._enable(a)},n._enable=function(a){a&&(this.options.disabled=!1,this._ui.containerElement&&this._ui.containerElement.classList.remove(m.SLIDER_DISABLED))},n._disable=function(a){a&&(this.options.disabled=!0,this._ui.containerElement&&this._ui.containerElement.classList.add(m.SLIDER_DISABLED))},n._bindEvents=function(){c(this)},n.handleEvent=function(a){var b=this,c=a.type;if(!this.options.disabled)switch(c){case"input":case"change":b._setValue(b.element.value);break;case"vmousedown":b._onTouchStart(a);break;case"vmouseup":b._onTouchEnd(a);break;case"keyup":b._onKeyUp(a)}},n._onTouchStart=function(){this._ui.containerElement.classList.add(m.SLIDER_ACTIVE)},n._onTouchEnd=function(){this._ui.containerElement.classList.remove(m.SLIDER_ACTIVE)},n._decreaseValue=function(){var a=this;a._setValue(a._value-(parseFloat(a.element.step)||1))},n._increaseValue=function(){var a=this;a._setValue(a._value+(parseFloat(a.element.step)||1))},n._onKeyUp=function(a){var b=this,c=f.KEY_CODES;if(b._locked)switch(a.keyCode){case c.left:b._decreaseValue();break;case c.right:b._increaseValue()}},n._refresh=function(){var a=this;a._updateProperties(),a._setDisabled(a.element),a._initLayout()},n._destroy=function(){var a=this,b=a._ui.containerElement;d(a),b.parentNode&&b.parentNode.removeChild(b),a._ui=null,a._options=null},b.widget.core.Slider=l,g.defineWidget("Slider","input[data-role='slider'], input[type='range'], input[data-type='range']",["value"],l,"core"),f.registerActiveSelector("input[data-role='slider'], input[type='range'], input[data-type='range'], .ui-slider-handler")}(a.document,d),function(a,b){b.widget.core.progress=b.widget.core.progress||{}}(a.document,d),function(a,b){b.widget.core.progress.type=b.widget.core.progress.type||{}}(a,d),function(a,b){b.widget.core.progress.type["interface"]={build:function(){},init:function(){},refresh:function(){},changeValue:function(){},destroy:function(){}}}(a.document,d),function(a,b){function c(a){var b=a._ui,c=a.options,d=100*c.value/(c.max-c.min);b.indeterminateBarElement.style.width=d+"%"}var d=b.util.object,e=b.widget.core.progress.type,f=e["interface"],g={uiIndeterminatebar:"ui-indeterminate-bar",uiIndeterminatebarIndeterminate:"ui-indeterminate-bar-indeterminate"};e.indeterminatebar=d.merge({},f,{build:function(b,c){var d,e={},f=c;return d=a.createElement("div"),f.classList.add(g.uiIndeterminatebar),d.classList.add(g.uiIndeterminatebarIndeterminate),f.appendChild(d),e.indeterminateBarElement=d,b._ui=e,f},init:function(a,b){var d=a._ui,e=b;d.indeterminateBarElement=d.indeterminateBarElement||e.querySelector("."+g.uiIndeterminatebarActivity),c(a)},refresh:function(a){c(a)},changeValue:function(a){c(a)}})}(a.document,d),function(a,b){function c(a,b){switch(a.classList.contains(g.uiIndeterminateCircle)||a.classList.add(g.uiIndeterminateCircle),a.classList.remove(g.uiIndeterminateCircleSmallTitle),a.classList.remove(g.uiIndeterminateCircleSmall),a.classList.remove(g.uiIndeterminateCircleMedium),a.classList.remove(g.uiIndeterminateCircleLarge),b){case"small-title":a.classList.add(g.uiIndeterminateCircleSmallTitle);break;case"small":a.classList.add(g.uiIndeterminateCircleSmall);break;case"medium":a.classList.add(g.uiIndeterminateCircleMedium);break;case"large":a.classList.add(g.uiIndeterminateCircleLarge);break;default:a.classList.add(g.uiIndeterminateCircleMedium)}}var d=b.util.object,e=b.widget.core.progress.type,f=e["interface"],g={uiIndeterminateCircle:"ui-indeterminate-circle",uiIndeterminateCircleSmallTitle:"ui-indeterminate-circle-small-title",uiIndeterminateCircleSmall:"ui-indeterminate-circle-small",uiIndeterminateCircleMedium:"ui-indeterminate-circle-medium",uiIndeterminateCircleLarge:"ui-indeterminate-circle-large"};e.indeterminatecircle=d.merge({},f,{build:function(){},init:function(a,b){var d=a.options,e=d.size;c(b,e)},refresh:function(a){var b=a.element,d=a.options.size;c(b,d)}})}(a.document,d),function(a,b){function c(a,b){a.setAttribute("aria-valuenow",b.value),a.setAttribute("aria-valuemin",b.min),a.setAttribute("aria-valuemax",b.max)}function d(a){var b=a._ui,c=a.options,d=100*c.value/(c.max-c.min);b.progressBarValueElement.style.width=d+"%"}function e(a){var b=a._ui,c=a.options;b.labelCurrentValue&&(b.labelCurrentValue.textContent=c.value),b.labelMinValue&&(b.labelMinValue.textContent=c.min),b.labelMaxValue&&(b.labelMaxValue.textContent=c.max)}var f=b.util.object,g=b.widget.core.progress.type,h=g["interface"],i={uiProgressbar:"ui-progress-bar",uiProgressbarValue:"ui-progress-bar-value",uiProgressbarValueBg:"ui-progress-bar-value-bg",uiProgressbarLabelsTop:"ui-progress-bar-labels-top",uiProgressbarLabelsBottom:"ui-progress-bar-labels-bottom",labelCurrentValue:"ui-progress-current-value",labelMinValue:"ui-progress-min-value",labelMaxValue:"ui-progress-max-value"},j=function(a,b){return[{start:0,end:800,callback:function(a,c){b.call(this,a,c)}}]};g.bar=f.merge({},h,{build:function(b,c){var d,e,f,g,h={};return c.classList.add(i.uiProgressbar),d=a.createElement("div"),d.classList.add(i.uiProgressbarValue),e=a.createElement("div"),e.classList.add(i.uiProgressbarValueBg),f=a.createElement("div"),f.classList.add(i.uiProgressbarLabelsTop),g=a.createElement("div"),g.classList.add(i.uiProgressbarLabelsBottom),e.appendChild(d),c.appendChild(f),c.appendChild(e),c.appendChild(g),h.progressBarValueElement=d,h.progressBarValueBg=e,h.labelsTop=f,h.labelsBottom=g,b._ui=h,c},init:function(a,b){var f=a._ui,g=a.options,h=[],j=[];h=[].slice.call(b.querySelectorAll(".ui-progress-bar-label-right-top")),j=[].slice.call(b.querySelectorAll(".ui-progress-bar-label-left-bottom, .ui-progress-bar-label-right-bottom")),h=h.concat([].slice.call(b.parentElement.querySelectorAll(".ui-progress ~ .ui-progress-bar-label-right-top"))),j=j.concat([].slice.call(b.parentElement.querySelectorAll(".ui-progress ~ .ui-progress-bar-label-left-bottom, .ui-progress ~ .ui-progress-bar-label-right-bottom"))),h.forEach(function(a){f.labelsTop.appendChild(a)}),j.forEach(function(a){f.labelsBottom.appendChild(a)}),f.progressBarValueElement=f.progressBarValueElement||b.querySelector("."+i.uiProgressbarValue),f.labelCurrentValue=b.querySelector("."+i.labelCurrentValue),f.labelMinValue=b.querySelector("."+i.labelMinValue),f.labelMaxValue=b.querySelector("."+i.labelMaxValue),c(b,g),d(a),e(a)},refresh:function(a){c(a.element,a.options),d(a),e(a)},changeValue:function(a,b,c){var d,f=1850,h=a._ui.progressBarValueElement,i=100*b/(a.options.max-a.options.min),k=100*c/(a.options.max-a.options.min);a._isAnimating||(d=j(f,function(a,b){h.style.width=i+(k-i)*a/b+"%"}),a._animate(f,function(a){d.forEach(function(b){a>=b.start&&a<=b.end?b.callback(a-b.start,b.end-b.start):a>b.end&&b.callback(1,1)})},function(){a.options.value!==c&&g.bar.changeValue(a,c,a.options.value)})),e(a)},destroy:function(a,b){var c=a._ui;return[].slice.call(c.labelsTop.children).forEach(function(a){b.appendChild(a)}),[].slice.call(c.labelsBottom.children).forEach(function(a){b.appendChild(a)}),c.progressBarValueBg.parentElement.removeChild(c.progressBarValueBg),c.labelsTop.parentElement.removeChild(c.labelsTop),c.labelsBottom.parentElement.removeChild(c.labelsBottom),!0}})}(a.document,d),function(a,b){function c(a){var b,c=a.options,d=100*c.value/(c.max-c.min),e=a._ui;d>=50?e.progressValue.classList.add(j.uiProgressCircleHalf):e.progressValue.classList.remove(j.uiProgressCircleHalf),b=360*(d/100),e.progressValueLeft.style.webkitTransform="rotate3d(0.0, 0.0, 1.0, "+b+"deg)"}function d(a){var b=a.options.size,c=parseFloat(b),d=a._ui;if(isNaN(c)){switch(b){case"full":case"large":case"medium":case"small":d.progressContainer.classList.add("ui-progress-circle-"+b)}d.progressContainer.style.fontSize=g.getCSSProperty(d.progressContainer,"width",0,"float")+"px"}else d.progressContainer.style.fontSize=b+"px",d.progressContainer.style.width=b+"px",d.progressContainer.style.height=b+"px"}function e(a){a.progressValue.classList.remove(j.uiProgressbarHalf),a.progressValueLeft.style.webkitTransform=""}var f=b.util.object,g=b.util.DOM,h=b.widget.core.progress.type,i=h["interface"],j={uiProgressCircle:"ui-progress-circle",uiProgressCircleBg:"ui-progress-circle-bg",uiProgressCircleValue:"ui-progress-circle-value",uiProgressCircleValueLeft:"ui-progress-circle-value-left",uiProgressCircleValueRight:"ui-progress-circle-value-right",uiProgressCircleHalf:"ui-progress-circle-half"};h.circle=f.merge({},i,{build:function(b,c){var d,e,f,g,h={},i=c;return h.progressContainer=i,h.progressValueBg=d=a.createElement("div"),h.progressValue=e=a.createElement("div"),h.progressValueLeft=f=a.createElement("div"),h.progressValueRight=g=a.createElement("div"),i.className=j.uiProgressCircle,d.className=j.uiProgressCircleBg,e.className=j.uiProgressCircleValue,f.className=j.uiProgressCircleValueLeft,g.className=j.uiProgressCircleValueRight,e.appendChild(f),e.appendChild(g),i.appendChild(e),i.appendChild(d),b._ui=h,c},init:function(a,b){var e=a._ui;e.progressContainer=e.progressContainer||b,e.progressValueBg=e.progressValueBg||b.querySelector("."+j.uiProgressCircleBg),e.progressValue=e.progressValue||b.querySelector("."+j.uiProgressCircleValue),e.progressValueLeft=e.progressValueLeft||b.querySelector("."+j.uiProgressCircleValueLeft),e.progressValueRight=e.progressValueRight||b.querySelector("."+j.uiProgressCircleValueRight),d(a),c(a)},refresh:function(a){e(a._ui),d(a),c(a)},changeValue:function(a){c(a)}})}(a.document,d),function(a,b){function c(a){a.refresh()}var d=b.widget.BaseWidget,e=b.event,f=b.engine,g=b.util,h=b.util.selectors,i=b.util.object,j=b.widget.core.Page,k={CHANGE:"change"},l={PROGRESS_BAR:"bar",PROGRESS_CIRCLE:"circle",INDETERMINATE_BAR:"indeterminatebar",INDETERMINATE_CIRCLE:"indeterminatecircle"},m={SMALL_HEADER:"small-header",SMALL:"small",MEDIUM:"medium",LARGE:"large",FULL:"full"},n=function(){var a=this;a.options=i.merge({},n.defaults),a._ui={},a._type=null,a._progress=null,a._isAnimating=!1,a._callbacks={}},o={uiProgress:"ui-progress"},p={type:l.PROGRESS_BAR,size:m.MEDIUM,value:100,min:0,max:100},q=new d;return n.prototype=q,n.classes=o,n.events=k,n.defaults=p,q._build=function(a){var c=this,d=c.options;return c._type=d.type,a.classList.add(o.uiProgress),c._progress=b.widget.core.progress.type[d.type],c._progress.build(c,a),a},q._init=function(a){var b=this;return b._progress.init(b,a),a.setAttribute("value",b.options.value),a},q._refresh=function(a){var c=this,d=c.options;return c._type!==d.type?(c._destroy(),b.widget.Progress(a,{type:d.type})):(c._progress.refresh(c),c._setValue(c.options.value),a)},q._setValue=function(a){var b=this,c=b.options,d=b.element;return b._oldValue=c.value,"number"==typeof a?(a=Math.min(c.max,Math.max(c.min,a)),a!==b._oldValue&&(c.value=a,b.isCustomElement||d.setAttribute("data-value",a),d.setAttribute("value",a),e.trigger(d,k.CHANGE),b._progress.changeValue(b,b._oldValue,a)),!0):!1},q._getValue=function(){return parseInt(this.element.getAttribute("value"),10)},q._animate=function(a,b,c){var d=this,e=null,f=function(h){var i=0;null===e&&(e=h),i=h-e,b(i),d._isAnimating&&a>i?g.requestAnimationFrame(f):(d._isAnimating=!1,c())};d._isAnimating=!0,g.requestAnimationFrame(f)},q._bindEvents=function(){var a=this,b=a.element,d=h.getClosestByClass(b,j.classes.uiPage);a._ui.page=d,a._callbacks.onPageBeforeShow=c.bind(null,a),d.addEventListener(j.events.BEFORE_SHOW,a._callbacks.onPageBeforeShow,!1)},q._unbindEvents=function(){var a=this;a._callbacks.onPageBeforeShow&&a._ui.page.removeEventListener(j.events.BEFORE_SHOW,a._callbacks.onPageBeforeShow,!1)},q._destroy=function(){var a=this,b=a.element;if(this._unbindEvents(),!a._progress.destroy(a,b))for(;b.firstChild;)b.removeChild(b.firstChild);return a._ui=null,a._oldValue=null,b},b.widget.core.progress.Progress=n,f.defineWidget("Progress","[data-role='progress'], .ui-progress",[],n,"core"),n}(a.document,d),function(a,b){var c=b.widget.BaseWidget,d=b.engine,e=b.event,f={CARD:"ui-card"},g=function(){this._ui={},this.options={src:""}},h=/([^/])+$/,i={LINKS:"link[href]",IMAGES:"img[src]"},j=new c;g.classes=f,g.prototype=j,j._build=function(a){return a.classList.add(f.CARD),a},j._init=function(a){var c=b.router.Router.getInstance();return""!==this.options.src&&c.open(this.options.src,{rel:"card",card:this}),a},j._include=function(c,d){var e,f,g,j,k,l=this.element;return c.parentNode&&c.ownerDocument===a||(e=c.querySelectorAll(i.LINKS),e.forEach(function(a){0===a.href.indexOf(b.util.path.parseLocation(d.url).domain)&&(k=b.util.path.parseLocation(d.url),j=a.href.replace(k.domain,"").replace(k.directory,""),b.util.load.cssSync(a.href,function(a){b.util.load.addElementToHead(a,!0)},function(a,c){b.warn("There was a problem when loading, status: "+c)})),a.parentElement.removeChild(a)}),c=b.util.importEvaluateAndAppendElement(c,l),d&&d.url&&(k=b.util.path.parseLocation(d.url),g=d.url.replace(h,""),f=c.querySelectorAll(i.IMAGES),f.forEach(function(a){0===a.src.indexOf(b.util.path.parseLocation(d.url).domain)&&(j=a.src.replace(k.domain,"").replace(k.directory,""),a.src=g+j)}))),c},j.changeContent=function(a,c){var d=this;d.element.parentElement?(a=d._include(a,c),b.engine.createWidgets(a),e.trigger(a,"cardcontentchange")):e.trigger(a,"cardcontentabort")},j._destroy=function(){this._unbindEvents()},b.widget.core.Card=g,d.defineWidget("Card",".ui-card",[],g,"core")}(a.document,d),function(a,b,d){var e=d.util.object,f=d.event,g=d.util.selectors,h=d.widget.core.Page,i=Math.min,j=Math.max,k={COLLAPSED:56,EXPANDED:56},l={EXPANDED:"EXPANDED",COLLAPSED:"COLLAPSED",DRAGGING:"DRAGGING"},m=579,n=function(){var a=this;a.options=e.merge({},n.defaults),a._ui={titleContainer:null,leftIconsContainer:null,actionButtonsContainer:null,page:null,selectAll:null,bottomBar:null,instantContainers:[]},a._expandedHeight=k.EXPANDED,a._appbarState=l.COLLAPSED,a._dragStartingHeight=0,a._currentHeight=0,a._instantContainersHeight=0,a._scrolledToTop=!0,a._lockExpanding=!1,a._calculateExtendedHight()},o=d.widget.BaseWidget,p=new o,q="ui-appbar",r={title:q+"-title",leftIconsContainer:q+"-left-icons-container",actionButtonsContainer:q+"-action-buttons-container",instantContainer:q+"-container",titleContainer:q+"-title-container",hasMultilineTitle:q+"-has-multiline",hasSubtitle:q+"-has-subtitle",expanded:q+"-expanded",dragging:q+"-dragging",controlsContainer:q+"-controls-container",expandedTitleContainer:q+"-expanded-title-container",animationFast:q+"-animation-fast",selectAll:"ui-label-select-all",bottomBar:"ui-bottom-bar",hidden:"ui-hidden"},s={leftIconsContainer:{selector:"."+r.leftIconsContainer,"class":r.leftIconsContainer,position:0},titleContainer:{selector:"."+r.titleContainer,"class":r.titleContainer,position:1},actionButtonsContainer:{selector:"."+r.actionButtonsContainer,"class":r.actionButtonsContainer,position:2}},t={IS_CHECKED:".ui-listview li > input[type='checkbox']:checked",IS_NOT_CHECKED:".ui-listview li > input[type='checkbox']:not(:checked)"},u={titleType:"singleLine",expandingEnabled:!0,animation:!0};n.prototype=p,n.defaults=u,n.classes=r,n.selector=".ui-appbar,.ui-header,header,[data-role='header']",p._init=function(a){var b=this;b._initExpandedContainer(a),b._setAnimation(a,b.options.animation),b._appbarState=l.COLLAPSED,b._validateExpanding(),b._ui.page=g.getClosestBySelector(a,h.selector),b._ui.selectAll=a.querySelector("."+r.selectAll+" input[type='checkbox']"),b._ui.bottomBar=b._ui.page.querySelector("."+r.bottomBar)},p._build=function(a){var b=this;return b._createContainers(a),b._findInstantContainers(a),b._readTitleType(a),b._setTitleType(a,b.options.titleType),a},p._calculateInstantContainers=function(a){var b=this,c=0;return a.style.height="auto",b._ui.instantContainers.forEach(function(a){c+=a.offsetHeight}),c},p._updateAppbarDimensions=function(a){var b=this,c=b._instantContainersHeight,d=b._ui.controlsContainer;c>0&&(b._calculateExtendedHight(),b._expandedHeight+=c,b._currentHeight+=c,d&&(d.style.bottom=c+"px"),b._instantContainersHeight=c),a.style.height=k.COLLAPSED+b._instantContainersHeight+"px"},p._findInstantContainers=function(a){var b=this;b._ui.instantContainers=[].slice.call(a.querySelectorAll("."+r.instantContainer)),b._instantContainersHeight=b._calculateInstantContainers(a),b._updateAppbarDimensions(a)},p.addInstantContainer=function(a){var b=this;a&&a instanceof HTMLElement?(a.classList.add(r.instantContainer),b.element.appendChild(a),b.refresh()):d.warn("AppBar: method addInstantContainer needs argument")},p.removeInstantContainer=function(a){var b=this;a&&a instanceof HTMLElement?a.parentElement&&(a.parentElement.removeChild(a),b.refresh()):d.warn("AppBar: method removeInstantContainer needs argument")},p._refresh=function(a){var b=this;a=a||b.element,b._findInstantContainers(a),b._ui.instantContainers.forEach(function(a){d.engine.createWidgets(a)})},p._calculateExtendedHight=function(){var b=this,c=a.screen.height,d=a.screen.width,e=12;c>=580&&960>c&&d>c?b._expandedHeight=.3*c-e:c>=580&&960>c&&c>=d?b._expandedHeight=.3967*c-e:c>=960?b._expandedHeight=.25*c-e:b._expandedHeight=k.EXPANDED},p._initExpandedContainer=function(a){var c=this._ui,d=a.querySelector("."+r.expandedTitleContainer);d||(d=b.createElement("div"),d.classList.add(r.expandedTitleContainer),[].slice.call(c.titleContainer.children).forEach(function(a){d.appendChild(a.cloneNode(!0))})),c.expandedTitleContainer=d,a.insertBefore(d,c.controlsContainer)},p._createContainers=function(a){var c=this._ui;c.controlsContainer=b.createElement("div"),c.controlsContainer.classList.add(r.controlsContainer),a.appendChild(c.controlsContainer),Object.keys(s).forEach(function(d){var e=s[d],f=a.querySelector(e.selector);f||(f=b.createElement("div"),f.classList.add(e["class"]),a.appendChild(f)),c[d]=f}),Object.keys(s).sort(function(a,b){return s[a].position-s[b].position}).forEach(function(a){c.controlsContainer.appendChild(c[a])})},p._bindEvents=function(){var b=this;d.event.enableGesture(b._ui.page,new d.event.gesture.Drag),f.on(b._ui.page,"scrollboundary drag dragstart dragend scrollstart change pagebeforeshow popupshow popuphide",b),a.addEventListener("resize",b,!1)},p.handleEvent=function(a){var b=this;switch(a.type){case"scrollboundary":b._onScrollBoundary(a);break;case"drag":b._onDrag(a);break;case"dragstart":b._onDragStart(a);break;case"dragend":b._onDragEnd(a);break;case"scrollstart":b._onScrollStart(a);break;case"change":b._onChange(a);break;case"pagebeforeshow":b._onPageBeforeShow();break;case"popupshow":b._onPopupShow();break;case"popuphide":b._onPopupHide();break;case"resize":b._onResize()}},p._onPageBeforeShow=function(){var a=this,b=a._ui;b.selectAll&&(a._triggerSelectAll(),b.bottomBar&&a._toggleBottomBar(!!b.page.querySelector(t.IS_CHECKED)),a._updateTitle())},p._onPopupShow=function(){this.options.expandingEnabled=!1},p._onPopupHide=function(){this.options.expandingEnabled=!0},p._onScrollStart=function(){this._scrolledToTop=!1},p._onScrollBoundary=function(a){var b=this,c=a&&a.detail&&a.detail.direction;b._scrolledToTop="top"===c,f.one(b._ui.page,"scrollstart",b._onScrollStart.bind(b))},p._onDragStart=function(a){var b=this;!b._lockExpanding&&b.options.expandingEnabled&&("down"===a.detail.direction&&b._appbarState==l.COLLAPSED&&b._scrolledToTop||"up"===a.detail.direction&&b._appbarState==l.EXPANDED)&&(b._appbarState=l.DRAGGING,b.element.classList.add(r.dragging),b._dragStartingHeight=b.element.getBoundingClientRect().height,b._expandedTitleHeight=0,[].slice.call(b._ui.expandedTitleContainer.children).forEach(function(a){b._expandedTitleHeight+=a.offsetHeight}))},p._setTitlesOpacity=function(a){var b=this,c=b._ui,d=c.titleContainer,e=c.expandedTitleContainer;d.style.opacity=1-a,e.style.opacity=a},p.expand=function(){var a=this,b=a.element;b.style.height=a._expandedHeight+"px",b.classList.add(r.expanded),a._appbarState=l.EXPANDED,a._setTitlesOpacity(1),f.trigger(b,"appbarexpanded")},p._onTransitionEnd=function(){f.trigger(this.element,"appbartransitionend")},p.collapse=function(){var a=this,b=a.element;a._currentHeight=a._instantContainersHeight,b.style.height=k.COLLAPSED+a._instantContainersHeight+"px",b.classList.remove(r.expanded),a._appbarState=l.COLLAPSED,a._setTitlesOpacity(0),f.trigger(b,"appbarcollapsed"),f.one(b,"transitionend transitionEnd webkitTransitionEnd",a._onTransitionEnd.bind(a),!1)},p.lockExpanding=function(a){this._lockExpanding=!!a},p._onDragEnd=function(){var a,b=this;!b._lockExpanding&&b.options.expandingEnabled&&(a=(k.COLLAPSED+b._expandedHeight)/2,b.element.classList.remove(r.dragging),b._currentHeight>a?b.expand():b.collapse())},p._onDrag=function(a){var b=this,d=a&&a.detail&&a.detail.deltaY,e=b._dragStartingHeight+(d!==c?d:0),f=0;b._lockExpanding||b._appbarState!==l.DRAGGING||(e=i(e,b._expandedHeight),e=j(e,k.COLLAPSED),b._currentHeight!==e&&(b._currentHeight=e,b.element.style.height=e+"px",f=e-k.COLLAPSED,f>b._expandedTitleHeight?b._setTitlesOpacity(f/(b._expandedHeight-k.COLLAPSED)):b._setTitlesOpacity(0)))},p._validateExpanding=function(){var b=this;a.screen.height<=m?b._lockExpanding=!0:b._lockExpanding=!1},p._onResize=function(){this._validateExpanding()},p._triggerSelectAll=function(){var a=this;f.trigger(a.element,"select-all",{checked:a._ui.selectAll.checked})},p._toggleSelectAll=function(a){var b=this._ui.selectAll;b&&(b.checked=a,a?b.setAttribute("checked","checked"):b.removeAttribute("checked"))},p._toggleBottomBar=function(a){this._ui.bottomBar.classList.toggle(r.hidden,!a)},p._getNumberOfChecked=function(){return this._ui.page.querySelectorAll(t.IS_CHECKED).length},p._onChange=function(a){var b=a.target,c=this,d=c._ui,e=c._ui.page;d.selectAll&&"INPUT"===b.tagName&&(b===d.selectAll?c._triggerSelectAll():c._toggleSelectAll(!e.querySelector(t.IS_NOT_CHECKED)),d.bottomBar&&c._toggleBottomBar(!!e.querySelector(t.IS_CHECKED)),d.selectAll&&c._updateTitle())},p._updateTitle=function(){var a=[].slice.call(this.element.querySelectorAll("."+r.title)),b=this._getNumberOfChecked();a.forEach(function(a){a.textContent=0===b?"Select items":b+" selected"})},p._unbindEvents=function(){var b=this;f.off(b._ui.page,"scrollboundary drag dragstart dragend scrollstart change pagebeforeshow popupshow popuphide",b),a.removeEventListener("resize",b,!1)},p._destroy=function(){var a=this;a._unbindEvents()},p._readTitleType=function(){var a=this,b=a._ui.titleContainer;b.classList.contains(r.hasMultilineTitle)&&(a.options.titleType="multiline"),b.classList.contains(r.hasSubtitle)&&(a.options.titleType="subtitle")},p._setTitleType=function(a,b){var c=this,d=c._ui.titleContainer;switch(d.classList.remove(r.hasMultilineTitle,r.hasSubtitle),b){case"multiline":d.classList.add(r.hasMultilineTitle);break;case"subtitle":d.classList.add(r.hasSubtitle);break;case"singleLine":}},p._setExpandingEnabled=function(a,b){var c=this;c.options.expandingEnabled!==b&&(c.options.expandingEnabled=b,b||c._appbarState===l.COLLAPSED||c.collapse())},p._setAnimation=function(a,b){this.options.animation=b,a.classList.toggle(r.animationFast,!b)},d.widget.core.Appbar=n,d.engine.defineWidget("Appbar",n.selector,[],n,"core")}(a,a.document,d),function(a,b,c){var d=c.widget.BaseWidget,e=c.engine,f=function(){this._ui={}},g=["width","height","position","scale","rotation","controls","autoplay","light","src","show","hide","mtl"],h=new d;f.prototype=h,h._init=function(a){var b=this;return b.observer=new MutationObserver(b._attributeChange.bind(this)),b.observer.observe(a,{attributes:!0}),a},h._attributeChange=function(a){
-var b=this;a.forEach(function(a){var c,d=a.attributeName;-1!==g.indexOf(d)&&(c=a.target,c.hasAttribute(d)?b._ui.rType.setAttribute(d,c.attributes[d].value):b._ui.rType.removeAttribute(d))})},h._build=function(a){var c,d=b.createElement("r-type"),e=a.attributes;for(c=0;c<e.length;c++)-1!==g.indexOf(e[c].name)&&d.setAttribute(e[c].name,e[c].value);return this._ui.rType=d,a.appendChild(d),a},h._destroy=function(){var a=this,b=a._ui,c=b.rType;c&&c.parentNode&&c.parentNode.removeChild(c),this.observer.disconnect()},c.widget.core.Interactive3D=f,e.defineWidget("Interactive3D",".ui-i3d",[],f,"core")}(a,a.document,d),function(a,b,c){var d=c.util.object,e=function(){this.options=d.merge({},e.defaults),this.observer=null},f={value:"coverflow"},g=c.widget.BaseWidget,h=new g;e.prototype=h,e.defaults=f,h._init=function(a){var b=this;return a.getAttribute("value")||a.setAttribute("value",b.options.value),b.observer=new MutationObserver(b._checkEffectChange.bind(this)),b.observer.observe(a,{attributes:!0}),a},h._checkEffectChange=function(a){a.forEach(function(a){"data-effect"===a.attributeName&&this.element.getAttribute("data-effect")&&(this.options.value=this.element.getAttribute("data-effect"),this._refresh())}.bind(this))},h._refresh=function(){var a=this;a._setValue(a.options.value)},h._setValue=function(b){this.ui={},this.ui.$element=a.jQuery(this.element).flipster({style:b,spacing:-.5})},h._build=function(b){return b.getAttribute("data-effect")&&(this.options.value=b.getAttribute("data-effect")),this.ui={},a.jQuery&&"function"==typeof a.jQuery.fn.flipster?this.ui.$element=a.jQuery(b).flipster({style:this.options.value,spacing:-.5}):c.warn("JQuery or flipster.js not exists"),b},h._destroy=function(){this.observer.disconnect()},c.engine.defineWidget("CoverFlow",".ui-coverflow",[],e,"core")}(a,a.document,d),function(a,b,d){var e=d.util.object,f="intermittent",g="continuous",h="x",i="y",j=h,k=i,l="none",m={stackedBar:"stacked-bar",line:"line",stackedArea:"stacked-area",scatterplot:"scatterplot",bar:"bar"},n={graph:m.line,color:"#0097D8",xlabel:"",ylabel:"",axisXType:"time",axisYType:"linear",mode:f,value:[],timeAxis:j,groupKey:"label",legend:!1},o=function(){var a=this;a.options=e.merge({},o.defaults),a.data=[],a.size="",a._initialData=!0,a.split="formula",a.guide={color:{brewer:[n.color]},showGridLines:"xy",x:{nice:!1,label:{text:n.xlabel}},y:{nice:!1,label:{text:n.ylabel}}},a.dimensions={x:{type:"order",scale:"time"},y:{type:"order",scale:"linear"}},a.chart=null},p={graphContainer:"ui-graph"},q=d.widget.BaseWidget,r=new q;o.prototype=r,o.defaults=n,o.MODE={INTERMITTENT:f,CONTINUOS:g},o.TIME_AXIS={X:j,Y:k,NONE:l},r._newChart=function(b){var c=this,d=null;c.element.innerHTML="",c._rebuildCache(),d=c._prepareChartData(),c.chart=new a.tauCharts.Chart({data:[],type:c.options.graph,x:h,y:i,color:"label",size:c.size,split:c.split,guide:c.guide,dimensions:c.dimensions,plugins:c.options.legend?[a.tauCharts.api.plugins.get("legend")]:[]}),c.chart.renderTo(b),c._updateChart(d)},r._setChartAxis=function(a){var b=this,c=b.dimensions[a],d=b.options["axis"+a.toUpperCase()+"Type"];switch(c.type="order",d){case"time":case"index":c.scale="time",b.guide[a].tickFormat="day";break;case"order":c.scale="ordinal";break;case"linear":c.scale="linear"}},r._init=function(a){var b=this,c=[],d=b.guide;if(b.options.color="string"==typeof b.options.color?b.options.color.split(","):b.options.color,d.color.brewer=b.options.color,d.x.label.text=b.options.xlabel,d.y.label.text=b.options.ylabel,b._setChartAxis("x"),b._setChartAxis("y"),b.data.length=0,b.options.value){try{c=JSON.parse(b.options.value)}catch(e){}c.length>0&&(c.forEach(function(a){b._addData(a)}),b._initialData=!0)}else b._addData(0),b._initialData=!0;return b._newChart(a),a},r._build=function(b){var c=this;return a.tauCharts?(c._createDivElement(b,p.graphContainer),b):null},r._addData=function(a){var b=Date.now(),c={time:b,value:a,cache:null},d=this;d._initialData&&(d.data=[],d._initialData=!1),c.cache=d._map(c,d.data.length),d.data.push(c)},r._map=function(a,b){var d,e=[],f=a.value,g=a.time,h=this.options.timeAxis,i=this.options.axisXType,l=this.options.groupKey,m=0,n=0;if("object"==typeof f?f.x!==c?(e.push(f.x),f.y!==c&&e.push(f.y),f[l]!==c&&e.push(f[l])):Object.keys(f).forEach(function(a){e.push(f[a])}):e=[f],1===e.length){switch(i){case"time":h===j?(n=parseFloat(e[0])||0,m=g):(m=parseFloat(e[0])||0,h===k&&(n=g));break;case"index":m=b,n=parseFloat(e[0])||0}d="Series 1"}else{switch(i){case"index":m=b,n=parseFloat(e[0])||0;break;default:m=parseFloat(e[0])||0,n=parseFloat(e[1])||0}d=e[e.length-1]}return{x:m,y:n,label:d}},r._rebuildCache=function(){var a=this;a.data.forEach(function(b,c){b.cache=a._map(b,c)})},r._prepareChartData=function(){return this.data.map(function(a){return a.cache})},r._updateChart=function(a){var b=this;b.options.mode===f&&(a.length=0),b.chart.setData(a),b.element.setAttribute("data-value",JSON.stringify(a))},r._setOneValue=function(a){var b=this;return b._addData(a),b._updateChart(b._prepareChartData()),!1},r._setValue=function(a){var b=Array.isArray(a)?a:[a],c=!0,d=this;return b.forEach(function(a){!d._setOneValue(a)&&c&&(c=!1)}),c},r._getValue=function(){return this.data},r._createDivElement=function(a,c){var d=b.createElement("div");d.classList.add(c),a.appendChild(d)},r._refresh=function(){var a=this;a.guide={color:{brewer:"string"==typeof a.options.color?a.options.color.split(","):a.options.color},x:{label:{text:a.options.xlabel}},y:{label:{text:a.options.ylabel}}},a._newChart(a.element)},d.widget.core.Graph=o,d.engine.defineWidget("Graph",".ui-graph",[],o,"core")}(a,a.document,d),function(){function c(a,b,c){var d=a.element,e=d.classList,f=a._ui.overlay,g=a._callbacks.animationEnd;d.removeEventListener("animationend",g,!1),d.removeEventListener("webkitAnimationEnd",g,!1),d.removeEventListener("mozAnimationEnd",g,!1),d.removeEventListener("oAnimationEnd",g,!1),d.removeEventListener("msAnimationEnd",g,!1),b.split(" ").forEach(function(a){a=a.trim(),a.length>0&&(e.remove(a),f&&f.classList.remove(a))}),"pending"===c.state()&&c.resolve()}function e(a,b){var c=new i;return c.then(function(){c===a._callbacks.transitionDeferred&&b()}),a._callbacks.transitionDeferred=c,c}var f=d.widget.BaseWidget,g=d.engine,h=d.util.object,i=d.util.deferred,j=d.util.selectors,k=d.event,l=d.router&&d.router.Router,m=d.widget.core.BaseKeyboardSupport,n=d.widget.core.Page,o="[data-role='popup'], .ui-popup",p={transition:"none",dismissible:!0,overlay:!0,header:!1,footer:!1,content:null,overlayClass:"",closeLinkSelector:"[data-rel='back']",history:null,closeAfter:null},q={DURING_OPENING:0,OPENED:1,DURING_CLOSING:2,CLOSED:3},r="ui-popup",s={popup:r,active:r+"-active",overlay:r+"-overlay",header:r+"-header",footer:r+"-footer",content:r+"-content",wrapper:r+"-wrapper",toast:r+"-toast",toastSmall:r+"-toast-small",build:"ui-build",overlayShown:r+"-overlay-shown"},t={header:"."+s.header,content:"."+s.content,footer:"."+s.footer},u="popup",v={show:u+"show",hide:u+"hide",before_show:u+"beforeshow",transition_start:u+"transitionstart",before_hide:u+"beforehide"},w=function(){var a=this,b={};a.selectors=t,a.options=h.merge({},w.defaults),a.storedOptions=null,a.state=q.CLOSED,b.overlay=null,b.header=null,b.footer=null,b.content=null,b.container=null,b.wrapper=null,a._ui=b,a._callbacks={}},x=new f;w.classes=s,w.events=v,w.defaults=p,w.selector=o,x._buildContent=function(a){var c,d,e=this,f=e._ui,g=e.selectors,h=e.options,i=f.content||a.querySelector(g.content),j=f.footer||a.querySelector(g.footer),k=[].slice.call(a.childNodes),l=k.length;if(!i){for(i=b.createElement("div"),i.className=s.content,c=0;l>c;++c)d=k[c],d!==f.footer&&d!==f.header&&i.appendChild(d);"string"==typeof h.content&&(i.innerHTML=h.content),a.insertBefore(i,j)}i.classList.add(s.content),f.content=i},x._buildHeader=function(a){var c=this,d=c._ui,e=c.options,f=c.selectors,g=d.content||a.querySelector(f.content),h=d.header||a.querySelector(f.header);h||e.header===!1||(h=b.createElement("div"),h.className=s.header,"boolean"!=typeof e.header&&(h.innerHTML=e.header),a.insertBefore(h,g)),h&&h.classList.add(s.header),d.header=h},x._setHeader=function(a,b){var c=this,d=c._ui,e=d.header;e&&(e.parentNode.removeChild(e),d.header=null),c.options.header=b,c._buildHeader(d.container)},x._buildFooter=function(a){var c=this,d=c._ui,e=c.options,f=d.footer||a.querySelector(c.selectors.footer);f||e.footer===!1||(f=b.createElement("div"),f.className=s.footer,"boolean"!=typeof e.footer&&(f.innerHTML=e.footer),a.appendChild(f)),f&&f.classList.add(s.footer),d.footer=f},x._setFooter=function(a,b){var c=this,d=c._ui,e=d.footer;e&&(e.parentNode.removeChild(e),d.footer=null),c.options.footer=b,c._buildFooter(d.container)},x._build=function(a){var c,d=this,e=d._ui,f=a.firstChild,g=a.classList;for(g.add(s.popup),g.contains(s.toastSmall)&&g.add(s.toast),c=b.createElement("div"),c.classList.add(s.wrapper),e.wrapper=c,e.container=c;f;)c.appendChild(f),f=a.firstChild;return a.appendChild(c),d._buildHeader(e.container),d._buildFooter(e.container),d._buildContent(e.container),d._setOverlay(a,d.options.overlay),a},x._setOverlay=function(a,c){var e=this,f=e.options.overlayClass,g=e._ui,h=g.overlay;a.classList.contains("ui-slider-popup")||a.classList.contains(s.toast)||(h||(h=b.createElement("div"),a.parentNode?a.parentNode.insertBefore(h,a):d.warn("Popup is creating on element outside DOM"),g.overlay=h),h.className=s.overlay+(f?" "+f:""),c?h.style.opacity="":h.style.opacity=0)},x._isActive=function(){var a=this.state;return a===q.DURING_OPENING||a===q.OPENED},x._isOpened=function(){return this.state===q.OPENED},x._init=function(b){var c=this,d=c.selectors,e=c._ui,f=c.options,g=c.element.classList;e.header=e.header||b.querySelector(d.header),e.footer=e.footer||b.querySelector(d.footer),e.content=e.content||b.querySelector(d.content),e.wrapper=e.wrapper||b.querySelector("."+s.wrapper),e.container=e.wrapper||b,e.page=j.getClosestByClass(b,n.classes.uiPage)||a,e.pageContent="function"==typeof e.page.querySelector?e.page.querySelector("."+n.classes.uiContent):null,g.contains(s.toast)&&(f.closeAfter=f.closeAfter||2e3),null===f.history&&(f.history=!g.contains(s.toast))},x._setActive=function(a){var b,c=this,d=s.active,e=c.element.classList,f=l&&l.getInstance().getRoute("popup");b=h.merge({},c.options,{positionTo:null,link:null}),a?(f&&f.setActive(c,b),e.add(d),c.state=q.OPENED):(f&&f.setActive(null,b),e.remove(d),c.state=q.CLOSED),c._ui.content.scrollHeight>c._ui.content.clientHeight&&c._ui.footer.classList.add("bottomDivider")},x._onScroll=function(){var a=this,b=a._ui.content;0===b.scrollTop?(a._ui.header.classList.remove("topDivider"),a._ui.footer.classList.add("bottomDivider")):b.scrollHeight-b.clientHeight===b.scrollTop?(a._ui.header.classList.add("topDivider"),a._ui.footer.classList.remove("bottomDivider")):(a._ui.header.classList.add("topDivider"),a._ui.footer.classList.add("bottomDivider"))},x._bindEvents=function(){var c=this;k.on(c._ui.page,"pagebeforehide",c,!1),k.on(a,"resize",c,!1),k.on(b,"vclick",c,!1),k.on(c._ui.content,"scroll",c,!1)},x._unbindEvents=function(){var c=this;k.off(c._ui.page,"pagebeforehide",c,!1),k.off(a,"resize",c,!1),k.off(b,"vclick",c,!1),k.off(c._ui.content,"scroll",c,!1)},x._layout=function(){},x.open=function(b){var c,e=this,f=e.close.bind(e);e._isActive()||(e._storeOpenOptions(b),c=h.merge(e.options,b),c.dismissible||d.router.Router.getInstance().lock(),c.closeAfter>0?(e.element.classList.contains(s.toast)&&(c.transition="fade"),e._show(c),e._closeTimeout=a.setTimeout(f,c.closeAfter)):e._show(c))},x.close=function(a){var b=this,c=h.merge(b.options,a);b._isActive()&&(clearTimeout(b._closeTimeout),c.dismissible||d.router.Router.getInstance().unlock(),b._hide(c))},x._storeOpenOptions=function(a){var b,c=this,d=c.options,e={};for(b in a)a.hasOwnProperty(b)&&(e[b]=d[b]);c.storedOptions=e},x._restoreOpenOptions=function(){var a=this,b=a.options,c=["x","y","fromHashChange"];b=h.merge(b,a.storedOptions),h.removeProperties(b,c)},x._show=function(a){var b=this,c=h.merge({},a),d=b._ui.overlay,e=b._ui.pageContent;b._layout(b.element),b.state=q.DURING_OPENING,c.ext=" in ",b.trigger(v.before_show),d&&d.classList.toggle(s.overlayShown,!0),e&&e.classList.toggle(n.classes.uiContentUnderPopup,!0),b._transition(c,b._onShow.bind(b)),b.trigger(v.transition_start)},x._onShow=function(){var a=this;a._setActive(!0),a.isKeyboardSupport&&(a.disableFocusableElements(this._ui.page),a.enableDisabledFocusableElements(this.element),m.focusElement(this.element)),a.trigger(v.show)},x._hide=function(a){var b=this,c=b._isOpened(),d=b._callbacks,e=b._ui.pageContent;b.state=q.DURING_CLOSING,b.trigger(v.before_hide),e&&e.classList.toggle(n.classes.uiContentUnderPopup,!1),c?(a.ext=" out ",b._transition(a,b._onHide.bind(b))):(d.transitionDeferred&&d.transitionDeferred.reject(),d.animationEnd&&d.animationEnd(),b._onHide())},x._onHide=function(){var a=this,b=a._ui.overlay;a._setActive(!1),a.isKeyboardSupport&&a.enableDisabledFocusableElements(this._ui.page),b&&b.classList.toggle(s.overlayShown,!1),a._restoreOpenOptions(),a.trigger(v.hide)},x.handleEvent=function(a){var b=this,c=d.router.Router.getInstance();switch(a.type){case"pagebeforehide":c.close(null,{transition:"none",rel:"popup"});break;case"resize":b._onResize(a);break;case"vclick":a.target===b._ui.overlay&&b._onClickOverlay(a);break;case"scroll":b._onScroll(a)}},x._refresh=function(){var a=this;a._setOverlay(a.element,a.options.overlay)},x._onClickOverlay=function(a){var b=this.options;a.preventDefault(),a.stopPropagation(),b.dismissible&&d.router.Router.getInstance().close(null,{rel:"popup"})},x._onResize=function(){this._isOpened()&&this._refresh()},x._transition=function(b,f){var g,h,i,j=this,k=b.transition||j.options.transition||"none",l=k+b.ext,m=j.element,n=m.classList;return j._ui.overlay&&(g=j._ui.overlay.classList),h=e(j,f),"none"!==k?(i=c.bind(null,j,l,h),j._callbacks.animationEnd=i,m.addEventListener("animationend",i,!1),m.addEventListener("webkitAnimationEnd",i,!1),m.addEventListener("mozAnimationEnd",i,!1),m.addEventListener("oAnimationEnd",i,!1),m.addEventListener("msAnimationEnd",i,!1),l.split(" ").forEach(function(a){a=a.trim(),a.length>0&&(n.add(a),g&&g.add(a))})):d.getConfig("noAsync",!1)?h.resolve():a.setTimeout(h.resolve,0),h},x._destroy=function(){var a,b=this,c=b.element,d=b._ui,e=d.wrapper;if(e){for(a=e.firstChild;a;)c.appendChild(a),a=e.firstChild;e.parentNode&&e.parentNode.removeChild(e)}b._unbindEvents(c),b._setOverlay(c,!1),d.wrapper=null},w.prototype=x,d.widget.core.Popup=w,g.defineWidget("Popup",o,["open","close","reposition"],w,"core")}(),function(a,b,c){function d(b,c){var d,e,f,g=b.options,h=g.arrow.split(","),i=b.element,j=a.innerWidth,l=a.innerHeight,m=k.getElementWidth(i,"outer"),n=k.getElementHeight(i,"outer"),o=c.getBoundingClientRect(),p=o.left,q=o.top,r=Math.min(o.width,j-p),s=Math.min(o.height,l-q),t={l:{dir:"l",fixedPositionField:"x",fixedPositionFactor:1,size:m,max:p},r:{dir:"r",fixedPositionField:"x",fixedPositionFactor:-1,size:m,max:j-p-r},b:{dir:"b",fixedPositionField:"y",fixedPositionFactor:-1,size:n,max:q},t:{dir:"t",fixedPositionField:"y",fixedPositionFactor:1,size:n,max:l-q-s}};return d=t[h[0]]||t.t,h.forEach(function(a){var b=t[a],c=b.max;e||(b.size<c?e=b:c>d.max&&(d=b))}),e||(e=d,"x"===e.fixedPositionField?m=e.max:n=e.max),f={x:p+r/2-m/2,y:q+s/2-n/2,w:m,h:n,dir:e.dir},f[e.fixedPositionField]+=("x"===e.fixedPositionField?(m+r)*e.fixedPositionFactor:(n+s)*e.fixedPositionFactor)/2+g.distance*e.fixedPositionFactor,f.x=f.x<0?0:f.x+f.w>j?j-f.w:f.x,f.y=f.y<0?0:f.y+f.h>l?l-f.h:f.y,f}function e(b,c,d,e){var f,g,h,i=b._ui,j=i.wrapper,l=i.arrow,m=b.element,n=l.style,o=a.innerWidth,p=a.innerHeight,q=j.getBoundingClientRect(),r=l.offsetWidth/2,s={"padding-top":0,"padding-bottom":0,"padding-left":0,"padding-right":0,"border-top-width":0,"border-left-width":0,"box-sizing":null},t={"margin-top":0,"margin-bottom":0,"margin-left":0,"margin-right":0,"padding-top":0,"padding-bottom":0,"padding-left":0,"padding-right":0},u={t:{pos:d,min:"left",max:"right",posField:"x",valField:"w",styleField:"left"},b:{pos:d,min:"left",max:"right",posField:"x",valField:"w",styleField:"left"},l:{pos:e,min:"top",max:"bottom",posField:"y",valField:"h",styleField:"top"},r:{pos:e,min:"top",max:"bottom",posField:"y",valField:"h",styleField:"top"}},v=u[c.dir];return k.extractCSSProperties(m,s),k.extractCSSProperties(j,t),h="border-box"===s["box-sizing"],f={t:s["padding-top"]+t["margin-top"]+t["padding-top"],b:s["padding-bottom"]+t["margin-bottom"]+t["padding-bottom"],l:s["padding-left"]+t["margin-left"]+t["padding-left"],r:s["padding-right"]+t["margin-right"]+t["padding-right"]},q={left:f.l+c.x,right:f.l+q.width+c.x,top:f.t+c.y,bottom:q.height+f.t+c.y},q[v.min]>v.pos-r?(g=c[v.posField],g>0?(c[v.posField]=Math.max(v.pos-r,0),v.pos=c[v.posField]+r):v.pos=q[v.min]+r):q[v.max]<v.pos+r&&(g=("w"===v.valField?o:p)-(c[v.posField]+c[v.valField]),g>0?(c[v.posField]+=Math.min(g,v.pos+r-q[v.max]),v.pos=c[v.posField]+c[v.valField]-r):v.pos=q[v.max]-r),n[v.styleField]=v.pos-r-c[v.posField]-(h?s["border-"+v.styleField+"-width"]:0)+"px",c}function f(a,b){var c=b.getBoundingClientRect(),d={};switch(a){case"l":d.x=c.right,d.y=c.top+c.height/2;break;case"r":d.x=c.left,d.y=c.top+c.height/2;break;case"t":d.x=c.left+c.width/2,d.y=c.bottom;break;case"b":d.x=c.left+c.width/2,d.y=c.top}return d}var g=c.widget.core.Popup,h=g.prototype,i=c.engine,j=c.util.object,k=c.util.DOM,l={arrow:"l,b,r,t",positionTo:"window",positionOriginCenter:!1,distance:0,link:null},m=function(){var a,b=this;g.call(b),b.options=j.merge(b.options,l),a=b._ui||{},a.arrow=null,b._ui=a},n="ui-popup",o=j.merge({},g.classes,{context:"ui-ctxpopup",contextOverlay:"ui-ctxpopup-overlay",arrow:"ui-arrow",arrowDir:n+"-arrow-"}),p=j.merge({},g.events,{before_position:"beforeposition"}),q={WINDOW:"window",ORIGIN:"origin",ABSOLUTE:"absolute"},r=new g;m.defaults=j.merge({},g.defaults,l),m.classes=o,m.events=p,m.positionTypes=q,r._build=function(a){var c,d=this,e=d._ui;return h._build.call(d,a),a.classList.add(o.popup),c=b.createElement("div"),c.appendChild(b.createElement("span")),c.classList.add(o.arrow),e.arrow=c,a.appendChild(c),a},r._init=function(a){var b=this,c=b._ui;h._init.call(this,a),c.arrow=c.arrow||a.querySelector("."+o.arrow)},r._layout=function(a){var b=this;this._reposition(),h._layout.call(b,a)},r._reposition=function(a){var b=this,c=b.element,d=b._ui,e=c.classList;a=j.merge({},b.options,a),b.trigger(p.before_position,null,!1),e.add(o.build),b._setContentHeight(),"origin"===a.positionTo&&d.overlay&&d.overlay.classList.add(o.contextOverlay),b._placementCoords(a),e.remove(o.build)},r._placementCoordsWindow=function(a){var b=a.style,c=a.offsetWidth;b.bottom="0px",b.left="50%",b.marginLeft=-(c/2)+"px"},r._placementCoordsAbsolute=function(a,b,c){var d=a.style,e=a.offsetWidth,f=a.offsetHeight;d.top=c+"px",d.left=b+"px",d.marginTop=-(f/2)+"px",d.marginLeft=-(e/2)+"px"},r._findClickedElement=function(a,c){return b.elementFromPoint(a,c)},r._placementCoordsOrigin=function(a,b){var c,g,h,i,j=this,k=j.element,l=k.style,m=k.classList,n=b.x,p=b.y;m.add(o.context),i=k.offsetHeight,c=d(j,a),h=c.dir,m.add(o.arrowDir+h),j._ui.arrow.setAttribute("type",h),("number"!=typeof n&&"number"!=typeof p||j.options.positionOriginCenter)&&(g=f(h,a),n=g.x,p=g.y),c=e(j,c,n,p),i>c.h&&j._setContentHeight(c.h),l.left=c.x+"px",l.top=c.y+"px"},r._placementCoordsElement=function(a){var b,c,e=this,f=e.element,g=f.style;f.classList.add(o.context),c=f.offsetHeight,b=d(e,a),c>b.h&&e._setContentHeight(b.h),g.left=b.x+"px",g.top=b.y+"px"},r._placementCoords=function(a){var c,d,e=this,f=a.positionTo,g=a.x,h=a.y,i=e.element;switch(f){case q.ORIGIN:if(d=a.link,d?"string"==typeof d?c=b.getElementById(d):"object"==typeof d&&(c=d):"number"==typeof g&&"number"==typeof h&&(c=e._findClickedElement(g,h)),c)return void e._placementCoordsOrigin(c,a);break;case q.WINDOW:return void e._placementCoordsWindow(i);case q.ABSOLUTE:if("number"==typeof g&&"number"==typeof h)return void e._placementCoordsAbsolute(i,g,h);break;default:if("string"==typeof f)try{c=b.querySelector(a.positionTo)}catch(j){}else"object"==typeof f&&(c=f);if(c)return void e._placementCoordsElement(c,a)}e._placementCoordsWindow(i)},r._setContentHeight=function(b){var c,d,e,f=this,g=f.element,h=f._ui.content;h&&(c=h.style,(c.height||c.minHeight)&&(c.height="",c.minHeight=""),b=b||a.innerHeight,d=h.offsetHeight,e=g.offsetHeight,e>b&&(d-=e-b,c.height=d+"px",c.minHeight=d+"px"))},r._onHide=function(){var a=this,b=a._ui,c=a.element,d=c.classList,e=b.arrow;d.remove(o.context),["l","r","b","t"].forEach(function(a){d.remove(o.arrowDir+a)}),c&&c.removeAttribute("style"),e&&e.removeAttribute("style"),h._onHide.call(a)},r._destroy=function(){var a=this,b=a._ui,c=b.arrow;h._destroy.call(a),c&&c.parentNode&&c.parentNode.removeChild(c),b.arrow=null},r.reposition=function(a){this._isActive()&&this._reposition(a)},r._refresh=function(){this._isActive()&&(h._refresh.call(this),this.reposition(this.options))},m.prototype=r,c.widget.core.ContextPopup=m,i.defineWidget("Popup","[data-role='popup'], .ui-popup",["open","close","reposition"],m,"core",!0),c.widget.popup=c.widget.Popup}(a,a.document,d),function(a,b){var c=b.widget.BaseWidget,d=b.engine,e=function(){},f={LISTVIEW:"ui-listview",DETAILS:"ui-details"},g=new c;e.classes=f,g._build=function(a){return a.classList.add(f.LISTVIEW),a},e.prototype=g,b.widget.core.Listview=e,d.defineWidget("Listview","[data-role='listview'], .ui-listview",[],e,"core")}(a.document,d),function(a,b){function d(b){var c=null;return(b.children.length>1||1===b.children.length&&!b.firstElementChild.classList.contains(k.BUTTON_CONTENT))&&(c=a.createElement("div"),c.classList.add(k.BUTTON_CONTENT),[].slice.call(b.children).forEach(function(a){c.appendChild(a)}),b.appendChild(c)),c}function e(a,c){b.event.trigger(a.element,"vclick",c)}var f=b.widget.BaseWidget,g=b.widget.core.Page,h=b.widget.core.BaseKeyboardSupport,i=b.engine,j=b.util.DOM,k={BTN:"ui-btn",DISABLED:"ui-state-disabled",INLINE:"ui-inline",BTN_ICON:"ui-btn-icon",ICON_PREFIX:"ui-icon-",BTN_CIRCLE:"ui-btn-circle",BTN_NOBG:"ui-btn-nobg",BTN_ICON_ONLY:"ui-btn-icon-only",BTN_TEXT:"ui-btn-text",BTN_FAB:"ui-btn-fab",BTN_FLAT:"ui-btn-flat",BTN_CONTAINED:"ui-btn-contained",BTN_TEXT_LIGHT:"ui-btn-text-light",BTN_TEXT_DARK:"ui-btn-text-dark",FOCUS:"ui-btn-focus",BTN_ICON_POSITION_PREFIX:"ui-btn-icon-",BTN_ICON_MIDDLE:"ui-btn-icon-middle",BUTTON_CONTENT:"ui-btn-content",HIDDEN:"ui-hidden"},l=32,m=230,n={CIRCLE:"circle",TEXTLIGHT:"light",TEXTDARK:"dark",NOBG:"nobg",ICON_MIDDLE:"icon-middle",FLOATING:"fab",FLAT:"flat",CONTAINED:"contained"},o={inline:!0,icon:null,disabled:!1,style:n.CONTAINED,iconpos:"left",size:null,middle:!1,value:null,enabledIcon:!1},p=function(){var a=this;h.call(a),a.options={},a._ui={fab:null},a._callbacks={onFABClick:null},a._classesPrefix=k.BTN+"-"},q=new f;p.classes=k,p.prototype=q,q._configure=function(){this.options=b.util.object.copy(o)},q._readWidgetSpecyficOptionFromElementClassname=function(a,b){var c=this.options,d=a.classList;switch(b){case"enabledIcon":if(d.contains(k.BTN_ICON))return c.enabledIcon=!0,!0}return!1},q._setStyle=function(a,b){var c=this,d=c.options,e=a.classList,f=!1,g=c._ui;switch(b=b||d.style,b!==n.FLOATING&&null!==g.fab&&c._revertFromFAB(a),e.remove(k.BTN_CIRCLE),e.remove(k.BTN_NOBG),e.remove(k.BTN_TEXT_LIGHT),e.remove(k.BTN_TEXT_DARK),e.remove(k.BTN_FLAT),e.remove(k.BTN_CONTAINED),b){case n.CIRCLE:e.add(k.BTN_CIRCLE),f=!0;break;case n.NOBG:e.add(k.BTN_NOBG),f=!0;break;case n.TEXTLIGHT:e.add(k.BTN_TEXT_LIGHT),f=!0;break;case n.TEXTDARK:e.add(k.BTN_TEXT_DARK),f=!0;break;case n.FLOATING:this._changeToFAB(a),f=!0;break;case n.FLAT:e.add(k.BTN_FLAT),f=!0;break;case n.CONTAINED:e.add(k.BTN_CONTAINED),f=!0}f&&(d.style=b,c._saveOption("style",b))},q._setInline=function(a,b){var d=this.options;b===c&&(b=a.getAttribute("data-inline"),null===b&&(b=this._readCommonOptionFromElementClassname(a,"inline")),b="false"===b?!1:!!b),a.classList.toggle(k.INLINE,b),d.inline=b,this._saveOption("inline",b)},q._setIcon=function(a,b){var c,d=this,e=a.classList,f=d.options,g={},h=d._iconCSSRule;a.className=a.className.replace(RegExp("(\\"+k.ICON_PREFIX+"([a-z-]*))","g"),""),b=b||f.icon,f.icon=b,b&&(f.enabledIcon=!0),d._saveOption("icon",b),f.enabledIcon?(e.add(k.BTN_ICON),b&&(-1===b.indexOf(".")?(e.add(k.ICON_PREFIX+b),d._setTitleForIcon(a),h&&j.removeCSSRule(h)):(c='url("'+b+'")',g["-webkit-mask-image"]=c,g["mask-image"]=c,d._iconCSSRule=j.setStylesForPseudoClass("#"+a.id,"after",g))),a.textContent.trim()||e.remove(k.BTN_TEXT)):(e.remove(k.BTN_ICON),h&&j.removeCSSRule(h))},q._removeIconposClass=function(a){var b=this;a=a||b.element,a.classList.remove(k.BTN_ICON_POSITION_PREFIX+"left"),a.classList.remove(k.BTN_ICON_POSITION_PREFIX+"top"),a.classList.remove(k.BTN_ICON_ONLY)},q._addIconposClass=function(a){var b,c=this;a=a||c.element,b=a.textContent.trim().length||(a.value?a.value.length:0),b>0?a.classList.add(k.BTN_ICON_POSITION_PREFIX+c.options.iconpos):a.classList.add(k.BTN_ICON_ONLY)},q._setIconpos=function(a,b){var c=this,d=c.options,e=d.style;c._removeIconposClass(a),b=b||d.iconpos,d.icon&&e!==n.CIRCLE&&e!==n.NOBG&&e!==n.FLOATING&&(d.iconpos=b,c._addIconposClass(a),c._saveOption("iconpos",b))},q._setTitleForIcon=function(a){var c=this.options,d=a.textContent;"notext"!==c.iconpos||a.getAttribute("title")||(a.setAttribute("title",d),b.warn("iconpos='notext' is deprecated."))},q._focus=function(){var a;b.getConfig("keyboardSupport",!1)&&(a=this.element.classList,a.add(k.FOCUS),this.element.focus())},q._blur=function(){var a;b.getConfig("keyboardSupport",!1)&&(a=this.element.classList,a.remove(k.FOCUS),this.element.blur())},q._setDisabled=function(a,b){var c=this,d=c.options,e=a.classList;b===!0||d.disabled===!0||a.disabled||e.contains(k.DISABLED)?(d.disabled=!0,c._disable(a)):d.disabled=!1,c._saveOption("disabled",d.disabled)},q._build=function(a){var b=this,c=a.classList;return c.contains(k.BTN)||c.add(k.BTN),b._content=d(a),b._setStyle(a),b._setInline(a),b._setIconpos(a),b._setIcon(a),b._setSize(a),b._setDisabled(a),b._setTextButton(a),a.hasAttribute("tabindex")||a.setAttribute("tabindex",0),a},q._refresh=function(){var a=this,b=this.element;return a.options=a._getCreateOptions(b),a._build(b),null},q._getValue=function(){return this.element.textContent},q._setSize=function(a,b){var c=a.style,d=this.options,e=b||d.size;e&&(e=parseInt(e,10),l>e&&(e=l),e>m&&(e=m),c.height=e+"px",c.width=e+"px",d.size=e)},q._setTextButton=function(a){a.textContent.trim()?a.classList.add(k.BTN_TEXT):a.classList.remove(k.BTN_TEXT)},q._setValue=function(a){this.element.textContent=a},q._enable=function(a){var b=this,c=b.options;a&&("button"===a.tagName.toLowerCase()&&(a.disabled=!1),this.isCustomElement||a.removeAttribute("disabled"),a.classList.remove(k.DISABLED),c.disabled=!1,b._saveOption("disabled",!1))},q._bindEvents=function(a){var b=this;b._focusCallback=b._focus.bind(b),b._blurCallback=b._blur.bind(b),a.addEventListener("focus",b._focusCallback),a.addEventListener("blur",b._blurCallback)},q._unbindEvents=function(a){var b=this;a.removeEventListener("focus",b._focusCallback),a.removeEventListener("blur",b._blurCallback)},q._disable=function(a){var b=this.options;a&&("button"===a.tagName.toLowerCase()&&(a.disabled=!0),this.isCustomElement||a.setAttribute("disabled","disabled"),a.classList.add(k.DISABLED),b.disabled=!0,this._saveOption("disabled",!0))},q._saveOption=function(a,b){var c=this,d=c.element,e=o[a];d&&(e!==b?d.dataset[a]=b:delete d.dataset[a])},q._getDefaultOption=function(a){return o[a]},q._bindEventsFAB=function(){var a=this,b=a._ui.fab;a._callbacks.onFABClick=e.bind(null,a),b.addEventListener("vclick",a._callbacks.onFABClick)},q._unbindEventsFAB=function(){var a=this,b=a._ui.fab;b.removeEventListener("vclick",a._callbacks.onFABClick),a._callbacks.onFABClick=null},q._changeToFAB=function(c){var d=this,e=d._ui,f=a.createElement("button"),h=b.util.selectors.getClosestBySelector(c,g.selector);e.fab=f,f.classList.add(k.BTN),f.classList.add(k.BTN_FAB),d.options.icon&&(f.classList.add(k.BTN_ICON),f.classList.add(k.ICON_PREFIX+d.options.icon)),c.classList.add(k.HIDDEN),h&&h.appendChild(f),d._bindEventsFAB()},q._revertFromFAB=function(a){var b=this,c=b._ui.fab;b._unbindEventsFAB(),c&&(c.parentElement.removeChild(c),b._ui.fab=null),a.classList.remove(k.HIDDEN)},b.widget.core.Button=p,p.defaultOptions=o,i.defineWidget("Button","button, [data-role='button'], .ui-btn, input[type='button']",[],p,"core"),i.defineWidget("inputButton","",[],p,"core",!1,!1,HTMLInputElement),i.defineWidget("formButton","",[],p,"core",!1,!1,HTMLButtonElement),h.registerActiveSelector("[data-role='button'], button, [type='button'], [type='submit'], [type='reset'], .ui-button, .ui-btn")}(a.document,d),function(a,b){b.widget.mobile=b.widget.mobile||{}}(a,d),function(a,b,c){var d=c.widget.core.ContextPopup,e=d.prototype,f=c.widget.core.Listview,g=c.engine,h=c.util.DOM,i="[data-role='popup'], .ui-popup",j=c.util.object,k=c.util.selectors,l=function(){var a=this;d.call(this),a.options=j.merge(a.options,l.defaults),a._positionCallback=null};l.classes=d.classes,l.defaults=j.merge({},d.defaults,{closeLinkSelector:"a[data-rel='back']",transition:"pop",directionPriority:["bottom","top","right","left"],arrow:"b,t,r,l",positionTo:"origin"}),l.events=j.merge({},d.events,{AFTER_OPEN:"popupafteropen",AFTER_CLOSE:"popupafterclose"}),l.selector=i,l.prototype=new d,l.prototype._build=function(a){var c,d,f,g=k.getClosestByClass(a,"ui-page")||b.body,h=a.classList,i=this,j=DOMTokenList.prototype;if(a.parentNode!==g&&g.appendChild(a),a=e._build.call(i,a),d=i._ui.content.classList,d.contains("ui-popup-activity")){for(f=[],c=0;c<d.length;c++)-1!==d[c].indexOf("ui-popup-activity")&&f.push(d[c]);for(j.remove.apply(d,f),c=0;c<f.length;c++)h.add(f[c])}return a},l.prototype._setDirectionPriority=function(a,b){b&&(this.options.arrow=b.map(function(a){return a.charAt(0).toLowerCase()}).join(","))},l.prototype._refresh=function(){var a=this;this._isActive()&&("function"==typeof a._positionCallback&&a._positionCallback(),e._refresh.call(this))},l.prototype._setContentHeight=function(){var b=a.innerHeight-h.getCSSProperty(this.element,"margin-top",0,"float");e._setContentHeight.call(this,b)},l.prototype._findClickedElement=function(a,b){var c=e._findClickedElement.call(this,a,b),d=k.getClosestBySelector(c,g.getWidgetDefinition("Button").selector);return d||c},l.prototype._show=function(){var a,b,c=this;"window"!==c.options.positionTo&&(a=c.element.querySelector("."+f.classes.LISTVIEW),a&&(b=g.getBinding(a),b&&b.option("coloredBackground",!1))),e._show.call(c)},l.prototype._onShow=function(){e._onShow.call(this),this.trigger(l.events.AFTER_OPEN)},l.prototype._onHide=function(){e._onHide.call(this),this.trigger(l.events.AFTER_CLOSE)},l.prototype.setPositionCallback=function(a){this._positionCallback=a},c.widget.mobile.Popup=l,g.defineWidget("Popup",i,["open","close","reposition","setPositionCallback","setPositionCB"],l,"mobile",!0)}(a,a.document,d),function(a,b,c){var d=c.widget.core.Scrollview;c.widget.mobile.Scrollview=d,c.engine.defineWidget("Scrollview",".ui-content:not([data-scroll='none']):not([data-handler='true']):not(.ui-scrollview-clip):not(.ui-scrolllistview):not(.ui-scrollhandler), [data-scroll]:not([data-scroll='none']):not([data-handler='true']):not(.ui-scrollhandler), .ui-scrollview:not([data-scroll='none']):not([data-handler='true']):not(.ui-scrollhandler)",["scrollTo","ensureElementIsVisible","centerToElement","getScrollPosition","skipDragging","translateTo"],d,"tizen",!0)}(a,a.document,d),function(a,b){var c=function(){this.options={}},d=b.widget.BaseWidget,e=d.prototype,f=e.configure,g=e.disable,h=e.enable,i=new d,j=[].slice;c.classes=d.classes,i.configure=function(a,c,d){var e,g,h=this;return c=f.call(h,a,c,d),a&&(e=a.name,g=e&&e.toLowerCase(),h.widgetName=g,h.widgetBaseClass=h.namespace+"-"+g,h.uuid=b.getNumberUniqueId(),
-h.eventNamespace="."+g+(h.uuid||""),h.defaultElement="<div>"),c},i.disable=function(){var a=this,b=a.element,c=b.classList,d=j.call(arguments);g.apply(a,d),c.add(a.widgetFullName+"-disabled")},i.enable=function(){var a=this,b=a.element,c=b.classList,d=j.call(arguments);h.apply(a,d),c.remove(a.widgetFullName+"-disabled")},i.raise=function(a){throw"Widget ["+this.widgetName+"]: "+a},i.widget=function(){return this.element},c.prototype=i,b.widget.mobile.BaseWidgetMobile=c}(a.document,d),function(a,b){function c(a,b,c){var d,e,f=a._ui,g=b.classList,h=f.heading,j=f.expandableContent,l="collapse"===c.type;c.defaultPrevented||(c.preventDefault(),f.expandFrom?l?f.expandFrom.classList.remove(k.uiExpandableExpanded):f.expandFrom.classList.add(k.uiExpandableExpanded):(d=h.classList,e=j.classList,l?(g.add(k.uiExpandableCollapsed),d.add(k.uiExpandableHeadingCollapsed),e.add(k.uiExpandableContentCollapsed)):(g.remove(k.uiExpandableCollapsed),d.remove(k.uiExpandableHeadingCollapsed),e.remove(k.uiExpandableContentCollapsed)),j.setAttribute("aria-hidden",l)),i.trigger(b,l?"collapsed":"expanded"))}function d(a,b){var c,d=a._ui.heading;d&&(c=a._ui.heading.classList,b?c.add(k.uiExpandableHeadingActive):c.remove(k.uiExpandableHeadingActive))}function e(a,b){var c,d=a.element,e=a._ui,f=e.heading,g=e.expandFrom;f?c=f.classList.contains(k.uiExpandableHeadingCollapsed)?"expand":"collapse":g&&(c=g.classList.contains(k.uiExpandableExpanded)?"collapse":"expand"),i.trigger(d,c),b.preventDefault(),i.stopPropagation(b)}var f=b.widget.mobile.BaseWidgetMobile,g=b.engine,h=b.util.selectors,i=b.event,j=b.util.DOM,k={uiExpandable:"ui-expandable",uiExpandableContent:"ui-expandable-content",uiExpandableContentCollapsed:"ui-expandable-content-collapsed",uiExpandableCollapsed:"ui-expandable-collapsed",uiExpandableExpanded:"ui-expandable-expanded",uiExpandableHeading:"ui-expandable-heading",uiExpandableHeadingCollapsed:"ui-expandable-heading-collapsed",uiExpandableHeadingToggle:"ui-expandable-heading-toggle",uiExpandableHeadingActive:"ui-expandable-heading-active",expandButton:"ui-expand-button",expandFrom:"ui-expandable-from",expandTo:"ui-expandable-to"},l={HEADING:"h1,h2,h3,h4,h5,h6,legend,li",BUTTON:"."+k.expandButton},m=function(){var a=this;a.options={collapsed:!0,heading:l.HEADING,expander:"heading"},a._eventHandlers={},a._ui={heading:null,expandableHeadingContent:null,expandButton:null,expandFrom:null,expandTo:null}},n=new f;m.prototype=n,m.classes=k,m.selectors=l,n._getExpandableHeading=function(b){var c,d=this.options,e=h.getChildrenBySelector(b,d.heading)[0];return e||(e=a.createElement("h1"),b.appendChild(e)),"legend"===e.tagName.toLowerCase()&&(c=a.createElement("div"),c.setAttribute("role","heading"),c.innerHTML=e.innerHTML,b.replaceChild(c,e),e=c),e},n._getExpandableContent=function(a,b){var c=a.querySelector("."+k.uiExpandableContent);return c||(j.wrapInHTML(a.childNodes,"<div class='"+k.uiExpandableContent+"'></div>"),a.insertBefore(b,a.firstChild),j.wrapInHTML(b.childNodes,"<a class='"+k.uiExpandableHeadingToggle+"' tabindex='0'></a>"),c=b.nextElementSibling),c},n._createExpandTo=function(b){var c=b.parentElement.querySelector("."+k.expandTo);return c||(c=a.createElement("li"),c.classList.add(k.expandTo),c.setAttribute("data-expander","button"),b.parentElement.appendChild(c)),c},n._createExpandButton=function(b){var c=b.querySelector(l.BUTTON);return c||(c=a.createElement("a"),c.classList.add("ui-btn"),b.appendChild(c),c.setAttribute("href","#")),c.setAttribute("data-icon","down"),c.setAttribute("data-style","flat"),c.classList.add(k.expandButton),c},n._build=function(a){var c,d,e=this,f=e._ui,g=a.classList;return a.classList.contains(k.expandFrom)?(f.expandFrom=a,f.expandTo=e._createExpandTo(a),f.expandButton=a.querySelector(l.BUTTON)||f.expandTo.querySelector(l.BUTTON),f.expandButton||(f.expandButton=e._createExpandButton(f.expandTo))):(a.parentNode&&"ul"===a.parentNode.tagName.toLowerCase()&&"div"===a.tagName.toLowerCase()&&b.warn("Don't make the Expandable list using <div>. It violates standard of HTML rule. Instead of, please use <li>."),g.add(k.uiExpandable),c=e._getExpandableHeading(a),c.classList.add(k.uiExpandableHeading),d=e._getExpandableContent(a,c),f.heading=c,f.expandableContent=d),a},n._init=function(a){var c=this,d=c._ui;return d.heading=d.heading||h.getChildrenByClass(a,k.uiExpandableHeading)[0],d.expandableContent=d.expandableContent||a.querySelector("."+k.uiExpandableContent),d.expandTo?(d.expandButton=d.expandButton||d.expandTo.querySelector(l.BUTTON),b.widget.Button(d.expandButton),c.options.collapsed&&a.classList.remove(k.uiExpandableExpanded)):(d.expandButton=d.expandButton||a.querySelector(l.BUTTON),c.options.collapsed&&(a.classList.add(k.uiExpandableCollapsed),d.heading&&d.heading.classList.add(k.uiExpandableHeadingCollapsed),d.expandableContent&&d.expandableContent.classList.add(k.uiExpandableContentCollapsed))),a},n._bindEvents=function(a){var b=this,f=b._eventHandlers,g=b._ui,h=g.heading;f.toggleExpandable=c.bind(null,b,a),f.removeActiveClass=d.bind(null,b,!1),f.addActiveClass=d.bind(null,b,!0),f.toggleEventType=e.bind(null,b),i.on(a,"expand collapse",f.toggleExpandable,!1),h?(i.on(h,"vmousedown",f.addActiveClass,!1),i.on(h,"vmousemove vmousecancel vmouseup",f.removeActiveClass,!1),i.on(h,"vclick",f.toggleEventType,!1)):g.expandTo&&i.on(g.expandButton,"vclick",f.toggleEventType,!1)},n._refresh=function(){},n._destroy=function(){var b=this,c=b.element,d=b._ui,e=d.heading,f=b._eventHandlers,g=c.parentNode;i.off(c,"expand collapse",f.toggleExpandable,!1),e?(i.off(e,"vmousedown",f.addActiveClass,!1),i.off(e,"vmousemove vmousecancel vmouseup",f.removeActiveClass,!1),i.off(e,"vclick",f.toggleEventType,!1)):d.expandTo&&i.off(d.expandButton,"vclick",f.toggleEventType,!1),b._ui=null,b._eventHandlers=null,i.trigger(a,"destroyed",{widget:"Expandable",parent:g})},b.widget.mobile.Expandable=m,g.defineWidget("Expandable","[data-role='expandable'], .ui-expandable, .ui-expandable-from",[],m,"mobile")}(a.document,d),function(a,b,c){function d(b){b._topOffset=a.innerHeight,b._previousVisibleElement=null,b._canvasWidth=0,b._canvasHeight=0,b._dragMode=!1,b.originalListPosition=0,b.indexDraggingElement=0,b._ui={helper:{},holder:{}},b._snapshotItems=[],b._liElements=[],b.topValue=0,b.isScrolling=null,b._reorderElements=[]}function e(a,b){return a[0]+=b[0],a[1]+=b[1],a[2]+=b[2],a[3]+=b[3],a[0]=A(B(0,a[0]),255),a[1]=A(B(0,a[1]),255),a[2]=A(B(0,a[2]),255),a[3]=A(B(0,a[3]),1),a[3]}function f(a,b){b[0]=a[0],b[1]=a[1],b[2]=a[2],b[3]=a[3]}function g(a){var b=parseFloat(a);return b===b?b:0}function h(a){var b=w.getClosestByTag(a,"li");b&&(a.checked?b.classList.add(M.ITEM_SELECTED):b.classList.remove(M.ITEM_SELECTED))}function i(a){var b=a.target;"INPUT"===b.tagName&&"checkbox"===b.type&&h(b)}function j(a,b){return C(a?a.getBoundingClientRect().top-b.top:b.height)}function k(a){for(var b=a.shift();b;){if(b.offsetHeight)return b;b=a.shift()}return null}function l(a){var b=a.getBoundingClientRect();return{top:b.top,height:b.height,left:b.left,width:b.width}}function m(a,b){a.fillStyle="rgba("+H[0]+","+H[1]+","+H[2]+","+H[3]+")",a.fillRect(b.left,b.top,b.width,b.height)}function n(a,b,c,d){return a.height+=b,a.left-=c,a.top=d,a}var o=c.widget.core.Page,p=c.widget.mobile.Popup,q=c.widget.mobile.Scrollview,r=c.widget.core.Listview,s=r.prototype,t=c.widget.core.BaseKeyboardSupport,u=c.util,v=u.object,w=u.selectors,x=c.event,y=Date.now,z=new RegExp("[^0-9-.:,]+","gi"),A=Math.min,B=Math.max,C=Math.round,D=Math.ceil,E=[].slice,F=c.event,G=u.isNumber,H=[0,0,0,0],I=3e3,J={PREV:-1,HOLD:0,NEXT:1},K=function(){var a=this,b={coloredBackground:!1,colorRestOfTheScreenBellow:!0,colorRestOfTheScreenAbove:!0,firstColorStep:0,lastColorStep:0,multipleSelection:!1};r.call(a),t.call(a),a.options=a.options?v.fastMerge(a.options,b):b,a._async=u.requestAnimationFrame,a._context=null,a._canvasStyle=null,a._scrollableContainer=null,a._pageContainer=null,a._popupContainer=null,a._drawCallback=null,a._scrollCallback=null,a._backgroundRenderCallback=null,a._running=!1,a._redraw=!1,a._colorBase=[250,250,250,1],a._colorStep=[0,0,0,-.04],a._lastChange=0,a._siblingListsBellow=[],a._siblingListsAbove=[],d(a)},L="[data-role='listview'], .ui-listview",M={BACKGROUND_LAYER:"ui-listview-background",GRADIENT_BACKGROUND_DISABLED:"ui-listview-background-disabled",GROUP_INDEX:"ui-group-index",POPUP_LISTVIEW:"ui-popup-listview",DRAG_ACTIVE:"ui-drag-active",EXPANDABLE:"ui-expandable",ITEM:"ui-listview-item",ITEM_ACTIVE:"ui-listview-item-active",ITEM_SELECTED:"ui-li-selected",HELPER:"ui-listview-helper",HOLDER:"ui-listview-holder",SNAPSHOT:"ui-snapshot",HANDLER:"ui-listview-handler",DRAG_MODE:"ui-drag-mode",ACTIVATE_HANDLERS:"ui-activate-handlers",CANCEL_ANIMATION:"ui-cancel-animation",DEACTIVATE_HANDLERS:"ui-deactivate-handlers",FOCUS:"ui-listview-focus",ITEMFOCUS:"ui-listview-item-focus"},N={BACKGROUND_RENDER:"event-listview-background-render",REORDER:"listviewreorder"},O=c.engine,P=new r;K.classes=v.fastMerge(M,r.classes),K.events=N,P._setMultipleSelection=function(a,b){b?a.addEventListener("change",i,!0):a.removeEventListener("change",i,!0),this.options.multipleSelection=b},P._setFirstColorStep=function(a,b){return b=parseInt(b,10),this.options.firstColorStep=b,!0},P._setColoredBackground=function(a,b){a.classList.toggle(M.GRADIENT_BACKGROUND_DISABLED,!b),this.options.coloredBackground=b},P._addCanvas=function(a){var c=b.createElement("canvas"),d=c.getContext("2d");return c.classList.add(M.BACKGROUND_LAYER),a.insertBefore(c,a.firstElementChild),this._context=d,c},P._build=function(a){var b=this,c=s._build.call(b,a),d=a&&w.getClosestByClass(a.parentElement,"ui-listview");return b._isChildListview=d,d||b._addCanvas(c),c},P._getCanvas=function(){var a,b=this;return b._context&&(a=b._context.canvas),a&&a.parentElement||(a=b.element.querySelector("."+M.BACKGROUND_LAYER),a||(a=b._addCanvas(b.element)),b._context=a.getContext("2d")),a},P._prepareColors=function(){var b,c,d,e,h,i=this,j=i._getCanvas();j&&(b=a.getComputedStyle(j,":before"),c=b.getPropertyValue("content"),c.length>0&&(c=c.replace(z,""),h=c.split("::"),2===h.length&&(d=h[0].split(",").filter(G).map(g),e=h[1].split(",").filter(G).map(g),d.length>0&&f(d,i._colorBase),e.length>0&&f(e,i._colorStep))))},P._refreshBackgroundCanvas=function(b,c){var d,e,f,g,h=this,i=h._getCanvas();i&&(d=i.style,e=c.getBoundingClientRect(),f=0,g=e.width,b&&(f=b.getBoundingClientRect().height),f=Math.max(e.height,f)+h._topOffset,f=Math.min(f,4*a.innerHeight),h._canvasHeight=f,h._canvasWidth=g,i.setAttribute("width",g),i.setAttribute("height",f),d.width=g+"px",d.height=f+"px")},P._findContainers=function(a){var b=this;b._pageContainer=w.getClosestByClass(a,o.classes.uiPage),b._popupContainer=w.getClosestByClass(a,p.classes.popup),b._scrollableContainer=w.getClosestByClass(a,q.classes.clip)||w.getClosestByTag(a,"section")},P._checkClosestPopup=function(){var a,b=this,c=b._popupContainer;c&&(c.classList.add(M.POPUP_LISTVIEW),a=c.querySelector("."+p.classes.content),a&&(b._scrollableContainer=a))},P._refreshColoredBackground=function(){var a,b=this,c=b.element;b._checkClosestPopup(),b._redraw=!0,b._lastChange=Date.now(),b._previousVisibleElement=null,b._prepareColors(),b._refreshBackgroundCanvas(b._scrollableContainer,c),a=b._getCanvas(),a&&(c.firstElementChild&&"canvas"!==c.firstElementChild.tagName.toLowerCase()?c.insertBefore(a,c.firstElementChild):c.firstElementChild instanceof HTMLElement||c.appendChild(a),"function"==typeof b._frameCallback&&b._frameCallback())},P._refresh=function(){var a=this,b=a.element,c=w.getClosestByClass(b,p.classes.popup);a._findContainers(b),a.options.coloredBackground?a._refreshColoredBackground():c&&(c.classList.remove(M.POPUP_LISTVIEW),a._popupContainer=c)},P._init=function(a){var b,c,d,e=this,f=e._context,g=!1;e.options.firstColorStep=parseInt(e.options.firstColorStep,10),e._isChildListview||(f?b=f.canvas:(b=a.querySelector("."+M.BACKGROUND_LAYER),b&&(f=b.getContext("2d"))),f&&(e._canvasStyle=b.style,e._frameCallback=e._handleFrame.bind(e),e.refresh())),c=[].slice.call(e.element.parentElement.querySelectorAll(L)),d=[].slice.call(e.element.querySelectorAll(L)),e._siblingListsBellow=c.filter(function(a){return d.indexOf(a)>-1?!1:g?!0:(g=a===e.element,!1)}),g=!1,e._siblingListsAbove=c.filter(function(a){return d.indexOf(a)>-1?!1:g||a===e.element?(g=!0,!1):!0}),e._siblingListsBellow.length>0&&(e.options.colorRestOfTheScreenBellow=!1),e._siblingListsAbove.length>0&&(e.options.colorRestOfTheScreenAbove=!1),e._setMultipleSelection(e.element,e.options.multipleSelection)},P._handleScroll=function(){var a=this;a._lastChange=y(),a._running||(a._running=!0,a._async(a._frameCallback))},P._handleTouchStart=function(a){var b=this,c=b._scrollableContainer;b._dragMode&&a.srcElement.classList.contains(M.HANDLER)&&x.off(c,"scroll",b._reorderCallback)},P._handleTouchEnd=function(a){var b=this,c=b._scrollableContainer;b._dragMode&&a.srcElement.classList.contains(M.HANDLER)&&x.on(c,"scroll",b._reorderCallback)},P._handleReorderScroll=function(){x.trigger(this.element,N.REORDER)},P._backgroundRender=function(){this.refresh()},P._selectAll=function(a){var b=[].slice.call(this.element.querySelectorAll("input[type='checkbox']"));b.forEach(function(b){var c=a.detail.checked;b.checked=c,c?b.setAttribute("checked","checked"):b.removeAttribute("checked"),h(b)})},P._handleFrame=function(){var a,b,c,d,e=this,f=e.element,g=E.call(f.querySelectorAll("li")),h=e._scrollableContainer,i=h?h.scrollTop:0,m=null,n=0,o=f.getBoundingClientRect().top,p=e._previousVisibleElement,q=e._topOffset,r=k(g);for(h&&(m=h.getBoundingClientRect(),n=m.top),m&&n>o&&0!==e.options.firstColorStep&&(e.options.firstColorStep=0,e._redraw=!0);r;)b=l(r),c=b.top-o,a=k(g),d=j(a,b),c+d-(n-o-i)>=i?(r!==p&&e._context&&(e._previousVisibleElement=r,e._context.canvas.style.transform="translateY("+(c-q)+"px)",e._redraw=!0),r=null):r=a;e._redraw&&e._context&&e._handleDraw(),e._running&&e._context&&e._async(e._frameCallback),y()-e._lastChange>=I&&(e._running=!1)},P._prepareCanvas=function(){var a,b=this;for(f(b._colorBase,H),a=0;a<b.options.firstColorStep;a++)e(H,b._colorStep);b.options.lastColorStep=b.options.firstColorStep,b._context.clearRect(0,0,b._canvasWidth,b._canvasHeight)},P._drawLiElements=function(){var a,b,c,d=this,f=d.element,g=E.call(f.querySelectorAll("li")),h=g[0],i=k(g),o=d._context,p=d._colorStep,q=f.getBoundingClientRect(),r=q.left,s=d._scrollableContainer,t=s?s.getBoundingClientRect().top:0,u=null,v=0,w=d._topOffset,x=[],y=null,z=null,A=!1;for(h&&(a=h.getBoundingClientRect(),a.top+a.height>=t&&(A=!0));i;)c=!i.classList.contains(M.GROUP_INDEX)&&!i.classList.contains(M.EXPANDABLE),u=l(i),b=k(g),u.height=j(b,u),!c&&b&&(b.classList.contains(M.GROUP_INDEX)||b.classList.contains(M.EXPANDABLE))&&(c=!0),D(u.top+u.height)>=t&&(u=n(u,w,r,v),w=0,x.push({rectangle:u,changeColor:c}),v+=u.height),i=b;return y=x[0],y&&(z=y.rectangle,(!d.options.colorRestOfTheScreenAbove||A)&&(d._context.clearRect(z.left,z.top,z.width,z.height),z.top+=d._topOffset,z.height-=d._topOffset)),x.forEach(function(a){m(o,a.rectangle),a.changeColor&&(e(H,p),d.options.lastColorStep++)}),u},P._drawEndOfList=function(a,b){var c;null!==a&&(c=b.canvas.getBoundingClientRect(),a.height+a.top<c.height&&(a.top+=a.height,a.height=c.height-a.top,m(b,a)))},P._handleDraw=function(){var a,b,d=this;d._prepareCanvas(),a=d._drawLiElements(),d.options.colorRestOfTheScreenBellow&&d._drawEndOfList(a,d._context),d._siblingListsBellow.forEach(function(a){b=c.engine.getBinding(a),b&&b.option("firstColorStep",d.options.lastColorStep)}),d._redraw=!1},P._focusItem=function(a){var b=a.detail.element,d=w.getClosestByTag(b,"li");c.getConfig("keyboardSupport")&&"A"===b.tagName&&d.classList.add(M.ITEMFOCUS)},P._blurItem=function(a){var b=a.detail.element,d=w.getClosestByTag(b,"li");c.getConfig("keyboardSupport")&&"A"===b.tagName&&d.classList.remove(M.ITEMFOCUS)},P._focus=function(a){c.getConfig("keyboardSupport")&&a.classList.add(M.FOCUS)},P._blur=function(a){c.getConfig("keyboardSupport")&&a.classList.remove(M.FOCUS)},P._bindEvents=function(){var b=this,c=b._scrollableContainer,d=b._pageContainer,e=b._popupContainer;b._bindEventMouse(),b._isChildListview||(c&&(b._scrollableContainer=c,b._scrollCallback=b._handleScroll.bind(b),b._reorderCallback=b._handleReorderScroll.bind(b),b._touchStartCallback=b._handleTouchStart.bind(b),b._touchEndCallback=b._handleTouchEnd.bind(b),x.on(c,"touchstart",b._scrollCallback),x.on(c,"touchmove",b._scrollCallback),x.on(c,"touchstart",b._touchStartCallback),x.on(c,"touchend",b._touchEndCallback),x.on(c,"scroll",b._scrollCallback)),b._backgroundRenderCallback=b._backgroundRender.bind(b),b._selectAllCallback=b._selectAll.bind(b),b.on("expand collapse",b._backgroundRenderCallback,!1),x.on(a,"resize",b._backgroundRenderCallback,!1),d&&(x.on(d,o.events.BEFORE_SHOW,b._backgroundRenderCallback),x.on(d,"select-all",b._selectAllCallback,!0)),e&&x.on(e,p.events.transition_start,b._backgroundRenderCallback),F.on(b.element,"animationend webkitAnimationEnd",b,!0),F.on(b.element,"taufocus",b._focusItem,!0),F.on(b.element,"taublur",b._blurItem,!0))},P._destroy=function(b){var c=this;b&&(F.off(b,"animationend webkitAnimationEnd",c,!0),F.off(b,"focus",c._focus,!0),F.off(b,"blur",c._blur,!0)),c._context&&(c._context.canvas.parentElement&&c._context.canvas.parentElement.removeChild(c._context.canvas),c._context=null),c._scrollCallback&&(c._scrollableContainer&&(x.off(c._scrollableContainer,"touchstart",c._scrollCallback),x.off(c._scrollableContainer,"touchmove",c._scrollCallback),x.off(c._scrollableContainer,"scroll",c._scrollCallback),x.off(c._scrollableContainer,"touchstart",this._touchStartCallback),x.off(c._scrollableContainer,"touchend",this._touchEndCallback),c._scrollableContainer=null),c._scrollCallback=null),c._backgroundRenderCallback&&(c.off("expand collapse",c._backgroundRenderCallback,!1),x.off(a,"resize",c._backgroundRenderCallback,!1),b&&x.off(b,N.BACKGROUND_RENDER,c._backgroundRenderCallback),c._pageContainer&&(x.off(c._pageContainer,o.events.BEFORE_SHOW,c._backgroundRenderCallback),x.off(c._pageContainer,"select-all",c._selectAllCallback,!0),c._pageContainer=null),c._popupContainer&&(c._popupContainer.classList.remove(M.POPUP_LISTVIEW),x.off(c._popupContainer,p.events.transition_start,c._backgroundRenderCallback),c._popupContainer=null),c._backgroundRenderCallback=null)},P._createHolder=function(){var a=b.createElement("li"),c=a.classList;return c.add(M.ITEM),c.add(M.HOLDER),a},P._setDirection=function(a,b){var c=this;b>a?c._direction=J.PREV:a===b?c._direction=J.HOLD:c._direction=J.NEXT},P._changeLocationDown=function(a,b,c,d){var e,f=1,g=this,h=g.element;for(a+=c.height;d>f;f++)e=h.children[f],c.element!==e&&b!==e&&a>g._snapshotItems[f-1]+70*e.offsetHeight/100&&g._snapshotItems[f-1]>b.offsetTop+15&&(g._snapshotItems[f-1]=g._snapshotItems[f-2]+e.offsetHeight,g._appendLiStylesToElement(e,g._snapshotItems[f-2]),g._appendLiStylesToElement(b,g._snapshotItems[f-1]),h.insertBefore(b,h.children[f].nextSibling))},P._changeLocationUp=function(a,b,c,d){for(var e,f=this,g=d-1,h=f.element;g>0;g--)e=h.children[g],c.element!==e&&b!==e&&a<f._snapshotItems[g-1]+30*e.offsetHeight/100&&f._snapshotItems[g-1]+e.offsetHeight<b.offsetTop+b.offsetHeight-15&&(f._snapshotItems[g]=f._snapshotItems[g-1]+b.offsetHeight,h.insertBefore(b,h.children[g]),f._appendLiStylesToElement(b,f._snapshotItems[g-1]),f._appendLiStylesToElement(e,f._snapshotItems[g]))},P._prepare=function(){var a=this,b=a.element,c=b.parentElement;b.classList.contains(M.SNAPSHOT)||(a._recalculateTop(),a.originalListPosition=c.getBoundingClientRect().top-55,a._styleHeightBackup=b.style.height,b.style.height=b.getBoundingClientRect().height+"px",b.classList.add(M.SNAPSHOT),c.scrollTop=-a.originalListPosition)},P._start=function(b){var c,d,e=this,f=e.element,g=e._ui.helper,h=b.detail.srcEvent.srcElement.parentElement,i=a.getComputedStyle(h,null),j=h.style;c=parseInt(i.getPropertyValue("top"),10),h.classList.add(M.HELPER),d=e._createHolder(),d.style.height=parseFloat(i.getPropertyValue("height"))+"px",d.style.top=h.style.top,f.insertBefore(d,h),f.appendChild(h),e._appendLiStylesToElement(h,c),g.element=h,g.style=j,g.height=parseFloat(i.getPropertyValue("height"))||0,g.startY=b.detail.estimatedY-55-g.height/2,g.position={startTop:c,moveTop:g.startY,startIndex:[].indexOf.call(f.children,d)},e._ui.holder=d,g.element=h,e._ui.helper=g,e.topValue=b.detail.estimatedY,g.move=0},P._move=function(a){var c,d,e=this,f=e._ui,g=f.helper,h=f.holder,i=e.element,j=g.position,k=g.element,l=i.childElementCount-1,m=b.querySelector(".ui-page-active .ui-header");d=m?m.offsetHeight:0,c=a.detail.estimatedY-d-g.height/2+-e.originalListPosition,e._appendLiStylesToElement(k,c),e._setDirection(c,j.moveTop),k.classList.add("ui-listview-item-moved"),j.moveTop=c,e._direction>0?e._changeLocationDown(c,h,g,l):e._direction<0&&e._changeLocationUp(c,h,g,l)},P._end=function(){var a=this,b=a.element,c=a._ui.helper,d=a._ui.holder,e=c.element;e.classList.remove("ui-listview-item-moved"),e.classList.remove(M.HELPER),a._appendLiStylesToElement(e,d.offsetTop),b.insertBefore(e,d),b.removeChild(d),a._ui.helper={},a._removeTopOffsets(),b.classList.remove(M.SNAPSHOT),b.style.height=a._styleHeightBackup,b.parentElement.parentElement.scrollTop=-a.originalListPosition,a._liElements=E.call(b.querySelectorAll("li")),a.trigger("scroll")},P._click=function(){var a=this,b=a.element;a._removeTopOffsets(),b.classList.remove(M.SNAPSHOT),b.style.height=a._styleHeightBackup,b.parentElement.parentElement.scrollTop=-a.originalListPosition},P._animationEnd=function(a){var b=this,c=a.target.parentElement.parentElement,d=c.classList;d.contains(M.ACTIVATE_HANDLERS)?(d.remove(M.ACTIVATE_HANDLERS),d.add(M.CANCEL_ANIMATION)):d.contains(M.DEACTIVATE_HANDLERS)&&(b._removeHandlers(),d.remove(M.DEACTIVATE_HANDLERS),d.remove(M.DRAG_MODE)),a.stopImmediatePropagation(),a.preventDefault()},P.handleEvent=function(a){var b=this,c=a.detail&&a.detail.srcEvent&&a.detail.srcEvent.srcElement||a.srcElement;if(c.classList.contains(M.HANDLER))switch(a.type){case"click":b._click(a),a.preventDefault();break;case"dragprepare":b._prepare(a);break;case"dragstart":b._start(a),a.preventDefault();break;case"drag":b._move(a);break;case"dragend":b._end(a);break;case"animationend":case"webkitAnimationEnd":b._animationEnd(a)}},P._appendHandlers=function(){for(var a,c,d=0,e=this,f=e._liElements,g=f.length;g>d;d++)c=f[d],a=b.createElement("div"),a.classList.add(M.HANDLER),a.classList.add("ui-icon-reorder"),a.classList.add("ui-icon"),c.appendChild(a)},P._removeHandlers=function(){for(var a,b,c=0,d=this,e=d._liElements,f=e.length;f>c;c++)b=e[c],a=b.querySelector("."+M.HANDLER),b.removeChild(a)},P._recalculateTop=function(){for(var a,b,c=0,d=this,e=d._liElements,f=e.length;f>c;c++)b=e[c],a=b.offsetTop,d._snapshotItems.push(a),d._appendLiStylesToElement(e[c],d._snapshotItems[c])},P._removeTopOffsets=function(){for(var a=0,b=this,c=b._liElements,d=c.length;d>a;a++)c[a].style.top=""},P._appendLiStylesToElement=function(a,b){a.style.top=b+"px"},P.toggleDragMode=function(){var a=this,b=a.element,c=a._scrollableContainer;a._dragMode=!a._dragMode,a._dragMode?(b.classList.add(M.DRAG_MODE),a._liElements=E.call(b.querySelectorAll("li")),a._appendHandlers(),b.classList.add(M.ACTIVATE_HANDLERS),F.on(b,"click drag dragstart dragend dragcancel dragprepare",a,!0),x.on(c,"scroll",a._reorderCallback),a.trigger("scroll"),F.enableGesture(b,new F.gesture.Drag({blockVertical:!1}))):(b.classList.remove(M.CANCEL_ANIMATION),b.classList.add(M.DEACTIVATE_HANDLERS),F.off(b,"click drag dragstart dragend dragcancel dragprepare",a,!0),F.disableGesture(b))},K.prototype=P,c.widget.mobile.Listview=K,O.defineWidget("Listview",L,[],K,"mobile",!0,!0,HTMLUListElement)}(a,a.document,d),function(b,d){var e=0,f=+new Date,g=[].slice,h="",i="",j=function(a){var b=new Date;a.unshift("["+h+"]["+b.toLocaleString()+"]")},k=a.ns||a.tau||{},l=a.nsConfig||a.tauConfig||{},m=function(a){this.message=a};k.info=k.info||{profile:"custom"},k.tauPerf=k.tauPerf||{},a.ns=k,a.nsConfig=l,a.tau=k,a.tauConfig=l,h=l.rootNamespace,i=l.fileName,m.prototype.toString=function(){return this.message},k.getUniqueId=function(){return h+"-"+k.getNumberUniqueId()+"-"+f},k.getNumberUniqueId=function(){return e++},k.log=function(){var a=g.call(arguments);j(a),d&&d.log.apply(d,a)},k.warn=function(){var a=g.call(arguments);j(a),d&&d.warn.apply(d,a)},k.error=function(){var a=g.call(arguments);j(a),d&&d.error.apply(d,a)},k.getConfig=function(a,b){return l[a]===c?b:l[a]},k.setConfig=function(a,b,d){d&&l[a]!==c||(l[a]=b)},k.getFrameworkPath=function(){var a,c,d,e,f=b.getElementsByTagName("script"),g=f.length;for(a=0;g>a;a++)if(c=f[a].src,d=c.split("/"),e=d.length,d[e-1]===i+".js"||d[e-1]===i+".min.js")return d.slice(0,e-1).join("/");return null},k._TAUException=m,k["throws"]=function(a){throw"string"!=typeof a&&k["throws"]("Wrong parameter type. Message must be a string!"),new k._TAUException(a)}}(a.document,a.console),function(a,b,c){function d(a,b){var c,d=new XMLHttpRequest;return d.open("get",a,!1),b&&d.overrideMimeType(b),d.send(),4===d.readyState&&(c=d.status,200===c||0===c&&d.responseText)?d.responseText:null}function e(a){for(var b,c=m.call(a.querySelectorAll("script[src]")),d=c.length;--d>=0;)b=c[d],b.parentNode.removeChild(b);return c}function f(b){return function(){try{a.eval(b)}catch(d){d.stack?c.error(d.stack):d.name&&d.message?c.error(d.name,d.message):c.error(d)}}}function g(a){var b,c=a.length;for(b=0;c>b;++b)a[b]()}function h(a,c){var d,e,f,g,h=[];for(f=0,g=a.length;g>f;++f)e=k.fetchSync(a[f].src,"text/plain"),e&&(d=b.adoptNode(a[f]),d.setAttribute("data-src",a[f].src),d.removeAttribute("src"),h.push(k.safeEvalWrap(e)),c&&c.appendChild(d));return h}function i(a){var c,d=[];return m.call(a.querySelectorAll("script:not([data-src]):not([type]):not([id]):not([src])")).forEach(function(a){c=b.createElement("script"),c.innerText=a.textContent,m.call(a.attributes).forEach(function(b){c.setAttribute(b.name,a.getAttribute(b.name))}),a.parentNode.removeChild(a),d.push(c)}),d}var j=null,k=c.util||{},l=[],m=[].slice,n=!1;k._requestAnimationFrameOnSetTimeout=function(b){"function"!=typeof b&&c["throws"]("Parameter is not a function!"),j=a.setTimeout(b.bind(b,+new Date),1e3/60)},k._loop=function(){var a=m.call(l),b=a.shift(),c=performance.now();for(l=[];b;)b(c),b=performance.now()-c<15?a.shift():null;a.length||l.length?(l.unshift.apply(l,a),k.windowRequestAnimationFrame(k._loop)):n=!1},k._getRequestAnimationFrame=function(){return(a.requestAnimationFrame||a.webkitRequestAnimationFrame||a.mozRequestAnimationFrame||a.oRequestAnimationFrame||a.msRequestAnimationFrame||k._requestAnimationFrameOnSetTimeout).bind(a)},k.windowRequestAnimationFrame=k._getRequestAnimationFrame(),k.requestAnimationFrame=function(a){l.push(a),n||(k.windowRequestAnimationFrame(k._loop),n=!0)},k._cancelAnimationFrameOnSetTimeout=function(){a.clearTimeout(j)},k.cancelAnimationFrames=function(a){var b=0,d=l.length,e=0;if(a)for(;d>0&&b>-1;){for(b=-1;d>e;e++)if(l[e].animationId===a){b=e;break}b>-1&&(l.splice(b,1),d--)}else c.warn("cancelAnimationFrames() require one parameter for request identify")},k._getCancelAnimationFrame=function(){return(a.cancelAnimationFrame||a.webkitCancelAnimationFrame||a.mozCancelAnimationFrame||a.oCancelAnimationFrame||a.msCancelAnimationFrame||k._cancelAnimationFrameOnSetTimeout).bind(a)},k.cancelAnimationFrame=k._getCancelAnimationFrame(),k.fetchSync=d,k._removeExternalScripts=e,k.safeEvalWrap=f,k.batchCall=g,k._createScriptsSync=h,k._removeInlineScripts=i,k.async=k.requestAnimationFrame,k.importEvaluateAndAppendElement=function(a,c){var d=k._createScriptsSync(k._removeExternalScripts(a),a),e=k._removeInlineScripts(a),f=b.importNode(a,!0);return c.appendChild(f),e.forEach(function(a){c.appendChild(a)}),k.batchCall(d),f},k.isNumber=function(a){var b=parseFloat(a);return!isNaN(b)&&isFinite(b)},k.runScript=function(c,d){var e,f,g,h=b.createElement("script"),i=m.call(d.attributes),j=d.getAttribute("src");for(null!==j&&(j=k.path.makeUrlAbsolute(j,c)),f=i.length;--f>=0;)g=i[f],"src"!==g.name?h.setAttribute(g.name,g.value):h.setAttribute("data-src",g.value);e=j?k.fetchSync(j,"text/plain"):d.textContent,e&&(h.src=a.URL.createObjectURL(new Blob([e],{type:"text/javascript"})),h.textContent=e),d.parentNode.replaceChild(h,d)},c.util=k}(a,a.document,d),function(){function a(a,b){return 1-3*b+3*a}function b(a,b){return 3*b-6*a}function c(a){return 3*a}function e(d,e,f){return((a(e,f)*d+b(e,f))*d+c(e))*d}function f(d,e,f){return 3*a(e,f)*d*d+2*b(e,f)*d+c(e)}function g(a,b,c,d,f){var g,h,i=0;do h=b+(c-b)/2,g=e(h,d,f)-a,g>0?c=h:b=h;while(Math.abs(g)>m&&++i<n);return h}function h(a,b,c,d){for(var g=0;k>g;++g){var h=f(b,c,d);if(0===h)return b;var i=e(b,c,d)-a;b-=i/h}return b}function i(a){if(!a||4!==a.length)throw new Error("BezierEasing: points must contains 4 values");for(var b=0;4>b;++b)if("number"!=typeof a[b]||isNaN(a[b])||!isFinite(a[b]))throw new Error("BezierEasing: points should be integers.");if(a[0]<0||a[0]>1||a[2]<0||a[2]>1)throw new Error("BezierEasing x values must be in [0, 1] range.")}function j(a,b,c,d){return 4===arguments.length?new j([a,b,c,d]):this instanceof j?(i(a),this._str="BezierEasing("+a+")",this._css="cubic-bezier("+a+")",this._p=a,this._mSampleValues=q?new Float32Array(o):[],this._precomputed=!1,this.get=this.get.bind(this),this):new j(a)}var k=4,l=.001,m=1e-7,n=10,o=11,p=1/(o-1),q="function"==typeof Float32Array;j.prototype={get:function(a){var b=this._p[0],c=this._p[1],d=this._p[2],f=this._p[3];return this._precomputed||this._precompute(),b===c&&d===f?a:0>=a?0:a>=1?1:e(this._getTForX(a),c,f)},_precompute:function(){var a=this._p[0],b=this._p[1],c=this._p[2],d=this._p[3];this._precomputed=!0,(a!==b||c!==d)&&this._calcSampleValues()},_calcSampleValues:function(){for(var a=this._p[0],b=this._p[2],c=0;o>c;++c)this._mSampleValues[c]=e(c*p,a,b)},_getTForX:function(a){for(var b=this._p[0],c=this._p[2],d=this._mSampleValues,e=0,i=1,j=o-1;i!==j&&d[i]<=a;++i)e+=p;--i;var k=(a-d[i])/(d[i+1]-d[i]),m=e+k*p,n=f(m,b,c);return n>=l?h(a,m,b,c):0===n?m:g(a,e,e+p,b,c)}},j.css={ease:j.ease=new j(.25,.1,.25,1),easeIn:j.easeIn=new j(.42,0,1,1),easeOut:j.easeOut=new j(0,0,.58,1),easeInOut:j.easeInOut=new j(.42,0,.58,1)},d&&d.util&&(d.util.bezierCurve=j)}(),function(a,b,d){function e(){for(var a,b=[].slice.call(arguments),d=0,e=b.length;e>d;d++)if(a=b[d],a!==c)return a;return null}function f(a,b){var c,d,e,f=a.steps,g=a.from,h=null,i=0,j=100;for(c in f)f.hasOwnProperty(c)&&(d=f[c],e=c/100,b>=e?(g=d,i=e):null===h&&(h=d,j=e));return g+(b-i)/(j-i)*(h-g)}function g(a,b,c){var d,g,h=c.steps||a.steps;c.duration=e(c.duration,a.duration),c.delay=e(c.delay,a.delay,0),d=e(c.object,this._object),c.simpleProperty=c.property,c.property.split(".").forEach(function(a){"object"==typeof d[a]&&null!==d[a]?(d=d[a],c.propertyObject=d):c.simpleProperty=a}),c.propertyObject=d,h?(c.calculate=f.bind(null,c),h[0]=e(h[0],c.from,d[c.simpleProperty]),c.from=h[0],c.to=e(h[100],c.to),c.diff=0,c.current=h[0],c.direction=c.from<c.to?1:-1):(c.calculate=c.calculate||o,g=e(c.from,d[c.simpleProperty]),c.from=g,c.diff=c.to-g,c.current=g,c.direction=g<c.to?1:-1),c.startTime=Date.now()+c.delay,this._pausedTimeDiff>0&&(c.startTime=Date.now()-this._pausedTimeDiff,this._pausedTimeDiff=0),c.lastCalculationTime=c.startTime,c.timing=e(c.timing,a.timing,o),b.push(c)}function h(a,b){a._animate&&(a._animate.chain=[].slice.call(b),a.start())}function i(a,b){var c=[].slice.call(b),d=[];c.forEach(function(a){d.unshift(a),a.forEach(function(a){a.timing=p})}),a._animate.chain=d,a._animate.callback=null,a.start()}function j(a){var b,c;if(a)for(c=a.length,b=0;c>b;b++)a[b].startTime=Date.now()}function k(a,b){var c,d=null;if(a&&a.startTime<=b){if(c=b-a.startTime,c>=a.duration&&(c=a.duration,a.callback&&a.callback()),a.duration>0&&(a.progress=c/a.duration,d=a.calculate(a.timing(c/a.duration),a.diff,a.from,a.current)),
-null!==d)return a.current=d,a.propertyObject[a.simpleProperty]=a.current,c>=a.duration?2:1;if(c>=a.duration)return 2}return 0}var l=d.util,m=l.requestAnimationFrame,n=function(a){var b=this;b._object=a,b._animate={chain:[],chainIndex:0},b._pausedTimeDiff=0,b._animateConfig=null},o=function(a,b,d){return b=b===c?1:b,d=d===c?0:d,a*(b||0)+(d||0)},p=function(a){return 1-a},q={};l.bezierCurve=l.bezierCurve||bezierCurve,n.prototype=q,n.timing={linear:o,ease:l.bezierCurve.ease.get,easeInOut:l.bezierCurve.easeInOut.get,easeIn:l.bezierCurve.easeIn.get,easeOut:l.bezierCurve.easeOut.get},q.destroy=function(){var a=this;a._object=null,a._animate=null,a._animateConfig=null},q.setProgress=function(a){var b,c=this,d=c._animate;b=d.chainIndex>0?d.chain[d.chainIndex-1]:d.chain[0],b&&b.forEach(function(b){b.progress=a,0===c._pausedTimeDiff?b.startTime=Date.now()-b.duration*a:c._pausedTimeDiff=b.duration*a})},q.getProgress=function(){var a,b=this,c=b._animate;return a=c.chainIndex>0?c.chain[c.chainIndex-1]:c.chain[0],a?a[0].progress:0},q._initAnimate=function(){var a=this,b=[],c=a._animate.chain[a._animate.chainIndex++];c?(c.forEach(g.bind(a,a._config,b)),a._animateConfig=b):a._animateConfig=null},q.set=function(a){var b,c,d=this,e=[].slice.call(arguments);return b=e.pop(),Array.isArray(b)?(e.push(b),b=null):d._animate.config=b,d._config=b,c=[].slice.call(e),b&&(b.loop&&b.duration>0?d._animate.callback=h.bind(null,d,c):b.withRevert?d._animate.callback=i.bind(null,d,c):d._animate.callback=a.callback||b.callback),d._animate.chain=e,d},q.start=function(a){var b=this;return b.active=!0,b._initAnimate(),b._animate.callback=b._animate.callback||a,a=b._animate.callback,b._animate.chainIndex<b._animate.chain.length?b._animationTimeout=b._calculateAnimate.bind(b,b.start.bind(b,a)):b._animationTimeout=b._calculateAnimate.bind(b,a),b._animationId=Math.random()+Date.now(),b._animationTimeout.animationId=b._animationId,b._calculateAnimate(a),b},q.stop=function(){var a=this;return a.active=!1,a._animate.chainIndex=0,a._animateConfig=null,d.util.cancelAnimationFrames(a._animationId),a._animationTimeout=null,a},q.pause=function(){var a=this;a.active=!1,a._animateConfig&&(a._pausedTimeDiff=Date.now()-a._animateConfig[0].startTime,a.stop())},q.reset=function(){var a=this,b=a.active;b&&a.stop(),a._initAnimate(),j(a._animateConfig),a._pausedTimeDiff=0,a._animate.chainIndex=0,a._calculateAnimate(),b&&a.start()},q._calculateAnimate=function(a){var b,c,d,e=this,f=e._animateConfig,g=!1,h=0,i=Date.now();if(f){for(b=f.length,c=f.length;c>h;)f[h].duration>0?(d=k(f[h],i),2===d?(b--,f.splice(h,1),c--,h--,g=!0):1===d&&(g=!0)):b--,h++;g&&e._tickFunction&&e._tickFunction(e._object),b?e._animationTimeout&&m(e._animationTimeout):(e.stop(),a&&a())}},q.tick=function(a){var b=this._tickFunction;return b?this._tickFunction=function(c){b(c),a(c)}:this._tickFunction=a,this},l.Animate=n}(a,a.document,d),function(a,b){function c(a){var b=a._animation,c=a.state;a.options.currentIteration++<a.options.iteration||"infinite"===a.options.iteration?(b.set(c.animation,c.animationConfig),b.stop(),b.start()):(a.options.marqueeStyle===n.ENDTOEND&&a._ui.content.classList.remove("ui-visible"),a.reset(),a.options.animation=h.STOPPED,a.trigger(l.MARQUEE_END))}var d=b.widget.BaseWidget,e=b.engine,f=b.util.object,g=b.util.Animate,h={RUNNING:"running",STOPPED:"stopped",IDLE:"idle"},i=function(){this.options=f.copy(i.defaults),this._callbacks={},this._ui={content:null}},j=new d,k="ui-marquee",l={MARQUEE_START:"marqueestart",MARQUEE_END:"marqueeend",MARQUEE_STOPPED:"marqueestopped"},m={MARQUEE_CONTENT:k+"-content",MARQUEE_GRADIENT:k+"-gradient",MARQUEE_ELLIPSIS:k+"-ellipsis",ANIMATION_RUNNING:k+"-anim-running",ANIMATION_STOPPED:k+"-anim-stopped",ANIMATION_IDLE:k+"-anim-idle"},n={SCROLL:"scroll",SLIDE:"slide",ALTERNATE:"alternate",ENDTOEND:"endToEnd"},o={GRADIENT:"gradient",ELLIPSIS:"ellipsis",NONE:"none"},p=function(a){return Math.round(100*a)/100},q={marqueeStyle:n.SLIDE,speed:60,iteration:"1",currentIteration:1,delay:0,timingFunction:"linear",ellipsisEffect:o.GRADIENT,runOnlyOnEllipsisText:!0,animation:h.STOPPED,autoRun:!0},r={LEFT:"-webkit-linear-gradient(left, transparent 0, rgb(255, 255, 255) 15%, rgb(255, 255, 255) 100%)",BOTH:"-webkit-linear-gradient(left, transparent 0, rgb(255, 255, 255) 15%, rgb(255, 255, 255) 85%, transparent 100%",RIGHT:"-webkit-linear-gradient(left, rgb(255, 255, 255) 0, rgb(255, 255, 255) 85%, transparent 100%)"};i.classes=m,i.defaults=q,j._calculateTranslateFunctions={scroll:function(a,b,c,d,e){var f,g=d+b*c;return f="translateX("+(-1*p(g)||0)+"px)",e===f?null:f},slide:function(a,b,c,d,e){var f,g,h,i=a._stateDOM,j=i.offsetWidth,k=i.children[0].offsetWidth;return g=15*j/100/2,f=b*(k-j+g),h="translateX("+(-1*p(f)||0)+"px)",e===h?null:h},alternate:function(a,b,c,d,e){var f,g=a._stateDOM,h=g.offsetWidth,i=g.children[0].offsetWidth,j=d+b*c;return j>i/2?j=i-2*(j-i/2):j*=2,j=j/i*(i-h),f="translateX("+(-1*p(j)||0)+"px)",e===f?null:f},endToEnd:function(a,b,c,d,e){var f,g=d+b*c;return f="translateX("+(-1*p(g)||0)+"px)",e===f?null:f}},j._calculateEndToEndGradient=function(a){var b,c=this,d=c._stateDOM,e=d.children[0].offsetWidth,f=(e-50)/e;return"none"===c.options.ellipsisEffect?null:b=a>0&&c.options.currentIteration<c.options.iteration?r.BOTH:a>f?r.RIGHT:a>0?r.BOTH:r.LEFT},j._calculateStandardGradient=function(a){var b;return isNaN(a)?null:"none"===this.options.ellipsisEffect?null:b=1===a?r.LEFT:a>0?r.BOTH:r.RIGHT},j._build=function(c){var d=c.querySelector("."+m.MARQUEE_CONTENT);if(c.classList.add(k),c.classList.contains(m.MARQUEE_ELLIPSIS)&&b.warn("Class '"+m.MARQUEE_ELLIPSIS+"' for option 'ellipsisEffect' in Marquee widget has been deprecated. Allowed values: none, '"+m.MARQUEE_GRADIENT+"' (default)"),!d){for(d=a.createElement("div");c.hasChildNodes();)d.appendChild(c.removeChild(c.firstChild));d.classList.add(m.MARQUEE_CONTENT),c.appendChild(d)}return this._ui.content=d,c},j._initStateDOMstructure=function(){this._stateDOM={classList:[],offsetWidth:null,style:{webkitMaskImage:null},children:[{offsetWidth:null,style:{webkitTransform:null}}]}},j._initAnimation=function(){var a=this,b=a._stateDOM,c=b.children[0],d=c.offsetWidth+(a.options.marqueeStyle===n.ENDTOEND?100:0),e=new g({}),f={hasEllipsisText:d>0,animation:[{object:c.style,property:"webkitTransform",calculate:a._calculateTranslateFunctions.scroll.bind(null,a),from:0,to:d},{object:b.style,calculate:a._calculateStandardGradient.bind(a),property:"webkitMaskImage",from:0,to:1}],animationConfig:{duration:d/a.options.speed*1e3,timing:g.timing.linear}};a.state=f,e.tick(a._render.bind(a,!0)),a._animation=e},j._init=function(a){var b=this;return b._initStateDOMstructure(),b._initDOMstate(),b._initAnimation(),b.option(b.options),a},j._setEllipsisEffect=function(a,c){return"ellipsis"===c&&b.warn("Marquee: option value 'ellipsis' for 'ellipsisEffect' is deprecated. Allowed values: 'none', 'gradient' (default)"),this._togglePrefixedClass(this._stateDOM,k+"-",c)},j._updateDuration=function(){var a=this,b=a._stateDOM,c=a.state,d=b.children[0],e=d.offsetWidth,f=e-b.offsetWidth,g=c.animationConfig;g.duration=f>0?e/a.options.speed*1e3:0,a._animation.set(c.animation,g)},j._setSpeed=function(a,b){var c=this;return c.options.speed=parseInt(b,10),c._updateDuration(),!1},j._setIteration=function(a,b){var d=this,e=d.state,f=e.animationConfig;return"infinite"===b?(f.loop=!0,f.callback=function(){d.options.animation=h.STOPPED,d.trigger.bind(d,l.MARQUEE_END)}):(b=parseInt(b,10),d.options.currentIteration=1,f.loop=!1,f.callback=c.bind(null,d)),d._animation.set(e.animation,f),d.options.iteration=b,!1},j._setDelay=function(a,b){var c=this,d=c.state,e=d.animationConfig;return b=parseInt(b,10),e.delay=b,c._animation.set(d.animation,e),c.options.delay=b,!1},j._setTimingFunction=function(a,b){var c=this,d=c.state,e=d.animationConfig;return e.timing=g.timing[b],c._animation.set(d.animation,e),c.options.timing=b,!1},j._setAutoRun=function(a,b){return b&&this.start(),!1},j._setAnimation=function(a,b){var c=this,d=c._animation,e=c._stateDOM,f=c.options,g=e.children[0].offsetWidth-e.offsetWidth,i=f.runOnlyOnEllipsisText;return b!==f.animation&&(b===h.RUNNING?(i&&g>0||!i)&&(c._ui.content.setAttribute("title",c._ui.content.textContent.trim()),c.options.marqueeStyle===n.ENDTOEND&&c._ui.content.classList.add("ui-visible"),d.start(),f.animation=b,c.trigger(l.MARQUEE_START)):(c.options.marqueeStyle===n.ENDTOEND&&c._ui.content.classList.remove("ui-visible"),d.pause(),f.animation=b,c.trigger(l.MARQUEE_STOPPED))),!1},j._setMarqueeStyle=function(a,b){var c=this,d=c.state.animation;return d[0].calculate=c._calculateTranslateFunctions[b].bind(null,c),"endToEnd"===b?d[1].calculate=c._calculateEndToEndGradient.bind(c):d[1].calculate=c._calculateStandardGradient.bind(c),c.options.marqueeStyle=b,!1},j._destroy=function(){var a,b=this;if(b.state=null,b._animation&&(b._animation.stop(),b._animation.destroy(),b._animation=null),b.element.style.webkitMaskImage="",a=b.element.querySelector("."+m.MARQUEE_CONTENT)){for(;a.hasChildNodes();)b.element.appendChild(a.removeChild(a.firstChild));b._stateDOM.children=[],a.parentElement===b.element&&b.element.removeChild(a)}b._stateDOM=null},j.start=function(){this.option("animation","running")},j.stop=function(){this.option("animation","stopped")},j.reset=function(){var a=this,b=a._animation;b.reset(),a.element.style.webkitMaskImage="none"===a.options.ellipsisEffect?"":r.RIGHT},i.prototype=j,b.widget.core.Marquee=i,e.defineWidget("Marquee",".ui-marquee",["start","stop","reset"],i,"core")}(a.document,d),function(b,c){var d=c.widget.core.Tab,e=d.prototype,f=c.engine,g=c.util.DOM,h=c.widget.core.BaseKeyboardSupport,i=function(){var a=this;h.call(this),a._type={orientation:"portrait",withIcon:!1,withTitle:!1,"static":!1},a._ui={tabs:[],links:[]},a.options={active:0,autoChange:!0,autoPositionSet:!0},a._marqueeOptions={ellipsisEffect:"none",marqueeStyle:"endToEnd",iteration:"infinite",delay:1e3},a._actualActiveTab=null},j="ui-sub-tab",k={SUBTAB:j,TAB_ACTIVE:"ui-tab-active",TAB_NO_TEXT:"ui-tab-no-text",TITLE:"ui-title",SUBTAB_PORTRAIT:j+"-portrait",SUBTAB_LANDSCAPE:j+"-landscape",SUBTAB_TEXT:j+"-text",SUBTAB_STATIC:j+"-static",ANCHOR:j+"-anchor",INACTIVE_TOO_LONG_TEXT:j+"-inactive-text-overflow"},l=c.event,m=new d;i.prototype=m,i.classes=k,i.selector="."+j+",[data-role='tabbar'],.ui-tabbar",m._configure=function(a){var b=a.querySelectorAll("li a"),c=-1;[].forEach.call(b,function(a,b){a.classList.contains(k.TAB_ACTIVE)&&(c=b)}),c>-1&&(this.options.active=c)},m._buildTabsAndLinks=function(a){var d,e,f,g,h,i,j,l,m=this,n=m._ui,o=a.querySelectorAll("li"),p=a.querySelectorAll("li a");if(0===p.length&&(p=a.querySelectorAll("li div")),0===p.length)return c.warn("There is no tab element, SubTab wasn't build."),!1;for(e=0,f=p.length;f>e;e++)g=p[e],h=g.firstChild,h?(d=b.createElement("span"),d.classList.add(k.SUBTAB_TEXT),d.appendChild(g.firstChild),g.appendChild(d),l=d.style.overflowX,j=d.getBoundingClientRect().width,d.style.overflowX="visible",i=d.getBoundingClientRect().width,d.style.overflowX=l,i>j&&g.classList.add(k.INACTIVE_TOO_LONG_TEXT)):g.classList.add(k.TAB_NO_TEXT),g.classList.add(k.ANCHOR);return n.links=p,n.tabs=o,!0},m._build=function(a){var b=this;return a.classList.add(k.SUBTAB),b._buildTabsAndLinks(a)?a:null},m._initOrientation=function(b){var c=this._type,d=b.classList;a.innerWidth<a.innerHeight?(d.remove(k.SUBTAB_LANDSCAPE),d.add(k.SUBTAB_PORTRAIT),c.orientation="portrait"):(d.remove(k.SUBTAB_PORTRAIT),d.add(k.SUBTAB_LANDSCAPE),c.orientation="landscape")},m._initStaticAndWidths=function(a){var b,c,d,e=this,f=e._ui.tabs,h=a.getBoundingClientRect().width,i=f.length,j=0;if(h){for(b=a.classList.contains(k.SUBTAB_STATIC),!b&&f[0]&&(c=g.getElementWidth(f[0]),c===c&&h>c*i&&(b=!0)),e._type["static"]=b,d=0;i>d;d++)b?(c=parseInt(h/i,10)||0,f[d].style.width=c+"px"):c=g.getElementWidth(f[d]),j+=c;e._wholeWidth=j}},m._init=function(a){var b=this;return b._initOrientation(a),b._initStaticAndWidths(a),b._translatedX=0,b._lastX=0,b._setActive(b.options.active),a},m._bindEvents=function(){var b=this,c=b._ui.tabs;l.on(c,"vclick",b,!1),a.addEventListener("resize",b,!1)},m._unBindEvents=function(){var b=this,c=b._ui.tabs;l.off(c,"vclick",b,!1),a.removeEventListener("resize",b,!1)},m.handleEvent=function(a){var b=this;switch(a.type){case"vclick":b._onClick(a);break;case"resize":b._init(b.element)}},m._onClick=function(a){var b,c,d,e=this,f=e._ui,g=e.options,h=a.currentTarget.querySelector("A");for(c=0,d=f.links.length;d>c;c++){if(f.links[c]===h){b=c;break}b=0}g.autoChange&&e._setActive(b)},m._setActive=function(a){var b,d,f,g,h,i,j=this,l=j.options,m=j._ui;0!==m.links.length&&a!==j._actualActiveTab&&(b=m.links[l.active],b.classList.remove(k.TAB_ACTIVE),d=b.querySelector("."+k.SUBTAB_TEXT),d&&(f=c.engine.getBinding(d),f&&(f.reset(),c.engine.destroyWidget(d),b.classList.add(k.INACTIVE_TOO_LONG_TEXT))),j.isKeyboardSupport===!0&&m.links[a].focus(),b=m.links[a],b.classList.add(k.TAB_ACTIVE),l.active=a,d=b.querySelector("."+k.SUBTAB_TEXT),d&&(g=d.style.overflowX,h=d.getBoundingClientRect().width,d.style.overflowX="visible",i=d.getBoundingClientRect().width,d.style.overflowX=g,i>h&&(b.classList.remove(k.INACTIVE_TOO_LONG_TEXT),c.widget.Marquee(d,j._marqueeOptions))),e._setActive.call(j,a),j._actualActiveTab=a)},m._destroy=function(){var a=this;a._unBindEvents(),a._type=null,a._ui=null,a.options=null},c.widget.core.SubTab=i,f.defineWidget("SubTab",i.selector,["setActive","getActive"],i)}(a.document,d),function(a,b){var c=b.widget.BaseWidget,d=b.engine,e=b.util.selectors,f=/[^\/]+$/,g={MAIN_TAB:"ui-main-tab",VISIBLE:"ui-main-tab-visible",ACTIVE_TAB:"ui-tab-active"},h=function(){this._ui={}},i=new c;h.classes=g,h.prototype=i,i._build=function(a){return a.classList.add(g.MAIN_TAB),a},i._init=function(c){var d=this,f=null;return d._ui.parentPage=e.getClosestBySelector(c,".ui-page"),d._ui.links=[].slice.call(c.querySelectorAll("li > a")),d._ui.links.forEach(function(c){var d=a.createElement("span"),e=c.textContent.trim();d.textContent=e,c.textContent="",c.appendChild(d),b.widget.Marquee(d,{iteration:1,delay:0,marqueeStyle:"endToEnd",autoRun:!1}),c.setAttribute("data-rel","maintab")}),c.classList.add(g.VISIBLE),f=e.getClosestBySelector(c,".ui-page-container"),f.appendChild(c),c},i.handleEvent=function(a){var b=this;switch(a.type){case"pagebeforeshow":b._onPageBeforeShow(a)}},i._bindEvents=function(){a.addEventListener("pagebeforeshow",this,!0)},i._unbindEvents=function(){a.removeEventListener("pagebeforeshow",this,!0)},i._onPageBeforeShow=function(a){var c,d,e,h,i=this,j=a.target,k=i.element,l=i._ui.links;i._ui.parentPage===j?(d=l.filter(function(a){return a.classList.contains(g.ACTIVE_TAB)})[0]||k.querySelector("a"),d?(k.classList.add(g.VISIBLE),c=b.router.Router.getInstance(),c.open(d.getAttribute("href"),{rel:"maintab"})):b.warn("MainTab: The widget requires at least one tab with link")):k.classList.contains(g.VISIBLE)&&(e=j.getAttribute("data-url"),h=e.match(f)[0],h&&(d=l.filter(function(a){return a.getAttribute("href").indexOf(h)>-1})[0],d?(d.classList.contains(g.ACTIVE_TAB)||l.forEach(function(a){a.classList.toggle(g.ACTIVE_TAB,a.getAttribute("href").indexOf(h)>-1)}),i._disableTopRounds(j)):k.classList.remove(g.VISIBLE)))},i._disableTopRounds=function(a){var b,c=a.querySelector(".ui-appbar");c||(b=a.querySelector(".ui-content-area"),b.classList.add("ui-content-area-disabled-top-rounding"))},i._destroy=function(){this._unbindEvents()},b.widget.core.MainTab=h,d.defineWidget("MainTab","[data-role='main-tab'], .ui-main-tab",[],h,"core")}(a.document,d),function(a,b,c){function d(a){var b;return a?(b=Object.keys(a).join(":"),b.indexOf("__impl")>-1||b.indexOf("__upgraded__")>-1||b.indexOf("__attached__")>-1):!1}function e(b){var c=a.ShadowDOMPolyfill&&a.ShadowDOMPolyfill.wrap;return b&&c?c(b):b}function f(b){var d=a.ShadowDOMPolyfill&&a.ShadowDOMPolyfill.unwrap;return b&&d?d(b):(c.error("Unwrap method not available"),b)}function g(a){for(var b,c=a.attributes,d=c.length,e=0,f=a.tagName.toLowerCase();d>e;++e)b=c.item(e),f+="["+b.name+'="'+b.value+'"]';return f}function h(a){for(var c=g(a),d=a.parentNode;d;)c=g(d)+">"+c,d=d.parentNode,d===b&&(d=null);return c}function i(a){for(;a.firstChild;)a.removeChild(a.firstChild)}function j(a,b){for(;a.firstChild;)b.appendChild(a.firstChild)}function k(a,c){var d=b.createElement("div"),e=!1;return a.appendChild(d),d.innerHTML=c.replace(o,function(){return e=!0,"<span id='temp-container-"+ ++l+"'></span>"}),{container:d,contentFlag:e}}var l=0,m=[].slice,n=c.util.DOM,o=/(\$\{content\})/gi;n.getNodeSelector=g,n.getNodeSelectorPath=h,n.isNodeEqual=function(c,e){var f,g,i=c,j=e,k=a.ShadowDOMPolyfill&&a.ShadowDOMPolyfill.unwrap;return null===c||null===e?!1:(f=d(c),g=d(e),f&&(i=k?k(c):b.querySelector(h(c))),g&&(j=k?k(e):b.querySelector(h(e))),i===j)},n.isNodeWebComponentPolyfilled=d,n.unwrapWebComponentPolyfill=f,n.wrapWebComponentPolyfill=e,n.isElement=function(a){var b=a;return b?"string"==typeof b.localName&&b.localName.length>0?!0:(a instanceof Element||d(a)&&(b=f(a)),b instanceof Element):!1},n.appendNodes=function(a,b){var c,d,e;if(a){if(b instanceof Array||b instanceof NodeList||b instanceof HTMLCollection)for(e=m.call(b),c=0,d=e.length;d>c;c+=1)a.appendChild(e[c]);else a.appendChild(b),e=b;return e}throw"Context empty!"},n.replaceWithNodes=function(a,b){var c=null;return a.parentNode&&(b instanceof Array||b instanceof NodeList||b instanceof HTMLCollection?(c=this.insertNodesBefore(a,b),a.parentNode.removeChild(a)):(a.parentNode.replaceChild(b,a),c=b)),c},n.removeAllChildren=function(a){a.innerHTML=""},n.insertNodesBefore=function(a,b){var c,d,e,f;if(a){if(e=a.parentNode,b instanceof Array||b instanceof NodeList||b instanceof HTMLCollection)for(f=m.call(b),c=0,d=f.length;d>c;++c)e.insertBefore(f[c],a);else e.insertBefore(b,a),f=b;return f}throw"Context empty!"},n.insertNodeAfter=function(a,b){if(a)return a.parentNode.insertBefore(b,a.nextSibling),b;throw"Context empty!"},n.wrapInHTML=function(a,c){var d,e,f,g=b.createDocumentFragment(),h=b.createDocumentFragment(),m=a.length,n=m?a[0].parentNode:a.parentNode,o=m?a[m-1].nextSibling:a.nextSibling;return f=k(g,c),f.contentFlag===!0?(d=f.container.querySelector("span#temp-container-"+l),e=this.replaceWithNodes(d,a)):(d=f.container.children[0],e=this.appendNodes(d||f.container,a)),j(g.firstChild,h),i(g),n?n.insertBefore(h,o):i(h),e},n.isChildElementOf=function(a,b){if(b)for(;a&&a.parentElement;){if(b===a.parentElement)return!0;a=a.parentElement}return!1}}(a,a.document,d),function(b,c){function d(a){var b=a.element;b.selectedIndex=a._ui.input.checked?1:0,"select"===a._type&&p.trigger(b,"change")}function e(a){return b.createElement(a)}function f(){var a=e("input");return a.type="checkbox",a.setAttribute("data-role","none"),a}function g(a,b,c){var d;a.style.display="none",a.parentNode.insertBefore(c,a),d=f(),a.hasAttribute("disabled")&&d.setAttribute("disabled","disabled"),d.className=r.toggleInput,c.className=o.removeExactTags(a.className,r.toggleContainer,d.className),c.className=r.toggleContainer,c.appendChild(d),c.appendChild(b),c.appendChild(a)}function h(a,b,c){c.className=r.toggleContainer,a.classList.add(r.toggleInput),b.classList.add(r.toggleHandler),a.parentNode.insertBefore(c,a),c.appendChild(a),c.appendChild(b)}function i(a,b){var c=a.from,d=a.to;return[b*Math.abs(d.r-c.r),b*Math.abs(d.g-c.g),b*Math.abs(d.b-c.b),b*Math.abs(d.a-c.a)]}function j(a){a.removeAttribute("data-tau-name"),a.removeAttribute("aria-disabled"),a.removeAttribute("data-tau-bound"),a.removeAttribute("data-tau-built")}var k=function(){var a=this;a.options={appearance:"slider"},a._ui={},a._callbacks={},a._transform={bgColor:{from:{r:0,g:0,b:0,a:0},to:{r:3,g:129,b:254,a:1}},borderColor:{from:{r:143,g:143,b:143,a:1},to:{r:0,g:0,b:0,a:0}}}},l=c.widget.BaseWidget,m=c.widget.core.BaseKeyboardSupport,n=c.engine,o=c.util.string,p=c.event,q="ui-on-off-switch",r={toggleContainer:q+"-container",toggle:q,toggleHandler:q+"-button",toggleInput:q+"-input",onDrag:q+"-button-on-drag",moveToOff:q+"-button-move-to-off",moveToOn:q+"-button-move-to-on",toggleContainerFocus:q+"-focus"},s={HOME:36,END:35,PAGE_UP:33,PAGE_DOWN:34,UP:38,RIGHT:39,DOWN:40,LEFT:37,ENTER:13,SPACE:32},t="";k.prototype=new l,k.classes=r,k.keyCode=s,k.prototype._build=function(a){var b=e("div"),c=e("div"),d=a.nodeName.toLowerCase();return"input"===d&&h(a,b,c),"select"===d&&g(a,b,c),b.className=r.toggleHandler,this._type=d,this._ui.handler=b,this._ui.toggleContainer=c,a},k.prototype._init=function(a){var b=this;b._ui.input=a.parentElement.querySelector("input"),"select"===b._type&&(b._ui.input.checked=!!a.selectedIndex,a.hasAttribute("disabled")&&b._disable())},k.prototype._disable=function(){this._ui.input.setAttribute("disabled","true")},k.prototype._enable=function(){this._ui.input.removeAttribute("disabled")},k.prototype._getValue=function(){var a=this,b=a.element;return["checkbox","radio"].indexOf(b.type)>-1?b.checked:b.selectedIndex},k.prototype._setValue=function(a){var b=this,c=b.element;"input"===b._type&&(c.value=a),["checkbox","radio"].indexOf(c.type)>-1&&(c.checked=!!a),"select"===b._type&&(c.selectedIndex=a,b._ui.input.checked=!!a)},k.prototype._onDragStart=function(){var b,c,d,e=this,f=e._ui,g=f.input,h=f.handler;e.element.disabled||(b=g.getBoundingClientRect(),c=h.getBoundingClientRect(),d=a.getComputedStyle(g),e._moveWidth=b.width-c.width+parseInt(d.borderLeftWidth,10)+parseInt(d.borderRightWidth,10),h.classList.add(r.onDrag))},k.prototype._onDragEnd=function(a){var b,c,e=this,f=e._ui,g=f.input,h=f.handler,i=e._moveWidth,j=g.checked?i:0;e.element.disabled||(b=j+a.detail.deltaX,b=Math.min(Math.max(b,0),i),h.classList.remove(r.onDrag),c=b>i/2,c?h.classList.add(r.moveToOn):h.classList.add(r.moveToOff),f.input.style.backgroundColor=null,f.input.style.borderColor=null,f.input.style.borderWidth=null,c!==g.checked&&(e._setValue(c?1:0),d(e)))},k.prototype._onDrag=function(a){var b,c,d=this,e=d._ui,f=d._moveWidth,g=e.input.checked?f:0;d.element.disabled||(b=g+a.detail.deltaX,b=Math.min(Math.max(b,0),f),e.handler.style.transform="translateX("+b+"px)",c=f?b/f:1,e.input.style.backgroundColor="rgba("+i(d._transform.bgColor,c).join(",")+")",e.input.style.borderColor="rgba("+i(d._transform.borderColor,1-c).join(",")+")",e.input.style.borderWidth=1-c+"px")},k.prototype._onAnimationEnd=function(a){var b=a.target.classList;b.remove(r.moveToOff),b.remove(r.moveToOn),this._ui.handler.style.transform=null},k.prototype.handleEvent=function(a){var b=this;switch(a.type){case"change":d(b);break;case"focus":b._focus(a);break;case"blur":b._blur(a);break;case"keyup":b._keyUp(a);break;case"drag":b._onDrag(a);break;case"dragstart":b._onDragStart(a);break;case"dragend":b._onDragEnd(a);break;case"animationend":case"animationEnd":case"webkitAnimationEnd":b._onAnimationEnd(a)}},k.prototype._bindEvents=function(){var a=this,b=a._ui.input;c.event.enableGesture(b,new c.event.gesture.Drag({threshold:0})),b.addEventListener("change",a,!0),b.addEventListener("focus",a,!0),b.addEventListener("blur",a,!0),b.addEventListener("keyup",a,!0),b.addEventListener("dragstart",a,!0),b.addEventListener("drag",a,!0),b.addEventListener("dragend",a,!0),p.on(a._ui.handler,"animationend animationEnd webkitAnimationEnd",a,!1)},k.prototype._unbindEvents=function(){var a=this,b=a._ui.input;b.removeEventListener("change",a,!0),b.removeEventListener("focus",a,!0),b.removeEventListener("blur",a,!0),b.removeEventListener("keyup",a,!0),b.removeEventListener("drag",a,!0),b.removeEventListener("dragstart",a,!0),b.removeEventListener("dragend",a,!0),p.off(a._ui.handler,"animationend animationEnd webkitAnimationEnd",a,!1),c.event.disableGesture(b)},k.prototype._destroy=function(){var a=this,c=a.element,d=a._type,e=c.parentElement;a._ui.input.removeEventListener("change",a._onChangeValue,!0),j(c),("input"===d||"select"===d)&&e.parentElement&&(e.parentElement.insertBefore(c,e),e.parentElement.removeChild(e)),"input"===d&&c.classList.remove(r.toggle),p.trigger(b,"destroyed",{widget:"OnOffSwitch",parent:c.parentNode})},k.prototype._focus=function(){var a;c.getConfig("keyboardSupport",!1)&&(a=this.element.parentElement.classList,a.add(r.toggleContainerFocus),this.element.focus())},k.prototype._blur=function(){var a;c.getConfig("keyboardSupport",!1)&&(a=this.element.parentElement.classList,a.remove(r.toggleContainerFocus),this.element.blur())},k.prototype._keyUp=function(a){a.keyCode===s.ENTER&&(this._ui.input.checked=!this._ui.input.checked)},k.prototype._getContainer=function(){return this._ui.toggleContainer},t="input[data-role='on-off-switch'],select[data-role='on-off-switch'],select.ui-on-off-switch,input.ui-on-off-switch",k.widgetSelector=t,c.widget.core.OnOffSwitch=k,n.defineWidget("OnOffSwitch",t,[],k,"core"),m.registerActiveSelector(t)}(a.document,d),function(a,b){function c(a){var b=a._ui.onOff,c=a._ui.labelOnOff,d=a._ui.labelTextOnOff;b.checked?(c.classList.add("ui-on-off-label-on"),d.innerHTML="On"):(c.classList.remove("ui-on-off-label-on"),d.innerHTML="Off"),a._disableAllOnOff(!b.checked)}function d(a){a._ui.labelOnOff.classList.add("ui-on-off-label-active")}function e(a){a._ui.labelOnOff.classList.remove("ui-on-off-label-active")}var f=function(){var a=this;a.options={target:null},a._ui={},a._onChangeMasterOnOff=null},g=b.widget.BaseWidget,h=b.widget.core.BaseKeyboardSupport,i=b.engine,j="ui-master-on-off-switch",k={WIDGET:j},l={ENTER:13,SPACE:32},m=".ui-master-on-off-switch",n=new g;f.prototype=n,f.classes=k,f.keyCode=l,n._build=function(c){var d=this,e=a.createElement("label"),f=a.createElement("span"),g=a.createElement("input");return g.classList.add("ui-on-off-switch"),g.type="checkbox",e.classList.add("ui-on-off-label"),f.innerHTML="Off",e.appendChild(f),e.appendChild(g),c.appendChild(e),c.classList.add(k.WIDGET),d._ui.onOff=g,d._ui.labelOnOff=e,d._ui.labelTextOnOff=f,b.widget.OnOffSwitch(g),c},n._init=function(a){var b=this;b._ui.input=a.querySelector("input.ui-on-off-switch"),c(b)},n._bindEvents=function(){var a=this,b=a._ui.onOff,f=a._ui.labelOnOff,g=c.bind(null,a),h=d.bind(null,a),i=e.bind(null,a);b.addEventListener("change",g),f.addEventListener("vmousedown",h),f.addEventListener("vmouseup",i),a._onChangeMasterOnOff=g},n._unbindEvents=function(){var a=this,b=a._ui.onOff;b.removeEventListener("change",a._onChangeMasterOnOff),b.removeEventListener("vmousedown",a._onTouchStart),b.removeEventListener("vmouseup",a._onTouchEnd),a._onChangeMasterOnOff=null,a._onTouchStart=null,a._onTouchEnd=null},n._disableAllOnOff=function(c){var d=a.getElementById(this.options.target),e=[],f=this._ui,g=null;d?(e=[].slice.call(d.querySelectorAll(".ui-on-off-switch")),e.filter(function(a){return a!==f.onOff}).forEach(function(a){g=b.widget.OnOffSwitch(a),c?g.disable():g.enable()})):b.warn("MasterOnOffSwitch: indicated target element ("+this.options.target+") not found")},n._destroy=function(){this._unbindEvents()},n._keyUp=function(a){a.keyCode===l.ENTER&&(this._ui.onOff.checked=!this._ui.onOff.checked)},f.widgetSelector=m,b.widget.core.MasterOnOffSwitch=f,i.defineWidget("MasterOnOffSwitch",m,[],f,"core"),h.registerActiveSelector(m)}(a.document,d),function(a,b){function c(a){a.setAttribute("role","textinput"),a.setAttribute("aria-label","Keyboard opened")}function d(b,c,d){var e=a.createElement("span");return c&&e.classList.add(c),d&&(e.innerHTML=d),i.insertNodeAfter(b,e),e}var e=b.widget.mobile.BaseWidgetMobile,f=b.widget.core.BaseKeyboardSupport,g=b.engine,h=b.util,i=h.DOM,j=h.selectors,k=h.object,l=b.event,m=function(){var a=this;a.options=k.merge({},m.defaults),a._ui={textLineElement:null,textClearButtonElement:null,errorMessageElement:null},a._callbacks={},f.call(a)},n=b.widget.core.Button.classes,o=b.widget.core.Listview.classes,p=b.widget.core.Popup.classes,q=new e,r="ui-text-input",s={uiTextInput:r,uiTextInputClear:r+"-clear",uiTextInputClearHidden:r+"-clear-hidden",uiTextInputClearActive:r+"-clear-active",uiTextInputTextLine:r+"-textline",uiTextInputErrorMessage:r+"-error-message",uiTextInputDisabled:r+"-disabled",uiTextInputFocused:r+"-focused",HEADER_WITH_SEARCH:"ui-header-searchbar",SEARCHINPUT:"ui-search-input",HEADER:"ui-header",CONTAINER:r+"-container",WIDGET_FOCUSED:r+"-widget-focused"},t={uiTextInput:"."+s.uiTextInput,uiTextInputClearButton:"."+s.uiTextInputClear,uiTextInputTextLine:"."+s.uiTextInputTextLine},u={clearBtn:!1,textLine:!0,maxHeight:null,outsideDiv:!1,errorMessageString:"Enter a valid email address"},v={SEARCH:"search",ANIMATIONEND:"animationend"};m.prototype=q,m.classes=s,m.defaults=u,q._resizeTextArea=function(a){var b,c,d,e,f=h.selectors.getClosestByClass(a,p.popup),i=parseInt(this.options.maxHeight,10),j=a.style,k=j.height;j.height="auto",e=a.scrollHeight,a.scrollTop=e,i&&e>i&&(e=i),j.height=e+"px",k!==e+"px"&&f&&""!==k&&(d=g.getBinding(f),d.refresh()),b=h.selectors.getClosestByClass(a,o.LISTVIEW),b&&(c=g.getBinding(b),c&&c.refresh())},q._toggleClearButton=function(a,b){a&&(b.classList.contains(s.uiTextInputFocused)?(a.classList.remove(s.uiTextInputClearHidden),b.classList.add(s.uiTextInputClearActive)):a.classList.contains("ui-btn-active")||a.classList.add(s.uiTextInputClearHidden))},q._onClearBtnClick=function(a){a.element.focus(),a.element.value="",a.trigger(v.SEARCH)},q._onClearBtnAnimationEnd=function(a,b){"btn_pressup_animation"===b.animationName&&""===a.element.value&&b.target.classList.add(s.uiTextInputClearHidden)},q._onFocus=function(a){var b=a.element,c=b.value.length;b.classList.add(s.uiTextInputFocused),""!==b.value&&a._ui.textClearButtonElement&&a._ui.textClearButtonElement.classList.remove(s.uiTextInputClearHidden),b.selectionStart=c,b.selectionEnd=c},q._onInput=function(a){var b=a.element,c=a._ui.textClearButtonElement;""===b.value&&c?(c.classList.add(s.uiTextInputClearHidden),b.classList.remove(s.uiTextInputClearActive)):a._toggleClearButton(a._ui.textClearButtonElement,b),"textarea"===b.nodeName.toLowerCase()&&a._resizeTextArea(b)},q._onBlur=function(a){var b=a.element;b.classList.remove(s.uiTextInputFocused),a._toggleClearButton(a._ui.textClearButtonElement,b)},q._createClearButton=function(b,c){var d=a.createElement("a");return d.classList.add(n.BTN),d.classList.add(n.BTN_ICON),d.classList.add(n.BTN_NOBG),d.classList.add(s.uiTextInputClear),d.classList.add(s.uiTextInputClearHidden),d.tabindex=0,c?b.parentNode.appendChild(d):b.parentNode.insertBefore(d,b.nextSibling.nextSibling),d},q._build=function(a){var b,e=this,f=e.options,g=a.type,h=a.pattern,i=e._ui;switch(e._setOutsideDiv(a,f.outsideDiv),g){case"text":case"password":case"number":case"email":case"url":case"tel":case"search":c(a),i.textLineElement=d(a,s.uiTextInputTextLine);break;default:"textarea"===a.tagName.toLowerCase()&&(c(a),f.textLine&&(i.textLineElement=d(a,s.uiTextInputTextLine)))}return a.classList.add(s.uiTextInput),a.tabindex=0,f.clearBtn&&(i.textClearButtonElement=e._createClearButton(a)),"search"===g&&(b=j.getClosestByClass(a,s.HEADER),a.classList.add(s.SEARCHINPUT),b&&(b.classList.add(s.HEADER_WITH_SEARCH),a.nextElementSibling.classList.contains(s.uiTextInputTextLine)&&a.parentElement.removeChild(a.nextElementSibling)),f.clearBtn||(i.textClearButtonElement=e._createClearButton(a,b)),a.getAttribute("placeholder")||a.setAttribute("placeholder","Search")),("email"===g||h)&&(i.errorMessageElement=d(i.textLineElement,s.uiTextInputErrorMessage,f.errorMessageString)),a},q._setOutsideDiv=function(b,c){var d=a.createElement("div"),e=this._ui;c&&(d.className=s.CONTAINER,b.parentElement.replaceChild(d,b),d.classList.add(r+"-type-"+b.type),d.appendChild(b),e.container=d),this.options.outsideDiv=c},q._init=function(a){var b=this,c=b._ui,d=b.options,e=a.type,f=a.parentNode;if(d.clearBtn&&(c.textClearButtonElement=c.textClearButtonElement||f.querySelector(t.uiTextInputClearButton)),d.textLine)switch(e){case"text":case"password":case"number":case"email":case"url":case"tel":c.textLineElement=c.textLineElement||f.querySelector(t.uiTextInputTextLine);break;default:"textarea"===a.nodeName.toLowerCase()&&(c.textLineElement=c.textLineElement||f.querySelector(t.uiTextInputTextLine));
-}return"textarea"===a.nodeName.toLowerCase()&&(a.hasAttribute("rows")===!1&&(a.rows=1),b._resizeTextArea(a)),a},q._bindEvents=function(){var a=this,b=a.element,c=a._ui.textClearButtonElement,d=a._onInput.bind(null,a),e=a._onFocus.bind(null,a),f=a._onBlur.bind(null,a),g=a._onClearBtnClick.bind(null,a),h=a._onClearBtnAnimationEnd.bind(null,a);a._callbacks={onInputCallback:d,onFocusCallback:e,onBlurCallback:f,onClearBtnClickCallback:g,onClearBtnAnimationEndCallback:h},l.on(b,"input",d),l.on(b,"focus",e),l.on(b,"blur",f),c&&(l.on(c,"click",g),l.on(c,v.ANIMATIONEND,h))},q._unbindEvents=function(){var a=this,b=a.element,c=a._ui.textClearButtonElement,d=a._callbacks;l.off(b,"input",d.onInputCallback),l.off(b,"focus",d.onFocusCallback),l.off(b,"blur",d.onBlurCallback),c&&(l.off(c,"click",d.onClearBtnClickCallback),l.off(c,v.ANIMATIONEND,d.onClearBtnAnimationEndCallback))},q._enable=function(){var a=this.element;a&&(a.removeAttribute("disabled"),a.classList.remove(s.uiTextInputDisabled))},q._disable=function(){var a=this.element;a&&(a.setAttribute("disabled","disabled"),a.classList.add(s.uiTextInputDisabled))},q._getValue=function(){var a=this.element;return a?a.value:null},q._setValue=function(a){var b=this.element;return b&&(b.value=a),this},q._destroy=function(){var a=this,b=a._ui,c=b.textLineElement,d=b.textClearButtonElement,e=b.errorMessageElement;a._unbindEvents(),c&&c.parentElement&&c.parentElement.removeChild(b.textLineElement),d&&d.parentElement.removeChild(b.textClearButtonElement),e&&e.parentElement.removeChild(b.errorMessageElement)},q._getContainer=function(){var a=this,b=a._ui,c=b.container,d=a.element;return c?c:d},q._focus=function(a){var b=a.classList;b.add(s.WIDGET_FOCUSED)},q._blur=function(a){var b=a.classList;b.remove(s.WIDGET_FOCUSED),a.blur()},q._actionEnter=function(a){var b=this;b._blur(a),a.focus()},q._actionEscape=function(a){var b=this;a.blur(),b.focus()},f.registerActiveSelector("input[type='text']:not([data-role]), input[type='number']:not([data-role]), input[type='password']:not([data-role]), input[type='email']:not([data-role]), input[type='url']:not([data-role]), input[type='tel']:not([data-role]), input[type='search']:not([data-role]), .ui-search-input, textarea, input:not([type])."+s.uiTextInput),b.widget.mobile.TextInput=m,g.defineWidget("TextInput","input[type='text']:not([data-role]), input[type='number']:not([data-role]), input[type='password']:not([data-role]), input[type='email']:not([data-role]), input[type='url']:not([data-role]), input[type='tel']:not([data-role]), input[type='search']:not([data-role]), .ui-search-input, textarea, input:not([type])."+s.uiTextInput,[],m,"mobile",!1,!1,HTMLInputElement),b.widget.mobile.TextArea=m,g.defineWidget("TextArea",null,[],m,"mobile",!1,!1,HTMLTextAreaElement),g.defineWidget("SearchInput","",[],m,"mobile")}(a.document,d),function(b,c){function d(a,b){a._toggleSelect(b),v.stopPropagation(b),v.preventDefault(b)}function e(a,b){var c=b.target,d=c.tagName,e=c.classList;"LI"!==d||e.contains(C.optionGroup)||e.contains(C.disabled)||(a._selectedIndex=z.call(a._ui.elOptions,c),a._changeOption(),a._toggleSelect(b)),b.stopPropagation(),b.preventDefault()}function f(a){var b=a._ui,c=b.elSelect[b.elSelect.selectedIndex];b.elPlaceHolder.textContent=c.textContent}function g(a,b){a._isOpen===!0&&(a._isOpen=!a._isOpen,a._toggleSelect(b),b.stopPropagation(),b.preventDefault())}function h(a,b){var d=a._ui,e=b.target;c.getConfig("keyboardSupport")&&(e===d.elSelectWrapper||e.parentNode===d.elOptionContainer)&&e.classList.add(C.focus)}function i(a,b){b.stopPropagation()}function j(a,b){var d=a._ui,e=b.target;c.getConfig("keyboardSupport")&&(e===d.elSelectWrapper||e.parentNode===d.elOptionContainer)&&e.classList.remove(C.focus)}function k(a,b){var c=a.classList;b?(c.add(C.disabled),c.add(C.widgetDisabled),c.add(r.classes.disable)):(c.remove(C.disabled),c.remove(C.widgetDisabled),c.remove(r.classes.disable))}function l(a){var b,c=a,d=0,e=0,f=[];for(c=c.split(","),d=c.length,e=0;d>e;e++)b=c[e].split(":"),f.push({textContent:b[0],value:b[1]});return f}function m(a,b){var c=l(b),d=c.length,e=0,f=0;for(a.innerHTML="",f=0;d>f;f++)e="undefined"!=typeof c[f].value?c[f].value:f+1,a.innerHTML+='<option value="'+e+'">'+c[f].textContent+"</option>"}function n(a,b){for(var c,d=a.offsetTop;a.offsetParent&&(c=a.offsetParent,d+=c.offsetTop,a!==b);)a=c;return d}function o(a){var b=a._ui;b.elOptionWrapper.classList.add(C.opened),v.prefixedFastOff(b.elOptionContainer,"animationEnd",a._callbacks.showAnimationEnd,!1),b.elOptionWrapper.classList.remove(C.opening)}function p(a){var b=a._ui.elOptionWrapper,c=b.classList,d=a._ui.elOptionContainer;c.remove(C.active),b.removeAttribute("style"),v.prefixedFastOff(d,"animationEnd",a._callbacks.hideAnimationEnd,!1),c.remove(C.closing),c.remove(C.top),c.remove(C.bottom)}function q(a){return a.offsetWidth}var r=c.widget.mobile.BaseWidgetMobile,s=c.widget.core.BaseKeyboardSupport,t=c.engine,u=c.util.DOM,v=c.event,w=c.util.selectors,x=[].slice,y=c.widget.core.Page,z=[].indexOf,A=function(){var a=this;a._isOpen=!1,a._isClosing=!1,a._selectedIndex=null,a._ui={elSelectWrapper:null,elPlaceHolder:null,elSelect:null,screenFilter:null,elOptionContainer:null,elOptions:null,elPage:null,elContent:null,elDefaultOption:null},a._horizontalPosition=null,a.options={nativeMenu:!0,inline:!1,hidePlaceholderMenuItems:!0,items:""},a._toggleMenuBound=null,a._changeOptionBound=null,a._onResizeBound=null,a._nativeChangeOptionBound=null,a._focusBound=null,a._blurBound=null,a._callbacks={},s.call(a)},B="select:not([data-role='slider']):not([data-role='range']):not([data-role='toggleswitch']):not(.ui-toggleswitch):not(.ui-slider):not([data-role='on-off-switch']):not(.ui-on-off-switch),select.ui-select-menu:not([data-role='slider']):not([data-role='range']):not([data-role='toggleswitch']):not([data-role='on-off-switch']):not(.ui-on-off-switch),.ui-dropdownmenu",C={selectWrapper:"ui-dropdownmenu",optionGroup:"ui-dropdownmenu-optiongroup",placeHolder:"ui-dropdownmenu-placeholder",optionList:"ui-dropdownmenu-options",optionsWrapper:"ui-dropdownmenu-options-wrapper",selected:"ui-dropdownmenu-selected",active:"ui-dropdownmenu-active",opening:"ui-dropdownmenu-options-opening",closing:"ui-dropdownmenu-options-closing",opened:"ui-dropdownmenu-options-opened",filter:"ui-dropdownmenu-overlay",filterHidden:"ui-dropdownmenu-overlay-hidden",disabled:"ui-dropdownmenu-disabled",widgetDisabled:"ui-disabled",inline:"ui-dropdownmenu-inline","native":"ui-dropdownmenu-native",top:"ui-dropdownmenu-options-top",bottom:"ui-dropdownmenu-options-bottom",focus:s.classes.focus,verticalMargins:"ui-dropdownmenu-options-vertical-margins"},D=new r;A.prototype=D,A.classes=C,D._convertOptionToHTML=function(a,b,c){var d=b.className;return a&&u.getNSData(b,"placeholder")?"":(c&&(d+=" "+C.disabled),"<li data-value='"+b.value+"'"+(d?" class='"+d+"'":"")+(c?"":" tabindex='0'")+">"+b.textContent+"</li>")},D._constructOption=function(){for(var a,b,c,d,e,f,g=this,h=0,i="",j=x.call(g._ui.elSelect.children),k=j.length,l=g.options.hidePlaceholderMenuItems;k>h;h++)if(b=j[h],f=b.disabled,c=b.tagName,"OPTION"===c)i+=g._convertOptionToHTML(l,b,f);else if("OPTGROUP"===c)for(i+="<li class='"+C.optionGroup+(f?" "+C.disabled+"'":"'")+">"+b.label+"</li>",d=x.call(b.children),a=0,e=d.length;e>a;a++)f=b.disabled||d[a].disabled,i+=g._convertOptionToHTML(l,d[a],f);return i},D._setInline=function(a,b){var c=this._ui;c.elSelectWrapper.classList.toggle(C.inline,b),b&&c.elPlaceHolder.removeAttribute("style"),this.options.inline=b},D._configure=function(a){return a.webkitMatchesSelector("."+C.selectWrapper)&&(a=a.querySelector(A.widgetSelector))?a:null},D._getContainer=function(){return this._ui.elSelectWrapper},D._build=function(a){return this._generate(a,!0)},D._generate=function(a,c){var d,e=this,f=e.options,g=a.id,h=e._ui,i=y.classes;return e.options.items&&m(a,e.options.items),h.elSelect=a,h.page=w.getParentsByClass(a,i.uiPage)[0]||b.body,h.content=w.getParentsByClass(a,i.uiContent)[0]||w.getParentsByClass(a,i.uiHeader)[0],h.elDefaultOption=a.querySelector("option[data-placeholder='true']"),h.elDefaultOption&&a.selectedIndex>h.elDefaultOption.index?e._selectedIndex=a.selectedIndex-1:e._selectedIndex=a.selectedIndex,c&&(d=h.elDefaultOption||a[a.selectedIndex]||a.options.item(a.selectedIndex),e._buildWrapper(a),e._buildPlaceholder(a,h.elSelectWrapper,g,d?d.textContent:"")),e._setNativeMenu(a,f.nativeMenu),e._setInline(a,f.inline),a},D._buildWrapper=function(a){var b=this,c=b._createWrapper();c.className=C.selectWrapper,c.id=a.id+"-dropdownmenu",c.setAttribute("tabindex","0"),c.setAttribute("data-role","none"),u.insertNodesBefore(a,c),c.appendChild(a),b._ui.elSelectWrapper=c},D._buildPlaceholder=function(a,c,d,e){var f=b.createElement("span");f.id=d+"-placeholder",f.className=C.placeHolder,f.textContent=e,c.insertBefore(f,a),this._ui.elPlaceHolder=f},D._buildFilter=function(a,c){var d=this._ui,e=d.screenFilter,f=d.elOptionWrapper,g=d.elOptionContainer,h=b.createDocumentFragment();e||(e=b.createElement("div"),e.classList.add(C.filter,C.filterHidden),e.id=c+"-overlay",h.appendChild(e)),f||(f=b.createElement("div"),f.className=C.optionsWrapper,f.id=c+"-options-wrapper",h.appendChild(f)),g||(g=b.createElement("ul"),g.className=C.optionList,g.id=c+"-options",f.appendChild(g)),d.page.appendChild(h),d.elOptionContainer=g,d.elOptionWrapper=f,d.screenFilter=e},D._setNativeMenu=function(a,b){var c,d,e,f=this,g=f._ui,h=g.elSelectWrapper;b?(c=a.querySelectorAll("option"),h.classList.add(C["native"])):(f._buildFilter(a,a.id),d=g.elOptionContainer,e=f._constructOption(),d.innerHTML=e,c=d.querySelectorAll("li[data-value]"),c[f._selectedIndex]&&c[f._selectedIndex].classList.add(C.selected)),g.elOptions=c,f.options.nativeMenu=b},D._init=function(a){var c=this,d=c._ui,e=a.id;d.elSelectWrapper||(d.elSelectWrapper=b.getElementById(e+"-dropdownmenu"),d.elPlaceHolder=b.getElementById(e+"-placeholder"),d.elOptionWrapper=b.getElementById(e+"-options-wrapper"),d.elSelect=a,c.options.nativeMenu||(d.screenFilter=b.getElementById(e+"-overlay"),d.elOptionContainer=b.getElementById(e+"-options"),d.elOptions=d.elOptionContainer.querySelectorAll("li[data-value]")))},D._refresh=function(){var a=this;a._generate(a.element,!1)},D._enable=function(){k(this._ui.elSelectWrapper,!1),u.removeAttribute(this.element,"disabled")},D._disable=function(){k(this._ui.elSelectWrapper,!0),u.setAttribute(this.element,"disabled",!0)},D.open=function(){var a=this;a._isOpen===!1&&a._toggleSelect()},D.close=function(){var a=this;a._isOpen===!0&&a._toggleSelect()},D._bindEvents=function(){var b=this,c=b._ui,k=c.elOptionContainer,l=c.elSelectWrapper;b._toggleMenuBound=d.bind(null,b),b._changeOptionBound=e.bind(null,b),b._onResizeBound=g.bind(null,b),b._nativeChangeOptionBound=f.bind(null,b),b._focusBound=h.bind(null,b),b._blurBound=j.bind(null,b),b._touchMoveBound=i.bind(null,b),l.addEventListener("focus",b._focusBound),l.addEventListener("blur",b._blurBound),b.options.nativeMenu?c.elSelect.addEventListener("change",b._nativeChangeOptionBound):(l.addEventListener("vclick",b._toggleMenuBound),k.addEventListener("touchmove",b._touchMoveBound),k.addEventListener("vclick",b._changeOptionBound),k.addEventListener("focusin",b._focusBound),k.addEventListener("focusout",b._blurBound),c.screenFilter&&c.screenFilter.addEventListener("vmousedown",b._toggleMenuBound),a.addEventListener("throttledresize",b._onResizeBound,!0))},D._coordinateOption=function(){var b,c,d,e,f,g,h,i=this,j=i._ui,k=j.elOptionContainer.offsetHeight,l=[].slice.call(j.elOptionContainer.children).map(q),m=a.getComputedStyle(j.elOptionContainer),o=Math.max.apply(Math,l)+parseInt(m.borderLeftWidth,10)+parseInt(m.borderRightWidth,10),p=parseInt(a.getComputedStyle(j.elOptionWrapper).minWidth,10),r=i.options,s=j.elOptionWrapper.parentNode.querySelector(".ui-scrollview-clip").scrollTop,t=j.elSelectWrapper.parentNode,u=a.getComputedStyle(t),v=t.getBoundingClientRect(),x=0;return j.elSelectWrapper.classList.add("ui-dropdownmenu-force-display"),i._offsetTop=n(j.elSelectWrapper,j.page),j.elSelectWrapper.classList.remove("ui-dropdownmenu-force-display"),e=i._chooseDirection(),d=Math.max(o,p),g=k,c="right"===i._horizontalPosition?v.right-d:v.left,c+d>a.screen.width&&(c-=c+d-a.screen.width),f="left: "+c+"px; ",r.inline===!0&&(g=5*j.elOptionContainer.children[0].offsetHeight,h=t.offsetWidth-(parseFloat(u.paddingLeft)+parseFloat(u.paddingRight)),d=Math.min(h,Math.max(d,j.elOptionContainer.offsetWidth))),"top"===e.direction?(e.belowArea<0&&(x=e.belowArea),b=i._offsetTop-g-s+j.elPlaceHolder.offsetHeight,j.elOptionWrapper.classList.add(C.top)):(e.topArea<j.elPlaceHolder.offsetHeight&&(x=s%j.elPlaceHolder.offsetHeight),b=i._offsetTop-s<0?0:i._offsetTop-s,j.elOptionWrapper.classList.add(C.bottom)),b+=x,0==w.getParentsByTag(j.elSelect,"li").length&&j.elOptionWrapper.classList.add(C.verticalMargins),f+="top: "+b+"px; width: "+d+"px; max-height: "+g+"px;"},D._chooseDirection=function(){var a=this,b=a._ui,c={belowArea:0,topArea:0,direction:""};return c.belowArea=b.page.offsetHeight-a._offsetTop-b.elPlaceHolder.offsetHeight+b.content.scrollTop,c.topArea=a._offsetTop-b.content.scrollTop,c.belowArea<c.topArea&&b.elOptionContainer.offsetHeight>c.belowArea?c.direction="top":c.direction="bottom",c},D._toggleSelect=function(b){var c=this,d=c._ui,e=d.elOptionContainer,f=d.elOptionWrapper.classList;if(c._horizontalPosition=b&&b.clientX>a.screen.width/2?"right":"left",c._isOpen&&!f.contains(C.opening))f.remove(C.opened),c._callbacks.hideAnimationEnd=p.bind(null,c),v.prefixedFastOn(e,"animationEnd",c._callbacks.hideAnimationEnd,!1),c._hide();else{if(f.contains(C.closing)||f.contains(C.opening))return;d.elSelectWrapper.focus(),f.add(C.opening),c._callbacks.showAnimationEnd=o.bind(null,c),v.prefixedFastOn(e,"animationEnd",c._callbacks.showAnimationEnd,!1),c._show()}c._isOpen=!c._isOpen},D._hide=function(){var a=this,b=a._ui,c=a.options,d=b.elOptionWrapper;b.screenFilter&&b.screenFilter.classList.add(C.filterHidden),c.inline&&b.elSelectWrapper.style.removeProperty("width"),a._ui.elSelectWrapper.classList.remove(C.active),d.classList.add(C.closing),a.isKeyboardSupport&&a.enableDisabledFocusableElements(b.page)},D._show=function(){var a=this,b=a._ui,c=a.options,d=b.elOptionWrapper;d.setAttribute("style",a._coordinateOption()),b.screenFilter&&b.screenFilter.classList.remove(C.filterHidden),b.elSelectWrapper.classList.add(C.active),d.classList.add(C.active),c.inline&&(b.elSelectWrapper.style.width=d.offsetWidth+"px"),d.setAttribute("tabindex","0"),d.firstElementChild.focus(),a.isKeyboardSupport&&(a.disableFocusableElements(b.page),a.enableDisabledFocusableElements(d),s.focusElement(d))},D._changeOption=function(){var a=this,b=a._ui,c=b.elOptions[a._selectedIndex],d=b.elOptionContainer.querySelector("."+C.selected),e=u.getNSData;if(c!==d||b.elDefaultOption&&b.elPlaceHolder.textContent===b.elDefaultOption.textContent){if(b.elSelect.value=e(c,"value"),""===b.elSelect.value)return b.elSelect.value=e(d,"value"),void(b.elPlaceHolder.textContent=d.textContent);v.trigger(b.elSelect,"change"),d&&d.classList.remove(C.selected),c.classList.add(C.selected)}},D._getValue=function(){var a,b=this,c=b.element.options,d="";return c&&(a=c[b._selectedIndex],a&&(d=a.value)),d},D._destroy=function(){var b=this,c=b._ui,d=c.elSelectWrapper,e=c.elOptionContainer,f=c.screenFilter;d.removeEventListener("focus",b._focusBound),d.removeEventListener("blur",b._blurBound),u.replaceWithNodes(c.elSelectWrapper,c.elSelect),b.options.nativeMenu?c.elSelect.removeEventListener("change",b._nativeChangeOptionBound):(d.removeEventListener("vclick",b._toggleMenuBound),e.removeEventListener("touchmove",b._touchMoveBound),e.removeEventListener("vclick",b._changeOptionBound),e.removeEventListener("focusin",b._focusBound),e.removeEventListener("focusout",b._blurBound),c.elOptionWrapper.parentNode.removeChild(c.elOptionWrapper),f&&(f.removeEventListener("vmousedown",b._toggleMenuBound),f.parentNode.removeChild(f)),a.removeEventListener("throttledresize",b._onResizeBound,!0))},A.widgetSelector=B,c.widget.mobile.DropdownMenu=A,s.registerActiveSelector(".ui-dropdownmenu:not(.ui-disabled):not(.ui-dropdownmenu-disabled), .ui-dropdownmenu-options li:not(.ui-dropdownmenu-disabled):not(.ui-dropdownmenu-optiongroup):not(.ui-disabled)"),t.defineWidget("DropdownMenu",B,["open","close"],A,"mobile",!1,!1,HTMLSelectElement)}(a.document,d),function(a,d){function e(a){var b=a._ui.inputElement;b&&(i.on(b,"keyup",a),a.options.groupOnBlur&&i.on(b,"blur focus",a)),a.on("click",a)}function f(a){var b=a._ui.inputElement;b&&(i.off(b,"keyup",a),a.options.groupOnBlur&&i.off(b,"blur focus",a)),a.off("click",a)}var g=d.widget.mobile.BaseWidgetMobile,h=d.engine,i=d.event,j={TEXT_ENVELOPER:"ui-text-enveloper",WITH_CONTAINER:"ui-text-enveloper-with-container",CONTAINER:"ui-text-enveloper-container",TEXT_ENVELOPER_INPUT:"ui-text-enveloper-input",TEXT_ENVELOPER_BTN:"ui-text-enveloper-btn",BTN_SELECTED:"ui-text-enveloper-btn-selected",TEXT_ENVELOPER_BTN_ACTIVE:"ui-text-enveloper-btn-active",TEXT_ENVELOPER_BTN_BLUR:"ui-text-enveloper-btn-blur",TEXT_ENVELOPER_BTN_EXPANDED:"ui-text-enveloper-btn-expanded",TEXT_ENVELOPER_START:"ui-text-enveloper-start",TEXT_ENVELOPER_TEXTLINE:"ui-text-input-textline",SLASH:"ui-text-enveloper-slash",SLASH_HIDDEN:"ui-text-enveloper-slash-hidden",TEXT_ENVELOPER_BTN_SLASH:"ui-text-enveloper-btn-separator",INPUT_STYLE_PREFIX:"ui-text-enveloper-input-",INPUT_BLUR:"ui-text-enveloper-input-blur"},k={BACKSPACE:8,ENTER:13},l={NEW_VALUE:"newvalue",ADDED:"added",REMOVED:"removed",SELECT:"select",UNSELECT:"unselect",RESIZE:"resize",EXPAND:"expand",FOLD:"fold"},m=function(){var a=this;a.options={groupOnBlur:!0,label:null,link:"",description:"+ {0}",selectable:!1,input:!0,placeholder:null,labelPosition:null,selectedItems:null,items:null},a._ui={}},n=new g;m.prototype=n,m.classes=j,n._build=function(a){var b=this,c=b._ui,d=b.options;return a.classList.add(j.TEXT_ENVELOPER),b._setLabel(a,d.label),b._setLabelPosition(a,d.labelPosition),c.container.classList.add(j.CONTAINER),c.buttons=[],b._setInput(a,d.input),b._setPlaceholder(a,d.placeholder),a},n._setLabelPosition=function(a,c){var d,e=this,f=e._ui;"indent"===c?(d=b.createElement("div"),a.appendChild(d),f.container=d,a.classList.add(j.WITH_CONTAINER)):f.container=a,e.options.labelPosition=c},n._setLabel=function(a,c){var d=a.querySelector("."+j.TEXT_ENVELOPER_START),e=d?d.cloneNode(!0):null;e&&(a.removeChild(d),a.appendChild(e)),c&&(e=e||b.createElement("div"),e.innerText=c,e.classList.add(j.TEXT_ENVELOPER_START),a.appendChild(e)),this.options.label=c},n._init=function(a){var b=this;return b._btnActive=!1,b._isBlurred=!1,a},n._bindEvents=function(){e(this)},n.handleEvent=function(a){var b=this;switch(a.type){case"click":b._onClick(a);break;case"keyup":b._onKeyup(a);break;case"blur":b._onBlur(a);break;case"focus":b._onFocus(a)}},n._onFocus=function(){this.expandButtons()},n.expandButtons=function(){var a,b,c=this,d=c._ui;if(c._isBlurred){for(c._isBlurred=!1,c.remove(c._btnToRemoveIndex),d.inputContainer.classList.remove(j.INPUT_BLUR),a=d.buttons.length,b=0;a>b;b++)d.buttons[b].classList.remove(j.TEXT_ENVELOPER_BTN_BLUR);c.trigger(l.RESIZE),c.trigger(l.EXPAND)}},n._onClick=function(a){var b,c,d,e=this,f=a.target,g=f.classList,h=f.previousElementSibling,i=f.nextElementSibling,k=i&&i.nextElementSibling,m=h&&h.previousElementSibling;e._isBlurred?(e.expandButtons(),a.preventDefault(),a.stopPropagation()):e.options.selectable&&g.contains(j.TEXT_ENVELOPER_BTN)&&(b=h&&h.classList,c=i&&i.classList,g.contains(j.BTN_SELECTED)?(m&&!m.classList.contains(j.BTN_SELECTED)&&b.remove(j.SLASH_HIDDEN),k&&!k.classList.contains(j.BTN_SELECTED)&&c.remove(j.SLASH_HIDDEN),d=l.UNSELECT):(b&&b.add(j.SLASH_HIDDEN),c&&c.add(j.SLASH_HIDDEN),d=l.SELECT),g.toggle(j.BTN_SELECTED),e.trigger(d,{value:f.textContent,index:e._ui.buttons.indexOf(f)},!1),a.preventDefault(),a.stopPropagation())},n._getItems=function(){return this._ui.buttons.map(function(a){return a.textContent})},n._setItems=function(a,b){var c=this,d="string"==typeof b?b.split(","):b;d&&(this._ui.buttons.forEach(function(){c.remove(0)}),d.forEach(function(a){c.add(a)}))},n._getSelectedItems=function(){var a=[];return this._ui.buttons.forEach(function(b,c){b.classList.contains(j.TEXT_ENVELOPER_BTN_SELECTED)&&a.push({value:b.textContent,index:c})}),a},n._setSelectedItems=function(a,b){var c="string"==typeof b?b.split(","):b;c&&this._ui.buttons.forEach(function(a,b){a.classList.toggle(j.TEXT_ENVELOPER_BTN_SELECTED,-1!==c.indexOf(b))})},n._onBlur=function(){var a=this,b=a._ui.inputElement;b&&b.value&&(a.trigger(l.NEW_VALUE,{value:b.value},!1),b.value=""),a.foldButtons()},n.foldButtons=function(){var a,c,d,e,f=this,g=f._ui,h=g.buttons,i=h.length,k=h[0]?h[0].textContent:"";if(!f._isBlurred){for(a=0;i>a;a++)h[a].classList.add(j.TEXT_ENVELOPER_BTN_BLUR);g.inputContainer.classList.add(j.INPUT_BLUR),c=f._createButton(k,!1),f._btnToRemoveIndex=h.indexOf(c),i>1&&(d=b.createElement("span"),d.classList.add(j.TEXT_ENVELOPER_BTN_SLASH),e=b.createTextNode("+"+(i-1)),c.appendChild(d),c.appendChild(e)),f._isBlurred=!0,f.trigger(l.RESIZE),f.trigger(l.FOLD)}},n._onKeyup=function(a){var b=this,c=b._ui,d=c.inputElement,e=d.value,f=a.keyCode,g=c.buttons.length-1;f===k.ENTER?(b.trigger(l.NEW_VALUE,{value:e},!1),d.value="",b.trigger(l.RESIZE)):f===k.BACKSPACE?(""===e&&(b._btnActive?(b.remove(g),b._btnActive=!1):c.buttons.length&&(c.buttons[g].classList.add(j.TEXT_ENVELOPER_BTN_ACTIVE),b._btnActive=!0)),b.trigger(l.RESIZE)):b._btnActive&&(c.buttons[g].classList.remove(j.TEXT_ENVELOPER_BTN_ACTIVE),b._btnActive=!1)},n._createButton=function(a,d){var e=this,f=e._ui,g=b.createElement("div"),i=f.buttons;return d===c&&(d=!0),g.innerText=a,g.classList.add(j.TEXT_ENVELOPER_BTN),h.instanceWidget(g,"Button",{inline:d}),f.container.insertBefore(g,e._ui.inputContainer),i.push(g),e.trigger(l.ADDED,{value:a,index:i.length-1},!1),g},n._createSlash=function(){var a=this._ui,c=b.createElement("span");return c.classList.add(j.SLASH),a.container.insertBefore(c,a.inputContainer),c},n.add=function(a){var b=this,c=b._getItems(b.element);-1===c.indexOf(a)&&(b._createButton(a),b._createSlash())},n.remove=function(a){var b=this,c=b._ui,e=c.buttons,f=e.length,g=e[a].innerText,h=c.container,i=b._isBlurred?f-2:f-1;0>a||a>i?d.warn("You insert incorrect index, please check your index value"):b._isBlurred?f>2?e[f-1].textContent=e[0].textContent+" + "+(f-2):2===f&&(h.removeChild(e[f-1]),e.pop(),e[0].classList.remove(j.TEXT_ENVELOPER_BTN_BLUR)):(e[a].nextElementSibling.classList.contains(j.SLASH)&&h.removeChild(e[a].nextElementSibling),h.removeChild(e[a]),e.splice(a,1)),b.trigger(l.REMOVED,{value:g,index:a})},n.length=function(){return this._ui.buttons.length},n._setInput=function(a,c){var d,e,f,g=this,i=g._ui,k=i.container;c?(f=b.createElement("div"),d=b.createElement("input"),d.classList.add(j.TEXT_ENVELOPER_INPUT),f.appendChild(d),k.appendChild(f),h.instanceWidget(d,"TextInput",{clearBtn:!0}),i.inputElement=d,i.inputContainer=f,"string"==typeof c?f.classList.add(j.INPUT_STYLE_PREFIX+c):(e=a.querySelector("."+j.TEXT_ENVELOPER_TEXTLINE),e.parentElement.removeChild(e))):(f=i.inputContainer,f&&(k.removeChild(f),h.destroyWidget(i.inputElement,"TextInput"),i.inputContainer=null,i.inputElement=null)),g.options.input=c},n._setPlaceholder=function(a,b){var c=this._ui.inputElement;c&&c.setAttribute("placeholder",b||""),this.options.placeholder=b},n._destroy=function(){var a=this,b=a._ui;b.container.classList.remove(j.CONTAINER),a._setInput(a.element,!1),f(a),a._ui=null},n.getInput=function(){return this._ui.inputElement},d.widget.mobile.TextEnveloper=m,h.defineWidget("TextEnveloper","[data-role='textenveloper'], .ui-text-enveloper",["add","remove","length"],m,"mobile")}(a.document,d),function(a,b){function c(){var c,d=b.createElement("div"),e=b.createElement("body"),f=b.getElementsByTagName("html")[0],g=getComputedStyle(d);return d.classList.add("is-circle-test"),e.appendChild(d),f.insertBefore(e,f.firstChild),c="1px"===g.width,f.removeChild(e),"?circle"===a.location.search&&(c=!0),c}var e=!("undefined"==typeof a.tizen);d.support={cssTransitions:!0,mediaquery:!0,cssPseudoElement:!0,touchOverflow:!0,cssTransform3d:!0,boxShadow:!0,scrollTop:0,dynamicBaseTag:!0,cssPointerEvents:!1,boundingRect:!0,browser:{ie:!1,tizen:e},shape:{circle:e?a.matchMedia("(-tizen-geometric-shape: circle)").matches:c()},gradeA:function(){return!0},isCircleShape:c}}(a,a.document),function(a,b,c){function d(a,b,c,d){var e=d*n/180;return{x:a+c*p(e),y:b-c*o(e)}}function e(a,b,c,e,f){var g=d(a,b,c,f),h=d(a,b,c,e),i=180>=f-e?"0":"1",j=0;return["M",g.x,g.y,"A",c,c,0,i,j,h.x,h.y].join(" ")}function f(a,c){var d=b.createElementNS(q,"path");d.setAttribute("class",c.classes),d.setAttribute("fill","none"),d.setAttribute("stroke",c.color),d.setAttribute("stroke-width",c.width),d.setAttribute("d",e(c.x,c.y,c.r,c.referenceDegree+c.arcStart,c.referenceDegree+c.arcEnd)),d.setAttribute("data-initial-degree",c.referenceDegree),d.setAttribute("stroke-linecap",c.linecap),a.appendChild(d)}function g(a,b){var c=a.style,d=b.x+"px "+b.y+"px",e=b.referenceDegree+b.arcStart||b.degrees;a.classList&&a.classList.add(s.animated),c.webkitTransformOrigin=d,c.mozTransformOrigin=d,c.transformOrigin=d,d="rotate("+e+"deg)",c.webkitTransform=d,c.mozTransform=d,c.transform=d}function h(a,c){var e,f,g=b.createElementNS(q,"line");return g.setAttribute("class",c.classes),g.setAttribute("stroke",c.color),g.setAttribute("stroke-width",c.width),"out"===c.direction?(e=d(c.x,c.y,c.r,c.degrees),f=d(c.x,c.y,c.r-c.length,c.degrees)):(e=d(c.x,c.y,c.r-c.length,c.degrees),f=d(c.x,c.y,c.r,c.degrees)),g.setAttribute("x1",e.x),g.setAttribute("y1",e.y),g.setAttribute("x2",f.x),g.setAttribute("y2",f.y),a.appendChild(g),g}function i(a,c){var d=b.createElementNS(q,"text");d.setAttribute("x",c.x),d.setAttribute("y",c.y),d.setAttribute("text-anchor",c.position),d.setAttribute("fill",c.color),d.setAttribute("transform",c.transform),d.textContent=c.text,a.appendChild(d)}function j(a,c){var d=b.createElementNS(q,"circle");return d.setAttribute("stroke",c.color),d.setAttribute("stroke-width",c.width),d.setAttribute("cx",c.x),d.setAttribute("cy",c.y),d.setAttribute("r",c.r),d.setAttribute("fill",c.fill),a.appendChild(d),d}function k(a,b){var c;b.animation?g(a,b):a&&(c=parseInt(a.getAttribute("data-initial-degree"),10)||b.referenceDegree,a.setAttribute("data-initial-degree",c),a.setAttribute("d",e(b.x,b.y,b.r,c+b.arcStart,c+b.arcEnd)))}function l(a,b){var c,e;b.animation?g(a,b):a&&(c=d(b.x,b.y,b.r,b.degrees),e=d(b.x,b.y,b.r-b.length,b.degrees),a.setAttribute("x1",c.x),a.setAttribute("y1",c.y),a.setAttribute("x2",e.x),a.setAttribute("y2",e.y))}var m,n=Math.PI,o=Math.cos,p=Math.sin,q="http://www.w3.org/2000/svg",r=c.util.object,s={polar:"ui-polar",animated:"ui-animated"},t={x:180,y:180,r:170,arcStart:0,arcEnd:90,width:5,color:"black",animation:!1,linecap:"butt",referenceDegree:0},u={x:180,y:180,r:170,degrees:0,length:180,direction:"in",width:5,color:"black"},v={x:180,y:180,text:"Text",position:"middle",color:"white"},w={x:180,y:180,r:170,color:"white"};m={"default":{arc:t,radius:u,text:v},classes:s,polarToCartesian:d,createSVG:function(a){var c=b.createElementNS(q,"svg");return c.classList&&c.classList.add(s.polar),a&&a.appendChild(c),c},addArc:function(a,b){return a=a||this.createSVG(),b=r.merge({},t,b||{}),f(a,b),a},addRadius:function(a,b){return a=a||this.createSVG(),b=r.merge({},u,b||{}),h(a,b)},addText:function(a,b){return a=a||this.createSVG(),b=r.merge({},v,b||{}),i(a,b),a},updatePosition:function(a,b,c){var d,e=a&&a.querySelector("path"+b);e?(c=r.merge({},t,c||{}),k(e,c)):(d=a&&a.querySelector("line"+b),d&&l(d,c))},addCircle:function(a,b){var c=this;return a=a||c.createSVG(),b=r.merge({},w,b||{}),j(a,b),a}},c.util.polar=m}(a,a.document,d),function(a,b,c){function d(){ma&&(clearTimeout(ta),ma.classList.add(N.fadeIn),ta=setTimeout(function(){ma&&ma.classList.remove(N.fadeIn)},2e3))}function e(b){for(;b&&b!==a;){if(b===$)return!0;b=b.parentElement}return!1}function f(a){var b=a.touches,c=b[0];da=e(a.target),da&&1===b.length&&(R=ea?c.clientX:c.clientY,X=Date.now(),K.trigger($,P.SCROLL_BEFORE_START,{scrollLeft:ea?-S:0,scrollTop:ea?0:-S,fromAPI:ua}))}function g(a){var b=a.touches,c=b[0],e=ea?c.clientX:c.clientY,f=0,g=0;ua=!1,T=e-R,O||(S+T>0&&(T=-S),-Z>S+T&&(T=-Z-S)),ea?f=-(S+T):g=-(S+T),ca||K.trigger($,P.SCROLL_START,{scrollLeft:f,scrollTop:g,fromAPI:ua}),K.trigger($,P.SCROLL,{scrollLeft:f,scrollTop:g,inBounds:S+T>=-Z&&0>=S+T,fromAPI:ua}),d()}function h(a){var b=a.touches;da&&(1===b.length&&g(a),ca||(ca=!0),Ba(u))}function i(a){return xa?(a=ga(ha(xa.length-1,a),0),xa[a].position-xa[0].position):0}function j(a){var b,c,d=null,e=null;if(xa){if(a-=Aa/2,a=-a,xa[0].position>a)return 0;for(c=0,b=xa.length;b>c;c++)if(d=xa[c],e=xa[c+1],!e||d.position<a&&e.position>a)return c}return-1}function k(a){var b=Date.now()-X,c=null;a&&ba(T/b)>1?(V=ga(ha(fa(S+1e3*T/b),0),-Z),xa?(ya=j(S+1e3*T/b),c=xa[ya],c&&(V=-i(ya))):wa&&(V=wa*fa(V/wa)),ba(T/b)>1&&K.trigger($,P.SCROLL_FLICK,{scrollLeft:ea?-V:0,scrollTop:ea?0:-V,fromAPI:ua}),Ba(s)):(xa?(ya=j(S),c=xa[ya],c&&(V=-i(ya),Ba(s))):wa&&(V=wa*fa(S/wa),Ba(s)),ca=!1)}function l(a){O?a||(V=S>0?0:-Z,Ba(s)):(-Z>S&&(S=-Z),S>0&&(S=0))}function m(a){K.trigger($,P.SCROLL,a),K.trigger($,P.SCROLL_END,a)}function n(){var a,b=0,c=0;ca&&(S+=T,a=S>=-Z&&0>=S,k(a),l(a),ea?b=-S:c=-S,T=0,m({scrollLeft:b,scrollTop:c,inBounds:a,fromAPI:ua}),d(),da=!1,Ba(u))}function o(a){return xa?Math.abs(xa[za].position-xa[a].position):wa}function p(a){var b=a.getBoundingClientRect();return ea?b.width:b.height}function q(a){var b=a.detail&&a.detail.direction;(!$||p($))&&(za=ya,ca&&(T=0,ca=!1),"CW"===b?(ya++,xa&&ya>=xa.length&&(ya=xa.length-1),wa=-1*o(ya)):(ya--,xa&&0>ya&&(ya=0),wa=o(ya)),V+=wa,!xa&&wa&&(V=wa*fa(V/wa)),-Z>V&&(V=-Z),V>0&&(V=0),Ba(s),Ba(u),K.trigger($,P.SCROLL_START,{scrollLeft:ea?-V:0,scrollTop:ea?0:-V,fromAPI:!1}))}function r(){var a=V-S,b=ba(a);b>10?(S=fa(S+a/10),Ba(s)):b>2?(S=fa(S+a/2),Ba(s)):S=V,O||(-Z>S&&(S=-Z),S>0&&(S=0))}function s(){var a=0,b=0;$&&(r(),ea?a=-S:b=-S,K.trigger($,P.SCROLL,{scrollLeft:a,scrollTop:b,inBounds:S>=-Z&&0>=S,fromAPI:ua}),ca||K.trigger($,P.SCROLL_END,{scrollLeft:a,scrollTop:b,fromAPI:ua}),d())}function t(){qa?L.updatePosition(sa,"."+N.thumb,{arcStart:oa,arcEnd:oa+ra,r:Q}):na&&(ea?na.style.transform="translate("+oa+"px, 0)":na.style.transform="translate(0, "+oa+"px)")}function u(){var a=S+T+U;a!==W&&(W=a,oa=Z>-a?-a/Z*pa:pa,0>oa&&(oa=0),!va&&Y&&(Y.transform=ea?"translate("+W+"px, 0)":"translate(0, "+W+"px)"),t(),Ba(u))}function v(){R=0,S=0,oa=0,T=0,V=0,W=0,U=0,X=Date.now()}function w(d,e,g){var i,j,k,l;va=g,O=!1,wa=!1,$?c.warn("Scrolling exist on another element, first call disable method"):(ea="x"===e?1:0,ya=0,l=d.querySelector("div."+N.container),l?(_=l,_.style.transform=""):(_=a.createElement("div"),k=Array.prototype.slice.call(d.childNodes),k.forEach(function(a){(!c.support.shape.circle||M.matchesSelector(a,".ui-header:not(.ui-fixed), :not(.ui-footer)"))&&_.appendChild(a)}),d.insertBefore(_,d.firstElementChild),_.classList.add(N.container)),$=d,i=d.getBoundingClientRect(),j=_.getBoundingClientRect(),Z=fa(ea?j.width-i.width:j.height-i.height),Y=_.style,v(),aa=b.getComputedStyle(d).getPropertyValue("overflow"),d.style.overflow="hidden",a.addEventListener("touchstart",f,!1),a.addEventListener("touchmove",h,!1),a.addEventListener("touchend",n,!1),b.addEventListener("rotarydetent",q,!0))}function x(){B(),a.removeEventListener("touchstart",f,!1),a.removeEventListener("touchmove",h,!1),a.removeEventListener("touchend",n,!1),b.removeEventListener("rotarydetent",q,!0),$&&($.style.overflow=aa),Y=null,$=null,_=null,sa=null}function y(){var a=ea?0:90;ma.classList.add(N.circular),sa=L.createSVG(),L.addArc(sa,{arcStart:a-ia/2,arcEnd:a+ia/2,classes:N.path,width:10,r:Q,linecap:"round"}),L.addArc(sa,{referenceDegree:a-ia/2,arcStart:0,arcEnd:ra,classes:N.thumb,width:10,
-r:Q,linecap:"round"}),ma.appendChild(sa),$.parentElement.insertBefore(ma,$.nextSibling)}function z(b){var c,d,e,f=0,g=0;ma.classList.add(N.direction+"-"+(ea?"x":"y")),na=a.createElement("div"),e=na.style,na.classList.add(N.thumb),c=$.getBoundingClientRect(),d=_.getBoundingClientRect(),ea?(f=c.width-2*ka,b.width=f+"px",b.left=c.left+ka+"px",e.transform="translate3d("+oa+"px,0,0)",e.width=f/d.width*f+"px"):(g=c.height-2*ka,b.height=g+"px",b.top=c.top+ka+"px",e.transform="translate3d(0,"+oa+"px,0)",e.height=g/d.height*g+"px"),ma.appendChild(na),$.parentElement.insertBefore(ma,$.nextSibling),pa=ea?f-na.getBoundingClientRect().width:g-na.getBoundingClientRect().height}function A(){ma=a.createElement("div"),ma.classList.add(N.scrollbar),qa?y():z(ma.style)}function B(){ma&&(ma.parentElement.removeChild(ma),ma=null,na=null)}function C(a){V=a,ua=!0,K.trigger($,P.SCROLL_BEFORE_START,{scrollLeft:ea?-S:0,scrollTop:ea?0:-S,fromAPI:ua}),Ba(s),u()}function D(){return-S}function E(){return Z}function F(a,b){ya=a,U=b,S=-i(a),V=S,Ba(s),u()}function G(a){var b=$.getBoundingClientRect(),c=ea?"width":"height",d=b[c],e=ga(a-d,0);e!==Z&&(Z=e||Number.POSITIVE_INFINITY,ma&&(qa?(ra=ga(d/(Z+d)*ia,ja),pa=ia-ra,L.updatePosition(sa,"."+N.thumb,{arcStart:oa,arcEnd:oa+ra,r:Q})):(d-=2*ka,na.style[c]=d/(Z+d)*d+"px",pa=d-na.getBoundingClientRect()[c])))}function H(a){var b=a.length;xa=a,wa=null,b&&(Z=xa[b-1].position-xa[0].position+la)}function I(a){Aa=ea?$.getBoundingClientRect().height:$.getBoundingClientRect().width,Array.isArray(a)?H(a):(xa=null,wa=a,wa&&(Z=wa*fa(Z/wa)))}function J(a){return $===a}var K=c.event,L=c.util.polar,M=c.util.selectors,N={circular:"scrolling-circular",direction:"scrolling-direction",scrollbar:"scrolling-scrollbar",path:"scrolling-path",thumb:"scrolling-scrollthumb",fadeIn:"fade-in",container:"scrolling-container"},O=!1,P={SCROLL_BEFORE_START:"beforeScrollStart",SCROLL_START:"scrollStart",SCROLL_END:"scrollEnd",SCROLL_FLICK:"flick",SCROLL:"scroll"},Q=174,R=0,S=0,T=0,U=0,V=0,W=0,X=Date.now(),Y=null,Z=0,$=null,_=null,aa="",ba=Math.abs,ca=!1,da=!1,ea=0,fa=Math.round,ga=Math.max,ha=Math.min,ia=60,ja=6,ka=11,la=0,ma=null,na=null,oa=0,pa=0,qa=c.support.shape.circle,ra=ja,sa=null,ta=null,ua=!1,va=!1,wa=null,xa=null,ya=0,za=0,Aa=0,Ba=b.requestAnimationFrame||b.webkitRequestAnimationFrame;c.util.scrolling={getScrollPosition:D,getScrollPositionByIndex:i,enable:w,disable:x,enableScrollBar:A,disableScrollBar:B,scrollTo:C,setMaxScroll:G,getMaxScroll:E,setSnapSize:I,scrollToIndex:F,isElement:J,setBounceBack:function(a){O=a}}}(b,a,d),function(a,b){function d(a,b){for(var c=a._renderList,d=0,e=c.length;e>d;d+=4)"propset"===c[d]&&(c[d+1][c[d+2]]=c[d+3]);0===e&&b-a._lastRenderClearTimestamp>a._lastRenderClearTTL&&(a._lastRenderClearTimestamp=b,a._sizeMap.length=0,a._avgListItemSize=-1),c.length=0}function e(a,b){var c=a._scroll,d=q,e=a._ui.scrollview,f=c.lastPositionX,g=c.lastPositionY,h=e.scrollLeft,i=b&&b.detail&&b.detail.scrollTop||e.scrollTop;a._refreshScrollbar(),g>i&&(d=r),f>h&&(d=u),i>g&&(d=s),h>f&&(d=t),c.lastJumpY=Math.abs(i-g),c.lastJumpX=Math.abs(h-f),c.lastPositionX=h,c.lastPositionY=i,c.dir=d,c.clipHeight=e.clientHeight,c.clipWidth=e.clientWidth}function f(a,b){return parseInt(b===v?a.clientHeight:a.clientWidth,10)}function g(a,b){var c,d,e,g,h,i,j=a.element,k=a.options,m=a._scroll,n=k.dataLength,o=a._avgListItemSize,p=k.bufferSize,q=!1,r=D.call(j.children,l);for(c=k.orientation===v?m.clipHeight:m.clipWidth,-1===o&&(a._avgListItemSize=o=f(j,k.orientation)/p),e=Math.floor((p-Math.floor(c/o))/2),i=0>=b-e?0:b-e,i+p>=n&&(i=n-p,0>i&&(i=0),q=!0),d=b-i,a._loadData(i),x=!0,h=i*o,k.orientation===v?(q&&(h=a._ui.spacer.clientHeight),a._addToRenderList("propset",j.style,"margin-top",h+"px")):(q&&(h=a._ui.spacer.clientWidth),a._addToRenderList("propset",j.style,"margin-left",h+"px")),g=0;d>g;g+=1)h+=f(r[g],k.orientation);k.orientation===v?C.isElement(a._ui.scrollview)?C.scrollTo(h):a._ui.scrollview.scrollTop=h:a._ui.scrollview.scrollLeft=h,x=!1,a._currentIndex=i}function h(a){for(var b=a.firstElementChild;b;){if("LI"===b.tagName)return b;b=b.nextElementSibling}return null}function i(a,b,c,d,e,f,g){var i,j,k=D.call(b.children,l),m=0;if(f>0){for(j=g;j>0;j--)i=k.shift(),c.appendChild(i),a._updateListItem(i,e),b.appendChild(i),m+=d(i,e++);a._currentIndex+=g}else{for(j=g;j>0;j--)i=k.shift(),c.appendChild(i),a._updateListItem(i,e),b.insertBefore(i,h(b)),m-=d(i,e--);a._currentIndex-=g}return m}function j(a,b,c,d,e,f,g){var h,i=0===(2&d),j=1===(2&d),k=a._currentIndex;i&&(h=f+e,0>=k&&(a._currentIndex=k=0,h=0),k>=b-1&&(h=a._ui.spacer.clientHeight),0>h&&(h=0),a._addToRenderList("propset",c,"margin-top",h+"px")),j&&(h=g+e,0>=k&&(a._currentIndex=k=0,h=0),k>=b-1&&(h=a._ui.spacer.clientWidth),0>h&&(h=0),a._addToRenderList("propset",c,"margin-left",h+"px"))}function k(a,b){for(var c=0,d=a.length;--d>=0;)c+=a[d][b];return c}function l(a){return"LI"===a.tagName}function m(a,b,d,e){return a[e]===c&&(a[e]=b?d.clientWidth:d.clientHeight),a[e]}function n(a){var b,c,d,e,g=a.element,h=a._scroll,n=a.options,o=g.style,p=a._currentIndex,w=parseInt(n.bufferSize,10),x=n.dataLength,y=h.dir,z=h.lastPositionY,A=h.lastPositionX,B=parseInt(o.marginTop,10)||0,C=parseInt(o.marginLeft,10)||0,E=0,F=a._domBuffer,G=a._avgListItemSize,H=k(D.call(g.children,l),n.orientation===v?"clientHeight":"clientWidth"),I=a._sizeMap,J=0,K=0;switch(-1===G&&(a._avgListItemSize=G=f(g,n.orientation)/w),y){case q:break;case s:K=z-B,E=x-p-w;break;case r:K=B+H-(z+h.clipHeight),E=p;break;case u:K=A-C,E=x-p-w;break;case t:K=C+H-(A-h.clipWidth),E=p}K>0&&2>=H/K&&(b=K/G-(w-h.clipHeight/G)/5|0|0,b=Math.min(E,b),c=b/w|0,b%=w,d=y===s||y===u?1:-1,c>0&&(a._loadData(p+d*c*w),p=a._currentIndex,J+=d*c*w*G),e=p+(d>0?w:-1),J+=i(a,g,F,m.bind(null,I,2&y),e,d,b),j(a,x,o,y,J,B,C))}function o(a,b){var c=a._scroll;e(a,b),(c.lastJumpY>0||c.lastJumpX>0&&!x)&&(n(a),B.trigger(a.element,"vlistupdate"))}var p=b.widget.BaseWidget,q=-1,r=0,s=1,t=2,u=3,v="y",w="x",x=!1,y=b.util,z=y.requestAnimationFrame,A=y.selectors,B=b.event,C=b.util.scrolling,D=[].filter,E=function(){var b=this;return b._ui={scrollview:null,spacer:null,itemSize:0},b._scroll={direction:[0,0,0,0],dir:q,lastPositionX:0,lastPositionY:0,lastJumpX:0,lastJumpY:0,clipWidth:0,clipHeight:0},b.name="VirtualListview",b._currentIndex=0,b.options={bufferSize:100,dataLength:0,orientation:v,listItemUpdater:null,scrollElement:null,optimizedScrolling:!1},b._scrollEventBound=null,b._render=d.bind(null,this),b._renderList=[],b._sizeMap=[],b._domBuffer=a.createDocumentFragment(),b._lastRenderClearTimestamp=0,b._lastRenderClearTTL=1e4,b._avgListItemSize=-1,b},F=new p;E.classes={uiVirtualListContainer:"ui-virtual-list-container",spacer:"ui-virtual-list-spacer"},F._updateListItem=function(a,b){this.options.listItemUpdater(a,b)},F._setupScrollview=function(a,b){var c,d=A.getClosestByClass(a,"ui-scroller")||a.parentElement;return c=d.style,b===w?(c.overflowX="scroll",c.overflowY="hidden"):(c.overflowX="hidden",c.overflowY="scroll"),d},F._getScrollView=function(a,b){var c=null;return a.scrollElement&&(c="string"==typeof a.scrollElement?A.getClosestBySelector(b,"."+a.scrollElement):a.scrollElement),c||(c=this._setupScrollview(b,a.orientation)),c},F._build=function(b){var c,d,e,f=this,g=f._ui,h=E.classes,i=f.options,j=a.createElement("div");return b.style.position="relative",b.classList.add(h.uiVirtualListContainer),e=i.orientation.toLowerCase()===w?w:v,c=f._getScrollView(i,b),j.classList.add(h.spacer),d=j.style,d.display="block",d.position="static",e===w&&(d["float"]="left"),c.appendChild(j),g.spacer=j,g.scrollview=c,i.orientation=e,b},F._init=function(a){var c,d,e=this,f=e._ui,g=e.options,h=f.scrollview||e._getScrollView(g,a);g.dataLength<g.bufferSize&&(g.bufferSize=g.dataLength),g.bufferSize<1&&(g.bufferSize=1),c=a.getBoundingClientRect(),d=h.getBoundingClientRect(),e._initTopPosition=c.top-d.top,e._initLeftPosition=c.left-d.left,h.classList.add("ui-has-virtual-list"),f.spacer=f.spacer||h.querySelector("."+E.classes.spacer),f.scrollview=h,g.orientation=g.orientation.toLowerCase()===w?w:v,g.optimizedScrolling&&(C.enable(h,g.orientation),C.enableScrollBar()),b.util.rotaryScrolling&&b.util.rotaryScrolling.lock()},F._buildList=function(){var b,c,d=this,e=d.element,f=d.options,g="UL"===e.tagName||"OL"===e.tagName||"TAU-VIRTUALLISTVIEW"===e.tagName?"li":"div",h=f.bufferSize,i=d._domBuffer,j=f.orientation;for(c=0;h>c;++c)b=a.createElement(g),j===w&&(b.style["float"]="left"),d._updateListItem(b,c),i.appendChild(b);e.appendChild(i),this._refresh()},F._refresh=function(){this._refreshScrollbar()},F._loadData=function(a){var b=this,c=b.element.firstElementChild;if(b._currentIndex!==a){b._currentIndex=a;do b._updateListItem(c,a),++a,c=c.nextElementSibling;while(c)}},F._refreshScrollbar=function(){var a,b,c=this,d=c._currentIndex,e=c.element,f=c.options,g=c._ui,h=g.spacer.style;f.orientation===v?(a=parseFloat(e.clientHeight)||0,b=a/f.bufferSize*(f.dataLength-d),f.optimizedScrolling?C.setMaxScroll(b):c._addToRenderList("propset",h,"height",b-a+"px")):(a=parseFloat(e.clientWidth)||0,b=a/f.bufferSize*f.dataLength,f.optimizedScrolling?C.setMaxScroll(b):c._addToRenderList("propset",h,"width",a/f.bufferSize*(f.dataLength-1)-4/3*a+"px"))},F._addToRenderList=function(){var a=this,b=a._renderList;b.push.apply(b,arguments),z(a._render)},F._bindEvents=function(){var a=o.bind(null,this),b=this._ui.scrollview;b&&(b.addEventListener("scroll",a,!1),this._scrollEventBound=a)},F._destroy=function(){var a=this,b=a._ui.scrollview,c=a._ui.spacer,d=a.element,e=d.style;for(e.position="static",a.options.orientation===v?e.top="auto":e.left="auto",b&&(C.disable(b),b.removeEventListener("scroll",a._scrollEventBound,!1)),c.parentNode&&c.parentNode.removeChild(c);d.firstElementChild;)d.removeChild(d.firstElementChild)},F.scrollTo=function(a){var b=this;C.isElement(b._ui.scrollview)?C.scrollTo(a):b._ui.scrollview.scrollTop=a},F.scrollToIndex=function(a){0>a&&(a=0),a>=this.options.dataLength&&(a=this.options.dataLength-1),e(this),g(this,a)},F.draw=function(){this._buildList(),this.trigger("draw")},F.setListItemUpdater=function(a){this.options.listItemUpdater=a},E.prototype=F,b.widget.core.VirtualListview=E}(a.document,d),function(a,b,c){var d=c.widget.core.VirtualListview,e=c.engine,f=c.util,g=f.selectors,h=f.DOM.nsData,i=new d,j=i._init,k=i._refresh,l=i._updateListItem;i._init=function(a){var b=this;e.instanceWidget(a,"Listview"),null!==h(a,"row")&&c.warn("Row option in VirtualListview is deprecated and not supported. Use bufferSize option instead."),null!==h(a,"template")&&c.warn("Template option in VirtualListview is deprecated and not supported."),null!==h(a,"numItemData")&&c.warn("NumItemData option in VirtualListview is deprecated and not supported. Use dataLength option instead."),"function"!=typeof b.options.listItemUpdater&&c.warn(["ListItemUpdater in VirtualListview is not set.","Probably you use selector for automatic creation of this widget.","Selectors for this widget are deprecated and will be removed in future.","Use setListItemUpdater to set list item updater."].join(" ")),b._ui.listview=e.instanceWidget(a,"Listview"),j.call(b,a)},i._refresh=function(){this._ui.listview.refresh(),k.call(this)},i._setupScrollview=function(a){var b;return b=e.getBinding(g.getClosestByClass(a,"ui-scrollview-clip")),b.element},i._updateListItem=function(a,b){var d=this;"function"==typeof d.options.listItemUpdater?l.call(d,a,b):c.warn("List item updater must be a function. Using jQuery Template in VirtualListview is deprecated and is not supported")},i.create=function(){c.warn("VirtualListview.create() method is deprecated and no more supported. Use draw() method instead.")},d.prototype=i,c.widget.mobile.VirtualListview=d,c.engine.defineWidget("VirtualListview","[data-role='virtuallistview'],[data-role='virtuallist'], .ui-virtuallistview",["draw","setListItemUpdater","scrollTo","scrollToIndex","create"],d,"tizen")}(a,a.document,d),function(a,b){function d(a,b,c,d,e){var f=e._ui,g=f.edgeEffect||f.scrollview.querySelector("."+v.edgeEffect),h=g.style,i=q(p(a/8)-1,10);return"vertical"===b?(h.top="start"===c?"0":"auto",h.bottom="start"===c?"auto":"0"):(h.left="start"===c?"0":"auto",h.right="start"===c?"auto":"0"),e._edgeEffectGradientSize=i,h.boxShadow="0 0 0 "+i+"px "+u.replace("{1}",.5)+",0 0 0 "+2*i+"px "+u.replace("{1}",.4)+",0 0 0 "+3*i+"px "+u.replace("{1}",.3)+",0 0 0 "+4*i+"px "+u.replace("{1}",.2)+",0 0 0 "+5*i+"px "+u.replace("{1}",.1),0}function e(a){return l.getClosestByClass(a,"ui-scroller")||a.parentElement}function f(a,b){var c=null;return a.scrollElement&&(c="string"==typeof a.scrollElement?l.getClosestBySelector(b,"."+a.scrollElement):a.scrollElement),c||(c=e(b)),c}function g(a,b){return b.getAttribute("data-index")===""+a}function h(a,b,c){return c>a}function i(a,b){return-1===a.indexOf(b)}function j(a,b){var d,e,f,j=a.element,k=a._itemSize,l=a.options,m="vertical"===l.orientation?"scrollTop":"scrollLeft",n=b.detail&&b.detail[m],o=a._ui,p=o.scrollview.firstElementChild.style,q=0,t=l.dataLength,u=[],w=a._numberOfItems,x=0,y=l.infinite,z=0,A=0,B={scrollTop:0,scrollLeft:0},C=0,D=0;if(l.edgeEffect&&(b.detail&&!b.detail.inBounds?(C=0>n?n:n+a._containerSize-l.dataLength*a._itemSize,n=n-C+l.edgeEffect(C,l.orientation,0>n?"start":"end",n,a)):a._edgeEffectGradientSize>0?((o.edgeEffect||o.scrollview.querySelector("."+v.edgeEffect)).style.boxShadow="none",a._edgeEffectGradientSize=0):a._scrollviewWidget&&a._scrollviewWidget.hideBouncingEffect()),n!==c){if(a._scrollBegin=n,z=r(n/a._itemSize),z!==r(a._scrollBeginPrev/a._itemSize)&&z>=0){for(n<a._itemSize?(q=0,A=0):z>t-w&&!y?(q=t-w,A=k*(z-q)):(q=z-1,A=k),x=q;q+w>x;++x)u[x-q]=s.call(j.children,g.bind(null,x%t))[0];for(d=s.call(j.children,i.bind(null,u)),x=q+w-1;x>=q;--x)D=x%t,(x>=0&&t>x||y)&&(u[x-q]||(e=d.shift(),u[x-q]=e,e&&(a._updateListItem(e,D),x-q===w-1||q>D&&n>a._scrollBeginPrev?j.appendChild(e):(f=u.filter(h.bind(null,x-q))[0],f?j.insertBefore(e,f):j.insertBefore(e,j.firstElementChild)))));B[m]=A+n%a._itemSize}else n>=0?n<a._itemSize?B[m]=n%k:z>t-w&&!y?(q=t-w,A=k*(z-q),B[m]=A+n%k):B[m]=k+n%k:B[m]=n;p.webkitTransform="translate("+-B.scrollLeft+"px, "+-B.scrollTop+"px)",a._scrollBeginPrev=n,a._snapListviewWidget&&a._snapListviewWidget.refresh()}}var k=b.widget.BaseWidget,l=b.util.selectors,m=b.util.scrolling,n=b.support.shape.circle,o=function(){var a=this;a.options={dataLength:0,listItemUpdater:null,scrollElement:null,orientation:"vertical",snap:!1,edgeEffect:n?null:d,infinite:!1},a._ui={edgeEffect:null,scrollview:null},a._scrollBegin=0,a._elementsMap=[],a._itemSize=0,a._numberOfItems=5,a._edgeEffectGradientSize=0},p=Math.abs,q=Math.min,r=Math.floor,s=Array.prototype.filter,t=new k,u="rgba(61, 185, 204, {1})",v={uiVirtualListContainer:"ui-virtual-list-container",edgeEffect:"ui-virtual-list-edge-effect"};o.classes=v,t._build=function(a){var b,c,d=this,e=d._ui,g=o.classes,h=d.options;return a.classList.add(g.uiVirtualListContainer),c="horizontal"===h.orientation.toLowerCase()?"horizontal":"vertical",b=f(h,a),e.scrollview=b,h.orientation=c,a},t._buildList=function(){var c,e,f,g=this,h=g._ui,i=g.options,j=g._ui.scrollview,k="vertical"===i.orientation?"height":"width",n=g.element,o="UL"===n.tagName||"OL"===n.tagName?"li":"div",p=g._numberOfItems,q=l.getClosestBySelector(n,".ui-content").getBoundingClientRect(),r=null,s=[].reduce.call(j.children,function(a,b){return a+b.getBoundingClientRect()[k]},0),t=b.support.shape.circle;for(e=b.engine.getBinding(l.getClosestBySelector(n,".ui-page"),"Scrollview"),e&&(e.option("bouncingEffect",!1),g._scrollviewWidget=e,i.edgeEffect=function(a,b,c){e.showBouncingEffect(c)}),i.dataLength<p&&(p=i.dataLength),f=0;p>f;++f)c=a.createElement(o),g._updateListItem(c,f),n.appendChild(c),r=g.element.getBoundingClientRect(),r[k]<q[k]&&p++;i.snap&&t&&(g._snapListviewWidget=b.engine.instanceWidget(n,"SnapListview",i.snap)),r=g.element.getBoundingClientRect(),g._itemSize=p>0?Math.round(r[k]/p):0,g._numberOfItems=p,g._containerSize=q[k],g._numberOfVisibleElements=Math.ceil(q[k]/g._itemSize),m.enable(j,"horizontal"===i.orientation?"x":"y",!0),i.infinite?m.setMaxScroll(null):(m.enableScrollBar(),j.classList.contains("ui-scroller")?m.setMaxScroll((i.dataLength+1)*g._itemSize+s):m.setMaxScroll(i.dataLength*g._itemSize)),i.snap&&t&&m.setSnapSize(g._itemSize),i.edgeEffect===d&&(h.edgeEffect=a.createElement("div"),h.edgeEffect.classList.add(v.edgeEffect,"orientation-"+i.orientation),h.scrollview.appendChild(h.edgeEffect)),m.setBounceBack(!0)},t._updateListItem=function(a,b){a.setAttribute("data-index",b),this.options.listItemUpdater(a,b)},t._refresh=function(){var a=this;a._buildList(),a._snapListviewWidget&&a._snapListviewWidget.refresh(),a.trigger("draw")},t.draw=function(){this.refresh()},t.scrollTo=function(a){m.scrollTo(-a)},t.scrollToIndex=function(a){this.scrollTo(Math.floor(this._itemSize*a))},t._bindEvents=function(){var a=j.bind(null,this),b=this._ui.scrollview;b&&(b.addEventListener("scroll",a,!1),this._scrollEventBound=a)},t._destroy=function(){m.disable()},t.setListItemUpdater=function(a){this.options.listItemUpdater=a,this.refresh()},o.prototype=t,b.engine.defineWidget("VirtualListviewSimple","",["draw","setListItemUpdater","scrollTo","scrollToIndex"],o,"",!0),b.widget.core.VirtualListviewSimple=o}(a.document,d),function(a,b,d){var e=d.widget.mobile.VirtualListview,f=e.prototype,g=d.engine,h=d.util.DOM,i=d.util.object.merge,j="x",k="y",l={WRAP_BLOCK_Y:"ui-virtualgrid-wrapblock-y",WRAP_BLOCK_X:"ui-virtualgrid-wrapblock-x",ITEM:"virtualgrid-item"},m=function(){return this},n=new e;n._configure=function(){var a=this;"function"==typeof f._configure&&f._configure.apply(a,arguments),a.options=i({},a.options,{numItemData:0,direction:k,row:50,itemsPerLine:1,listItemUpdater:null,standalone:!1}),a._ui=i({},a._ui),a._currentIndex=0},n._build=function(a){return"function"==typeof f._build&&f._build.apply(this,arguments),this.options.direction===j&&(a.style.height="100%"),a},n._setLineSize=function(){var a,c,d,e,f=this,g=f.options,i=b.createElement("div"),j=f.element;j.appendChild(i),f._updateListItem(i,0),a=i.firstElementChild,c=a.firstElementChild,g.direction===k?(a.style.width="",a.style["float"]="none",d=h.getElementWidth(c,"outer",!0,!0),g.lineSize=a.offsetHeight,e=j.offsetWidth):(d=i.offsetHeight,e=g.standalone?f._ui.scrollview.element.offsetHeight:j.offsetHeight,g.lineSize=a.offsetWidth),j.removeChild(i),g.itemsPerLine=Math.max(Math.floor(e/d),1),g.rawNumItemData=g.numItemData,g.numItemData=Math.ceil(g.numItemData/g.itemsPerLine)},n._configureList=function(a){var b=this,c=b.options,d=a[0]||{};"function"!=typeof d.itemData||"function"!=typeof d.numItemData&&"number"!=typeof d.numItemData||("function"==typeof d.numItemData?c.numItemData=d.numItemData():c.numItemData=d.numItemData<=0?0:d.numItemData,b.itemData=d.itemData),c.direction=d.direction||c.direction,c.row=Math.max(20,c.row),b._setLineSize(),b._buildList(),c.standalone&&b._updateScrollInfo()},n._updateListItem=function(a,d){var e,f,h,i=this,j=i.options,m=j.listItemUpdater,n=j.direction,o=i.itemData,p=i._ui.$jqTmpl,q=j.itemsPerLine,r=j.rawNumItemData,s=100/q+"%",t=q*d,u=0;for(a.innerHTML="",f=b.createDocumentFragment(),h=t+u;q>u&&(r===c||r>h);)e=b.createElement("div"),e.style[n===k?"width":"height"]=s,e.classList.add(l.ITEM),"function"==typeof m?m(e,h):e.appendChild($.tmpl(p,o(h))[0]),f.appendChild(e),u++,h=t+u;a.appendChild(f),g.createWidgets(a),j.lineSize&&(a.style[n===k?"height":"width"]=j.lineSize+"px"),a.classList.add(n===k?l.WRAP_BLOCK_Y:l.WRAP_BLOCK_X)},m.classes=l,m.prototype=n,d.widget.mobile.VirtualGrid=m,g.defineWidget("VirtualGrid","[data-role=virtualgrid], .ui-virtualgrid",["create"],m,"mobile")}(a,a.document,d),function(a,d,e){var f=d.widget.mobile.BaseWidgetMobile,g=d.engine,h=d.util.object,i=function(){var a=this;a.action="",a.label=null,a.defaultHtml="",a.options=h.copy(i.prototype.options)},j={uiLoader:"ui-loader",uiLoaderPrefix:"ui-loader-",uiCorner:"ui-corner-all",uiIcon:"ui-icon",uiLoaderIcon:"ui-icon-loading",uiLoading:"ui-loading",uiTextOnly:"ui-loader-textonly"},k={pageLoadErrorMessageTheme:"e",pageLoadErrorMessage:"Error Loading Page"},l=new f;i.classes=j,i.properties=k,l.options={textVisible:!1,html:"",text:"loading"},l._build=function(a){var c=this.options,d=b.createElement("span"),e=b.createElement("h1"),f=a.classList,g=d.classList;return e.textContent=c.text,g.add(j.uiIcon),g.add(j.uiLoaderIcon),a.appendChild(d),a.appendChild(e),f.add(j.uiLoader),f.add(j.uiCorner),f.add(j.uiLoaderPrefix+"default"),this.defaultHtml=a.innerHTML,a},l._init=function(a){return this.defaultHtml=a.innerHTML,a},l.resetHtml=function(a){a=a||this.element,a.innerHTML=this.defaultHtml},l.show=function(a,d,f){var g,j,k=i.classes,l=this,m=l.element,n=m.classList,o={},p={};l.resetHtml(m),a!==c&&a.constructor===Object?(o=h.copy(l.options),p=h.merge(o,a),a=p.theme||e.mobile.loadingMessageTheme):(p=l.options,a=a||e.mobile.loadingMessageTheme||p.theme),j=d||e.mobile.loadingMessage||p.text,b.documentElement.classList.add(k.uiLoading),e.mobile.loadingMessage!==!1||p.html?(g=e.mobile.loadingMessageTextVisible!==c?e.mobile.loadingMessageTextVisible:p.textVisible,m.className="",n.add(k.uiLoader),n.add(k.uiCorner),n.add(k.uiBodyPrefix+a),n.add(k.uiLoaderPrefix+(g||d||a.text?"verbose":"default")),(p.textonly!==c&&p.textonly||f)&&n.add(k.uiTextOnly),p.html?m.innerHTML=p.html:m.getElementsByTagName("h1")[0].textContent=j):m.getElementsByTagName("h1")[0].innerHTML=""},l.hide=function(){var a=i.classes;b.documentElement.classList.remove(a.uiLoading)},i.prototype=l,d.widget.mobile.Loader=i,g.defineWidget("Loader","[data-role='loader'], .ui-loader",["show","hide","resetHtml"],i,"mobile")}(a.document,d,a.$),function(b,d){var e=d.widget.BaseWidget,f=d.util.selectors,g=d.util.DOM,h=d.event,i=d.history,j=d.event.gesture,k=d.widget.core.Page,l={CLOSED:"closed",OPENED:"opened",SLIDING:"sliding",SETTLING:"settling"},m={OPEN:"draweropen",CLOSE:"drawerclose"},n={WIDTH:240,HEIGHT:360,DURATION:300,POSITION:"left"},o=function(){var a=this;a.options={position:n.POSITION,width:n.WIDTH,height:n.HEIGHT,duration:n.DURATION,closeOnClick:!0,overlay:!0,drawerTarget:"."+k.classes.uiPage,enable:!0,dragEdge:1},a._pageSelector=null,a._isDrag=!1,a._state=l.CLOSED,a._settlingType=l.CLOSED,a._translatedX=0,a._translatedY=0,a._ui={},a._eventBoundElement=null,a._drawerOverlay=null},p={page:k.classes.uiPage,drawer:"ui-drawer",left:"ui-drawer-left",right:"ui-drawer-right",up:"ui-drawer-up",down:"ui-drawer-down",overlay:"ui-drawer-overlay",open:"ui-drawer-open",close:"ui-drawer-close"},q=new e;o.prototype=q,o.classes=p,q._unbindDragEvents=function(b,c){var d=b._ui.drawerOverlay;h.disableGesture(c),h.off(c,"drag dragstart dragend dragcancel swipe swipeleft swiperight swipe vmouseup",b,!1),h.prefixedFastOff(b.element,"transitionEnd",b,!1),h.off(a,"resize",b,!1),d&&h.off(d,"vclick",b,!1)},q._bindDragEvents=function(b,c){var d=b._ui.drawerOverlay;b._eventBoundElement=c,h.enableGesture(c,new j.Drag,new j.Swipe({orientation:"left"===b.options.position||"right"===b.options.position?j.Orientation.HORIZONTAL:j.Orientation.VERTICAL})),h.on(c,"drag dragstart dragend dragcancel swipe swipeleft swiperight swipeup swipedown vmouseup",b,!1),h.prefixedFastOn(b.element,"transitionEnd",b,!1),h.on(a,"resize",b,!1),d&&h.on(d,"vclick",b,!1)},q.handleEvent=function(a){var b=this;switch(a.type){case"drag":b._onDrag(a);break;case"dragstart":b._onDragStart(a);break;case"dragend":b._onDragEnd(a);break;case"dragcancel":b._onDragCancel(a);break;case"vmouseup":b._onMouseup(a);break;case"swipe":case"swipeleft":case"swiperight":case"swipeup":case"swipedown":b._onSwipe(a);break;case"vclick":b._onClick(a);break;case"transitionend":case"webkitTransitionEnd":case"mozTransitionEnd":case"oTransitionEnd":case"msTransitionEnd":b._onTransitionEnd(a);break;case"resize":b._onResize(a)}},q._onMouseup=function(){var a=this;a._state===l.SLIDING&&a.close()},q._onClick=function(){var a=this;a._state===l.OPENED&&a.close()},q._onResize=function(){var a=this;a._refresh()},q._onTransitionEnd=function(){var a=this,b=a.options.position,c=a._drawerOverlay;a._state===l.SETTLING&&(a._settlingType===l.OPENED?(a.trigger(m.OPEN,{position:b}),a._setActive(!0),a._state=l.OPENED):(a.close(),a.trigger(m.CLOSE,{position:b}),a._setActive(!1),a._state=l.CLOSED,c&&(c.style.visibility="hidden")))},q._onSwipe=function(a){var b,c=this,d=c.options;if(a.detail)switch(a.detail.direction){case"left":b="right";break;case"right":b="left";break;case"up":b="down";break;case"down":b="up"}else"swiperight"===a.type?b="left":"swipeleft"===a.type?b="right":"swipeup"===a.type?b="down":"swipedown"===a.type&&(b="up");d.enable&&c._isDrag&&d.position===b&&(c.open(),c._isDrag=!1)},q._onDragStart=function(a){var b=this;b._state!==l.OPENED&&(b.options.enable&&!b._isDrag&&b._state!==l.SETTLING&&b._checkSideEdge(a)?b._isDrag=!0:b.close())},q._onDrag=function(b){var c,d,e=this,f=b.detail.deltaX,g=b.detail.deltaY,h=e.options,i=e._translatedX,j=e._translatedY;if(h.enable&&e._isDrag&&e._state!==l.SETTLING)switch(h.position){case"left":c=-h.width+f+i,0>c&&e._translate(c,0,0);break;case"right":c=a.innerWidth+f-i,c>0&&c>a.innerWidth-h.width&&e._translate(c,0,0);break;case"up":d=-h.height+g+j,0>d&&e._translate(0,d,0);break;case"down":d=a.innerHeight+g-j,d>0&&d>a.innerHeight-h.height&&e._translate(0,d,0)}},q._onDragEnd=function(a){var b=this,c=b.options,d=a.detail;c.enable&&b._isDrag&&(("left"===c.position||"right"===c.position)&&(Math.abs(d.deltaX)>c.width/2?b.open():b._state!==l.SETTLING&&b.close()),("up"===c.position||"down"===c.position)&&(Math.abs(d.deltaY)>c.height/2?b.open():b._state!==l.SETTLING&&b.close())),b._isDrag=!1},q._onDragCancel=function(){var a=this;a.options.enable&&a._isDrag&&a.close(),a._isDrag=!1},q._translate=function(a,b,c){var d=this,e=d.element;d._state!==l.SETTLING&&(d._state=l.SLIDING),c&&g.setPrefixedStyle(e,"transition",g.getPrefixedValue("transform "+c/1e3+"s ease-out")),g.setPrefixedStyle(e,"transform","translate3d("+a+"px, "+b+"px, 0px)"),d.options.overlay&&d._setOverlay(a,b),c||d._onTransitionEnd()},q._setOverlayOpacity=function(a){this._ui.drawerOverlay.style.opacity=1-a},q._setOverlayVisibility=function(a){var b=this._ui.drawerOverlay.style;1>a?b.visibility="visible":b.visibility="hidden"},q._calcOverlay=function(b,c){var d,e=this.options,f=Math.abs(b),g=Math.abs(c);return"right"===e.position?d=f/a.innerWidth:"left"===e.position?d=f/e.width:"down"===e.position?d=g/a.innerHeight:"up"===e.position&&(d=g/e.height),d},q._setOverlay=function(a,b){var c=this,d=c._calcOverlay(a,b);c._setOverlayVisibility(d),c._setOverlayOpacity(d)},q._setActive=function(a){var b=this,c=d.router.Router.getInstance().getRoute("drawer");a?c.setActive(b):c.setActive(null)},q._build=function(a){var c,d=this,e=d._ui,g=d.options;return a.classList.add(p.drawer),a.style.top=0,c=f.getClosestBySelector(a,g.drawerTarget),c&&(c.appendChild(a),c.style.overflowX="hidden"),d.options.overlay&&(e.drawerOverlay=d._createOverlay(a),e.drawerOverlay.style.visibility="hidden"),e.placeholder||(e.placeholder=b.createComment(a.id+"-placeholder"),a.parentNode.insertBefore(e.placeholder,a)),e.targetElement=c,a},q._init=function(a){var b=this,c=b._ui;return c.drawerPage=f.getClosestByClass(a,p.page),c.drawerPage.style.overflowX="hidden",b._initLayout(),a},q._initLayout=function(){var b=this,c=b.options,d=b.element,e=d.style,f=b._ui,g=f.drawerOverlay?f.drawerOverlay.style:null;c.width=c.width||f.targetElement.offsetWidth,c.height=c.height||f.targetElement.offsetHeight,e.width=0!==c.width?c.width+"px":"100%",e.height=0!==c.height?c.height+"px":"100%",e.top="0",g&&(g.width=a.innerWidth+"px",g.height=a.innerHeight+"px",g.top=0),"right"===c.position?(d.classList.add(p.right),b._translate(a.innerWidth,0,0)):"left"===c.position?(d.classList.add(p.left),b._translate(-c.width,0,0)):"up"===c.position?(d.classList.add(p.up),b._translate(0,-a.innerHeight,0)):"down"===c.position&&(d.classList.add(p.down),b._translate(0,c.height,0)),b._state=l.CLOSED},q._translateRight=function(){var b=this,c=b.options;"right"===c.position&&(b._state===l.OPENED?b._translate(a.innerWidth-c.width,0,0):b._translate(a.innerWidth,0,0))},q._checkSideEdge=function(a){var b=this,c=a.detail,d=c.pointer.clientX-c.estimatedDeltaX,e=c.pointer.clientY-c.estimatedDeltaY,f=b.options,g=f.position,h=b._eventBoundElement,i=h.offsetWidth,j=h.offsetHeight,k=h.offsetLeft+i,l=h.offsetTop+j,m=i*f.dragEdge,n=j*f.dragEdge;return"left"===g&&d>0&&m>d||"right"===g&&d>k-m&&k>d||"up"===g&&e>0&&n>e||"down"===g&&e>l-n&&l>e},q._refresh=function(){var a=this;a._translateRight(),a._initLayout()},q._createOverlay=function(a){var c=b.createElement("div");return c.classList.add(p.overlay),a.parentNode.insertBefore(c,a),c},q._bindEvents=function(){var a=this,b=a._ui.targetElement;a._bindDragEvents(a,b)},q._unbindEvents=function(){var a=this,b=a._ui.targetElement;a._unbindDragEvents(a,b)},q._enable=function(){this._oneOption("enable",!0)},q._disable=function(){this._oneOption("enable",!1)},q.isOpen=function(){return this._state===l.OPENED},q.open=function(b){var d=this,e=d.options,f=d.element.classList,g=d._ui.drawerOverlay;d._state!==l.OPENED&&(d._state=l.SETTLING,d._settlingType=l.OPENED,b=b!==c?b:e.duration,g&&(g.style.visibility="visible"),f.remove(p.close),f.add(p.open),"left"===e.position?d._translate(0,0,b):"right"===e.position?d._translate(a.innerWidth-e.width,0,b):"up"===e.position?d._translate(0,0,b):"down"===e.position&&d._translate(0,a.innerHeight-e.height,b))},q.close=function(b,e){var f=this,g=b?b.reverse:!1,h=f.options,j=f.element.classList;if(f._state!==l.CLOSED){if(!g&&f._state===l.OPENED&&!d.getConfig("disableRouter"))return void i.back();f._state=l.SETTLING,f._settlingType=l.CLOSED,e=e!==c?e:h.duration,j.remove(p.open),j.add(p.close),"left"===h.position?f._translate(-h.width,0,e):"right"===h.position?f._translate(a.innerWidth,0,e):"up"===h.position?f._translate(0,-h.height,e):"down"===h.position&&f._translate(0,a.innerHeight,e)}},q.setDragHandler=function(a){var b=this;b.options.dragEdge=1,b._unbindDragEvents(b,b._eventBoundElement),b._bindDragEvents(b,a)},q.transition=function(a){var b=this,c=b.options;"left"===c.position?(b._translate(-c.width+a,0,c.duration),b._translatedX=a):"right"===c.position&&(b._translate(c.width-a,0,c.duration),b._translatedX=a),"up"===c.position?(b._translate(0,-c.height+a,c.duration),b._translatedY=a):"down"===c.position&&(b._translate(0,c.height-a,c.duration),b._translatedY=a)},q.getState=function(){return this._state},q._destroy=function(){var a=this,b=a._ui,c=b.drawerOverlay,d=b.placeholder,e=d.parentNode,f=a.element;e.insertBefore(f,d),e.removeChild(d),c&&c.removeEventListener("vclick",a._onClickBound,!1),a._unbindEvents()},o.STATE=l,d.widget.core.Drawer=o}(a.document,d),function(b,c){var d=c.widget.core.Drawer,e=c.engine,f=function(){d.call(this)},g=new d;f.prototype=g,g._configure=function(){var b=this;b.options.dragEdge=.05,b.options.width=a.screen.width>=960?360:.75*a.screen.width,b.options.height=a.screen.height},c.widget.mobile.Drawer=f,e.defineWidget("Drawer","[data-role='drawer'], .ui-drawer",["transition","setDragHandler","open","close","isOpen","getState"],f,"mobile")}(a.document,d),function(a,b){var c=b.engine,d=b.widget.core.OnOffSwitch,e=function(){d.call(this,arguments)},f=b.widget.core.BaseKeyboardSupport,g="input[data-role='toggleswitch'],select[data-role='toggleswitch'],select.ui-toggleswitch,input.ui-toggleswitch";e.prototype=new d,b.widget.mobile.ToggleSwitch=e,c.defineWidget("ToggleSwitch",g,[],e,"mobile"),f.registerActiveSelector(g)}(a.document,d),function(a,b){function d(a){var b=this,c=i.getClosestByClass(a.target,l.NAVIGATION_ITEM),d=c&&parseInt(c.getAttribute(k.POSITION),10),e=b._navigationStack,f=e[d],g=e.length-1-d;c&&setTimeout(function(){c.classList.contains(l.NAVIGATION_ACTIVE)||e[e.length-1]===f||(b.pop(g),b.trigger("navigate",{id:f,position:d}))},0)}var e=b.widget.mobile.BaseWidgetMobile,f=b.widget.core.BaseKeyboardSupport,g=b.engine,h=b.event,i=b.util.selectors,j=function(){
-var a=this;f.call(this),a._clickBound=null,a._ui={},a._navigationStack=[]},k={POSITION:"data-position"},l={NAVIGATION:"ui-navigation",NAVIGATION_CONTAINER:"ui-navigation-container",NAVIGATION_ITEM:"ui-navigation-item",NAVIGATION_ACTIVE:"ui-navigation-active",NAVIGATION_HIDE:"ui-navigator-hide",NAVIGATION_BACK:"ui-navigator-back",NAVIGATION_BACK_HIDE:"ui-navigator-back-hide",NAVIGATION_ACTIVE_ANIMATION:"ui-navigator-active-animation"},m=new e;j.prototype=m,j.classes=l,j.attributes=k,m._build=function(b){var c;return b.classList.add(l.NAVIGATION),c=a.createElement("ul"),c.classList.add(l.NAVIGATION_CONTAINER),this._ui.container=c,b.appendChild(c),b},m._bindEvents=function(a){var b=this;b._clickBound=d.bind(b),a.addEventListener("vclick",b._clickBound,!1)},m.create=function(){b.warn("Create method is deprecated because with 'create' method,it is hard to meet the newly changed Navigation function. To handle Navigation Bar, please utilize 'push' method with and 'panelChanger' component, instead.")},m.pop=function(a){var b=this,d=b._ui.container,e=b._navigationStack,f=d.lastChild,g=f&&f.classList,i=f&&f.previousElementSibling&&f.previousElementSibling.classList;a===c&&(a=1),g&&(g.add(l.NAVIGATION_HIDE),i&&(i.add(l.NAVIGATION_BACK),i.add(l.NAVIGATION_ACTIVE),h.one(f,"animationend, webkitAnimationEnd",function(){d.removeChild(d.lastChild),g.remove(l.NAVIGATION_BACK),a>1&&b.pop(a-1)})),e.pop())},m.push=function(b){var c,d,e,f=this,g=f.element,i=f._navigationStack,j=f._ui.container,m=j.childElementCount,n=j.lastElementChild,o=n&&n.classList,p=null;i.push(b),m>0&&(o.add(l.NAVIGATION_BACK_HIDE),h.one(n,"animationend webkitAnimationEnd",function(){n!==f._ui.container.lastElementChild&&(o.remove(l.NAVIGATION_BACK_HIDE),o.remove(l.NAVIGATION_ACTIVE))})),c=a.createElement("li"),c.setAttribute(k.POSITION,m),p=c.classList,p.add(l.NAVIGATION_ITEM),m>0&&(d=a.createElement("span"),d.classList.add("ui-arrow"),c.appendChild(d)),e=a.createElement("a"),e.classList.add("ui-text"),e.setAttribute("href","#"+b),e.innerHTML=b,c.appendChild(e),p.add(l.NAVIGATION_ACTIVE),p.add(l.NAVIGATION_ACTIVE_ANIMATION),h.one(c,"animationend webkitAnimationEnd",function(){p.remove(l.NAVIGATION_ACTIVE_ANIMATION)}),j.appendChild(c),j.offsetWidth>g.offsetWidth&&(g.scrollLeft=j.offsetWidth-g.offsetWidth)},m._destroy=function(a){var b=this;a.removeEventListener("vclick",b._clickBound,!1),a.removeChild(b._ui.container),b._clickBound=null,b._ui=null,b._navigationStack=null},f.registerActiveSelector(".ui-navigation .ui-text"),b.widget.mobile.Navigation=j,g.defineWidget("Navigation","[data-role='navigation'], .ui-navigation",["push","pop","create"],j,"mobile")}(a.document,d),function(a){a.widget.core.indexscrollbar=a.widget.core.indexscrollbar||{}}(d),function(a,b){function c(a,b){return this.element=a,this.options=d.merge(b,this._options,!1),this.container=this.options.container,f.call(self),this.indices={original:this.options.index,merged:[]},this._init(),this}var d=b.util.object,e=b.util.DOM,f=b.widget.core.BaseKeyboardSupport;c.prototype={_options:{container:null,offsetLeft:0,index:[],verticalCenter:!1,moreChar:"*",moreCharLineHeight:9,indexHeight:41,selectedClass:"ui-state-selected",ulClass:null,maxIndexLen:0},_init:function(){this.indices.original=this.options.index,this.indexLookupTable=[],this.indexElements=null,this.selectedIndex=-1,this.visiblity="hidden",this._setMaxIndexLen(),this._makeMergedIndices(),this._drawDOM(),this._appendToContainer(),this.options.verticalCenter&&this._adjustVerticalCenter(),this._setIndexCellInfo()},_clear:function(){for(;this.element.firstChild;)this.element.removeChild(this.element.firstChild);this.indices.merged.length=0,this.indexLookupTable.length=0,this.indexElements=null,this.selectedIndex=-1,this.visiblity=null},refresh:function(){this._clear(),this._init()},destroy:function(){this._clear()},show:function(){this.visibility="visible",this.element.style.visibility=this.visibility},hide:function(){this.visibility="hidden",this.element.style.visibility=this.visibility},isShown:function(){return"visible"===this.visibility},_setMaxIndexLen:function(){var a,b=this,c=b.options,d=b.container,e=c.indexHeight,f=d.offsetHeight;a=Math.floor(f/e),a>0&&a%2===0&&(a-=1),c.maxIndexLen=c.maxIndexLen>0?Math.min(a,c.maxIndexLen):a},_makeMergedIndices:function(){var a,b,c=this.indices.original,d=c.length,e=Math.min(this.options.maxIndexLen,d),f=d-e,g=parseInt(f/parseInt(e/2,10),10),h=f%parseInt(e/2,10),i=[],j=[],k=0;for(a=0,b=e;b>a;a++)i[a]=1,a%2&&(i[a]+=g+(h-->0?1:0)),k+=i[a],j.push({start:k-1,length:i[a]});this.indices.merged=j},_drawDOM:function(){var b,c,d,e,f,g,h=this.indices.original,i=this.indices.merged,j=i.length,k=this.options.indexHeight,l=this.options.moreChar,m=this.container.clientHeight-(j-1)*k,n=this.options.moreCharLineHeight;for(c=a.createDocumentFragment(),f=0;j>f;f++)g=i[f],b=1===g.length?h[g.start]:l,e=a.createElement("a"),d=a.createElement("li"),e.innerText=b.toUpperCase(),e.setAttribute("href","#"+b.toUpperCase()),d.appendChild(e),d.style.height=(f===j-1?m:k)+"px",d.style.lineHeight=b===l?k+n+"px":k+"px",c.appendChild(d);this.element.appendChild(c),this.options.ulClass&&this.element.classList.add(this.options.ulClass)},_adjustVerticalCenter:function(){var a=this.indices.merged.length,b=a*this.options.indexHeight,c=parseInt((this.container.offsetHeight-b)/2,10);this.element.style.paddingTop=c+"px"},_appendToContainer:function(){var b=this,c=b.options,d=b.element,e=b.container,f=d.style,g=a.createElement("div"),h=c.paddingBottom+"px";e.appendChild(d),f.left=c.offsetLeft+"px",c.paddingBottom&&(f.paddingBottom=h,g.classList.add("ui-indexscrollbar-margin"),g.style.height=h,e.appendChild(g))},setPaddingTop:function(a){var b=this.element.clientHeight,c=this.element.style.paddingTop,d=this.container.clientHeight;c=""===c?0:parseInt(c,10),b-=c,b>d&&(a-=a+b-d),this.element.style.paddingTop=a+"px",this._setIndexCellInfo()},getOffsetTopByIndex:function(a){var b=this.indexLookupTable[a].cellIndex,c=this.indexElements[b],d=c.offsetTop;return d},_setIndexCellInfo:function(){var a=this.element,b=this.indices.merged,c=e.getElementOffset(this.container).top,d=this.element.querySelectorAll("LI"),f=[];[].forEach.call(d,function(a,d){for(var e=b[d],g=e.start,h=g+e.length,i=c+a.offsetTop,j=a.offsetHeight/e.length;h>g;g++)f.push({cellIndex:d,top:i,range:j}),i+=j}),this.indexLookupTable=f,this.indexElements=a.children},getIndexByPosition:function(a){var b,c,d,e,f=this.indexLookupTable;if(f[0]&&(b=f[0],a<b.top))return 0;if(f[f.length-1]&&(b=f[f.length-1],a>=b.top+b.range))return f.length-1;for(c=0,d=f.length;d>c;c++)if(b=f[c],e=a-b.top,e>=0&&e<b.range)return c;return 0},getValueByIndex:function(a){return 0>a&&(a=0),this.indices.original[a]},select:function(a){var b,c;this.clearSelected(),this.selectedIndex!==a&&(this.selectedIndex=a,b=this.indexLookupTable[a].cellIndex,c=this.indexElements[b],c.classList.add(this.options.selectedClass))},clearSelected:function(){var a=this.element,b=this.options.selectedClass,c=a.querySelectorAll("."+b);[].forEach.call(c,function(a){a.classList.remove(b)}),this.selectedIndex=-1}},b.widget.core.indexscrollbar.IndexBar=c}(a.document,d),function(a,b){function c(a){a.preventDefault(),a.stopPropagation()}function d(a,b){return this.element=a,this.options=e.merge(b,this._options,!1),this.value=null,this._init(),this}var e=b.util.object,f=b.event;d.prototype={_options:{className:"ui-indexscrollbar-indicator",selectedClass:"ui-selected",alignTo:"container",container:null},_init:function(){var a=this,b=a.options,d=a.element;d.className=b.className,d.innerHTML="<span></span>",f.on(d,["touchstart","touchmove"],c,!1),b.referenceElement.parentNode.insertBefore(d,b.referenceElement),a.fitToContainer()},fitToContainer:function(a){var b=this,c=b.element,d=c.style,e=b.options,f=e.container,g=f.getBoundingClientRect();a=a||e.alignTo,d.width=g.width+"px","container"===a?d.height=g.height+"px":d.height=g.height+g.top+"px",d.top=("container"===a?g.top:0)+"px",d.left=g.left+"px"},setValue:function(a){var b="",c="";this.value=a,a=a.toUpperCase(),b=a.substr(a.length-1),c=a.substr(0,a.length-1),this.element.firstChild.innerHTML="<span>"+c+'</span><span class="ui-selected">'+b+"</span>"},show:function(){this.element.style.display="block"},hide:function(){this.element.style.display="none"},destroy:function(){for(var a=this.element;a.firstChild;)a.removeChild(a.firstChild);f.off(a,["touchstart","touchmove"],c,!1),this.element=null}},b.widget.core.indexscrollbar.IndexIndicator=d}(a.document,d),function(b,c){var d=function(){var a=this;a.indicator=null,a.indexBar1=null,a.indexBar2=null,a._ui={},a.index=null,a.touchAreaOffsetLeft=0,a.indexElements=null,a.selectEventTriggerTimeoutId=null,a.ulMarginTop=0,a.eventHandlers={}},e=c.widget.BaseWidget,f=c.event,g=c.util.selectors,h=c.util.object,i=c.util.DOM,j=c.widget.core.indexscrollbar.IndexBar,k=c.widget.core.indexscrollbar.IndexIndicator,l=c.widget.core.Page,m=c.engine.getWidgetDefinition("Page").selector,n={SELECT:"select"},o="vmousedown",p="vmousemove",q="vmouseup",r=!1,s=new e;d.prototype=s,h.merge(s,{widgetName:"IndexScrollbar",widgetClass:"ui-indexscrollbar",_configure:function(){this.options={moreChar:"*",indexScrollbarClass:"ui-indexscrollbar",selectedClass:"ui-state-selected",indicatorClass:"ui-indexscrollbar-indicator",delimiter:",",index:["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","1"],maxIndexLen:0,indexHeight:41,keepSelectEventDelay:50,container:null,supplementaryIndex:null,supplementaryIndexMargin:1,moreCharLineHeight:9,verticalCenter:!0,indicatorAlignTo:"container"}},_build:function(a){return a},_init:function(a){var b=this,c=b.options;return a.classList.add(c.indexScrollbarClass),b._ui.page=g.getClosestBySelector(a,m),b._setIndex(a,c.index),b._setMaxIndexLen(a,c.maxIndexLen),b._setInitialLayout(),b._createSubObjects(),b._updateLayout(),b._extended(!0),a},_refresh:function(){var a=this;a._isExtended()&&(a._unbindEvent(),a.indicator.hide(),a._extended(!1)),a._setIndex(a.element,a.options.index),a._updateLayout(),a.indexBar1.options.index=a.options.index,a.indexBar1.refresh(),a.indicator.fitToContainer(),a._bindEvents(),a._extended(!0)},_destroy:function(){var a=this;a.isBound()&&(a._unbindEvent(),a._extended(!1),a._destroySubObjects(),a.indicator=null,a.index=null,a.eventHandlers={})},_createSubObjects:function(){var a=this,c=a.options,d=a.element;a.indexBar1=new j(b.createElement("UL"),{container:d,offsetLeft:0,index:c.index,verticalCenter:c.verticalCenter,indexHeight:c.indexHeight,maxIndexLen:c.maxIndexLen,paddingBottom:c.paddingBottom,moreCharLineHeight:c.moreCharLineHeight}),"function"==typeof c.supplementaryIndex&&(a.indexBar2=new j(b.createElement("UL"),{container:d,offsetLeft:-d.clientWidth-c.supplementaryIndexMargin,index:[],indexHeight:c.indexHeight,ulClass:"ui-indexscrollbar-supplementary"}),a.indexBar2.hide()),a.indicator=new k(b.createElement("DIV"),{container:a._getContainer(),referenceElement:a.element,className:c.indicatorClass,alignTo:c.indicatorAlignTo})},_destroySubObjects:function(){var a,b,c,d={iBar1:this.indexBar1,iBar2:this.indexBar2,indicator:this.indicator};for(c in d)d.hasOwnProperty(c)&&(a=d[c],a&&(b=a.element,a.destroy(),b.parentNode.removeChild(b)))},_setInitialLayout:function(){var b=this.element,c=this._getContainer(),d=a.getComputedStyle(c).position,e=b.style;"absolute"!==d&&"relative"!==d&&(e.top=c.offsetTop+"px",e.height=c.offsetHeight+"px")},_setMaxIndexLen:function(a,b){var c=this,d=c.options,e=c._getContainer(),f=e.offsetHeight;0>=b&&(b=Math.floor(f/d.indexHeight)),b>0&&b%2===0&&(b-=1),d.maxIndexLen=b},_updateLayout:function(){var a=this;a._setInitialLayout(),a._draw(),a.touchAreaOffsetLeft=a.element.offsetLeft-10},_draw:function(){return this.indexBar1.show(),this},_removeIndicator:function(){var a=this.indicator,b=a.element.parentNode;b.removeChild(a.element),a.destroy(),this.indicator=null},_getEventReceiverByPosition:function(b){var c,d=a.innerWidth,e=this.element.clientWidth;return c=this.options.supplementaryIndex?b>=d-e&&d>=b?this.indexBar1:this.indexBar2:this.indexBar1},_updateIndicatorAndTriggerEvent:function(b){this.indicator.setValue(b),this.indicator.show(),this.selectEventTriggerTimeoutId&&a.clearTimeout(this.selectEventTriggerTimeoutId),this.selectEventTriggerTimeoutId=a.setTimeout(function(){this.trigger(n.SELECT,{index:b}),this.selectEventTriggerTimeoutId=null}.bind(this),this.options.keepSelectEventDelay)},_onTouchStartHandler:function(a){var c=a.touches||a._originalEvent&&a._originalEvent.touches,d=null,e=null,f=0,g=0;return r=!0,c&&c.length>1?(a.preventDefault(),void a.stopPropagation()):(d=this._getPositionFromEvent(a),e=this.indexBar1,f=e.getIndexByPosition(d.y),g=e.getValueByIndex(f),e.select(f),b.addEventListener(p,this.eventHandlers.touchMove),b.addEventListener(q,this.eventHandlers.touchEnd),b.addEventListener("touchcancel",this.eventHandlers.touchEnd),void this._updateIndicatorAndTriggerEvent(g))},_onTouchMoveHandler:function(a){var b,c,d,e=a._originalEvent&&a._originalEvent.touches,g=null,h=null,i=null;return e&&e.length>1||!r?(f.preventDefault(a),void f.stopPropagation(a)):(g=this._getPositionFromEvent(a),h=this.indexBar1,i=this.indexBar2,c=this._getEventReceiverByPosition(g.x),c===i&&(i.options.index=this.options.supplementaryIndex(h.getValueByIndex(h.selectedIndex)),i.refresh()),b=c.getIndexByPosition(g.y),d=c.getValueByIndex(b),c===i?d=h.getValueByIndex(h.selectedIndex)+d:i&&!i.isShown()&&i.setPaddingTop(h.getOffsetTopByIndex(h.selectedIndex)),c.select(b),c.show(),h===c&&i&&i.hide(),this._updateIndicatorAndTriggerEvent(d),f.preventDefault(a),void f.stopPropagation(a))},_onTouchEndHandler:function(a){var c=this,d=a._originalEvent&&a._originalEvent.touches;(d&&0===d.length||!d)&&(r=!1),c.indicator.hide(),c.indexBar1.clearSelected(),c.indexBar2&&(c.indexBar2.clearSelected(),c.indexBar2.hide()),b.removeEventListener(p,c.eventHandlers.touchMove),b.removeEventListener(q,c.eventHandlers.touchEnd),b.removeEventListener("touchcancel",c.eventHandlers.touchEnd)},_bindOnPageShow:function(){var a=this;a.eventHandlers.onPageShow=a.refresh.bind(a),a._ui.page&&a._ui.page.addEventListener(l.events.BEFORE_SHOW,a.eventHandlers.onPageShow,!1)},_unbindOnPageShow:function(){var a=this;a.eventHandlers.onPageShow&&a._ui.page&&a._ui.page.removeEventListener(l.events.BEFORE_SHOW,a.eventHandlers.onPageShow,!1)},_bindEvents:function(){var a=this;a._bindResizeEvent(),a._bindEventToTriggerSelectEvent(),a._bindOnPageShow()},_unbindEvent:function(){var a=this;a._unbindResizeEvent(),a._unbindEventToTriggerSelectEvent(),a._unbindOnPageShow()},_bindResizeEvent:function(){this.eventHandlers.onresize=function(){this.refresh()}.bind(this),a.addEventListener("resize",this.eventHandlers.onresize)},_unbindResizeEvent:function(){this.eventHandlers.onresize&&a.removeEventListener("resize",this.eventHandlers.onresize)},_bindEventToTriggerSelectEvent:function(){var a=this;a.eventHandlers.touchStart=a._onTouchStartHandler.bind(a),a.eventHandlers.touchEnd=a._onTouchEndHandler.bind(a),a.eventHandlers.touchMove=a._onTouchMoveHandler.bind(a),a.element.addEventListener(o,a.eventHandlers.touchStart)},_unbindEventToTriggerSelectEvent:function(){var a=this;a.element.removeEventListener(o,a.eventHandlers.touchStart)},_data:function(a,b){var c,d=this.element,e=d.__data;if(e||(e=d.__data={}),"object"==typeof a){for(c in a)a.hasOwnProperty(c)&&this._data(c,a[c]);return this}return"undefined"==typeof b?e[a]:(e[a]=b,this)},_isValidElement:function(a){return a.classList.contains(this.widgetClass)},_isExtended:function(){return!!this._data("extended")},_extended:function(a){return this._data("extended",a),this},_setIndex:function(a,b){var c=this.options;"string"==typeof b&&(b=b.split(c.delimiter)),c.index=b},_getOffset:function(a){var b=0,c=0;do c+=a.offsetTop,b+=a.offsetLeft,a=a.offsetParent;while(a);return{top:c,left:b}},_getContainer:function(){var a,c=this.options.container,d=this.element,e=d.parentNode;if(!c){for(;e&&e!==b.body;){if(a=i.getCSSProperty(e,"overflow-y"),"scroll"===a||"auto"===a&&e.scrollHeight>e.clientHeight)return e;e=e.parentNode}c=d.parentNode}return c||d.parentNode},_getPositionFromEvent:function(a){return-1!==a.type.search(/^touch/)?{x:a.touches[0].clientX,y:a.touches[0].clientY}:{x:a.clientX,y:a.clientY}},addEventListener:function(a,b){this.element.addEventListener(a,b)},removeEventListener:function(a,b){this.element.removeEventListener(a,b)}}),c.widget.core.IndexScrollbar=d}(a.document,d),function(){function a(a){var b,c,d=[];for(c=a.length,b=0;c>b;b++)d.push(a[b].textContent.trim());return d}var b=d.engine,c=d.util.selectors,e=d.widget.core.Page,f=d.widget.core.Scrollview,g=d.widget.core.IndexScrollbar,h=g.prototype,i=new g,j=function(){var a=this;a._ui={},g.call(a)},k={PAGE:e.classes.uiPage,CONTENT:e.classes.uiContent,SCROLLVIEW_CLIP:f.classes.clip,FLOATING_BUTTON_CONTAINER:"ui-floatingactions",GROUP_INDEX:"ui-group-index"},l={INDEX_HEIGHT:20,MORE_CHAR_LINEHEIGHT:4};j.classes=k,i._configure=function(b){var d=this,e=c.getClosestByClass(b,k.PAGE),f=e.querySelector("."+k.CONTENT),g=a(e.getElementsByClassName(k.GROUP_INDEX));h._configure.call(d),d.options.container||(d.options.container=f||b.parentNode),g.length&&(d.options.index=g),d.options.indexHeight=l.INDEX_HEIGHT,d.options.moreCharLineHeight=l.MORE_CHAR_LINEHEIGHT,d.options.verticalCenter=!1},i._init=function(a){var b=this;h._init.call(b,a),b._fitHeight()},i._setInitialLayout=function(){var a=this,b=a.element,c=a.options,d=c.container,e=b.style,f=d.parentElement.querySelector("."+k.FLOATING_BUTTON_CONTAINER);f&&(c.paddingBottom=d.offsetHeight-f.offsetTop+d.offsetTop),e.height=d.offsetHeight+"px",e.top=d.offsetTop+"px"},i._fitHeight=function(){var a,b=this,c=b.element,d=c.getElementsByTagName("ul")[0],e=d.lastChild;a=c.offsetHeight-d.offsetHeight,e&&(e.style.height=e.offsetHeight+a+"px")},j.prototype=i,d.widget.mobile.IndexScrollbar=j,b.defineWidget("IndexScrollbar","[data-role='indexscrollbar'], .ui-indexscrollbar",[],j,"mobile")}(),function(a,b,c){var d=c.widget.core.Button;c.widget.mobile.Button=d,c.engine.defineWidget("Button","button, [data-role='button'], .ui-btn, input[type='button']",[],d,"mobile",!0)}(a,a.document,d),function(b,c){var d=c.widget.BaseWidget,e=c.widget.core.Page.classes,f=c.widget.core.BaseKeyboardSupport,g=f.KEY_CODES,h=c.engine,i=c.event,j=c.util.selectors,k=new d,l=/matrix\((.*), (.*), (.*), (.*), (.*), (.*)\)/,m=19,n=function(){var a=this;f.call(a),a.element=null,a.options={},a._style=null,a._startX=0,a._currentX=0,a._hasSingle=!0,a._padding={},a._position={},a._scope={}},o="ui-floatingactions",p=["left-min","left-2nd-icon","left-1st-icon","center","right-1st-icon","right-2nd-icon","right-min"],q={WIDGET:o,TRANSITIONS:o+"-transitions",EXPAND_TO_LEFT:o+"-expand-to-left",EXPAND_TO_RIGHT:o+"-expand-to-right",PAGE_WITH_FLOATING_ACTIONS:"ui-page-floatingactions"};k._configure=function(){this.options={duration:300,position:"right-1st-icon"}},k._init=function(a){var b=this;return b._style=a.style,b.element.hasAttribute("tabindex")||b.element.setAttribute("tabindex","0"),b._hasSingle=a.children.length<=1,b._buildInsideButtons(),b._positionCalculation(),b._setScope(),b._updatePosition(),b._toggleParentClasses(),a},k._bindEvents=function(){var a=this,b=a.element;i.enableGesture(b,new i.gesture.Drag({blockVertical:!0})),i.on(b,"drag dragstart dragend dragcancel touchstart touchend vmousedown vmouseup keyup",a)},k._unbindEvents=function(){i.disableGesture(this.element),i.off(this.element,"drag dragstart dragend dragcancel touchstart touchend vmousedown vmouseup keyup",this)},k._refresh=function(){var a=this,b=a.element;a._hasSingle=b.children.length<=1,a._positionCalculation(),a._setScope(),a._updatePosition()},k._destroy=function(){var a=this;a.isBound()&&(a._unbindEvents(),a._style=null,a._position=null,a._scope=null,a._padding=null,a._toggleParentClasses(!0))},k._buildInsideButtons=function(){for(var a=0,b=this,d=b.element,e=d.children,f=e.length;f>a;a++)c.widget.Button(e[a])},k._positionCalculation=function(){var b,c,d=this,e=d.element,f=a.getComputedStyle(e),g=d._position,h=d._padding,i=e.offsetWidth;b=parseInt(f.paddingLeft,10),b=parseInt(f.paddingLeft,10),c=parseInt(f.paddingRight,10),g.min=-a.innerWidth+b,g.max=i-c,g.center=(g.max+g.min)/2,g.left=g.min+i-(b+c),g.leftOneButton=g.min+(g.left-g.min)/2,g.right=g.max-i+(c+b),g.rightOneButton=g.right+(g.max-g.right)/2,h.left=b,h.right=c,h.ratioInShow=m/(g.center-g.left),h.ratioInHide=m/(g.left-g.min)},k._setScope=function(){var a=this,b=a._position,c=a._scope,d=a._padding,e=a._hasSingle;c.min=b.min+d.left/2,c.leftOneButton=e?null:b.min+3*(b.left-b.min)/4,c.left=b.left+(b.center-b.left)/2,c.center=b.center+(b.right-b.center)/2,c.right=b.right+d.right/2,c.rightOneButton=e?null:b.right+3*(b.max-b.right)/4,c.max=b.max},k._start=function(b){var c=this,d=c.element;c._startX=b.detail.pointer.clientX,c._currentX=parseInt(a.getComputedStyle(d).webkitTransform.match(l)[5],10),d.classList.remove(q.TRANSITIONS),c._clearExpandWidget()},k._clearExpandWidget=function(){var a=this.element.classList;a.remove(q.EXPAND_TO_LEFT),a.remove(q.EXPAND_TO_RIGHT)},k._expandWidget=function(a){var b=this,c=b.element.classList;switch(a){case"left-min":case"left-1st-icon":case"left-2nd-icon":c.add(q.EXPAND_TO_LEFT),c.remove(q.EXPAND_TO_RIGHT);break;case"center":b._clearExpandWidget();break;case"right-min":case"right-1st-icon":case"right-2nd-icon":c.remove(q.EXPAND_TO_LEFT),c.add(q.EXPAND_TO_RIGHT)}},k._move=function(a){var b,c=this,d=c._style,e=a.detail.estimatedX-c._startX+c._currentX,f=c._position;e>=f.min&&e<=f.max&&(b="translate3d("+e+"px, 0, 0)",d.webkitTransform=b,d.transform=b)},k._setPosition=function(a,b){var d=this,e=d._hasSingle;e&&"left-2nd-icon"===b&&(b="left-1st-icon",c.warn("Cannot set 2nd icon when widget has 1 icon")),e&&"right-2nd-icon"===b&&(b="right-1st-icon",c.warn("Cannot set 2nd icon when widget has 1 icon")),d.options.position=b,d._updatePosition()},k._getPositionByName=function(a){var b=this._position;switch(a){case"left-min":return b.min;case"left-2nd-icon":return b.leftOneButton;case"left-1st-icon":return b.left;case"center":return b.center;case"right-1st-icon":return b.right;case"right-2nd-icon":return b.rightOneButton;case"right-min":return b.max;default:return b.max}},k._toggleParentClasses=function(a){var b=this,c=j.getClosestByClass(b.element,e.uiPage);c&&c.classList.toggle(q.PAGE_WITH_FLOATING_ACTIONS,!a)},k._updatePosition=function(){var a,b=this,c=b.element.style,d=b.options.position;b.element.classList.add(q.TRANSITIONS),a="translate3d("+b._getPositionByName(d)+"px, 0, 0)",c.webkitTransform=a,c.transform=a,b._expandWidget(d)},k._getPositionNameByPosition=function(a){var b=this,c=b._scope,d=b._hasSingle;return a<c.min?"left-min":!d&&a<c.leftOneButton?"left-2nd-icon":a<c.left?"left-1st-icon":a<c.center?"center":a<c.right?"right-1st-icon":!d&&a<c.rightOneButton?"right-2nd-icon":"right-min"},k._moveTo=function(a){var b=this;b.options.position=b._getPositionNameByPosition(a),b._updatePosition()},k._end=function(a){var b=this;b._moveTo(a.detail.estimatedX-b._startX+b._currentX)},k._moveOnLeft=function(){var a=Math.max(p.indexOf(this.options.position)-1,0);this.option("position",p[a])},k._moveOnRight=function(){var a=Math.min(p.indexOf(this.options.position)+1,p.length-1);this.option("position",p[a])},k._onkeyup=function(a){var b=a,c=this;switch(b.keyCode){case g.left:c._reposition&&c._moveOnLeft();break;case g.right:c._reposition&&c._moveOnRight();break;case g.enter:a.target===this.element&&c._toggleRepositionMode(!c._reposition);break;case g.escape:c._toggleRepositionMode(!1);break;default:return}},k._toggleRepositionMode=function(a){var b=this;a?(b.element.classList.add("ui-floatingactions-reposition"),b.disableFocusableElements(b.element)):(b.element.classList.remove("ui-floatingactions-reposition"),b.enableDisabledFocusableElements(b.element)),b._reposition=a},k._focus=function(a){a.hasAttribute("tabindex")||a.setAttribute("tabindex",0),a.classList.add("ui-focus"),a.focus()},k._blur=function(a){a.hasAttribute("tabindex")&&a.removeAttribute("tabindex",0),a.classList.remove("ui-focus")},k.handleEvent=function(a){var b=this;switch(a.type){case"dragstart":b._start(a);break;case"drag":b._move(a);break;case"dragend":case"dragcancel":b._end(a);break;case"keyup":b._onkeyup(a)}},k.onAttach=function(){this.refresh()},n.prototype=k,n.classes=q,c.widget.mobile.FloatingActions=n,h.defineWidget("FloatingActions","[data-role='floatingactions'], ."+o,[],n,"mobile")}(a.document,d),function(a,b){function d(a,b,c,d,e){var f,g,h,i,j,k,l=a,m=e._carouselItemByCount(l);return e._lastCurrentIndex!==Math.round(a)&&(null!==e._lastCurrentIndex&&e._rollItems(Math.round(a)-e._lastCurrentIndex,Math.round(a)),e._lastCurrentIndex=Math.round(a)),f=b-m,f<-e._carouselCenterIndex?f+=e._numberOfCarouselItems:f>e._carouselCenterIndex&&(f-=e._numberOfCarouselItems),g=0>f?-1:1,h=Math.abs(f),i=1-d.scaleFactor*h,j=1-d.moveFactor*h,k=1-(d.enabled?d.scaleFactor:1)*h,i=0>i?0:i,k=0>k?0:k,j=g*(q*(1-j))+c,{moveY:j,scale:i,opacity:k}}function e(a){var c=a._carouselItems,e=a.options,f=a._itemHeight,g=a._objectValue,h=(a._containerHeight-f)/2;c.forEach(function(b,c){var f=d(g.value,c,h,e,a);f.opacity>0?b.element.style.transform="translateY("+f.moveY+"px) scale("+f.scale+")":b.element.style.transform="translateY(-1000px)",b.element.style.opacity=f.opacity}),b.event.trigger(a.element,"spinstep",parseInt(g.value,10))}var f=a.document,g=b.widget.BaseWidget,h=b.widget.core.Page,i=b.widget.core.Appbar,j=b.engine,k=b.event,l=k.gesture,m=b.util.selectors,n=b.util.Animate,o=300,p=600,q=100,r=60,s=13,t=500,u=function(){var a=this;a.options={min:0,max:9,step:1,moduloValue:"enabled",shortPath:"enabled",duration:p,direction:"up",rollHeight:"custom",itemHeight:38,momentumLevel:0,momentumDuration:800,scaleFactor:.4,moveFactor:.4,loop:"enabled",labels:[],digits:0,value:0,dragTarget:"document",enabled:!1},a._ui={scrollableParent:null,page:null,appbar:null},a._carouselItems=[],a._numberOfCarouselItems=s,a.length=a.options.max-a.options.min+a.options.step,a._prevValue=null,a._overflowYBeforeDrag=null,a._lastCurrentIndex=null,a._currentCentralCarouseItem=0,a._count=0,a._dragTimeoutHandler=null},v="ui-spin",w={SPIN:v,PREFIX:v+"-",ITEM:v+"-item",SELECTED:v+"-item-selected",NEXT:v+"-item-next",PREV:v+"-item-prev",ENABLED:"enabled",ENABLING:v+"-enabling",PLACEHOLDER:v+"-placeholder",CAROUSEL:v+"-carousel",CAROUSEL_ITEM:v+"-carousel-item"},x=new g;u.classes=w,u.timing=n.timing,x._fillCarouselByCount=function(a){var b,c,d,e,f=this;for(a=Math.round(a),e=0;e<f._numberOfCarouselItems;e++)f._carouselItems[e].element.firstElementChild&&f._carouselItems[e].element.removeChild(f._carouselItems[e].element.firstElementChild);for(c=f._numberOfCarouselItems-f.length,0>c&&(c=0),e=Math.floor(c/2),d=c-e;e<f._numberOfCarouselItems-d;e++)b=f._itemByCount(a+e-f._carouselCenterIndex),b&&f._carouselItems[f._carouselItemByCount(a+e-f._carouselCenterIndex)].element.appendChild(b)},x._rollItems=function(a,b){var c,d,e=this,f=a>0?1:-1;a=Math.abs(a),1===a?(c=e._carouselItems[e._carouselItemByCount(b+f*e._carouselCenterIndex)],d=e._itemByCount(b+f*e._carouselCenterIndex),c.element.firstElementChild&&c.element.removeChild(c.element.firstElementChild),d&&c.element.appendChild(d)):a>1&&e._fillCarouselByCount(b)},x._removeSelectedLayout=function(){var a=this,b=a._itemByCount(a._previousCount);b&&b.classList.remove(w.SELECTED)},x._addSelectedLayout=function(){var a=this,b=a._itemByCount(a._count);b&&b.classList.add(w.SELECTED)},x._show=function(){var a=this,c=new n({}),d=null,f={value:a._previousCount};a._removeSelectedLayout(),d={animation:[{object:f,property:"value",to:a._count}],animationConfig:{duration:a.options.enabled?a.options.duration:1,timing:u.timing.ease}},a.state=d,a._objectValue=f,a._animation=c,c.set(d.animation,d.animationConfig),c.tick(e.bind(null,a)),c.start(function(){a._addSelectedLayout(),a._prevValue=a.options.value,a.options.value=a._getValueByCount(a._count),b.event.trigger(a.element,"spinchange",{value:parseInt(a.options.value,10),dValue:parseInt(a.options.value,10)-parseInt(a._prevValue,10)})})},x._modifyItems=function(){var a,b=this,c=b.options,e=0,g=[],h=Math.abs(c.max-c.min)/c.step+1,i=0,j="",k=null,l=0;for(b._ui.items=g;h>l;l++)k=f.createElement("div"),k.classList.add(w.ITEM),g.push(k);for(i=0;h>i;i++){if(k=g[i],j="",b.options.labels.length)j=b.options.labels[i];else if(j+=c.min+i*c.step,c.digits>0)for(;j.length<c.digits;)j="0"+j;k.innerHTML=j}"container"===c.rollHeight?e=b._containerHeight:"custom"===c.rollHeight?e=c.itemHeight:(k=g[0],e=k?k.getBoundingClientRect().height:b._containerHeight),b._itemHeight=e,a=(b._containerHeight-e)/2,b._carouselItems.forEach(function(e,f){var g=d(b._valueToCount(c.value),f,a,c,b);e.element.style.transform="translateY("+g.moveY+"px) scale("+g.scale+")",e.element.style.opacity=g.opacity})},x._setItemHeight=function(a,b){b="string"==typeof b?parseInt(b.replace("px").trim(),10):b,this.options.itemHeight=b},x._updateItems=function(){var a=this;a._removeSelectedLayout(),a._modifyItems(),a._addSelectedLayout()},x._refresh=function(){var a=this,b=getComputedStyle(a.element).height||0;a._containerHeight=parseInt(b,10),a._modifyItems(),a._fillCarouselByCount(a._count),a._show()},x._init=function(){var a=this,b=a.options;b.min=b.min!==c?parseInt(b.min,10):0,b.max=b.max!==c?parseInt(b.max,10):0,b.value=b.value!==c?parseInt(b.value,10):0,b.step=b.step!==c?parseInt(b.step,10):1,b.duration=b.duration!==c?parseInt(b.duration,10):0,b.labels=Array.isArray(b.labels)?b.labels:b.labels.split(","),a.length=b.max-b.min+b.step,a._count=a._valueToCount(b.value),a.dragTarget="document"===b.dragTarget?f:a.element,a._refresh()},x._buildCarousel=function(a){var b,c=this,d=f.createElement("div"),e=f.createDocumentFragment(),g=0;for(c._carouselItems=[],c._numberOfCarouselItems=a,c._carouselCenterIndex=Math.floor(a/2),d.classList.add(w.CAROUSEL,w.PREFIX+a);a>g;g++)b=f.createElement("div"),b.id="cel-"+g,b.classList.add(w.CAROUSEL_ITEM),c._carouselItems[g]={element:b},e.appendChild(b);return d.appendChild(e),d},x._build=function(a){var b=f.createElement("div"),c=null,d=this;return a.classList.add(w.SPIN),b.classList.add(w.PLACEHOLDER),a.appendChild(b),c=d._buildCarousel(d._numberOfCarouselItems),a.appendChild(c),d._ui.carousel=c,d._ui.placeholder=b,a},x._valueToCount=function(a){var b=this;return(a-b.options.min)/b.options.step||0},x._setValue=function(c){var d=this;c=a.parseFloat(c,10),d._ui.placeholder.textContent=c,isNaN(c)?b.warn("Spin: value is not a number"):((c<d.options.min||c>d.options.max)&&"disabled"===d.options.loop&&(c=Math.min(Math.max(c,d.options.min),d.options.max)),c!==d.options.value&&(d._previousCount=d._count,d._count=d._valueToCount(c),d.options.value=c,d.element.dataset.value=c,d._stopAnimation(),d._show()))},x._stopAnimation=function(){var a=this,b=a.state.animation[0];null!==b&&b.to!==b.current&&a._animation.stop()},x._carouselItemByCount=function(a){var b=this._carouselCenterIndex,c=(a+b)%this._numberOfCarouselItems;return 0>c&&(c+=this._numberOfCarouselItems),c},x._getValueByCount=function(a){var b,c,d=this,e=d.options;return"enabled"!==e.loop?b=a*e.step+e.min:a>=0?b=a%d.length*e.step+e.min:(c=a%d.length||0,0>c&&(c+=d.length),b=c*e.step+e.min),b},x._getValue=function(){var a=this,b=a.options,c=a._getValueByCount(a._count);return"enabled"!==a.options.loop&&(a._objectValue.value=Math.min(Math.max(c,b.min),b.max)),c},x._setMax=function(a,b){var d=this.options;d.max=b!==c?parseInt(b,10):0,this.length=d.max-d.min+d.step},x._setMin=function(a,b){var d=this.options;d.min=b!==c?parseInt(b,10):0,this.length=d.max-d.min+d.step},x._setLabels=function(a,b){var c=this;c.options.labels=b.split(","),c._refresh()},x._setModuloValue=function(a,b){this.options.moduloValue="enabled"===b?"enabled":"disabled"},x._setShortPath=function(a,b){this.options.shortPath="enabled"===b?"enabled":"disabled"},x._setLoop=function(a,b){
-this.options.loop="enabled"===b?"enabled":"disabled"},x._setDuration=function(b,c){this.options.duration=a.parseInt(c,10)},x._setEnabled=function(b,c){var d=this;return d.options.enabled="false"===c?!1:c,d.options.enabled?(b.classList.add(w.ENABLING),a.setTimeout(function(){b.classList.remove(w.ENABLING)},o),b.classList.add(w.ENABLED),k.on(d.dragTarget,"drag dragend dragstart",d),k.on(d.dragTarget,"vmousedown vmouseup",d)):(b.classList.add(w.ENABLING),a.setTimeout(function(){b.classList.remove(w.ENABLING),d.refresh()},o),b.classList.remove(w.ENABLED),k.off(d.dragTarget,"drag dragend dragstart",d),k.off(d.dragTarget,"vmousedown vmouseup",d),d._animation.stop()),this._prevValue=null,!0},x._setDirection=function(a,b){this.options.direction=["up","down"].indexOf(b)>-1?b:"up"},x._drag=function(c){var d=this;null===f.getElementById(d.element.id)?k.off(d.dragTarget,"drag dragend dragstart",d):d.options.enabled&&(d._objectValue.value=d._startDragCount-c.detail.deltaY/r,"enabled"!==d.options.loop&&(d._objectValue.value=Math.min(Math.max(d._objectValue.value,0),d.length-1)),e(d)),a.clearTimeout(d._dragTimeoutHandler),d._dragTimeoutHandler=a.setTimeout(function(){d._dragEnd({detail:{velocityY:c.velocityY,distance:c.distance,direction:c.direction}}),d._dragTimeoutHandler=null,b.event.gesture.Manager.getInstance().resetDetecting()},t)},x._dragStart=function(){var a=this;a._animation.pause(),a._startDragCount=a._count,a._previousCount=a._count,a._removeSelectedLayout()},x._dragEnd=function(b){var c=this,d=c._animation._animate.chain[0],e=0,f=c.options.duration;a.clearTimeout(c._dragTimeoutHandler),c.options.momentumLevel>0&&b.detail.velocityY>.7&&b.detail.distance?(e=c.options.momentumLevel*Math.round(b.detail.distance/20),"up"===b.detail.direction&&(e=-e),c._count=Math.round(c._objectValue.value)-e||0,"enabled"!==c.options.loop&&(c._count=Math.min(Math.max(c._count,0),c.length-1)),f=c.options.momentumDuration,d[0].timing=u.timing.easeOut):(c._count=Math.round(c._objectValue.value)||0,"enabled"!==c.options.loop&&(c._count=Math.min(Math.max(c._count,0),c.length-1)),f=Math.abs(c._count-c._objectValue.value)*f),d[0].from=c._objectValue.value,d[0].to=c._count,d[0].duration=f,c._animation.start(c._animation._animate.callback)},x._vmouseDown=function(){var a=this,c=a._ui;c.scrollableParent=m.getScrollableParent(a.element),c.scrollableParent&&(a._overflowYBeforeDrag=c.scrollableParent.style.overflowY,c.scrollableParent.style.overflowY="hidden"),c.page=m.getClosestBySelector(a.element,h.selector),c.page&&(c.appbar=c.page.querySelector(i.selector),c.appbar&&b.widget.Appbar(c.appbar).lockExpanding(!0))},x._vmouseUp=function(){var a=this,c=a._ui;c.scrollableParent&&(c.scrollableParent.style.overflowY=a._overflowYBeforeDrag),c.appbar&&b.widget.Appbar(c.appbar).lockExpanding(!1)},x._itemIndexByValue=function(a){var b=this.options;return Math.round((a-b.min)/b.step)},x._itemByCount=function(a){var b=this,c=b._getValueByCount(a);return b._ui.items[b._itemIndexByValue(c)]},x._click=function(a){var b=this,c=a.target,d=b._ui.items,e=b._count,f=d.indexOf(c);!b.element.classList.contains(w.ENABLING)&&f>-1&&(b._previousCount=e,c===b._itemByCount(e-1)?b._count--:c===b._itemByCount(e+1)&&b._count++,b._previousCount!==b._count&&b._show())},x.handleEvent=function(a){var b=this;switch(a.type){case"drag":b._drag(a);break;case"vmousedown":b._vmouseDown(a);break;case"vmouseup":b._vmouseUp(a);break;case"dragend":b._dragEnd(a);break;case"dragstart":b._dragStart(a);break;case"vclick":b._click(a)}},x._bindEvents=function(){var a=this;k.enableGesture(a.dragTarget,new l.Drag({blockHorizontal:!0,threshold:7})),k.on(a.element,"vclick",a)},x._unbindEvents=function(){var a=this;k.disableGesture(a.dragTarget),k.off(a.dragTarget,"drag dragend dragstart",a),k.off(a.element,"vclick",a)},x._destroy=function(){var a=this,b=a.element,c=a._ui;a._unbindEvents(),c.items.forEach(function(a){a.parentNode&&a.parentNode.removeChild(a)}),a._carouselItems.forEach(function(a){a.element.parentNode.removeChild(a.element)}),b.removeChild(c.carousel),b.removeChild(c.placeholder),b.classList.remove(w.SPIN)},u.prototype=x,b.widget.core.Spin=u,j.defineWidget("Spin",".ui-spin",[],u,"core")}(a,d),function(a,b){var c=b.widget.core.Spin,d=c.prototype,e=b.engine,f=b.util.object,g=f.copy(c.classes),h=function(){var a=this,b={scaleFactor:0,moveFactor:.5,itemHeight:54,dragTarget:"self"};c.call(a),a.options=a.options?f.fastMerge(a.options,b):b},i=new c;i._init=function(){var a=this;d._init.call(a),a.option("enabled",!0)},h.prototype=i,h.classes=g,h.timing=c.timing,b.widget.mobile.Spin=h,e.defineWidget("Spin",".ui-spin",[],h,"mobile",!0)}(a,d),function(a,b,d){function e(a,b){var c=b.toString().split(a).join("");return 0===c.length?a:c}var f=d.widget.mobile.BaseWidgetMobile,g=d.engine,h=d.event,i=d.util.selectors.getClosestByClass,j=d.widget.mobile.Spin,k="ui-time-picker",l={CONTAINER:k+"-container",HOUR_CONTAINER:k+"-container-hour",MINUTE_CONTAINER:k+"-container-minute",FORMAT_CONTAINER:k+"-container-format",ACTIVE_CONTAINER:k+"-container-active",TIME_INPUT:k+"-input",TIME_INPUT_ACTIVE:k+"-input-active"},m="."+k,n=function(){this.options={format:"12"},this._spins={hour:null,minute:null,format:null},this._ui={},this._previousInputValue=-1,this._inputValueState=!1},o=new f;n.classes=l,o._init=function(){var a=this,b=a.options;b.format=b.format!==c?b.format:"12",a._setValue(new Date),a.option("format",b.format),Object.keys(a._spins).forEach(function(b){a._spins[b].refresh()})},o._build=function(a){var b=this,c=b._buildTimePicker("hour"),d=b._buildTimePicker("minute"),e=b._buildFormat();return a.appendChild(c),a.appendChild(d),a.appendChild(e),a},o._buildTimePicker=function(a){var c,e=this,f=e._ui,g=b.createElement("div"),h=b.createElement("input"),i=b.createElement("div"),k={momentumLevel:1};return g.classList.add(j.classes.SPIN),i.classList.add(n.classes.CONTAINER),"hour"===a?("24"===e.options.format?(k.min=0,k.max=23):(k.min=1,k.max=12),i.classList.add(n.classes.HOUR_CONTAINER)):"minute"===a&&(k.min=0,k.max=59,k.digits=2,i.classList.add(n.classes.MINUTE_CONTAINER)),h.min=k.min,h.max=k.max,h.type="number",h.step="1",h.classList.add(n.classes.TIME_INPUT),g.appendChild(h),i.appendChild(g),f[a+"Spin"]=g,f[a+"Input"]=h,f[a+"Container"]=i,c=d.widget.Spin(g,k),e._spins[a]=c,i},o._buildFormat=function(){var a,c=this,e=b.createElement("div"),f=b.createElement("div"),g={min:0,max:1,labels:"AM,PM",loop:"false"};return e.classList.add(j.classes.SPIN),f.classList.add(n.classes.CONTAINER),f.classList.add(n.classes.FORMAT_CONTAINER),f.appendChild(e),a=d.widget.Spin(e,g),c._spins.format=a,f},o._setDateValue=function(a){var b,c,d=this,e=d._ui,f=d._spins;b=a.getHours(),c=a.getMinutes(),"12"===d.options.format&&(b>12?(b-=12,f.format.value(1)):f.format.value(0)),e.hourInput.setAttribute("value",b),e.hourInput.value=b,e.minuteInput.setAttribute("value",c),e.minuteInput.value=c,f.hour.value(b),f.minute.value(c)},o._setInputValue=function(a,b,c){var d=this,e=d._ui,f=d._spins;"hour"===a?(e.hourInput.setAttribute("value",b),e.hourInput.value=b,f.hour.value(b)):"minute"===a&&(e.minuteInput.setAttribute("value",b),e.minuteInput.value=b,f.minute.value(b)),d._previousInputValue=b,d._inputValueState=c},o._focusInput=function(a){var b=this,c=b._ui;"hour"===a?(b.element.classList.add(n.classes.TIME_INPUT_ACTIVE),c.hourContainer.classList.add(n.classes.ACTIVE_CONTAINER),c.minuteContainer.classList.remove(n.classes.ACTIVE_CONTAINER),c.hourInput.focus(),b._previousInputValue=c.hourInput.value):"minute"===a&&(b.element.classList.add(n.classes.TIME_INPUT_ACTIVE),c.minuteContainer.classList.add(n.classes.ACTIVE_CONTAINER),c.hourContainer.classList.remove(n.classes.ACTIVE_CONTAINER),c.minuteInput.focus(),b._previousInputValue=c.minuteInput.value),b._inputValueState=!1},o._setValue=function(a){var b=this;a instanceof Date&&b._setDateValue(a)},o._getValue=function(){var a=new Date(0),b=this,c=b._spins,d=parseInt(c.hour.value(),10);return"12"===b.options.format&&1===c.format.value()&&(d+=12),a.setHours(d),a.setMinutes(parseInt(c.minute.value(),10)),a},o._onClick=function(a){var b=this,c=b._ui,d=b.element,e=a.target,f=c.hourContainer,g=c.minuteContainer,h=i(e,n.classes.CONTAINER);h&&h.classList.contains(n.classes.HOUR_CONTAINER)&&i(e,j.classes.SELECTED)?b._focusInput("hour"):h&&h.classList.contains(n.classes.MINUTE_CONTAINER)&&i(e,j.classes.SELECTED)?b._focusInput("minute"):(d.classList.remove(n.classes.TIME_INPUT_ACTIVE),g.classList.remove(n.classes.ACTIVE_CONTAINER),f.classList.remove(n.classes.ACTIVE_CONTAINER))},o._onInputChange=function(a){var b,c=this,d=c._ui,f=c.options,g=a.target.value,h=i(a.target,n.classes.CONTAINER);if(h&&h.classList.contains(n.classes.HOUR_CONTAINER))if(c._inputValueState){if(b=parseInt(g,10),b>d.hourInput.max||b<d.hourInput.min)return void c._setInputValue("hour",c._previousInputValue,!0);c._setInputValue("hour",b,!1),c._focusInput("minute")}else b=parseInt(e(c._previousInputValue,g),10),c._setInputValue("hour",b,!0),("12"===f.format&&b>1||"24"===f.format&&b>2)&&c._focusInput("minute");else if(h&&h.classList.contains(n.classes.MINUTE_CONTAINER))if(c._inputValueState){if(b=parseInt(g,10),b>d.minuteInput.max||b<d.minuteInput.min)return void c._setInputValue("minute",c._previousInputValue,!1);c._setInputValue("minute",b,!1)}else b=parseInt(e(c._previousInputValue,g),10),c._setInputValue("minute",b,!0)},o._onSpinChange=function(a){var b=this,c=i(a.target,n.classes.CONTAINER);c&&c.classList.contains(n.classes.HOUR_CONTAINER)?b._setInputValue("hour",a.detail.value,!1):c&&c.classList.contains(n.classes.MINUTE_CONTAINER)&&b._setInputValue("minute",a.detail.value,!1)},o.handleEvent=function(a){var b=this;switch(a.type){case"click":b._onClick(a);break;case"input":b._onInputChange(a);break;case"spinchange":b._onSpinChange(a)}},o._bindEvents=function(){var a=this,c=a._ui;h.on(b,"click",a),h.on(c.hourInput,"input",a),h.on(c.minuteInput,"input",a),h.on(c.hourSpin,"spinchange",a),h.on(c.minuteSpin,"spinchange",a)},o._unbindEvents=function(){var a=this,c=a._ui;h.off(b,"click",a),h.off(c.hourInput,"input",a),h.off(c.minuteInput,"input",a),h.off(c.hourSpin,"spinchange",a),h.off(c.minuteSpin,"spinchange",a)},o._destory=function(){var a=this,b=a._spins;Object.keys(b).forEach(function(a){b[a]._destory()}),a._unbindEvents()},n.prototype=o,d.widget.mobile.TimePicker=n,g.defineWidget("TimePicker",m,[],n,"mobile")}(a,a.document,a.tau),function(a,b,d){var e=d.widget.mobile.BaseWidgetMobile,f=d.engine,g=d.event,h=d.util.selectors.getClosestByClass,i=d.widget.mobile.Spin,j="ui-date-picker",k={HEADER:j+"-header",CONTENT:j+"-content",CONTAINER:j+"-container",DAY_CONTAINER:j+"-container-day",MONTH_CONTAINER:j+"-container-month",YEAR_CONTAINER:j+"-container-year"},l=["January","February","March","April","May","June","July","August","September","October","November","December"],m=1900,n=2050,o="."+j,p=function(){this.options={view:"wheel"},this._spins={day:null,month:null,year:null},this._ui={header:null}},q=new e;p.classes=k,q._init=function(){var a=this;a._setValue(new Date),a._changeMonth(a._getDateValue("month")),Object.keys(a._spins).forEach(function(b){a._spins[b].refresh()})},q._buildDatePicker=function(a){var c,e=this,f=e._ui,g=b.createElement("div"),h=b.createElement("div"),j={momentumLevel:1};return g.classList.add(i.classes.SPIN),h.classList.add(p.classes.CONTAINER),"day"===a?(j={min:1,max:31,momentumLevel:1},h.classList.add(p.classes.DAY_CONTAINER)):"month"===a?(j={min:1,max:l.length,labels:l.map(function(a){return a.toUpperCase().substring(0,3)}).join(","),momentumLevel:1},h.classList.add(p.classes.MONTH_CONTAINER)):"year"===a&&(j={min:m,max:n,value:2020,momentumLevel:1},h.classList.add(p.classes.YEAR_CONTAINER)),h.appendChild(g),f[a+"Spin"]=g,c=d.widget.Spin(g,j),e._spins[a]=c,h},q._build=function(a){var c=this,d=c._ui,e=b.createElement("div"),f=b.createElement("div"),g=c._buildDatePicker("day"),h=c._buildDatePicker("month"),i=c._buildDatePicker("year");return e.classList.add(p.classes.HEADER),a.appendChild(e),d.header=e,f.classList.add(p.classes.CONTENT),f.appendChild(g),f.appendChild(h),f.appendChild(i),a.appendChild(f),a},q._getValue=function(){return this._value},q._getDateValue=function(a){var b=this._value;switch(a){case"day":return b.getDate();case"month":return b.getMonth()+1;case"year":return b.getFullYear();default:return b}},q._setValue=function(a){var b,c=this,d=c._spins;a instanceof Date&&(c._value=a,Object.keys(d).forEach(function(a){d[a].value(c._getDateValue(a))}),b=l[a.getMonth()]+" "+a.getFullYear(),c._ui.header.innerHTML=b)},q._changeDay=function(a){var b=this,c=b.value();c.setDate(a),b.value(c)},q._dayInMonth=function(a,b){return a===c&&(a=this._getDateValue("year")),b===c&&(b=this._getDateValue("month")),new Date(a,b,0).getDate()},q._changeMonth=function(a){var b,c=this,d=c._spins,e=c.value(),f=e.getDate();b=c._dayInMonth(e.getFullYear(),a),f>b&&(f=b),e.setDate(f),e.setMonth(a-1),d.day.option("max",b),d.day._prevValue=f,d.day._updateItems(),c.value(e)},q._changeYear=function(a){var b,c=this,d=c._spins,e=c.value(),f=e.getMonth(),g=e.getDate();b=c._dayInMonth(a,f+1),g>b&&(g=b),e.setFullYear(a),e.setDate(g),d.day.option("max",b),d.day._updateItems(),c.value(e)},q._onSpinChange=function(a){var b=this,c=h(a.target,p.classes.CONTAINER);c&&c.classList.contains(p.classes.DAY_CONTAINER)?b._changeDay(a.detail.value):c&&c.classList.contains(p.classes.MONTH_CONTAINER)?b._changeMonth(a.detail.value):c&&c.classList.contains(p.classes.YEAR_CONTAINER)&&b._changeYear(a.detail.value)},q.handleEvent=function(a){var b=this;"spinchange"===a.type&&b._onSpinChange(a)},q._bindEvents=function(){var a=this,b=a._ui;g.on(b.daySpin,"spinchange",a,!1),g.on(b.monthSpin,"spinchange",a,!1),g.on(b.yearSpin,"spinchange",a,!1)},q._unbindEvents=function(){var a=this,b=a._ui;g.off(b.daySpin,"spinchange",a,!1),g.off(b.monthSpin,"spinchange",a,!1),g.off(b.yearSpin,"spinchange",a,!1)},p.prototype=q,d.widget.mobile.DatePicker=p,f.defineWidget("DatePicker",o,[],p,"mobile")}(a,a.document,a.tau),function(a,b,d){function e(a,b){var c=b.toString().split(a).join("");return 0===c.length?a:c}var f=d.widget.mobile.BaseWidgetMobile,g=d.engine,h=d.event,i=d.util.selectors.getClosestByClass,j=d.widget.mobile.Spin,k="ui-datetime-picker-wheel",l={WIDGET:k,CONTAINER:k+"-container",HOUR_CONTAINER:k+"-container-hour",MINUTE_CONTAINER:k+"-container-minute",FORMAT_CONTAINER:k+"-container-format",DATE_CONTAINER:k+"-container-date",ACTIVE_CONTAINER:k+"-container-active",TIME_INPUT:k+"-input",TIME_INPUT_ACTIVE:k+"-input-active",SEPARATOR:k+"-container-separator"},m="."+k,n=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],o=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],p=function(){this.options={format:"12",value:(new Date).toUTCString()},this._spins={date:null,hour:null,minute:null,format:null},this._ui={},this._previousInputValue=-1,this._inputValueState=!1},q={SELECTED:"datetimepickerwheelselected",CHANGE:"datetimepickerwheelchange"},r=new f;p.classes=l,r._init=function(){var a=this,b=a.options;b.format=b.format!==c?b.format:"12",a._setValue(b.value),a.option("format",b.format),Object.keys(a._spins).forEach(function(b){a._spins[b].refresh()})},r._build=function(a){var c=this,d=c._buildDatePicker(),e=c._buildDateTimePickerWheel("hour"),f=c._buildDateTimePickerWheel("minute"),g=c._buildFormat(),h=b.createElement("div");return a.classList.add(l.WIDGET),h.classList.add(l.SEPARATOR),a.appendChild(d),a.appendChild(e),a.appendChild(h),a.appendChild(f),a.appendChild(g),a},r._buildDateTimePickerWheel=function(a){var c,e=this,f=e._ui,g=b.createElement("div"),h=b.createElement("input"),i=b.createElement("div"),k={momentumLevel:1};return g.classList.add(j.classes.SPIN),i.classList.add(l.CONTAINER),"hour"===a?("24"===e.options.format?(k.min=0,k.max=23):(k.min=1,k.max=12),i.classList.add(l.HOUR_CONTAINER)):"minute"===a&&(k.min=0,k.max=59,k.digits=2,i.classList.add(l.MINUTE_CONTAINER)),h.min=k.min,h.max=k.max,h.type="number",h.step="1",h.classList.add(l.TIME_INPUT),g.appendChild(h),i.appendChild(g),f[a+"Spin"]=g,f[a+"Input"]=h,f[a+"Container"]=i,c=d.widget.Spin(g,k),e._spins[a]=c,i},r._buildDatePicker=function(a){var c,e,f,g,h=this,i=h._ui,k=b.createElement("div"),m=b.createElement("div"),p={};for(a=a||new Date,g=a.getFullYear(),e=new Date(g.toString()),f=e,k.classList.add(j.classes.SPIN),m.classList.add(l.CONTAINER),m.classList.add(l.DATE_CONTAINER),p.labels=[];f.getFullYear()===g;)p.labels.push(n[f.getDay()]+", "+o[f.getMonth()]+" "+f.getDate()),f.setDate(f.getDate()+1);return p.min=0,p.max=p.labels.length-1,p.loop=!1,p.momentumLevel=1,m.appendChild(k),i.dateSpin=k,i.dateContainer=m,c=d.widget.Spin(k,p),h._spins.date=c,h._year=g,m},r._buildFormat=function(){var a,c=this,e=b.createElement("div"),f=b.createElement("div"),g={min:0,max:1,labels:"AM,PM",loop:"false"};return e.classList.add(j.classes.SPIN),f.classList.add(l.CONTAINER),f.classList.add(l.FORMAT_CONTAINER),f.appendChild(e),a=d.widget.Spin(e,g),c._spins.format=a,f},r._setDateValue=function(a){var b,c,d,e=this,f=e._ui,g=e._spins,h=864e5;b=a.getHours(),c=a.getMinutes(),"12"===e.options.format&&(b>12?(b-=12,g.format.value(1)):g.format.value(0)),f.hourInput.setAttribute("value",b),f.hourInput.value=b,f.minuteInput.setAttribute("value",c),f.minuteInput.value=c,d=new Date(a.getFullYear(),0,1),g.date.value(Math.floor((a-d)/h)),g.hour.value(b),g.minute.value(c),e.options.value=a},r._setInputValue=function(a,b,c){var d=this,e=d._ui,f=d._spins;"hour"===a?(e.hourInput.setAttribute("value",b),e.hourInput.value=b,f.hour.value(b)):"minute"===a&&(e.minuteInput.setAttribute("value",b),e.minuteInput.value=b,f.minute.value(b)),d._previousInputValue=b,d._inputValueState=c},r._focusInput=function(a){var b=this,c=b._ui;"hour"===a?(b.element.classList.add(l.TIME_INPUT_ACTIVE),c.hourContainer.classList.add(l.ACTIVE_CONTAINER),c.minuteContainer.classList.remove(l.ACTIVE_CONTAINER),c.hourInput.focus(),b._previousInputValue=c.hourInput.value):"minute"===a&&(b.element.classList.add(l.TIME_INPUT_ACTIVE),c.minuteContainer.classList.add(l.ACTIVE_CONTAINER),c.hourContainer.classList.remove(l.ACTIVE_CONTAINER),c.minuteInput.focus(),b._previousInputValue=c.minuteInput.value),b._inputValueState=!1},r._setValue=function(a){var b=this;"string"==typeof a&&(a=new Date(a)),a instanceof Date&&b._setDateValue(a)},r._getValue=function(){var a=this,b=new Date(a.options.value),c=a._spins,d=parseInt(c.hour.value(),10);return"12"===a.options.format&&1===c.format.value()&&(d+=12),b.setHours(d),b.setMinutes(parseInt(c.minute.value(),10)),b},r._onClick=function(a){var b=this,c=b._ui,d=b.element,e=a.target,f=c.hourContainer,g=c.minuteContainer,k=i(e,l.CONTAINER);k&&k.classList.contains(l.HOUR_CONTAINER)&&i(e,j.classes.SELECTED)?b._focusInput("hour"):k&&k.classList.contains(l.MINUTE_CONTAINER)&&i(e,j.classes.SELECTED)?b._focusInput("minute"):k&&k.classList.contains(l.DATE_CONTAINER)&&i(e,j.classes.SELECTED)?h.trigger(b.element,q.SELECTED,{datetime:b._getValue()}):(d.classList.remove(l.TIME_INPUT_ACTIVE),g.classList.remove(l.ACTIVE_CONTAINER),f.classList.remove(l.ACTIVE_CONTAINER))},r._onInputChange=function(a){var b,c=this,d=c._ui,f=c.options,g=a.target.value,h=i(a.target,l.CONTAINER);if(h&&h.classList.contains(l.HOUR_CONTAINER))if(c._inputValueState){if(b=parseInt(g,10),b>d.hourInput.max||b<d.hourInput.min)return void c._setInputValue("hour",c._previousInputValue,!0);c._setInputValue("hour",b,!1),c._focusInput("minute")}else b=parseInt(e(c._previousInputValue,g),10),c._setInputValue("hour",b,!0),("12"===f.format&&b>1||"24"===f.format&&b>2)&&c._focusInput("minute");else if(h&&h.classList.contains(l.MINUTE_CONTAINER))if(c._inputValueState){if(b=parseInt(g,10),b>d.minuteInput.max||b<d.minuteInput.min)return void c._setInputValue("minute",c._previousInputValue,!1);c._setInputValue("minute",b,!1)}else b=parseInt(e(c._previousInputValue,g),10),c._setInputValue("minute",b,!0)},r._onSpinChange=function(a){var b=this,c=i(a.target,l.CONTAINER);c&&c.classList.contains(l.HOUR_CONTAINER)?b._setInputValue("hour",a.detail.value,!1):c&&c.classList.contains(l.MINUTE_CONTAINER)?b._setInputValue("minute",a.detail.value,!1):c&&c.classList.contains(l.DATE_CONTAINER)&&b._setDate(new Date(b._year,0,a.detail.value+1)),d.event.trigger(b.element,"datetimepickerwheelchange",{date:b._getValue()})},r._setDate=function(a){var b=new Date(this.options.value);"string"==typeof a&&(a=new Date(a)),a instanceof Date&&(b.setFullYear(a.getFullYear()),b.setMonth(a.getMonth()),b.setDate(a.getDate()),this.options.value=b)},r.handleEvent=function(a){var b=this;switch(a.type){case"vclick":b._onClick(a);break;case"input":b._onInputChange(a);break;case"spinchange":b._onSpinChange(a)}},r._bindEvents=function(){var a=this,b=a._ui;h.on(a.element,"vclick",a),h.on(b.hourInput,"input",a),h.on(b.minuteInput,"input",a),h.on(b.hourSpin,"spinchange",a),h.on(b.minuteSpin,"spinchange",a),h.on(b.dateSpin,"spinchange",a)},r._unbindEvents=function(){var a=this,b=a._ui;h.off(a.element,"vclick",a),h.off(b.hourInput,"input",a),h.off(b.minuteInput,"input",a),h.off(b.hourSpin,"spinchange",a),h.off(b.minuteSpin,"spinchange",a),h.off(b.dateSpin,"spinchange",a)},r._destory=function(){var a=this,b=a._spins;Object.keys(b).forEach(function(a){b[a]._destory()}),a._unbindEvents()},p.prototype=r,d.widget.mobile.DateTimePickerWheel=p,g.defineWidget("DateTimePickerWheel",m,[],p,"mobile")}(a,a.document,a.tau),function(a,b){function d(a){var b=a.insertCell();return b.insertAdjacentHTML("afterbegin","<div></div>"),b.firstChild}var e=b.util.object,f=b.engine,g=b.event,h=["MON","TUE","WED","THU","FRI","SAT","SUN"],i=["January","February","March","April","May","June","July","August","September","October","November","December"],j={WIDGET:"ui-calendar",PREV_MONTH_DAY:"ui-calendar-prev-month-day",NEXT_MONTH_DAY:"ui-calendar-next-month-day",CURRENT_MONTH_DAY:"ui-calendar-current-month-day",DISABLED:"ui-calendar-disabled",ARROW_DISABLED:"ui-calendar-disabled-arrow",SELECTION:"ui-calendar-selection",CONTROLLER:"ui-calendar-controller",ARROW:"ui-calendar-arrow",ARROW_RIGHT:"ui-calendar-right-arrow",ARROW_LEFT:"ui-calendar-left-arrow",ONE_WEEK:"ui-calendar-one-week",TOP_SPACE:"ui-calendar-top-space",SWITCH_VIEW:"ui-calendar-switch",CALENDAR_VIEW:"ui-calendar-view"},k={pastSelection:!1,closeOnSelect:!1},l=function(){var a=this;a.options=e.merge({},k),a._value=new Date,a._dateData=a._value,a._todayYear=a._dateData.getFullYear(),a._todayMonth=a._dateData.getMonth()+1,a._defaultToday=a._dateData.getUTCDate(),a._selectDay=null,a._activeMonth=null,a._fixMonth=null,a._loadTodayFlag=!0,a._hours=a._dateData.getHours(),a._minutes=a._dateData.getMinutes(),a._seconds=a._dateData.getSeconds(),a._ui={"switch":null,leftArrow:null,rightArrow:null,calendarView:null}},m=b.widget.BaseWidget,n=new m;l.prototype=n,l.classes=j,n._init=function(a){var b=this;return b._ui.calendarView=a.querySelector("."+j.CALENDAR_VIEW),b._ui["switch"]=a.querySelector("."+j.SWITCH_VIEW),b._ui.leftArrow=a.querySelector("."+j.ARROW_LEFT),b._ui.rightArrow=a.querySelector("."+j.ARROW_RIGHT),b.options.pastSelection||b._ui.leftArrow.classList.add(j.ARROW_DISABLED),null===b._activeMonth&&(b._fixMonth=b._activeMonth=b._todayMonth),null===b._selectDay&&(b._selectDay=b._defaultToday),b._buildCalendar(b._ui.calendarView),a},n._buildCalendar=function(a){var b,c,e=this,f=e._ui,g=new Date(e._todayYear,e._todayMonth-1,0),h=new Date(e._todayYear,e._todayMonth,0),k=g.getDay(),l=g.getDate(),m=h.getDate(),n=Math.ceil(m/7)+1,o=7,p=1,q=1,r=a.insertRow(),s=null;for(r.style.height="7px",b=1;n+1>b;b++){for(c=a.insertRow();0!=k;)k-=1,o-=1,s=d(c),s.classList.add(j.PREV_MONTH_DAY),s.innerHTML=l-k,e._fixMonth!==e._todayMonth||e.options.pastSelection||s.classList.add(j.DISABLED);for(;0!=o;)s=d(c),p>m?(s.classList.add(j.NEXT_MONTH_DAY),s.innerHTML=q,o-=1,q+=1):(s.innerHTML=p,s.classList.add(j.CURRENT_MONTH_DAY),p+=1,o-=1,e._defaultToday>parseInt(s.innerHTML,10)&&(e._fixMonth!==e._todayMonth||e.options.pastSelection||s.classList.add(j.DISABLED)),e._loadTodayFlag&&s.innerHTML===e._defaultToday.toLocaleString()?(s.classList.add(j.SELECTION),e._selectDay=s,e._activeMonth=e._todayMonth,e._loadTodayFlag=!1):e._activeMonth===e._todayMonth&&s.innerHTML===e._selectDay.innerHTML&&(s.classList.add(j.SELECTION),e._selectDay=s));o=7}e.options.pastSelection||f.leftArrow.classList.toggle(j.DISABLED,e._fixMonth==e._todayMonth),f["switch"].innerHTML=i[e._todayMonth-1]+" "+e._todayYear},n._deleteCalendar=function(a){for(;a.rows.length>2;)a.deleteRow(2)},n._onClick=function(a){var b=this,c=b._ui,d=a.target,e=d.classList;e.contains(j.DISABLED)||(d===c.rightArrow?b._moveMonth(1):d===c.leftArrow?b._moveMonth(-1):d===c["switch"]?g.trigger(b.element,"calendarswitch",{date:b._getValue()}):("TD"===d.tagName&&(d=d.querySelector("div"),e=d?d.classList:null),!e||e.contains(j.SELECTION)||e.contains(j.DISABLED)||(e.contains(j.PREV_MONTH_DAY)?(b._moveMonth(-1),b._selection(d.innerHTML),b.options.closeOnSelect&&g.trigger(b.element,"calendarswitch",{date:b._getValue()})):e.contains(j.NEXT_MONTH_DAY)&&(b._moveMonth(1),b._selection(d.innerHTML),b.options.closeOnSelect&&g.trigger(b.element,"calendarswitch",{date:b._getValue()})),e.contains(j.CURRENT_MONTH_DAY)&&(b._selection(d.innerHTML),b.options.closeOnSelect&&g.trigger(b.element,"calendarswitch",{date:b._getValue()})))))},n._setValue=function(a){var b=this;"string"==typeof a&&(a=new Date(a)),a instanceof Date&&(b._value=a,b._hours=a.getHours(),b._minutes=a.getMinutes(),b._seconds=a.getSeconds(),b._setMonth(a.getMonth()+1),b._selection(a.getDate()))},n._getValue=function(){return new Date(this._value)},n._moveMonth=function(a){var b=this;0!==a&&(b._todayMonth=b._todayMonth+a,0===b._todayMonth&&(b._todayMonth=12,b._todayYear=b._todayYear-1),13===b._todayMonth&&(b._todayMonth=1,b._todayYear=b._todayYear+1)),b._updateCalendar()},n._setYear=function(a){var b=this;b._todayYear!==a&&(b._todayYear=a,b._updateCalendar())},n._setMonth=function(a){var b=this;b._todayMonth!==a&&(b._todayMonth=a,b._updateCalendar())},n._updateCalendar=function(){var a=this,b=a._ui.calendarView;a._deleteCalendar(b),a._dateData=new Date(a._todayYear,a._todayMonth-1,0,a._hours,a._minutes,a._seconds),a._buildCalendar(b)},n._selection=function(a){var b,d,e=this;a!=c&&(d=a.toString(),b=e._ui.calendarView.querySelectorAll("div."+j.CURRENT_MONTH_DAY),b.forEach(function(a){a.innerHTML===d&&(e._selectDay.classList.remove(j.SELECTION),a.classList.add(j.SELECTION),e._selectDay=a,e._activeMonth=e._todayMonth)}),e._value=new Date(e._todayYear,e._todayMonth-1,a,e._hours,e._minutes,e._seconds))},n._unBindEvents=function(a){g.off(a,"vclick",this,!1)},n._bindEvents=function(a){g.on(a,"vclick",this,!1)},n.handleEvent=function(a){"vclick"===a.type?this._onClick(a):a.preventDefault()},n._setPastSelection=function(a,b){return this.options.pastSelection=b,!0},n._refresh=function(){var a=this,b=a._ui.calendarView;a._deleteCalendar(b),a._buildCalendar(b)},n._build=function(b){var c=a.createElement("div"),d=a.createElement("div"),e=a.createElement("div"),f=a.createElement("div"),g=a.createElement("table"),i=a.createElement("tr"),k=a.createElement("tr"),l=a.createElement("td"),m=a.createElement("td"),n=a.createElement("td"),o=a.createElement("td"),p=a.createElement("td"),q=a.createElement("td"),r=a.createElement("td");return b.classList.add(j.WIDGET),c.classList.add(j.CONTROLLER),d.classList.add(j.ARROW_LEFT),d.classList.add(j.ARROW),e.classList.add(j.ARROW_RIGHT),e.classList.add(j.ARROW),f.classList.add(j.SWITCH_VIEW),c.appendChild(d),c.appendChild(e),c.appendChild(f),g.classList.add(j.CALENDAR_VIEW),i.classList.add(j.TOP_SPACE),k.classList.add(j.ONE_WEEK),l.innerHTML=h[0],k.appendChild(l),m.innerHTML=h[1],k.appendChild(m),n.innerHTML=h[2],k.appendChild(n),o.innerHTML=h[3],k.appendChild(o),p.innerHTML=h[4],k.appendChild(p),q.innerHTML=h[5],k.appendChild(q),r.innerHTML=h[6],r.classList.add("ui-sunday"),k.appendChild(r),g.appendChild(i),g.appendChild(k),b.appendChild(c),b.appendChild(g),b},n._destroy=function(){var a=this;a.options=null,a._unBindEvents(a.element)},b.widget.mobile.Calendar=l,f.defineWidget("Calendar",".ui-calendar",[],l,"mobile")}(b,d),function(a,b,d){var e=d.widget.mobile.BaseWidgetMobile,f=d.engine,g=(d.event,"ui-datetime-picker"),h={CONTAINER:g+"-container",HIDDEN:g+"-hidden"},i="."+g,j=function(){var a=this;a.options={format:"12",view:"wheel",value:(new Date).toUTCString()},a._datetime=null,a._calendar=null,a._ui={datetime:null,calendar:null}},k={CHANGE:"datetimepickerchange"},l=new e;j.classes=h,l._init=function(){var a=this,b=a.options;b.format=b.format!==c?b.format:"12",a._setValue(b.value),a.option("format",b.format),a._setView(a.element,b.view)},l._build=function(a){var c=this,e=c._ui,f=b.createElement("div"),g=b.createElement("div");return a.appendChild(f),a.appendChild(g),c._datetime=d.widget.DateTimePickerWheel(f),c._calendar=d.widget.Calendar(g,{closeOnSelect:!0}),e.datetime=f,e.calendar=g,a},l._onDateTimeSelected=function(a){var b=this;a.target===b._ui.datetime&&(b._calendar.value(a.detail.datetime),b._setView(b.element,"calendar"))},l._onCalendarSwitch=function(a){var b=this;a.target===b._ui.calendar&&(b._datetime.value(a.detail.date),b._setView(b.element,"wheel"),d.event.trigger(b.element,k.CHANGE,{date:b._getValue()}))},l._setView=function(a,b){var c=this._ui;this.options.view=b,"wheel"===b?(c.calendar.classList.add(h.HIDDEN),c.datetime.classList.remove(h.HIDDEN)):"calendar"===b&&(c.datetime.classList.add(h.HIDDEN),c.calendar.classList.remove(h.HIDDEN))},l._setValue=function(a){var b=this;"string"==typeof a&&(a=new Date(a)),a instanceof Date&&(b._datetime.value(a),b._calendar.value(a),b.options.value=a)},l._getValue=function(){var a=this;return"wheel"===a.options.view?a._datetime.value():"calendar"===a.options.view?a._calendar.value():a.options.value},l._onDateTimeChange=function(a){var b=this;b.options.value=a.detail.datetime,d.event.trigger(b.element,k.CHANGE,{date:b._getValue()})},l._setFormat=function(a,b){var c=this;c.options.format=b,c._datetime.option("format",b)},l._getFormat=function(){return self._datetime.option("format")},l.handleEvent=function(a){var b=this;switch(a.type){case"datetimepickerwheelselected":b._onDateTimeSelected(a);break;case"calendarswitch":b._onCalendarSwitch(a);break;case"datetimepickerwheelchange":b._onDateTimeChange(a)}},l._bindEvents=function(){var a=this;a.element.addEventListener("datetimepickerwheelselected",this,!1),a.element.addEventListener("datetimepickerwheelchange",this,!1),a.element.addEventListener("calendarswitch",this,!1)},l._unbindEvents=function(){var a=this;a.element.removeEventListener("datetimepickerwheelselected",this,!1),a.element.removeEventListener("calendarswitch",this,!1)},l._destory=function(){var a=this,b=a._ui,c=a.element;a._unbindEvents(),a._calendar.destory(),a._datetime.destory(),c.removeChild(b.datetime),c.removeChild(b.calendar)},j.prototype=l,d.widget.mobile.DateTimePicker=j,f.defineWidget("DateTimePicker",i,[],j,"mobile")}(a,a.document,a.tau),function(a,b){var c=b.widget.mobile.BaseWidgetMobile,d=b.engine,e=b.event,f="ui-color-",g=/ui-color-[^\s]+/g,h=function(){var a=this;a.options={icon:"delete"},a._ui={text:null,button:null}},i={widget:"ui-chip",text:"ui-chip-text",button:"ui-chip-button"},j={BEFORE_REMOVE:"chipbeforeremove"},k={widget:"."+i.widget+", [data-role='chip']",text:"."+i.text,button:"."+i.button},l=new c;h.prototype=l,h.classes=i,h.events=j,l._onClick=function(){var a,b=this;a=e.trigger(b.element,j.BEFORE_REMOVE),a&&b.element.parentElement.removeChild(b.element),b.destroy()},l.handleEvent=function(a){"vclick"===a.type&&this._onClick(a)},l._build=function(b){var c,d,e=this,f=e._ui;return d=b.querySelector(k.button),d&&b.removeChild(d),c=b.querySelector(k.text)||b.querySelector("*:not("+k.button+")"),c?b.removeChild(c):(c=a.createElement("span"),c.className=i.text,c.innerHTML=b.textContent),b.textContent="",d||(d=a.createElement("button"),d.className=["ui-btn",i.button].join(" "),d.setAttribute("data-icon","minus"),
-d.setAttribute("data-style","flat")),b.appendChild(c),b.appendChild(d),f.text=c,f.button=d,b},l._updateButtonColor=function(){var a,b=this,c=b._ui.button,d=f+b.options.icon;a=c.className.match(g)||[],a.forEach(function(a){a!==d&&c.classList.remove(a)}),-1===a.indexOf(d)&&c.classList.add(d)},l._init=function(a){var c=this,d=c._ui;return d.text=d.text||a.querySelector(k.text),d.button=d.button||a.querySelector(k.button),b.widget.Button(d.button,{icon:c.options.icon}),c._updateButtonColor(),a},l._bindEvents=function(){var a=this,b=a._ui.button;e.on(b,"vclick",a,!1)},l._unbindEvents=function(){var a=this,b=a._ui.button;e.off(b,"vclick",a,!1)},l._destroy=function(){var b=this;b._unbindEvents(),b._ui=null,e.trigger(a,"destroyed",{widget:"Chip"})},b.widget.mobile.Chip=h,d.defineWidget("Chip",k.widget,[],h,"mobile")}(a.document,d),function(a,b,d){function e(a,b,c){var e,f=null,g=null;a.options.handler&&(f=a.ui.handle.style,d.support.shape.circle?(e=a._offsets,g="rotateZ("+(c/e.maxY*z-z/2||0)+"deg)"):g="translate3d("+(b||0)+"px, "+(c||0)+"px, 0px)",f.webkitTransform=g,f.mozTransform=g,f.msTransform=g,f.oTransform=g,f.transform=g)}function f(a){var b=a.getScrollPosition(),c=a._offsets,d=a.options.direction,f=C(B(b.x,a._availableOffsetX)/a._availableOffsetX*c.maxX),g=C(B(b.y,a._availableOffsetY)/a._availableOffsetY*c.maxY);isNaN(f)===!0&&(f=c.x),isNaN(g)===!0&&(g=c.y),e(a,"y"===d?0:f,"x"===d?0:g),c.x=f,c.y=g}function g(b){b._dragging===!1&&(f(b),b._hideTimer&&a.clearTimeout(b._hideTimer),b.ui.handler.classList.add(D.visible))}function h(b){b._dragging===!1&&(b._hideTimer&&a.clearTimeout(b._hideTimer),f(b))}function i(b){b._dragging===!1&&(f(b),b._hideTimer&&a.clearTimeout(b._hideTimer),b._hideTimer=a.setTimeout(function(){b.ui.handler.classList.remove(D.visible)},b.options.delay))}function j(b,c,d){var f=b._lastMouse,g=b._offsets,h=b.options.direction,i=f.x-c,j=f.y-d;f.x=c,f.y=d,g.x+=-i,g.y+=-j,g.x=A(0,g.x),g.y=A(0,g.y),g.x=B(g.maxX,g.x),g.y=B(g.maxY,g.y),e(b,"y"===h?0:g.x,"x"===h?0:g.y),b.scrollTo("y"===h?0:g.x/g.maxX*b._availableOffsetX,"x"===h?0:g.y/g.maxY*b._availableOffsetY),b._hideTimer&&a.clearTimeout(b._hideTimer)}function k(b,c){var d=b._lastMouse,e=c.touches,f=e&&e[0];b._hideTimer&&a.clearTimeout(b._hideTimer),b._dragging=!0,d.x=f?f.clientX:c.clientX,d.y=f?f.clientY:c.clientY,b.ui.handle.classList.add("ui-active"),"y"===b.options.direction?b.element.style.overflowY="hidden":b.element.style.overflowX="hidden",p.stopImmediatePropagation(c),p.preventDefault(c)}function l(a,b){var d=b.touches,e=d&&d[0],f=0,g=0;a._dragging&&(d===c||d.length<=1)&&(p.stopImmediatePropagation(b),p.preventDefault(b),f=e?e.clientX:b.clientX,g=e?e.clientY:b.clientY,j(a,f,g))}function m(b,c){var d=b.ui;b._dragging&&(b._dragging=!1,p.stopImmediatePropagation(c),p.preventDefault(c),"y"===b.options.direction?b.element.style.overflowY="auto":b.element.style.overflowX="auto",d.handle.classList.remove("ui-active"),b._hideTimer&&a.clearTimeout(b._hideTimer),b._hideTimer=a.setTimeout(function(){d.handler.classList.remove(D.visible)},b.options.delay))}var n=function(){var a=this;a.options={handler:!0,handlerTheme:"s",direction:"y",scroll:"y",delay:1500},a.ui={handler:null,thumb:null,track:null,handle:null,expander:null,page:null},a._callbacks={scrolstart:null,scrollupdate:null,scrollend:null,touchstart:null,touchmove:null,touchend:null,resize:null},a._dragging=!1,a._offsets={x:0,y:0,maxX:0,maxY:0},a._lastPointerEvents="",a._availableOffsetX=0,a._availableOffsetY=0,a._hideTimer=null,a._lastMouse={x:0,y:0}},o=d.engine,p=d.event,q=d.util.DOM,r=d.util.selectors,s=d.widget.core.Page.classes,t=d.widget.core.Scrollview,u=t.prototype,v=u._build,w=u._init,x=u._bindEvents,y=u._destroy,z=60,A=Math.max,B=Math.min,C=Math.floor,D={handler:"ui-handler",directionPrefix:"ui-handler-direction-",track:"ui-handler-track",handle:"ui-handler-handle",thumb:"ui-handler-thumb",expander:"ui-handler-expander",visible:"ui-handler-visible",themePrefix:"ui-handler-",scrollbarDisabled:"scrollbar-disabled",disabled:"disabled",hideNativeScrollbar:"ui-hide-scrollbar"},E=new t;n.classes=D,E._build=function(a){var c,d,e,f=b.createElement("div"),g=b.createElement("a"),h=b.createElement("span"),i=b.createElement("div"),j=b.createElement("span"),k=this.options,l=this.ui;return k.scroll="y"===k.direction?"y":"x",c=v.call(this,a),f.className=D.handler+" "+D.themePrefix+k.handlerTheme+" "+D.directionPrefix+k.direction,h.className=D.expander,g.className=D.handle,j.className=D.thumb,i.className=D.track,g.setAttribute("aria-label",("y"===k.direction?"Vertical":"Horizontal")+" handler, double tap and move to scroll"),h.appendChild(j),g.appendChild(h),i.appendChild(g),f.appendChild(i),c.appendChild(f),d=c.style,e=c.firstElementChild.style,a.classList.add(D.hideNativeScrollbar),"x"===k.direction&&(e.display="inline-block",e.minWidth="100%"),"y"===k.direction&&(e.display="block",d.minWidth="100%"),l.handler=f,l.handle=g,l.expander=h,l.track=i,l.thumb=j,c},E._init=function(a){var b=this,c=b.ui,d=c.page;w.call(b,a),null===c.handler&&(c.handler=a.querySelector("."+D.handler)),null===c.track&&(c.track=a.querySelector("."+D.track)),null===c.handle&&(c.handle=a.querySelector("."+D.handle)),null===c.thumb&&(c.thumb=a.querySelector("."+D.thumb)),null===d&&(d=r.getClosestByClass(a,s.uiPage)),c.page=d,b.enableHandler(!0)},E._refresh=function(){var a=this,b=a.element,c=a._offsets,d=a.ui,e=d.handle,f=e.style,g=d.track.getBoundingClientRect(),h=g.height,i=g.width,j=b.querySelector("."+t.classes.view),k=j.getBoundingClientRect(),l=k.height,m=k.width;"y"===a.options.direction?f.height=C(h/l*h)+"px":f.width=C(i/m*i)+"px",c.maxX=C(A(0,i-q.getElementWidth(e,"inner",!0))),c.maxY=C(A(0,h-q.getElementHeight(e,"inner",!0))),a._availableOffsetX=A(0,m-i),a._availableOffsetY=A(0,l-h)},E._bindEvents=function(c){var d=this,e=d._callbacks,f=d.ui;x.call(d,c),e.scrollstart=g.bind(null,d),e.scrollupdate=h.bind(null,d),e.scrollstop=i.bind(null,d),e.touchstart=k.bind(null,d),e.touchmove=l.bind(null,d),e.touchend=m.bind(null,d),e.resize=d._refresh.bind(d),c.addEventListener("scrollstart",e.scrollstart,!1),c.addEventListener("scrollupdate",e.scrollupdate,!1),c.addEventListener("scrollstop",e.scrollstop,!1),f.handle.addEventListener("vmousedown",e.touchstart,!1),f.page.addEventListener("pageshow",e.resize,!1),b.addEventListener("vmousemove",e.touchmove,!1),b.addEventListener("vmouseup",e.touchend,!1),a.addEventListener("throttledresize",e.resize,!1),b.addEventListener("touchcancel",e.touchend,!0)},E.enableHandler=function(a){var b=this,d=D.scrollbarDisabled,e=D.disabled,f=b.element,g=f.parentNode.classList,h=f.classList;return a!==c&&(b.options.handler=a,a?(g.add(d),h.remove(e),b._refresh()):(g.remove(d),h.add(e))),b.options.handler},E._setHandlerTheme=function(a){var b=this.element.classList,c=D.themePrefix,d=c+a;b.contains(d)===!1&&(b.remove(c+this.options.handlerTheme),b.add(d))},E._destroy=function(){var c=this,d=c.ui,e=c._callbacks,f=c.element;f.classList.remove(D.hideNativeScrollbar),f.removeEventListener("scrollstart",e.scrollstart,!1),f.removeEventListener("scroll",e.scrollupdate,!1),f.removeEventListener("scrollstop",e.scrollstop,!1),d.handle.removeEventListener("vmousedown",e.touchstart,!1),d.page.removeEventListener("pageshow",e.touchstart,!1),b.removeEventListener("vmousemove",e.touchmove,!1),b.removeEventListener("vmouseup",e.touchend,!1),b.removeEventListener("touchcancel",e.touchend,!0),a.removeEventListener("throttledresize",e.resize,!1),y.call(c)},n.prototype=E,d.widget.core.ScrollHandler=n,o.defineWidget("ScrollHandler","[data-role='content'][data-handler='true']:not([data-scroll='none']):not(.ui-scrollview-clip):not(.ui-scrolllistview),[data-handler='true'], .ui-scrollhandler",["enableHandler","scrollTo","ensureElementIsVisible","centerToElement","getScrollPosition","skipDragging","translateTo"],n,"tizen")}(a,a.document,d),function(b,c){function d(b){var c=this;j.on(b,"tabchange sectionchange",c,!1),a.addEventListener("resize",c,!1)}function e(b){var c=this;j.off(b,"tabchange sectionchange",c,!1),a.removeEventListener("resize",c,!1)}var f=c.widget.BaseWidget,g=c.engine,h=c.util.selectors,i=c.widget.core.Page,j=c.event,k=function(){var a=this;a._ui={},a._component={},a.options={changeDuration:200}},l={TABS:"ui-tabs",WITH_TITLE:"ui-tabs-with-title",TITLE:"ui-title",PAGE:i.classes.uiPage},m=new f;k.prototype=m,k.classes=l,m.handleEvent=function(a){var b=this;switch(a.type){case"tabchange":b._onTabChange(a);break;case"sectionchange":b._onSectionChange(a);break;case"resize":b._refresh()}},m._build=function(a){return a.classList.add(l.TABS),a.getElementsByClassName(l.TITLE).length&&a.classList.add(l.WITH_TITLE),a},m._initHeight=function(){var a,b=this;b.element.style.height||(a=c.widget.Page(b._ui.page),b.element.style.height=a.getContentHeight()+"px")},m._init=function(a){var b=this,d=b._ui;return d.page=h.getClosestByClass(a,l.PAGE),d.subtab=a.querySelector(c.widget.core.SubTab.selector),d.title=a.getElementsByClassName(l.TITLE)[0],d.sectionChanger=a.querySelector("[data-role='section-changer'], .ui-section-changer"),b._component.subtab=c.widget.SubTab(d.subtab),b._changed=!1,b._lastIndex=0,b._initHeight(),b._initSectionChanger(),a},m._initSectionChanger=function(){var b,c=this,d=c._ui,e=d.sectionChanger,f=d.subtab.offsetHeight,h=d.title;e&&(b=e.style,b.width=a.innerWidth+"px",b.height=c.element.offsetHeight-f-(h?h.offsetHeight:0)+"px",c._component.sectionChanger=g.instanceWidget(e,"SectionChanger"))},m._onTabChange=function(a){var b=this,c=a.detail.active,d=b._component.sectionChanger;b._changed?b._changed=!1:b._lastIndex!==c&&(b._changed=!0,d.setActiveSection(c,b.options.changeDuration,!1,!1)),b._lastIndex=c},m._onSectionChange=function(a){var b=this,c=a.detail.active,d=b._component.subtab;b._changed?b._changed=!1:b._lastIndex!==c&&(b._changed=!0,d.setActive(c)),b._lastIndex=c},m._bindEvents=function(){var a=this;d.call(a,a.element)},m._destroy=function(){var a=this;e.call(a,a.element),a._ui=null,a._component=null},m._refresh=function(){this._initSectionChanger()},m._setIndex=function(a){var b=this,d=b._ui.sectionChanger.getElementsByTagName("section").length;d>a&&!(0>a)?b._component.subtab.setActive(a):c.warn("You inserted the wrong index value")},m.setIndex=function(a){this._setIndex(a)},m._getIndex=function(){return this._lastIndex},m.getIndex=function(){return this._getIndex()},c.widget.core.Tabs=k,g.defineWidget("Tabs","[data-role='tabs'], .ui-tabs",["setIndex","getIndex"],k,"core")}(a.document,d),function(b,c){function d(a){for(var c;a!==b.body;){if(c=m.getCSSProperty(a,"overflow-y"),"scroll"===c||"auto"===c&&a.scrollHeight>a.clientHeight)return a;a=a.parentNode}return null}function e(a){a._setItemSize(),a._checkItemLabel(),a._setGridStyle(),a._refreshItemsInfo(),a._calculateListHeight(),a._inPopup.refresh()}function f(a){var b=a.target.classList;b.contains(z.ITEM)&&(b.add(z.ITEM_ACTIVE),a.target.style.animation="")}function g(a){a._setGridStyle()}var h=c.widget.BaseWidget,i=c.widget.core.BaseKeyboardSupport,j=c.engine,k=c.event,l=c.util.selectors,m=c.util.DOM,n=c.widget.core.Page.events,o=c.widget.mobile.Popup,p=c.widget.Popup,q=o.selector,r=o.events,s=".ui-gridview li:nth-child({index})",t=/matrix\((.*), (.*), (.*), (.*), (.*), (.*)\)/,u="data-role",v=300,w=16,x={PREV:0,NEXT:1},y={IN:"in",OUT:"out",NONE:"none"},z={GRIDLIST:"ui-gridview",ITEM:"ui-gridview-item",ITEM_ACTIVE:"ui-gridview-item-active",HELPER:"ui-gridview-helper",HOLDER:"ui-gridview-holder",IMAGE:"ui-gridview-image",LABEL:"ui-gridview-label",LABEL_IN:"ui-gridview-label-in",LABEL_OUT:"ui-gridview-label-out",HANDLER:"ui-gridview-handler",CHECKED:"ui-gridview-image-checked",ITEM_HAS_LABEL:"ui-gridview-item-has-label"},A={ANY_NOT_IMAGE:"*:not(."+z.IMAGE+")"},B=function(){var a=this;i.call(this),a.options={},a._direction=0,a._styleElement=null,a._inPopup=null,a._ui={listElements:[],listItems:[],helper:{},holder:{},scrollableParent:null,content:null},a._borderSize=w,a._refreshSizesCallback=e.bind(null,this)},C=new h;B.prototype=C,B.classes=z,C._configure=function(){this.options={cols:0,reorder:!1,label:y.NONE,minWidth:"auto",minCols:2,maxCols:5},this._direction=x.NEXT},C._build=function(a){return a.classList.add("ui-gridview-cols"),a},C._init=function(b){var c,e=this,f=e._ui;f.listElements=[].slice.call(e.element.getElementsByTagName("li")),e._setItemSize(),e._setLabel(b),e._checkItemLabel(),e._setReorder(b,e.options.reorder),e._calculateListHeight(),e._initCheckboxState(b),e._ui.content=l.getClosestByClass(b,"ui-content")||a,e._ui.scrollableParent=d(b)||e._ui.content,c=l.getClosestBySelector(b,q),c&&(e._inPopup=p(c))},C._onResize=function(){var a=this;a.options.cols=0,a.refresh()},C._onResizeTimeOut=function(){var b=this;clearTimeout(b._resizeTimeout),b._resizeTimeout=a.setTimeout(function(){b._onResize()},v)},C._bindEvents=function(){var b=this,c=b._getParentPage(b.element),d=this._inPopup;b._onSetGridStyle=g.bind(null,b),d&&k.on(d.element,r.transition_start,b._refreshSizesCallback),b.on("animationend webkitAnimationEnd",f),b.on("change",b),k.on(a,"resize",b,!0),k.on(c,n.SHOW,b._onSetGridStyle)},C._unbindEvents=function(){var a=this,b=a.element,c=a._getParentPage(b),d=a._inPopup;k.disableGesture(b),k.off(b,"drag dragstart dragend dragcancel dragprepare",a),k.off(b,"pinchin pinchout",a),d&&k.off(d.element,r.before_show,this._refreshSizesCallback),a.off("animationend webkitAnimationEnd",f),a.off("change",a),k.off(c,n.SHOW,a._onSetGridStyle)},C._refresh=function(){var b=this,c=b._ui,e=b.element;b._removeGridStyle(),c.listElements=[].slice.call(e.getElementsByTagName("li")),b._setItemSize(),b._setGridStyle(),b._setLabel(e),b._checkItemLabel(),b._setReorder(e,b.options.reorder),b._calculateListHeight(),b._ui.content=l.getClosestByClass(e,"ui-content")||a,b._ui.scrollableParent=d(e)||b._ui.content},C._destroy=function(){this._unbindEvents(),this._removeGridStyle(),this._inPopup=null},C.handleEvent=function(a){var b=this;switch(a.type){case"change":b._shadeCheckbox(a.target);break;case"dragprepare":if(a.detail.srcEvent.srcElement.classList.contains(z.HANDLER))break;a.preventDefault();break;case"dragstart":if(a.detail.srcEvent.srcElement.classList.contains(z.HANDLER)){b._start(a);break}a.preventDefault();break;case"drag":b._move(a);break;case"dragend":b._end(a);break;case"pinchin":b._in(a);break;case"pinchout":b._out(a);break;case"resize":b._onResizeTimeOut()}},C._start=function(b){var c,d=this,e=d.element,f=d._ui.helper,g=b.detail.srcEvent.srcElement.parentElement,h=a.getComputedStyle(g,null),i=g.style,j=h.getPropertyValue("webkit-transform")||h.getPropertyValue("transform")||"",k=j.match(t),l=0,m=0;d._refreshItemsInfo(),k.length>0&&(l=parseInt(k[6],10),m=parseInt(k[5],10)),g.classList.add(z.HELPER),c=d._createHolder(),e.insertBefore(c,g),e.appendChild(g),i.top=l+"px",i.left=m+"px",f.element=g,f.style=i,f.position={startTop:l,startLeft:m,moveTop:l,moveLeft:m},f.startX=b.detail.estimatedX,f.startY=b.detail.estimatedY,f.width=parseFloat(h.getPropertyValue("width"))||0,f.height=parseFloat(h.getPropertyValue("height"))||0,d._ui.holder=c,f.element=g,d._ui.helper=f},C._move=function(a){var b,c,d,e,f,g,h=this,i=h._ui,j=h.element,k=i.listItems,l=k.length,m=h._ui.helper,n=m.style,o=m.position,p=m.element,q=m.startX,r=m.startY,s=h._ui.scrollableParent;for(c=o.startTop+a.detail.estimatedY-r,b=o.startLeft+a.detail.estimatedX-q,e=j.offsetTop+c+p.offsetHeight-(s.offsetHeight+s.scrollTop),f=s.scrollTop-(j.offsetTop+c),g=p.offsetHeight/5,e>0&&p.offsetTop+p.offsetHeight<j.offsetHeight&&(s.scrollTop+=g,c+=g,o.startTop+=g),f>0&&p.offsetTop>0&&(s.scrollTop-=g,c-=g,o.startTop-=g),n.top=c+"px",n.left=b+"px",o.moveTop=c,o.moveLeft=b,d=0;l>d;d++)h._compareOverlapItem(k[d])&&(h._direction?j.insertBefore(i.holder,k[d].element.nextSibling):j.insertBefore(i.holder,k[d].element),h._refreshItemsInfo(),h._setItemMargin())},C._end=function(){var a=this,b=a.element,c=a._ui.helper,d=c.element,e=a._ui.holder;d.classList.remove(z.HELPER),c.style.top=0,c.style.left=0,b.insertBefore(d,e),b.removeChild(e),a._setItemMargin(),a._ui.helper={}},C._out=function(){var a=this,b=a.options,c=b.cols,d=b.minCols;c>d&&(a._minWidth=null,b.cols=c-1,a._refresh())},C._in=function(){var a=this,b=a.options,c=b.cols,d=b.maxCols;(null===d||d>c)&&(b.cols=c+1,a._minWidth=null,a._refresh())},C._compareOverlapItem=function(a){var b,c,d=this,e=d._ui.helper,f=e.position;return e.element===a.element?!1:(f.moveTop>a.top||f.moveTop===a.top&&f.moveLeft>a.left?d._direction=x.PREV:d._direction=x.NEXT,b=f.moveTop>a.top?a.top+a.height-f.moveTop:f.moveTop+e.height-a.top,c=f.moveLeft>a.left?a.left+a.width-f.moveLeft:f.moveLeft+e.width-a.left,0>=b||0>=c?!1:b*c>a.height*a.width/2?!0:!1)},C._calculateListHeight=function(){var b,c,d=this,e=d._ui.listElements,f=e.length&&a.getComputedStyle(e[0],null);c=Math.ceil(e.length/d.options.cols),b=parseFloat(f.getPropertyValue("height"))||0,"out"===d.element.getAttribute("data-label")?d.element.style.height=b*c+"px":d.element.style.height=(b+1)*c+1+"px"},C._initCheckboxState=function(a){var b=a.querySelectorAll("input[type=checkbox]"),c=0,d=this,e=b.length;for(c=0;e>c;c++)d._shadeCheckbox(b[c])},C._shadeCheckbox=function(a){a.parentElement.classList.toggle(z.CHECKED,a.checked)},C._refreshItemsInfo=function(){var b,c,d,e=this,f=e._ui.listElements,g=f.length,h=[],i=0,j=null,k=0,l="";for(d=0;g>d;d++)c=f[d],j=a.getComputedStyle(c,null),l=j.getPropertyValue("webkit-transform")||j.getPropertyValue("transform")||"",b=l.match(t),b&&b.length>0&&(i=parseInt(b[6],10),k=parseInt(b[5],10)),h.push({top:i,left:k,height:parseFloat(j.getPropertyValue("width"))||0,width:parseFloat(j.getPropertyValue("width"))||0,element:c});e._ui.listItems=h},C._createHolder=function(){var a=b.createElement("li"),c=a.classList;return c.add(z.ITEM),c.add(z.HOLDER),a},C._setItemMargin=function(){var a,b=this,c=b.options,d=[].slice.call(b.element.getElementsByTagName("li")),e=d.length,f=c.cols,g=null,h=b._borderSize;for(a=0;e>a;a++)g=d[a].style,f-1>a%f?g.marginRight=h+"px":g.marginRight="0",a>f-1?g.marginTop=h+"px":g.marginTop="0"},C._setItemSize=function(){var b,c,d,e,f=this,g=f.options,h=a.getComputedStyle(f.element,null),i=parseFloat(h.getPropertyValue("width"))||0,j=f._minWidth,k=f._ui.listElements,l=k.length,m=f._borderSize,n=null;for(j="auto"===g.minWidth?0:j?parseInt(j,10):null,f._minWidth=j,b=g.cols,0===b&&(e=a.getComputedStyle(f.element,":after").content,e=e.replace(/[^0-9]+/,""),e&&(b=parseInt(e.replace(/\"/g,""),10))),0===b&&j>0&&(b=j?Math.floor(i/j):b),0===b&&(b=g.minCols),g.cols=b,f._itemSize=(i-(b-1)*m)/b,f._itemHeight=f._itemSize,d=f._itemSize+"px",f._setItemMargin(),c=0;l>c;c++)n=k[c].style,n.width=d,n.height=d;for(c=0;l>c;c++)k[c].querySelector("*:not(img)")&&k[c].classList.add(z.ITEM_HAS_LABEL)},C._checkItemLabel=function(){var a,b=this,c=b._ui.listElements,d=c.length;for(a=0;d>a;a++)c[a].querySelector(A.ANY_NOT_IMAGE)&&c[a].classList.add(z.ITEM_HAS_LABEL)},C._getParentPage=function(a){for(;a&&a!==b.body;){if("page"===a.getAttribute(u)||a.classList.contains("ui-page")===!0)return a;a=a.parentNode}return b.body},C._setReorder=function(a,d){var e,f,g=this,h=g.options,i=g._getParentPage(a);k.disableGesture(a),d?(k.enableGesture(a,new k.gesture.Drag({blockVertical:!1})),k.on(a,"drag dragstart dragend dragcancel dragprepare",g,!0),k.off(a,"pinchin pinchout",g),a.classList.add("ui-gridview-reorder"),g._ui.listElements.forEach(function(a){var c=null;a.querySelector("."+z.HANDLER)||(c=b.createElement("div"),c.classList.add(z.HANDLER),a.appendChild(c))}),i&&(e=i.querySelector(c.widget.core.Appbar.selector),e&&(f=c.widget.Appbar(e),f.lockExpanding(!0)))):(k.enableGesture(a,new k.gesture.Pinch),k.off(a,"drag dragstart dragend dragcancel dragprepare",g,!0),k.on(a,"pinchin pinchout",g),a.classList.remove("ui-gridview-reorder"),i&&(e=i.querySelector(c.widget.core.Appbar.selector),e&&(f=c.widget.Appbar(e),f.lockExpanding(!1)))),h.reorder=d},C._setGridStyle=function(){var a,c,d,e,f=this,g=f._ui.listElements,h=g.length,i=f.options,j=i.cols,k=[],l=0;for(c=b.createElement("style"),c.type="text/css",a=Math.ceil(h/j),d=0;a>d;d++)for(e=0;j>e&&h>l;e++)g[l].style.animation="grid_show_item cubic-bezier(0.25, 0.46, 0.45, 1.00) 350ms "+17*l+"ms",k.push(f._getTransformStyle(e,d,++l));c.textContent=k.join("\n"),c.id="GridView",b.head.appendChild(c),f._styleElement=c},C._setCols=function(a,b){var c=this,d=c.options;return"auto"===b?d.cols=0:d.cols=parseInt(b,10),!0},C._getCols=function(){var a=this,b=a.options;return 0===b.cols?"auto":b.cols},C._getTransformStyle=function(a,b,c){var d,e,f=this._itemSize+this._borderSize,g=a*f+"px",h=b*this._itemHeight+Math.max(b-1,0)*this._borderSize+"px";return d="{ -webkit-transform: translate3d("+g+", "+h+", 0); transform: translate3d("+g+", "+h+", 0) }",e=s.replace("{index}",c)+d},C._removeGridStyle=function(){var a=this._styleElement;a&&(a.parentNode.removeChild(a),this._styleElement=null)},C.addItem=function(b){var c,d,e,f=this,g=f._ui.listElements,h=f._styleElement,i=h.textContent,j=f.element,k=f.options.cols,l=g.length&&a.getComputedStyle(g[0],null);b.classList.add(z.ITEM),b.style.width=(parseFloat(l.getPropertyValue("width"))||0)+"px",j.appendChild(b),g.push(b),e=g.length,d=Math.floor((e-1)/k),c=(e-1)%k,h.textContent=i.concat("\n"+f._getTransformStyle(c,d,e))},C.removeItem=function(a){var b,c=this,d=c.element,e=c._ui.listElements,f=c._styleElement,g=f.textContent.split("\n");b=e.indexOf(a),b>-1&&(e.splice(b,1),d.removeChild(a),g.pop(),f.textContent=g.join("\n"))},C._setLabel=function(a,b){var c,d=this,e=d.options;c=b||e.label,a.classList.remove(z.LABEL_IN),a.classList.remove(z.LABEL_OUT),c===y.IN?a.classList.add(z.LABEL_IN):c===y.OUT&&a.classList.add(z.LABEL_OUT),e.label=c},i.registerActiveSelector("."+z.GRIDLIST+" li."+z.ITEM),c.widget.mobile.GridView=B,j.defineWidget("GridView","ul.ui-gridview, ul[data-role='gridview']",[],B,"mobile")}(a.document,d),function(a){a.addEventListener("beforerouterinit",function(){d.autoInitializePage!==c&&d.setConfig("autoInitializePage",d.autoInitializePage)},!1),a.addEventListener("routerinit",function(b){var e=b.detail,f=d.util.object,g=e.getRoute("page"),h=e.getRoute("popup"),i=d.history,j=i.back.bind(e),k=d.widget.core.Page.classes,l=k.uiPageActive;d.changePage=e.open.bind(e),a.addEventListener("pageshow",function(){d.activePage=a.querySelector("."+l)}),d.firstPage=g.getFirstElement(),d.getActivePage=g.getActiveElement.bind(g),d.back=j,d.initializePage=e.init.bind(e),d.pageContainer=e.container,d.openPopup=function(a,b){var d;d=a&&a.length!==c&&"object"==typeof a?a[0]:a,b=f.merge({},b,{rel:"popup"}),e.open(d,b)},d.closePopup=h.close.bind(h,null)},!1)}(a.document),function(a){function b(b,c){var d=g.stripQueryParams(b).replace("#",""),e=a.getElementById(d);return e&&j.matchesSelector(e,c)?b===d?h.setNSData(e,"url","#"+d):h.setNSData(e,"url",b):e=null,e}var c,e,f=d.util,g=f.path,h=f.DOM,i=f.object,j=f.selectors,k=d.history,l=d.engine,m={};m.orderNumber=1,m.defaults={transition:"none"},m.filter=l.getWidgetDefinition("Page").selector.replace(/(\s*)/g,""),m.firstPage=null,m._originalBaseHref="",m._originalLocationHref="",m.option=function(){var a=i.merge({},m.defaults);return a.transition=d.getConfig("pageTransition",a.transition),a},m.init=function(){var b=[].slice.call(a.querySelectorAll(this.filter));b.forEach(function(a){h.getNSData(a,"url")||h.setNSData(a,"url",a.id&&"#"+a.id||location.pathname+location.search)})},m.open=function(b,c){var d,e,f=a.title;d=b!==this.getFirstElement()||c.dataUrl?h.getNSData(b,"url"):g.documentUrl.hrefNoHash,!d&&c.href&&(d=c.href,h.setNSData(b,"url",d)),f=h.getNSData(b,"title")||j.getChildrenBySelector(b,".ui-header > .ui-title").textContent||f,h.getNSData(b,"title")||h.setNSData(b,"title",f),d&&!c.fromHashChange&&(!g.isPath(d)&&d.indexOf("#")<0&&(d=g.makeUrlAbsolute("#"+d,g.documentUrl.hrefNoHash)),e=i.merge({},c,{url:d}),c.volatileRecord&&k.enableVolatileMode(),k.replace(e,f,d),k.disableVolatileMode()),this._setBase(d),a.title=f,this.active=!0,this.getContainer().change(b,c)},m.find=function(a){var c,e=this,f=d.router.Router.getInstance(),h=e._createDataUrl(a),i=e.getFirstElement(),j=f.getContainer(),k="[data-url='"+h+"']",l=/,/gm;return/#/.test(a)&&g.isPath(h)?null:(k+=e.filter.replace(l,",[data-url='"+h+"']"),c=j.element.querySelector(k),c||!h||g.isPath(h)||(c=b(h,e.filter)),!c&&g.isFirstPageUrl(h,e.getFirstElement())&&i&&(c=i),c)},m.parse=function(a,b){var c,d=this,e=d._createDataUrl(b);return d._setBase(b),c=a.querySelector(d.filter),c&&(h.setNSData(c,"url",e),h.setNSData(c,"external",!0)),c},m.onHashChange=function(){return null},m._createDataUrl=function(a){return g.convertUrlToDataUrl(a,!0)},m.onOpenFailed=function(){this._setBase(g.parseLocation().hrefNoSearch)},m._getBaseElement=function(){return e||(e=a.querySelector("head")),c||(c=a.querySelector("base"),c?(this._originalBaseHref=c.href,this._originalLocationHref=g.documentUrl.hrefNoHash):(c=a.createElement("base"),c.href=g.documentBase.hrefNoHash,e.appendChild(c))),c},m._setBase=function(a){var b=this._getBaseElement(),c=b.href,d="";this._originalBaseHref&&(this._originalLocationHref!==g.parseUrl(a).hrefNoSearch?(d=g.parseUrl(a).hrefNoSearch.replace(this._originalLocationHref,""),g.documentBase=g.parseUrl(g.makeUrlAbsolute(d,g.documentBase.href))):a=this._originalBaseHref),g.isPath(a)&&(a=g.makeUrlAbsolute(a,g.documentBase),g.parseUrl(c).hrefNoSearch!==g.parseUrl(a).hrefNoSearch&&(b.href=a,g.documentBase=g.parseUrl(g.makeUrlAbsolute(a,g.documentUrl.href))))},m.getContainer=function(){return d.router.Router.getInstance().getContainer()},m.getActive=function(){return this.getContainer().getActivePage()},m.getActiveElement=function(){return this.getActive().element},m.getFirstElement=function(){return this.firstPage},m.setFirstElement=function(a){this.firstPage=a},d.router.route.page=m}(a.document),function(){var a,b=d.util.object,c={volatileRecord:!0,orderNumber:2},e=d.router.route.page,f=e,g=e.option,h=function(){};h.prototype=f,a=new h,a.option=function(){return b.merge({},g.call(e),c)},d.router.route.maintab=a}(),function(a,b,c){function d(a,c){var d,e=/^#/;return a=a.replace(e,""),d=b.getElementById(a),d&&i.matchesSelector(d,c)?j.setNSData(d,"url","#"+a):d=null,d}var e=c.widget.core.Popup,f=c.util,g={defaults:{transition:"none",container:null,volatileRecord:!0},filter:"."+e.classes.popup,activePopup:null,events:{POPUP_HIDE:"popuphide"},_path:c.util.path,_history:c.history},h=c.engine,i=c.util.selectors,j=c.util.DOM,k=c.util.object,l="popup=true",m=/([&|\?]popup=true)/;g.orderNumber=100,g.option=function(){var a=k.merge({},g.defaults);return a.transition=c.getConfig("popupTransition",a.transition),a},g.setActive=function(a,b){var c,d=g._path.getLocation(),e=d.replace(m,"");this.activePopup=a,a?b&&!b.fromHashChange&&b.history&&(c=g._path.addHashSearchParams(e,l),g._history.replace(b,"",c),this.active=!0):d!==e&&(this.active=!1,g._history.back())},g.open=function(a,d,e){var i,k,l=this,m=c.router.Router.getInstance(),n=l.events,o=function(){b.removeEventListener(n.POPUP_HIDE,o,!1),a.parentNode.removeChild(a),l.activePopup=null},p=function(){var c,f=d["position-to"];f&&(d.positionTo=f),e&&(c=e.touches?e.touches[0]:e,d.x=c.clientX,d.y=c.clientY),b.removeEventListener(n.POPUP_HIDE,p,!1),i=h.instanceWidget(a,"Popup",d),i.open(d),l.activePopup=i,l.active=i.options.history},q=m.container.getActivePage();j.getNSData(a,"external")===!0&&(k=d.container?q.element.querySelector(d.container):q.element,a.parentNode!==k&&(a=f.importEvaluateAndAppendElement(a,k)),b.addEventListener(g.events.POPUP_HIDE,o,!1)),l.hasActive()?(b.addEventListener(n.POPUP_HIDE,p,!1),l.close()||p()):p()},g.close=function(a,b){var d,f=g._path.getLocation(),i=f.replace(m,"");return b=b||{},!a||a instanceof e||(a=h.instanceWidget(a,"Popup",b)),a=a||this.activePopup,a?(d=a.options,d.history&&f!==i?(d.transition=b.transition||d.transition,d.ext=b.ext||d.ext,d.dismissible||c.router.Router.getInstance().unlock(),g._history.back()):a.close(b),!0):!1},g.onHashChange=function(a,b){var c=this.activePopup;return c&&(c.close(b),this.active)?(this.active=!1,!0):!1},g.onOpenFailed=function(){return null},g.find=function(a){var b,e=this,f=e._createDataUrl(a),h=c.router.Router.getInstance().getContainer().getActivePage();return b=h.element.querySelector("[data-url='"+f+"']"+e.filter),b||!f||g._path.isPath(f)||(b=d(f,e.filter)),b},g.parse=function(a,b){var c,d=this,e=d._createDataUrl(b);return c=a.querySelector(d.filter),c&&(j.setNSData(c,"url",e),j.setNSData(c,"external",!0)),c},g._createDataUrl=function(a){return g._path.convertUrlToDataUrl(a)},g.hasActive=function(){return this.active},g.getActive=function(){return this.activePopup},g.getActiveElement=function(){var a=this.getActive();return a&&a.element},c.router.route.popup=g}(a,a.document,d),function(){var a=d.widget.core.Drawer,b=d.router.Router,c=d.util.path,e=d.history,f=d.engine,g={},h="drawer=true",i=/([&|\?]drawer=true)/;g.orderNumber=1e3,g.defaults={transition:"none"},g.filter="."+a.classes.drawer,g.option=function(){return null},g.open=function(a){var b=f.instanceWidget(a,"Drawer");b.open()},g.find=function(a){var d,e=c.convertUrlToDataUrl(a),f=b.getInstance().getContainer().getActivePage();return d=f.element.querySelector("#"+e)},g.parse=function(){return null},g.setActive=function(a){var b,d=c.getLocation(),f=d.replace(i,"");this._activeDrawer=a,a?(b=c.addHashSearchParams(f,h),e.replace({},"",b),this.active=!0):d!==f&&e.back()},g.onHashChange=function(a,b,c){var d=this,e=d._activeDrawer,f=c.stateUrl;return e&&f.search(h)>0&&a.search(h)<0?(e.close(b),this.active=!1,!0):!1},d.router.route.drawer=g}(),function(b,c){var d=c.widget.core.PanelChanger,e=c.util.selectors,f=c.util.cookie,g=c.history,h=c.engine,i={PANEL_CHANGER:d.classes.PANEL_CHANGER},j={REVERSE:"slide-reverse"},k={};k.orderNumber=10,k.option=function(){return null},k.setActive=function(a){var b=this,c=e.getClosestByClass(a,i.PANEL_CHANGER),d=h.instanceWidget(c,"PanelChanger");b.active=!0,b._panelChangerElement=c,b._panelChangerComponent=d},k.onHashChange=function(a,b,c){var e=this,h=d["default"].STORAGE_NAME,i=JSON.parse(f.readFromCookie(h)||"[]"),k=e._panelChangerComponent,l=i[i.length-1];return e.active&&k?e._panelChangerElement.querySelector("#"+l).classList.contains(d.classes.PRE_IN)||0===i.length?(g.replace(c,c.stateTitle,c.stateUrl),!0):(i.pop(),k.options.manageHistory&&i.length>0?(g.replace(c,c.stateTitle,c.stateUrl),f.writeToCookie(h,JSON.stringify(i)),k.changePanel("#"+i.pop(),j.REVERSE,"back"),!0):(e.active=!1,!1)):!1},k.tauback=function(a){var b=this,c=d["default"].STORAGE_NAME,e=JSON.parse(f.readFromCookie(c)||"[]"),g=b._panelChangerComponent;g&&(e.pop(),g.options&&g.options.manageHistory&&e.length>0&&(f.writeToCookie(c,JSON.stringify(e)),g.changePanel("#"+e.pop(),j.REVERSE,"back"),a.stopPropagation()))},a.addEventListener("tauback",k.tauback.bind(k),!1),c.router.route.panel=k}(a.document,d),function(){var a,b=d.util.object,c=d.util.path,e=d.util.DOM,f={volatileRecord:!0,orderNumber:2},g=function(){this.filter=".ui-card",this.options=f},h=g.prototype;g.prototype=h,h.option=function(){return b.merge({},f)},h.find=function(){return null},h._createDataUrl=function(a){return c.convertUrlToDataUrl(a,!0)},h.parse=function(a,b){var c,d=this,f=d._createDataUrl(b);return c=a.querySelector(d.filter),c&&(e.setNSData(c,"url",f),e.setNSData(c,"external",!0)),c},h.open=function(a,b){var d=e.getNSData(a,"url"),f=b.card;!d&&b.href&&(d=b.href,e.setNSData(a,"url",d)),d&&!b.fromHashChange&&!c.isPath(d)&&d.indexOf("#")<0&&(d=c.makeUrlAbsolute("#"+d,c.documentUrl.hrefNoHash)),f&&f.changeContent(a,b)},a=new g,d.router.route.card=a}(),function(){function a(a,b,c){var d,e=c.target,f={};4===e.readyState&&(f.success=200===e.status||0===e.status&&e.responseXML,d=e.responseXML,b.fullDocument||(d=d.body.firstChild),a(f,d))}function b(b,c,d,e){var g,h=c,i=a.bind(null,e,d);d&&(h=f.addSearchParams(c,d)),g=new XMLHttpRequest,g.responseType="document",g.overrideMimeType("text/html"),g.open("GET",h),
-g.addEventListener("error",i),g.addEventListener("load",i),g.send()}var c=d.template,e=d.util,f=e.path;c.register("html",b)}(),function(a){a.getConfig("autorun",!0)===!0&&a.engine.run()}(d),function(a,b){var c="ui-theme-",d="light",e={setTheme:function(d){var e=a.body.classList,f=[].slice.call(e);f.forEach(function(a){a.startsWith(c)&&e.remove(a)}),d&&(e.add(c+d),b.event.trigger(a,"themechange",{theme:d}))},getTheme:function(){var b=a.body.classList,e=[].slice.call(b);return e=e.filter(function(a){return a.startsWith(c)}),e.length?e[0].replace(c,""):d}};b.theme=e}(a.document,d),d.info.profile="mobile"}(window,window.document);
\ No newline at end of file
+!function(a,b,c){"use strict";var d=a.tau=a.tau||{},e=a.tauConfig=a.tauConfig||{};e.rootNamespace="tau",e.fileName="tau",d.version="1.2.9",function(b,d){var e=0,f=+new Date,g=[].slice,h="",i="",j=function(a){var b=new Date;a.unshift("["+h+"]["+b.toLocaleString()+"]")},k=a.ns||a.tau||{},l=a.nsConfig||a.tauConfig||{},m=function(a){this.message=a};k.info=k.info||{profile:"custom"},k.tauPerf=k.tauPerf||{},a.ns=k,a.nsConfig=l,a.tau=k,a.tauConfig=l,h=l.rootNamespace,i=l.fileName,m.prototype.toString=function(){return this.message},k.getUniqueId=function(){return h+"-"+k.getNumberUniqueId()+"-"+f},k.getNumberUniqueId=function(){return e++},k.log=function(){var a=g.call(arguments);j(a),d&&d.log.apply(d,a)},k.warn=function(){var a=g.call(arguments);j(a),d&&d.warn.apply(d,a)},k.error=function(){var a=g.call(arguments);j(a),d&&d.error.apply(d,a)},k.getConfig=function(a,b){return l[a]===c?b:l[a]},k.setConfig=function(a,b,d){d&&l[a]!==c||(l[a]=b)},k.getFrameworkPath=function(){var a,c,d,e,f=b.getElementsByTagName("script"),g=f.length;for(a=0;g>a;a++)if(c=f[a].src,d=c.split("/"),e=d.length,d[e-1]===i+".js"||d[e-1]===i+".min.js")return d.slice(0,e-1).join("/");return null},k._TAUException=m,k["throws"]=function(a){throw"string"!=typeof a&&k["throws"]("Wrong parameter type. Message must be a string!"),new k._TAUException(a)}}(a.document,a.console),function(){d.setConfig("autoBuildOnPageChange",!0,!0),d.setConfig("loader",!1,!0),d.setConfig("pageContainerBody",!0,!0),d.setConfig("popupTransition","slideup",!0),d.setConfig("pageTransition","none",!0),d.setConfig("enablePageScroll",!1,!0)}(),function(){d.setConfig("rootDir",d.getFrameworkPath(),!0),d.setConfig("version","",!0),d.setConfig("allowCrossDomainPages",!1,!0),d.setConfig("domCache",!1,!0),d.setConfig("autoBuildOnPageChange",!0,!0),d.setConfig("autoInitializePage",!0,!0),d.setConfig("dynamicBaseEnabled",!0,!0),d.setConfig("pageTransition","none",!0),d.setConfig("popupTransition","none",!0),d.setConfig("popupFullSize",!1,!0),d.setConfig("scrollEndEffectArea","content",!0),d.setConfig("enablePopupScroll",!1,!0),d.setConfig("pageContainer",b.body,!0),d.setConfig("findProfileFile",!1,!0),d.setConfig("keyboardSupport",!1)}(),function(){function a(a){Object.defineProperty(d.defaults,a,{get:function(){return d.warn("tau.defaults are deprecated from Tizen 3.0, please use tau.getConfig."),d.getConfig(a)},set:function(b){return d.warn("tau.defaults are deprecated from Tizen 3.0, please use tau.setConfig."),d.setConfig(a,b)}})}var b={};d.defaults=b,a("autoInitializePage"),a("dynamicBaseEnabled"),a("pageTransition"),a("popupTransition"),a("popupFullSize"),a("enablePageScroll"),a("goToTopButton"),a("scrollEndEffectArea"),a("enablePopupScroll")}(),function(a,b){function e(d){var e=b.createElement("style"),f="@media "+d+" { #jquery-mediatest { position:absolute; } }";return d.cacheMedia===c&&(e.type="text/css",e.styleSheet?e.styleSheet.cssText=f:e.appendChild(b.createTextNode(f)),s.firstChild?s.insertBefore(q,s.firstChild):s.appendChild(q),s.insertBefore(e,q),l=a.getComputedStyle(p),o[d]="absolute"===l.position,e.parentNode.removeChild(e),q.parentNode.removeChild(q)),o[d]}function f(a,c,d){var e,f,g=b.createElement("div"),h=function(a){return a.charAt(0).toUpperCase()+a.substr(1)},i=function(a){return"-"+a.charAt(0).toLowerCase()+a.substr(1)+"-"},j=function(b){var d=i(b)+a+": "+c+";",f=h(b),j=f+h(a);g.setAttribute("style",d),g.style[j]&&(e=!0)},k=d?[d]:t,l=k.length;for(f=0;l>f;f++)j(k[f]);return!!e}function g(a){var b,d=a.charAt(0).toUpperCase()+a.substr(1),e=(a+" "+t.join(d+" ")+d).split(" ");for(b=0;b<e.length;b++)if(e.hasOwnProperty(b)&&r[e[b]]!==c)return!0;return!1}function h(){var a="transform-3d";return f("perspective","10px","moz")||e("(-"+t.join("-"+a+"),(-")+"-"+a+"),("+a+")")}function i(){var a,c,d=location.protocol+"//"+location.host+location.pathname+"ui-dir/",e=b.head,f=e.querySelector("base"),g=null,h=!1,i="";return f?(i=f.getAttribute("href"),f.setAttribute("href",d),h=!0):(f=g=b.createElement("base"),f.setAttribute("href",d),e.appendChild(f)),a=b.createElement("a"),a.href="testurl",q.firstChild?q.insertBefore(a,q.firstChild):q.appendChild(a),c=a.href,f.href=i||location.pathname,g&&e.removeChild(g),h&&f.setAttribute("href",i),"#build"===location.hash?!1:0===c.indexOf(d)}function j(){var d,e=b.createElement("x"),f=b.documentElement,g=a.getComputedStyle,h=e.style;return h.pointerEvents===c?!1:(h.pointerEvents="x",f.appendChild(e),d=g&&"auto"===g(e,"").pointerEvents,f.removeChild(e),!!d)}function k(){var a=b.createElement("div");return a.getBoundingClientRect!==c}var l,m,n,o={},p=b.createElement("div"),q=b.createElement("body"),r=q.style,s=b.getElementsByTagName("html")[0],t=["Webkit","Moz","O"],u=a.palmGetResource,v=a.opera,w=a.operamini&&"[object OperaMini]"==={}.toString.call(a.operamini),x=p.style;p.id="jquery-mediatest",q.appendChild(p),m=a.blackberry&&!g("-webkit-transform"),n=function(){var a=3,c=b.createElement("div"),d=c.all||[];do c.innerHTML="<!--[if gt IE "+ ++a+"]><br><![endif]-->";while(d[0]);return a}(),d.support={media:e,cssTransitions:(a.WebKitTransitionEvent!==c||f("transition","height 100ms linear"))&&!v,pushState:a.history.pushState&&a.history.replaceState&&!0,mediaquery:e("only all"),cssPseudoElement:!!g("content"),touchOverflow:!!g("overflowScrolling"),cssTransform3d:h(),boxShadow:!!g("boxShadow")&&!m,scrollTop:(a.pageXOffset||b.documentElement.scrollTop||q.scrollTop)===c||u||w?!1:!0,dynamicBaseTag:i(),cssPointerEvents:j(),cssAnimationPrefix:x.hasOwnProperty("webkitAnimation")?"-webkit-":x.hasOwnProperty("mozAnimation")?"-moz-":x.hasOwnProperty("oAnimation")?"-o-":"",boundingRect:k(),browser:{ie:n>4},gradeA:function(){return(this.mediaquery||this.browser.ie&&n>=7)&&(this.boundingRect||null!==(a.jQuery&&a.jQuery.fn&&a.jQuery.fn.jquery.match(/1\.[0-7+]\.[0-9+]?/)))},touch:b.ontouchend!==c,orientation:a.orientation!==c&&a.onorientationchange!==c},p=null,q=null}(a,a.document),function(a,b,c){function d(a,b){var c,d=new XMLHttpRequest;return d.open("get",a,!1),b&&d.overrideMimeType(b),d.send(),4===d.readyState&&(c=d.status,200===c||0===c&&d.responseText)?d.responseText:null}function e(a){for(var b,c=m.call(a.querySelectorAll("script[src]")),d=c.length;--d>=0;)b=c[d],b.parentNode.removeChild(b);return c}function f(b){return function(){try{a.eval(b)}catch(d){d.stack?c.error(d.stack):d.name&&d.message?c.error(d.name,d.message):c.error(d)}}}function g(a){var b,c=a.length;for(b=0;c>b;++b)a[b]()}function h(a,c){var d,e,f,g,h=[];for(f=0,g=a.length;g>f;++f)e=k.fetchSync(a[f].src,"text/plain"),e&&(d=b.adoptNode(a[f]),d.setAttribute("data-src",a[f].src),d.removeAttribute("src"),h.push(k.safeEvalWrap(e)),c&&c.appendChild(d));return h}function i(a){var c,d=[];return m.call(a.querySelectorAll("script:not([data-src]):not([type]):not([id]):not([src])")).forEach(function(a){c=b.createElement("script"),c.innerText=a.textContent,m.call(a.attributes).forEach(function(b){c.setAttribute(b.name,a.getAttribute(b.name))}),a.parentNode.removeChild(a),d.push(c)}),d}var j=null,k=c.util||{},l=[],m=[].slice,n=!1;k._requestAnimationFrameOnSetTimeout=function(b){"function"!=typeof b&&c["throws"]("Parameter is not a function!"),j=a.setTimeout(b.bind(b,+new Date),1e3/60)},k._loop=function(){var a=m.call(l),b=a.shift(),c=performance.now();for(l=[];b;)b(c),b=performance.now()-c<15?a.shift():null;a.length||l.length?(l.unshift.apply(l,a),k.windowRequestAnimationFrame(k._loop)):n=!1},k._getRequestAnimationFrame=function(){return(a.requestAnimationFrame||a.webkitRequestAnimationFrame||a.mozRequestAnimationFrame||a.oRequestAnimationFrame||a.msRequestAnimationFrame||k._requestAnimationFrameOnSetTimeout).bind(a)},k.windowRequestAnimationFrame=k._getRequestAnimationFrame(),k.requestAnimationFrame=function(a){l.push(a),n||(k.windowRequestAnimationFrame(k._loop),n=!0)},k._cancelAnimationFrameOnSetTimeout=function(){a.clearTimeout(j)},k.cancelAnimationFrames=function(a){var b=0,d=l.length,e=0;if(a)for(;d>0&&b>-1;){for(b=-1;d>e;e++)if(l[e].animationId===a){b=e;break}b>-1&&(l.splice(b,1),d--)}else c.warn("cancelAnimationFrames() require one parameter for request identify")},k._getCancelAnimationFrame=function(){return(a.cancelAnimationFrame||a.webkitCancelAnimationFrame||a.mozCancelAnimationFrame||a.oCancelAnimationFrame||a.msCancelAnimationFrame||k._cancelAnimationFrameOnSetTimeout).bind(a)},k.cancelAnimationFrame=k._getCancelAnimationFrame(),k.fetchSync=d,k._removeExternalScripts=e,k.safeEvalWrap=f,k.batchCall=g,k._createScriptsSync=h,k._removeInlineScripts=i,k.async=k.requestAnimationFrame,k.importEvaluateAndAppendElement=function(a,c){var d=k._createScriptsSync(k._removeExternalScripts(a),a),e=k._removeInlineScripts(a),f=b.importNode(a,!0);return c.appendChild(f),e.forEach(function(a){c.appendChild(a)}),k.batchCall(d),f},k.isNumber=function(a){var b=parseFloat(a);return!isNaN(b)&&isFinite(b)},k.runScript=function(c,d){var e,f,g,h=b.createElement("script"),i=m.call(d.attributes),j=d.getAttribute("src");for(null!==j&&(j=k.path.makeUrlAbsolute(j,c)),f=i.length;--f>=0;)g=i[f],"src"!==g.name?h.setAttribute(g.name,g.value):h.setAttribute("data-src",g.value);e=j?k.fetchSync(j,"text/plain"):d.textContent,e&&(h.src=a.URL.createObjectURL(new Blob([e],{type:"text/javascript"})),h.textContent=e),d.parentNode.replaceChild(h,d)},c.util=k}(a,a.document,d),function(a){function b(a,b){var c,d,e=!1;return isNaN(a)&&isNaN(b)?(e=!0,c=a.charCodeAt(0),d=b.charCodeAt(0)):(c=isNaN(a)?0:a,d=isNaN(b)?0:b),{inival:c,endval:d,chars:e}}function d(a,c,d){var e,f,g,h,i,j=[],k=d||1;if(i=b(a,c),e=i.inival,f=i.endval,h=i.chars,g=f>=e)for(;f>=e;)j.push(h?String.fromCharCode(e):e),e+=k;else for(;e>=f;)j.push(h?String.fromCharCode(e):e),e-=k;return j}function e(a){return Array.isArray(a)||a instanceof NodeList||"function"==typeof a}function f(a){var b=a.length;return 0===b||"number"==typeof b&&b>0&&b-1 in a}function g(a){return a&&a!==a.window?e(a)&&f(a):!1}function h(a,b){var c,d,e=a;for(a instanceof Array||(e=[].slice.call(a)),d=e.length,c=0;d>c;c++)b(e[c],c,e)}function i(a,b){var c,d,e,f=[],g=a;for(a instanceof Array||(g=[].slice.call(a)),d=g.length,c=0;d>c;c++)e=g[c],b(e,c,g)&&f.push(e);return f}function j(a,b){var c,d,e=[],f=a;for(a instanceof Array||(f=[].slice.call(a)),d=f.length,c=0;d>c;c++)e.push(b(f[c],c,f));return e}function k(a,b,d){var e,f,g,h=d,i=a;for(a instanceof Array||(i=[].slice.call(a)),f=i.length,e=0;f>e;e++)g=i[e],h=h===c&&0===e?g:b(h,g,e,i);return h}a.util.array={range:d,isArrayLike:g,forEach:h,filter:i,map:j,reduce:k}}(d),function(a,d){function e(a){var b;return g.forEach(function(c){c.element===a&&(b=c.instance)}),b}function f(a){g.forEach(function(b,c){b.element===a&&g.splice(c,1)})}var g=[],h=Array.isArray,i=d.util.array.isArrayLike,j=/\s+/g,k=function(a){return a.trim()},l=function(a,b){var c,d,e=[];if("string"==typeof a&&(a=a.split(j).map(k)),h(a))for(d=0;d<a.length;d++)e.push({type:a[d],callback:b});else for(c in a)a.hasOwnProperty(c)&&e.push({type:c,callback:a[c]});return e};d.event={trigger:function(a,b,c,d,e){var f=new CustomEvent(b,{detail:c,bubbles:"boolean"==typeof d?d:!0,cancelable:"boolean"==typeof e?e:!0});return a.dispatchEvent(f)},preventDefault:function(a){var b=a._originalEvent;b&&b.preventDefault&&b.preventDefault(),a.preventDefault()},stopPropagation:function(a){var b=a._originalEvent;b&&b.stopPropagation&&b.stopPropagation(),a.stopPropagation()},stopImmediatePropagation:function(a){var b=a._originalEvent;b&&b.stopImmediatePropagation&&b.stopImmediatePropagation(),a.stopImmediatePropagation()},documentRelativeCoordsFromEvent:function(c){var d,e=c?c:a.event,f={x:e.clientX,y:e.clientY},g={x:e.pageX,y:e.pageY},h=0,i=0,j=b.body,k=b.documentElement;return c.type.match(/^touch/)&&(d=e.targetTouches[0]||e.originalEvent.targetTouches[0],g={x:d.pageX,y:d.pageY},f={x:d.clientX,y:d.clientY}),g.x||g.y?(h=g.x,i=g.y):(f.x||f.y)&&(h=f.x+j.scrollLeft+k.scrollLeft,i=f.y+j.scrollTop+k.scrollTop),{x:h,y:i}},targetRelativeCoordsFromEvent:function(a){var b=a.target,e={x:a.offsetX,y:a.offsetY};return(e.x===c||isNaN(e.x)||e.y===c||isNaN(e.y))&&(e=d.event.documentRelativeCoordsFromEvent(a),e.x-=b.offsetLeft,e.y-=b.offsetTop),e},fastOn:function(a,b,c,d){a.addEventListener(b,c,d||!1)},fastOff:function(a,b,c,d){a.removeEventListener(b,c,d||!1)},prefixedFastOn:function(a,b,c,d){var e=b.charAt(0).toLocaleUpperCase()+b.substring(1);a.addEventListener(b.toLowerCase(),c,d||!1),a.addEventListener("webkit"+e,c,d||!1),a.addEventListener("moz"+e,c,d||!1),a.addEventListener("ms"+e,c,d||!1),a.addEventListener("o"+e.toLowerCase(),c,d||!1)},prefixedFastOff:function(a,b,c,d){var e=b.charAt(0).toLocaleUpperCase()+b.substring(1);a.removeEventListener(b.toLowerCase(),c,d||!1),a.removeEventListener("webkit"+e,c,d||!1),a.removeEventListener("moz"+e,c,d||!1),a.removeEventListener("ms"+e,c,d||!1),a.removeEventListener("o"+e.toLowerCase(),c,d||!1)},on:function(a,b,c,e){var f,g,h,j,k,m;for(k=i(a)?a:[a],h=k.length,m=l(b,c),j=m.length,f=0;h>f;f++)if("function"==typeof k[f].addEventListener)for(g=0;j>g;g++)d.event.fastOn(k[f],m[g].type,m[g].callback,e)},off:function(a,b,c,e){var f,g,h,j,k,m;for(k=i(a)?a:[a],h=k.length,m=l(b,c),j=m.length,f=0;h>f;f++)if("function"==typeof k[f].addEventListener)for(g=0;j>g;g++)d.event.fastOff(k[f],m[g].type,m[g].callback,e)},one:function(a,b,c,e){var f,g,h,j,k,m,n=[].slice,o=[];for(k=i(a)?n.call(a):[a],h=k.length,m=l(b,c),j=m.length,f=0;h>f;f++)if("function"==typeof k[f].addEventListener)for(o[f]=[],g=0;j>g;g++)o[f][g]=function(a,b){var c=n.call(arguments);d.event.fastOff(k[a],m[b].type,o[a][b],e),c.shift(),c.shift(),m[b].callback.apply(this,c)}.bind(null,f,g),d.event.fastOn(k[f],m[g].type,o[f][g],e)},enableGesture:function(a){var b=e(a),c=arguments.length,f=1;for(b||(b=new d.event.gesture.Instance(a),g.push({element:a,instance:b}));c>f;f++)b.addDetector(arguments[f])},disableGesture:function(a){var b=e(a),c=arguments.length,d=1;b&&(c>1?b.removeDetector(arguments[d]):(b.destroy(),f(a)))}}}(a,d),function(a,b){var c=d.event,e={profile:"default",theme:"default",version:d.version,refreshTheme:function(d){var e,f=b.createElement("span"),g=b.body;return"interactive"!==b.readyState&&"complete"!==b.readyState?(c.fastOn(b,"DOMContentLoaded",this.refreshTheme.bind(this,d)),null):(f.classList.add("tau-info-theme"),g.appendChild(f),e=a.getComputedStyle(f,":after").content,e&&(e=e.replace(/\"/g,"")),g.removeChild(f),e&&e.length>0&&(this.theme=e),e=e||null,d&&d(e),e)}};e.refreshTheme(),d.info=e}(a,a.document),function(b,c){function d(a){var b=c.getConfig("namespace");return"[data-"+(b?b+"-":"")+a+"]"}function e(a,b){return l&&a[l]?a[l](b):!1}function f(a){for(var c=[],d=a.parentNode;d&&d!==b;)c.push(d),d=d.parentNode;return c}function g(a,c){for(var d=a;d&&d!==b;){if(c(d))return d;d=d.parentNode}return null}function h(a,b){return e(b,a)}function i(a,b){return b&&b.classList&&b.classList.contains(a)}function j(a,b){return b.tagName.toLowerCase()===a}var k=[].slice,l=function(){var a=b.createElement("div");return"function"==typeof a.webkitMatchesSelector?"webkitMatchesSelector":"function"==typeof a.mozMatchesSelector?"mozMatchesSelector":"function"==typeof a.msMatchesSelector?"msMatchesSelector":"function"==typeof a.matchesSelector?"matchesSelector":"function"==typeof a.matches?"matches":""}();c.util.selectors={matchesSelector:e,getChildrenBySelector:function(a,b){return k.call(a.children).filter(h.bind(null,b))},getChildrenByDataNS:function(a,b){return k.call(a.children).filter(h.bind(null,d(b)))},getChildrenByClass:function(a,b){return k.call(a.children).filter(i.bind(null,b))},getChildrenByTag:function(a,b){return k.call(a.children).filter(j.bind(null,b))},getParents:f,getParentsBySelector:function(a,b){return f(a).filter(h.bind(null,b))},getParentsBySelectorNS:function(a,b){return f(a).filter(h.bind(null,d(b)))},getParentsByClass:function(a,b){return f(a).filter(i.bind(null,b))},getParentsByTag:function(a,b){return f(a).filter(j.bind(null,b))},getClosestBySelector:function(a,b){return g(a,h.bind(null,b))},getClosestBySelectorNS:function(a,b){return g(a,h.bind(null,d(b)))},getClosestByClass:function(a,b){return g(a,i.bind(null,b))},getClosestByTag:function(a,b){return g(a,j.bind(null,b))},getAllByDataNS:function(a,b){return k.call(a.querySelectorAll(d(b)))},getScrollableParent:function(c){for(var d,e;c&&c!==b.body;){if(e=a.getComputedStyle(c),e&&(d=e.getPropertyValue("overflow-y"),"scroll"===d||"auto"===d&&c.scrollHeight>c.clientHeight))return c;c=c.parentNode}return null}}}(a.document,d),function(){var a={copy:function(b){return a.merge({},b)},fastMerge:function(a,b){var d,e;for(d in b)b.hasOwnProperty(d)&&(e=Object.getOwnPropertyDescriptor(a,d),e&&e.writable!==!0&&e.set==c||(a[d]=b[d]));return a},merge:function(){var a,b,d,e,f,g,h=[].slice.call(arguments),i=h.length;for(a=h.shift(),d=!0,"boolean"==typeof arguments[i-1]&&(d=arguments[i-1],i--),f=0;i>f;f++)if(b=h.shift(),null!==b)for(e in b)b.hasOwnProperty(e)&&(g=Object.getOwnPropertyDescriptor(a,e),(!g||d&&(g.writable===!0||g.set!=c))&&(a[e]=b[e]));return a},inherit:function(a,b,c){var d,e,f=new b;for(d in c)c.hasOwnProperty(d)&&(e=c[d],"function"==typeof e?f[d]=function(a,b,c){var d=function(){var c=a.prototype[b];return c?c.apply(this,arguments):null};return function(){var a,b=this._super;return this._super=d,a=c.apply(this,arguments),this._super=b,a}}(b,d,e):f[d]=e);a.prototype=f,a.prototype.constructor=a},hasPropertiesOfValue:function(a,b){var c=Object.keys(a),d=c.length;if(0===d)return!1;for(;--d>=0;)if(a[c[d]]!==b)return!1;return!0},removeProperties:function(a,b){var c,d,e=b.length;for(d=0;e>d;d++)c=b[d],a.hasOwnProperty(c)&&delete a[c];return a}};d.util.object=a}(),function(a,b){function e(a){return a.match(/\[data-role=/)&&!a.match(/:not\(\[data-role=/)?a.trim():a.trim()+":not([data-role='none'])"}function f(a,f,g,h,i,j,k,l,m){var n;if(m=m||{},a){if(!R[a]||j)return g=g||[],g.push("destroy","disable","enable","option","refresh","value"),n={name:a,methods:g,selector:f||"",selectors:f?f.split(",").map(e):[],widgetClass:h||null,namespace:i||"",widgetNameToLowercase:k===c?!0:!!k,BaseElement:l,buildOptions:m},R[a]=n,i&&(R[i+"."+a]=n),M.trigger(b,"widgetdefined",n,!1),!0}else d.error("Widget with selector ["+f+"] defined without a name, aborting!");return!1}function g(a,b,c){var d,e,f=c?c.split("."):[],g=f.pop(),h=f.pop();return g?d=a.instances[g]:(e=Object.keys(a.instances),d=a.instances[e[0]]),h&&d&&d.namespace!==h&&(d=null),d&&d.element===b?d:null}function h(a){return a.hasAttribute(X)}function i(a,c){var d,e,f=a&&typeof a!==V?a.id:a;if(typeof a===V&&(a=b.getElementById(f)),a){if(d=S[f],d&&"object"==typeof d)return g(d,a,c);if(typeof a.hasAttribute===W&&a.hasAttribute($)&&(e=L.call(a.children).filter(h)[0]))return i(e,c)}return null}function j(a){var b=a.element.id,c=a.name,d=S[b];d||(d={elementId:b,element:a.element,instances:{}}),d.instances[c]=a,S[b]=d}function k(a){var b=a&&typeof a!==V?a.id:a;return S[b]&&S[b].instances||null}function l(a,b){var c,d;return c=b.split(_),d=c.indexOf(a),d>-1&&(c.splice(d,1),b=c.join(_)),b}function m(a){a.removeAttribute(X),a.removeAttribute(Z),a.removeAttribute(Y)}function n(a,b){var c,d,e;b?(c=l(b,a.getAttribute(X)||""),d=l(b,a.getAttribute(Z)||""),e=l(b,a.getAttribute(Y)||""),c&&d&&e?(a.setAttribute(X,c),a.setAttribute(Z,d),a.setAttribute(Y,e)):m(a)):m(a)}function o(a,b){var c=a[b];return c?(c.element&&typeof c.element.setAttribute===W&&n(c.element,b),delete a[b],!0):!1}function p(a,b){var c,d,e=!0;for(d in a)a.hasOwnProperty(d)&&(c=o(a,d),a[d]=null,e=e&&c);return O.hasPropertiesOfValue(a,null)&&(S[b]=null),e}function q(a,b,c){var d;return b?(d=o(a,b),O.hasPropertiesOfValue(a,null)&&(S[c]=null)):d=p(a,c),d}function r(a,b){var c,d=typeof a===V?a:a.id,e=S[d];if(e){if(typeof a===V&&(a=e.element),a&&n(a,b),c=S[d]&&S[d].instances)return q(c,b,d);S[d].instances&&0===Object.keys(S[d].instances).length&&(S[d]=null)}return!1}function s(a){return r(a)}function t(a,c){return a&&a instanceof HTMLElement||(a=typeof c.createEmptyElement===W?c.createEmptyElement():b.createElement("div")),a}function u(a,c,d,e){var f,g=e||{},h=g.create;a=c.configure(d,a,e),typeof h===W&&M.one(a,d.name.toLowerCase()+"create",h),a.id&&(c.id=a.id),f=a.getAttribute(X),f&&-1!==f.split(_).indexOf(c.name)||(a=c.build(a)),a&&(c.element=a,j(c),c.trigger(ca.WIDGET_BUILT,c,!1),U||c.init(a),c.bindEvents(a,U),c.trigger(c.widgetEventPrefix+ca.WIDGET_INIT),c.trigger(ca.WIDGET_BOUND,c,!1),M.trigger(b,ca.WIDGET_BOUND,c))}function v(a,b,c){var d,e,f,g=b.widgetClass;return a=t(a,g),d=g?new g(a,c):!1,e=P.getParentsBySelectorNS(a,"enhance=false"),f=i(a,b.name),f&&f.element===a?a:d?(e.length||u(a,d,b,c),d.element):null}function w(a,c){var d;typeof a===V&&(a=b.getElementById(a)),d=i(a,c),d&&(d.destroy(),d.trigger("widgetdestroyed"),r(a,c))}function x(a){var b,c,d;d=k(a);for(b in d)d.hasOwnProperty(b)&&(c=d[b],c&&(c.destroy(),c.trigger("widgetdestroyed")))}function y(a,c){var d,e;for(typeof a===V&&(a=b.getElementById(a)),c||x(a),d=L.call(a.querySelectorAll("["+Z+"]")),e=d.length-1;e>=0;e-=1)d[e]&&y(d[e],!1);s(a)}function z(a,b,c){var d=a&&a.getAttribute(Y)||b&&b.name;return b=b||d&&R[d]||{name:d},v(a,b,c)}function A(a,b){var c=Node.DOCUMENT_POSITION_CONTAINS|Node.DOCUMENT_POSITION_PRECEDING;return a.element===b.element?0:a.element.compareDocumentPosition(b.element)&c?1:-1}function B(a){z(a.element||a,R[a.widgetName])}function C(a){var c,d,e,f,g,h,i,j=L.call(a.querySelectorAll(aa)),k=[],l=Object.keys(R),m=l.length;for(j.forEach(B),e=0;m>e;++e)if(h=l[e],-1===h.indexOf(".")&&(g=R[h],i=g.selectors,i.length))for(d=ba(h),c=L.call(a.querySelectorAll(i.join(d+",")+d)),f=c.length;--f>=0;)k.push({element:c[f],widgetName:h});k.sort(A),k.forEach(B),M.trigger(b,"built"),M.trigger(b,ca.BOUND)}function D(a){C(a.target)}function E(){var a,c,d,e,f=b.head;if(c=f.querySelectorAll('[name="viewport"]'),a=c.length,a>0)for(--a,e=0;a>e;++e)f.removeChild(c[e]);else d=b.createElement("meta"),d.setAttribute("name","viewport"),d.setAttribute("content","width=device-width, user-scalable=no"),f.firstChild?f.insertBefore(d,f.firstChild):f.appendChild(d)}function F(){M.trigger(b,ca.READY),E()}function G(){M.trigger(b,ca.STOP_ROUTING)}function H(){G(),M.fastOff(b,"create",D),y(b,!0),M.trigger(b,ca.DESTROY)}function I(a,b){var c=b instanceof HTMLElement?"HTMLElement":typeof b;return a[c]=b,a}function J(a){return Q.reduce(a,I,{})}var K,L=[].slice,M=d.event,N=d.util,O=N.object,P=N.selectors,Q=d.util.array,R={},S={},T=a.location,U="#build"===T.hash,V="string",W="function",X="data-tau-built",Y="data-tau-name",Z="data-tau-bound",$="data-tau-wrapper",_=",",aa="*["+X+"]["+Y+"]:not(["+Z+"])",ba=function(a){return":not(["+X+"*='"+a+"']):not(["+Z+"*='"+a+"'])"},ca={INIT:"tauinit",READY:"tauready",WIDGET_BOUND:"widgetbound",WIDGET_DEFINED:"widgetdefined",WIDGET_BUILT:"widgetbuilt",DESTROY:"taudestroy",BOUND:"bound",WIDGET_INIT:"init",STOP_ROUTING:"tauroutingstop"};d.widgetDefinitions={},K={justBuild:"#build"===T.hash,dataTau:{built:X,name:Y,bound:Z,separator:_,widgetWrapper:$},destroyWidget:w,destroyAllWidgets:y,createWidgets:C,getDefinitions:function(){return R},getWidgetDefinition:function(a){return R[a]},defineWidget:f,getBinding:i,getAllBindings:k,setBinding:j,removeBinding:r,removeAllBindings:s,_clearBindings:function(){S={}},build:F,run:function(){switch(G(),M.fastOn(b,"create",D),M.trigger(b,ca.INIT,{tau:d}),b.readyState){case"interactive":case"complete":F();break;default:M.one(b,"DOMContentLoaded",F.bind(K))}},instanceWidget:function(a,b,c){var e,f,g=J(arguments);if(a=g.HTMLElement,b=g.string,c=g.object,a&&(e=i(a,b)),!e&&R[b]){if(f=R[b],f.buildOptions.requireMatchSelector&&!d.util.selectors.matchesSelector(a,f.selector))return null;a=z(a,f,c),e=i(a,b)}else e&&e.option(c);return e},stop:G,destroy:H,setJustBuild:function(a){a?T.hash="build":T.hash="",U=a},getJustBuild:function(){return U},_createEventHandler:D},K.eventType=ca,d.engine=K}(a,a.document),function(a,c){function d(){a.event.trigger(b,"mobileinit")}function e(){b.removeEventListener(f.INIT,d,!1),b.removeEventListener(f.DESTROY,e,!1)}var f=a.engine.eventType;a.jqm={jQuery:a.getConfig("jQuery")||c.jQuery},b.addEventListener(f.INIT,d,!1),b.addEventListener(f.DESTROY,e,!1)}(d,a),function(a,b){var c=d.engine.eventType,e=d.jqm.jQuery,f={INIT:c.INIT,DESTROY:c.DESTROY},g={init:function(){e&&(e.mobile=e.mobile||{},e.mobile.ns="",e.mobile.subPageUrlKey="ui-page",e.mobile.activePageClass="ui-page-active",e.mobile.activeBtnClass="ui-btn-active",e.mobile.focusClass="ui-focus",e.mobile.ajaxEnabled=!0,e.mobile.hashListeningEnabled=!0,e.mobile.linkBindingEnabled=!0,e.mobile.defaultPageTransition="fade",e.mobile.maxTransitionWidth=!1,e.mobile.minScrollBack=250,e.mobile.touchOverflowEnabled=!1,e.mobile.defaultDialogTransition="pop",e.mobile.pageLoadErrorMessage="Error Loading Page",e.mobile.phonegapNavigationEnabled=!1,e.mobile.autoInitializePage=!0,e.mobile.pushStateEnabled=!0,e.mobile.ignoreContentEnabled=!1,e.mobile.orientationChangeEnabled=!0,e.mobile.tizen=e.mobile.tizen||{},e.mobile.tizen.enableHWKeyHandler=!0)},destroy:function(){b.removeEventListener(f.INIT,g.init,!1),b.removeEventListener(f.DESTROY,g.destroy,!1),e=null}};b.addEventListener(f.INIT,g.init,!1),b.addEventListener(f.DESTROY,g.destroy,!1)}(a,a.document),function(){function a(a,b){return b.toLocaleUpperCase()}function b(a,b){return"-"+b.toLowerCase()}function c(b){return b.replace(j,a)}function e(a){return a.replace(k,b)}function f(a){return a.charAt(0).toLocaleUpperCase()+a.substring(1)}function g(a){var b;return a&&-1===(a+"").indexOf("%")?(b=parseInt(a,10),isNaN(b)&&(b=null),b):a}function h(a){var b;return b="string"==typeof a?a.split(","):a||[],l.map(b,g)}function i(a){var b=[];return[].slice.call(arguments).slice(1).forEach(function(a){a.split(" ").forEach(function(a){b.push(a.trim())})}),a.split(" ").filter(function(a){return-1===b.indexOf(a)}).join(" ")}var j=/-([a-z])/gi,k=/([A-Z])/g,l=d.util.array;d.util.string={dashesToCamelCase:c,camelCaseToDashes:e,firstToUpperCase:f,parseProperty:h,removeExactTags:i}}(),function(){d.util.DOM=d.util.DOM||{}}(),function(){function a(a,b){var c=d.getConfig(g),e="";return b||(e="data-"),e+(c?c+"-":"")+a}function b(a,b,c){a[b]=c,a.setAttribute(b,c)}var e=d.util.selectors,f=d.util.DOM,g="namespace";f.inheritAttr=function(a,b,c){var d,f=a.getAttribute(b);return!f&&(d=e.getClosestBySelector(a,c))?d.getAttribute(b):f},f.getNumberFromAttribute=function(a,b,c,d){var e=a.getAttribute(b),f=d;return isNaN(e)||("float"===c?(e=parseFloat(e),isNaN(e)||(f=e)):(e=parseInt(e,10),isNaN(e)||(f=e))),f},f.setNSData=function(b,c,d){b.setAttribute(a(c),d)},f.getNSData=function(b,c,d){var e=b.getAttribute(a(c,d));return"true"===e?!0:"false"===e?!1:e},f.hasNSData=function(b,c){return b.hasAttribute(a(c))},f.nsData=function(a,b,d){return d===c?f.getNSData(a,b):f.setNSData(a,b,d)},f.removeNSData=function(b,c){b.removeAttribute(a(c))},f.getData=function(a){var b,c,d,e,f,g="data-",h={},i=a.attributes,j=i.length;for(e=0;j>e;e++)b=i.item(e),c=b.nodeName,c.indexOf(g)>-1&&(d=b.value,f=d.toLowerCase(),"true"===f?d=!0:"false"===f&&(d=!1),h[c.replace(g,"")]=d);return h},f.removeAttribute=function(a,b){a.removeAttribute(b),a[b]=!1},f.setAttribute=b,f.setAttributes=function(a,c){var d,e,f,g=Object.keys(c);for(d=0,f=g.length;f>d;d++)e=g[d],b(a,e,c[e])}}(),function(a,c){function d(b,c,d,e){var f,g=a.getComputedStyle(b),h=d;if(g&&(f=g.getPropertyValue(c)))switch(e){case"integer":f=parseInt(f,10),isNaN(f)||(h=f);break;case"float":f=parseFloat(f),isNaN(f)||(h=f);break;default:h=f}return h}function e(a){return(a+"").indexOf(".")>-1?parseFloat(a):parseInt(a,10)}function f(b,c,d,f){var g,h,i,j=a.getComputedStyle(b,d);for(g in c)c.hasOwnProperty(g)&&(h=j.getPropertyValue(g),i=e(h),isNaN(i)&&f||(h=i),c[g]=h)}function g(a,b,c,d,e){var g,h,i,j,k=a.style;return"none"!==k.display?(f(a,b,c,!0),j=a[e]):d&&(g=k.display,h=k.visibility,i=k.position,k.display="block",k.visibility="hidden",k.position="relative",f(a,b,c,!0),j=a[e],k.display=g,k.visibility=h,k.position=i),j}function h(a,b,c,d,f,h){var i,j,k=0,l=b&&"outer"===b||!1,m={height:0,"margin-top":0,"margin-bottom":0,"padding-top":0,"padding-bottom":0,"border-top-width":0,"border-bottom-width":0,"box-sizing":""};if(a){i=g(a,m,f,h,"offsetHeight");for(j in m)m.hasOwnProperty(j)&&"box-sizing"!==j&&(m[j]=e(m[j]));k+=m.height,"border-box"!==m["box-sizing"]&&(k+=m["padding-top"]+m["padding-bottom"]),c?k=i:l&&"border-box"!==m["box-sizing"]&&(k+=m["border-top-width"]+m["border-bottom-width"]),d&&(k+=Math.max(0,m["margin-top"])+Math.max(0,m["margin-bottom"]))}return k}function i(a,b,c,d,e,f){var h,i,j,k=0,l=b&&"outer"===b||!1,m={width:0,"margin-left":0,"margin-right":0,"padding-left":0,"padding-right":0,"border-left-width":0,"border-right-width":0,"box-sizing":""};if(a){i=g(a,m,e,f,"offsetWidth");for(j in m)m.hasOwnProperty(j)&&"box-sizing"!==j&&(h=parseFloat(m[j]),m[j]=h);k+=m.width,"border-box"!==m["box-sizing"]&&(k+=m["padding-left"]+m["padding-right"]),c?k=i:l&&"border-box"!==m["box-sizing"]&&(k+=m["border-left-width"]+m["border-right-width"]),d&&(k+=Math.max(0,m["margin-left"])+Math.max(0,m["margin-right"]))}return k}function j(a){var b=0,c=0,d=a;do c+=d.offsetTop,b+=d.offsetLeft,d=d.offsetParent;while(null!==d);return{top:c,left:b}}function k(a){return!(a.offsetWidth<=0&&a.offsetHeight<=0)}function l(a,b,c){var d=a.style,e=b,f="object"!=typeof c?{webkit:c,moz:c,o:c,ms:c,normal:c}:c;d.setProperty(b,f.normal),d.setProperty("-webkit-"+e,f.webkit),d.setProperty("-moz-"+e,f.moz),d.setProperty("-o-"+e,f.o),d.setProperty("-ms-"+e,f.ms)}function m(a){return{webkit:"-webkit-"+a,moz:"-moz-"+a,o:"-ms-"+a,ms:"-o-"+a,normal:a}}function n(a,b){var c,d,e=m(b);for(d in e)if(e.hasOwnProperty(d)&&(c=a[e[d]],c&&"none"!==c))break;return c}function o(a){var b="",c=t.parseProperty(a);return c&&2===c.length&&(b="width: "+c[0]+"px; height: "+c[1]+"px;"),b}function p(a,c,d){var e,f,g,h=[];r||(e=b.head||b.getElementsByTagName("head")[0],f=b.createElement("style"),f.type="text/css",e.appendChild(f),r=f.sheet);for(g in d)d.hasOwnProperty(g)&&h.push(g+": "+d[g]);return h.length?r.addRule(a+"::"+c,h.join("; ")):null}function q(a){r&&r.deleteRule(a)}var r,s=c.util.DOM,t=c.util.string;s.getCSSProperty=d,s.extractCSSProperties=f,s.getElementHeight=h,s.getElementWidth=i,s.getElementOffset=j,s.isOccupiedPlace=k,s.setPrefixedStyle=l,s.getPrefixedValue=m,s.getPrefixedStyleValue=n,s.toCSSSize=o,s.setStylesForPseudoClass=p,s.removeCSSRule=q}(a,d),function(a,b){var c=function(){this._data=[]};c.prototype={add:function(){var a=this._data;this._data=a.concat.apply(a,[].slice.call(arguments)).filter(function(a,b,c){return c.indexOf(a)===b})},clear:function(){this._data=[]},"delete":function(a){var b=this._data,c=b.indexOf(a);c>-1&&b.splice(c,1)},has:function(a){return this._data.indexOf(a)>-1},forEach:function(a){this._data.forEach(a)}},b.util._Set=c,b.util.Set=a.Set||c}(a,d),function(a){function b(a,b,c){var d={name:a,element:b,options:c};return d}function c(a,c,d){var e=b(a,c,d);return g.instanceWidget(e.element,e.name,e.options)}function e(a){var b=a.detail,e=b.name;d.widget[e]=c.bind(null,e)}function f(){a.removeEventListener(h.WIDGET_DEFINED,e,!0),a.removeEventListener(h.DESTROY,f,!1)}var g=d.engine,h=g.eventType,i={getInstance:g.getBinding,getAllInstances:g.getAllBindings};a.addEventListener(h.WIDGET_DEFINED,e,!0),a.addEventListener(h.DESTROY,f,!1),d.widget=i}(a.document),function(a,b){function d(a){return!a.toRemove}function e(a){a.object[a.property]===a.value&&(n.requestAnimationFrame(a.callback.bind(a.object)),a.toRemove=!0)}function f(){j.forEach(e),j=j.filter(d),j.length&&n.requestAnimationFrame(f)}function g(a,b){var d=b.classList;d!==c&&(d instanceof t?d.clear():(d=new t,b.classList=d),a.classList.length&&k.call(a.classList).forEach(function(a){d.add(a)}))}function h(a,b){g(a,b),b.offsetWidth!==c&&(b.offsetWidth=a.offsetWidth),b.style!==c&&p.extractCSSProperties(a,b.style,null,!0),b.children!==c&&b.children.forEach(function(b,c){h(a.children[c],b)})}function i(a,b,d){var e=!1;
+a.classList!==c&&(k.call(b.classList).forEach(function(c){a.classList.has(c)||(b.classList.remove(c),e=!0)}),a.classList.forEach(function(a){b.classList.contains(a)||(b.classList.add(a),e=!0)})),a.style!==c&&Object.keys(a.style).forEach(function(c){b.style[c]=a.style[c]}),a.children!==c&&a.children.forEach(function(a,c){i(a,b.children[c],!0)}),e&&!d&&n.requestAnimationFrame(h.bind(null,b,a))}var j,k=[].slice,l=b.engine,m=l.dataTau,n=b.util,o=b.event,p=n.DOM,q=n.string,r=n.object,s=n.selectors,t=n.Set,u=function(){return this.flowState="created",this},v=p.getNSData,w={},x="function",y="string",z=",",A="ui-state-disabled",B="aria-disabled",C={INLINE:"ui-inline"};u.classes={disable:A},w._configureDefinition=function(a){var c,d,e=this;a&&(c=a.name,d=a.namespace,e.name=c,e.widgetName=c,e.widgetEventPrefix=c.toLowerCase(),e.namespace=d,e.widgetFullName=((d?d+"-":"")+c).toLowerCase(),e.id=b.getUniqueId(),e.selector=a.selector)},w.configure=function(a,b,c){var d=this;return d.flowState="configuring",d.options=d.options||{},d.element=d.element||null,d._configureDefinition(a),typeof d._configure===x&&(b=d._configure(b)||b),d.isCustomElement=!!b.createdCallback,d._getCreateOptions(b),r.fastMerge(d.options,c),b.style.cssText&&(b.dataset.originalStyle=b.style.cssText),d.flowState="configured",b},w._getCreateOptions=function(a){var b,c=this,d=c.options,e=a.localName.toLowerCase();return d&&Object.keys(d).forEach(function(f){var g=q.camelCaseToDashes(f),h=v(a,g,!0),i=v(a,g);null!==i?("number"==typeof d[f]?i=parseFloat(i):"object"==typeof d[f]&&"string"==typeof i&&Array.isArray(d[f])&&(b=a.dataset.delimiter||z,i=i.split(b)),d[f]=i):"boolean"==typeof d[f]&&(c._readCommonOptionFromElementClassname(a,f)||c._readPrefixedOptionFromElementClassname(a,f)||(typeof c._readWidgetSpecyficOptionFromElementClassname!==x||typeof c._readWidgetSpecyficOptionFromElementClassname===x&&!c._readWidgetSpecyficOptionFromElementClassname(a,f))&&typeof c._getDefaultOption===x&&(d[f]=c._getDefaultOption(f))),"type"===f&&"input"===e||"style"===f||null!==h&&("number"==typeof d[f]&&(h=parseFloat(h)),d[f]=h)}),d},w.build=function(a){var b,c,d=this,e=a.getAttribute(m.built),f=a.getAttribute(m.name);return o.trigger(a,d.widgetEventPrefix+"beforecreate"),d.flowState="building",b=a.id,b?d.id=b:a.id=d.id,c=typeof d._build===x?d._build(a):a,d._setBooleanOptions(a),e=e?e+m.separator+d.name:d.name,f=f?f+m.separator+d.name:d.name,a.setAttribute(m.built,e),a.setAttribute(m.name,f),d.flowState="built",c},w.init=function(a){var b,c,d=this;return d.id=a.id,d.flowState="initiating",a.dataset.originalStyle&&(b=d.getContainer(),b!=a&&(c=a.dataset.originalStyle,c.split(";").forEach(function(c){var d,e,f;f=c.split(":"),2===f.length&&(d=f[0].trim(),e=f[1].trim(),b.style[d]=a.style[d],a.style[d]===e&&(a.style[d]=""))}))),typeof d._init===x&&d._init(a),a.hasAttribute("disabled")&&"false"!==a.getAttribute("disabled")||d.options.disabled===!0?d.disable():d.enable(),d.flowState="initiated",d},w.getContainer=function(){var a=this;return typeof a._getContainer===x?a._getContainer():a.element},w.bindEvents=function(a,b){var c=this,d=a.getAttribute(m.bound);return b||(d=d?d+m.separator+c.name:c.name,a.setAttribute(m.bound,d)),typeof c._buildBindEvents===x&&c._buildBindEvents(a),b||typeof c._bindEvents!==x||c._bindEvents(a),c.trigger(c.widgetEventPrefix+"create",c),c},w.focus=function(b){var c,d,e,f,g=this,h=g.element;return b=b||{},c=b.previousElement,c&&(f=l.getBinding(c),f?(b=r.merge({},b,{element:c}),f.blur(b)):c.blur()),b=r.merge({},b,{element:h}),e=s.getClosestBySelector(h,"[data-tau-name='Scrollview']"),e&&(d=l.getBinding(e)),o.trigger(a,"taufocus",b),typeof g._focus===x?(b.event&&d&&d.ensureElementIsVisible(h),g._focus(h)):h.focus(),!0},w.blur=function(b){var c=this,d=c.element;return b=r.merge({},b,{element:d}),o.trigger(a,"taublur",b),typeof c._blur===x?c._blur(d):d.blur(),!0},w.destroy=function(a){var b=this;a=a||b.element,b.flowState="destroying",typeof b._destroy===x&&b._destroy(a),b.element&&(b.trigger(b.widgetEventPrefix+"destroy"),b.element.dataset.originalStyle&&(b.element.style.cssText=b.element.dataset.originalStyle,delete b.element.dataset.originalStyle)),a&&l.removeBinding(a,b.name),b.flowState="destroyed"},w.disable=function(){var a=this,b=k.call(arguments),c=a.element;return c.classList.add(A),c.setAttribute(B,!0),typeof a._disable===x&&(b.unshift(c),a._disable.apply(a,b)),this},w.isDisabled=function(){var a=this;return a.element.getAttribute("disabled")||a.options.disabled===!0},w.enable=function(){var a=this,b=k.call(arguments),c=a.element;return c.classList.remove(A),c.setAttribute(B,!1),typeof a._enable===x&&(b.unshift(c),a._enable.apply(a,b)),this},w.refresh=function(){var a=this,b=a.element;return a._getCreateOptions(b),typeof a._refresh===x&&a._refresh.apply(a,arguments),a},w._readPrefixedOptionFromElementClassname=function(a,b){var c,d=this._classesPrefix;return d&&(c=d+q.camelCaseToDashes(b),a.classList.contains(c))?(this.options[b]=a.classList.contains(c),!0):!1},w._readCommonOptionFromElementClassname=function(a,b){var c=this.options,d=a.classList;switch(b){case"inline":if(d.contains(C.INLINE))return c.inline=!0,!0}return!1},w._setBooleanOption=function(a,b,c){var d,e=this._classesPrefix;return e&&(d=e+q.camelCaseToDashes(b),a.classList.toggle(d,c)),!1},w._setBooleanOptions=function(a){var b=this,d=b._classesPrefix,e=b.options;return d&&e!==c&&Object.keys(e).forEach(function(c){"boolean"==typeof e[c]&&(e[c]=b._setBooleanOption(a,c,e[c]))}),e},w._processOptionObject=function(a){var b,d,e=this,f=!1;for(b in a)a.hasOwnProperty(b)&&(d=e._oneOption(b,a[b]),b!==c&&a[b]!==c&&(f=f||d));return f},w.option=function(a,b){var d=this,e=a,f=b,g=null,h=!1;return"string"==typeof e?(g=d._oneOption(e,f),f!==c&&(h=g,g=null)):"object"==typeof e&&(h=d._processOptionObject(e)),h&&d.refresh(),g},w._oneOption=function(a,b){var d,e=this,f=!1;return b===c?(d="_get"+(a[0].toUpperCase()+a.slice(1)),typeof e[d]===x?e[d]():e.options[a]):(d="_set"+(a[0].toUpperCase()+a.slice(1)),typeof e[d]===x?(f=e[d](e.element,b),e.element&&("object"!=typeof b||Array.isArray(b))&&e.element.setAttribute("data-"+a.replace(/[A-Z]/g,function(a){return"-"+a.toLowerCase()}),b)):"boolean"==typeof b?f=e._setBooleanOption(e.element,a,b):(e.options[a]=b,e.element&&("object"!=typeof b||Array.isArray(b))&&(e.element.setAttribute("data-"+a.replace(/[A-Z]/g,function(a){return"-"+a.toLowerCase()}),b),f=!0)),""===b&&e.element&&e.element.removeAttribute("data-"+a.replace(/[A-Z]/g,function(a){return"-"+a.toLowerCase()})),f)},w.isBound=function(a){var b=this.element;return a=a||this.name,b&&b.hasAttribute(m.bound)&&b.getAttribute(m.bound).indexOf(a)>-1},w.isBuilt=function(a){var b=this.element;return a=a||this.name,b&&b.hasAttribute(m.built)&&b.getAttribute(m.built).indexOf(a)>-1},w.value=function(a){var b=this;return a!==c?typeof b._setValue===x?b._setValue(a):b:typeof b._getValue===x?b._getValue():b},w.trigger=function(a,b,c,d){return this.element?o.trigger(this.element,a,b,c,d):!1},w.on=function(a,b,c){o.on(this.element,a,b,c)},w.off=function(a,b,c){o.off(this.element,a,b,c)},w._framesFlow=function(){var a=this,b=k.call(arguments),d=b.shift();"function"==typeof d&&d(),d!==c&&n.requestAnimationFrame(function(){a._framesFlow.apply(a,b)})},w._waitFor=function(a,b,c){var d=this;d[a]===b?c.call(d):(j=j||[],j.push({object:d,property:a,value:b,callback:c})),f()},w._render=function(a){var b=this,c=b._stateDOM,d=b.element;a===!0?i(c,d,!1):n.requestAnimationFrame(i.bind(null,c,d,!1))},w._initDOMstate=function(){h(this.element,this._stateDOM)},w._togglePrefixedClass=function(a,b,c){var d=!1,e=b+c;return a.classList.forEach(function(c){0===c.indexOf(b)&&e!==c&&(a.classList["delete"](c),d=!0)}),a.classList.has(e)||(a.classList.add(e),d=!0),d},w._createWrapper=function(b){var c;return b=typeof b===y?b:"div",c=a.createElement(b),c.setAttribute(m.widgetWrapper,!0),c},u.prototype=w,b.widget.BaseWidget=u}(a.document,d),function(a,b){function e(b,d,e,f){var g=null;return function(){var h,j,l,m,n,o,p=i.call(arguments),q={};for(o=0;o<this.length;o++){switch(h=this.get(o),d){case"slider":g=b.getBinding(h,"Slider")||b.getBinding(h,"TizenSlider");break;default:g=b.getBinding(h,f)}if(j=g&&g.isBuilt(),n=p.shift(),n===c||"object"==typeof n)"object"==typeof n&&(q=n),g&&j?g.option(q):b.instanceWidget(h,f,q);else{if(null===g)return this;if(l=n,"destroy"===l)return g.destroy(),this;if(e.indexOf(l)<0)throw"Method "+l+" does not exist!";if("listview"===d&&"option"===l&&"autodividersSelector"===p[0]&&"function"==typeof p[1]&&(p[1]=k(p[1])),"popup"===d&&"open"===l&&(p[1]=a.event),m=g[l].apply(g,p),m!==c&&m!==g)return m}}return this}}function f(a){n.init(l,a.detail)}function g(){b.removeEventListener(o.WIDGET_DEFINED,f,!1),b.removeEventListener(o.INIT,h,!1),b.removeEventListener(o.DESTROY,g,!1)}function h(){l.defineWidget("FixedToolbar","",[],d.widget.Page,"mobile"),l.defineWidget("pagelayout","",[],d.widget.Page,"mobile"),l.defineWidget("popupwindow","",[],d.widget.Popup,"tizen"),l.defineWidget("ctxpopup","",[],d.widget.Popup,"tizen")}var i=[].slice,j=d.jqm.jQuery,k=function(a){return function(b){return a(j(b))}},l=d.engine,m=d.util.object,n={init:function(a,c){var d=c.widgetNameToLowercase?c.name.toLowerCase():c.name;j&&(b.addEventListener(d+"create",function(a){var b=a.target,c=a.detail,e=j(b).data(d);c&&(c.bindings={},c.hoverable={},c.focusable={},c.document=j(b.style?b.ownerDocument:b.document||b),c.window=j(c.document[0].defaultView||c.document[0].parentWindow),m.merge(c,e),j(b).data(d,c))},!0),this.processDefinition(c,a))},processDefinition:function(a,b){var c=a.widgetNameToLowercase?a.name.toLowerCase():a.name,d=a.methods;j.fn[c]=e(b,c,d,a.name),a.namespace&&(j[a.namespace]=j[a.namespace]||{},j[a.namespace][a.name.toLowerCase()]=a.widgetClass),a=null}},o=l.eventType;b.addEventListener(o.WIDGET_DEFINED,f,!1),b.addEventListener(o.INIT,h,!1),b.addEventListener(o.DESTROY,g,!1),d.jqm.widget=n}(a,a.document),function(a,b,d){d.util.callbacks=function(a){var b,e,f,g,h,i,j,k,l=d.util.object,m=l.copy(a),n=[].slice,o=[],p=!m.once&&[],q={add:function(){var a;return o&&(a=o.length,k(arguments),f?h=o.length:b&&(g=a,j(b))),this},remove:function(){return o&&n.call(arguments).forEach(function(a){for(var b=o.indexOf(a);b>-1;)o.splice(b,1),f&&(h>=b&&h--,i>=b&&i--),b=o.indexOf(a,b)}),this},has:function(a){return a?!!o&&o.indexOf(a)>-1:!(!o||!o.length)},empty:function(){return o=[],h=0,this},disable:function(){return o=p=b=c,this},disabled:function(){return!o},lock:function(){return p=c,b||q.disable(),this},locked:function(){return!p},fireWith:function(a,b){return!o||e&&!p||(b=b||[],b=[a,b.slice?b.slice():b],f?p.push(b):j(b)),this},fire:function(){return q.fireWith(this,arguments),this},fired:function(){return!!e}};return k=function(a){n.call(a).forEach(function(a){var b=typeof a;"function"===b?m.unique&&q.has(a)||o.push(a):a&&a.length&&"string"!==b&&k(a)})},j=function(a){for(b=m.memory&&a,e=!0,i=g||0,g=0,h=o.length,f=!0;o&&h>i;){if(o[i].apply(a[0],a[1])===!1&&m.stopOnFalse){b=!1;break}i++}f=!1,o&&(p?p.length&&j(p.shift()):b?o=[]:q.disable())},q}}(a,a.document,d),function(a,b,c){var d=function(a){var b=c.util.callbacks,e=c.util.object,f=[["resolve","done",b({once:!0,memory:!0}),"resolved"],["reject","fail",b({once:!0,memory:!0}),"rejected"],["notify","progress",b({memory:!0})]],g="pending",h={},i={state:function(){return g},always:function(){return h.done(arguments).fail(arguments),this},then:function(){var a=arguments;return new d(function(b){f.forEach(function(c,d){var e="function"==typeof a[d]&&a[d];h[c[1]](function(){var a=e&&e.apply(this,arguments);a&&"function"==typeof a.promise?a.promise().done(b.resolve).fail(b.reject).progress(b.notify):b[c[0]+"With"](this===i?b.promise():this,e?[a]:arguments)})}),a=null}).promise()},promise:function(a){return a?e.merge(a,i):i}};return i.pipe=i.then,f.forEach(function(a,b){var c=a[2],d=a[3];i[a[1]]=c.add,d&&c.add(function(){g=d},f[1^b][2].disable,f[2][2].lock),h[a[0]]=function(){return h[a[0]+"With"](this===h?i:this,arguments),this},h[a[0]+"With"]=c.fireWith}),i.promise(h),a&&a.call(h,h),h};c.util.deferred=d}(a,a.document,d),function(a,b,c,d){function e(a){return a.filter(function(a){return a}).join("/")}function f(c){var d,e=c||b.getElementsByTagName("html")[0].getAttribute("lang")||a.navigator.language.split(".")[0]||"en",f=e.lastIndexOf("-"),h=["Cyrl","Latn","Mong"];return-1!==f&&(d=e.substr(f+1),h.join("-").indexOf(d)<0&&(e=[e.substr(0,f),d.toUpperCase()].join("-"))),e=g(e)}function g(a){var b,c=a.lastIndexOf("-");return b=-1!==c?a.substr(0,c):a}function h(a,b,c){var d;return b="supplemental"===a?null:b,d=[C,B,a,b,c+A],e(d)}function i(a){return e([D,a+A])}function j(a){var b,c,d,e=new x;if(a)try{b=new XMLHttpRequest,b.onreadystatechange=function(){if(4===b.readyState)switch(b.status){case 0:case 200:c=JSON.parse(b.responseText),d={state:b.status,path:a,data:c},e.resolve(d);break;case 404:d={state:b.status,path:a,data:null},e.reject(d);break;default:c=JSON.parse(b.responseText),d={state:b.status,path:a,data:c},e.reject(d)}},b.open("GET",a,!0),b.send("")}catch(f){d={state:-1,path:a,data:null},e.reject(d)}else d={state:-2,path:a,data:null},e.reject(d);return e}function k(a,b){var c,e=w[b].length,f=null,g=new x;return f=a?u[b].hasOwnProperty(a)?u[b][a]:u[b][a]={}:u[b],w[b].forEach(function(i){c=h(b,a,i),f[c]?g.resolve(a):j(c).then(function(b){var c=b.data,h=b.path;f[h]=c,d.load(c),Object.keys(f).length===e&&g.resolve(a)},g.reject)}),g}function l(a){var b=null,c=new x,d=v;return b=i(a),d[b]?(d[b].fromCache=!0,c.resolve(d[b])):j(b).then(function(a){d[b]=a,a.fromCache=!1,c.resolve(a)},c.reject),c}function m(){var a=new x;return s=!0,k(null,t.supplemental).then(a.resolve,a.reject),a}function n(a){var b=h(t.supplemental,a,w.supplemental[0]),c=u.supplemental[b]||null,e=null;if(a=d.locale().attributes.script,c)return c.some(function(b){if(b.IDENTIFIER===a){switch(b.RTL){case"YES":e=!0;break;case"NO":e=!1;break;case"UNKNOWN":e=!0}return!0}return!1}),e;throw new Error("Globalize is not initialized")}function o(b){var c=new x;return s?a.tizen&&!b?a.tizen.systeminfo.getPropertyValue("LOCALE",function(a){var b=a.country;b&&(b=g(b.replace("_","-"))),k(b,t.main).then(function(a){c.resolve(a)},c.reject)}):k(b,t.main).then(function(a){c.resolve(a)},c.reject):m().then(function(){o(b).then(function(a){c.resolve(a)},c.reject)}),c}function p(){var a=n(d.locale().locale),c=b.body,e=c.classList;a?(e.contains(z)||e.add(z),d.prototype.rtl=!0):(e.contains(z)&&e.remove(z),d.prototype.rtl=!1)}function q(){d.prototype.getLocale=c.util.globalize.getLocale,d.prototype.getCalendar=c.util.globalize.getCalendar}function r(){return a.Globalize&&a.Cldr}var s=!1,t={main:"main",supplemental:"supplemental"},u={main:{},supplemental:{}},v={},w={main:["currencies","ca-gregorian","numbers"],supplemental:["scriptMetaData","likelySubtags","currencyData","plurals","timeData","weekData","numberingSystems"]},x=c.util.deferred,y=null,z="ui-script-direction-rtl",A=".json",B="cldr-data",C="lib",D="locale";c.util.globalize={importModule:function(a){var b,c=a.split("/"),d=c.shift(),e=w.main,f=w.supplemental,g=0;switch(a=c.shift(),d){case"main":for(b=e.length;b>g;g++)if(e[g]===a)return;e.push(a);break;case"supplemental":for(b=f.length;b>g;g++)if(f[g]===a)return;f.push(a)}},setLocale:function(a){var b=new x;if(a=f(a),r())return o(a).then(function(a){return d.locale(a),y=new d(a),a},b.reject).done(function(a){l(a).then(function(c){c.fromCache||d.loadMessages(c.data),y=new d(a),b.resolve(y)},function(){y=new d(a),b.resolve(y)})}).done(p).done(q),b;throw new Error("Globalize is not loaded")},getLocale:function(){if(r())return d.locale().locale;throw new Error("Globalize is not loaded")},getCalendar:function(){if(r()&&y)return y.cldr.main("dates/calendars/gregorian");throw new Error("Globalize is not initialized")}}}(a,a.document,d,a.Globalize),function(a,b,c){var d=b.querySelector("meta[name=viewport]"),e=d&&d.getAttribute("content"),f=e+",maximum-scale=1, user-scalable=no",g=e+",maximum-scale=10, user-scalable=yes",h=/(user-scalable[\s]*=[\s]*no)|(maximum-scale[\s]*=[\s]*1)[$,\s]/.test(e),i={enabled:!h,locked:!1,disable:function(a){h||i.locked||(d&&d.setAttribute("content",f),i.enabled=!1,i.locked=a||!1)},enable:function(a){h||i.locked&&a!==!0||(d&&d.setAttribute("content",g),i.enabled=!0,i.locked=!1)},restore:function(){h||(d&&d.setAttribute("content",e),i.enabled=!0)}};c.util.zoom=i}(a,a.document,d),function(a,b){function c(a,b,c){var d=new XMLHttpRequest;d.open("GET",a,!1),d.send(),200===d.status||0===d.status?"function"==typeof b&&b(d,d.status):"function"==typeof c&&c(d,d.status,new Error(d.statusText))}function d(a,b,c){var d,e=new XMLHttpRequest,f=function(){if(200===e.status){if("function"==typeof b)try{d=JSON.parse(e.responseText),b(d,e.status)}catch(a){c(e,e.status,new Error(a))}}else"function"==typeof c&&c(e,e.status,new Error(e.statusText))},g=function(){4===e.status&&f()};e.open("GET",a,!0),e.onreadystatechange=g,e.onload=f,e.onerror=function(a){c(e,e.status,new Error(a))},e.send()}function e(b,c,d){var e=a.createElement("script");e.type="text/javascript",e.text=c.responseText,a.body.appendChild(e),"function"==typeof b&&b(c,d)}function f(a,b,d){c(a,e.bind(null,b),d)}function g(b,c,d){var e=a.createElement("style"),f=b.replace(x,"");e.type="text/css",e.textContent=d.responseText.replace(v,"url("+f+"$1)"),"function"==typeof c&&c(e)}function h(b,c,d){var e=a.createElement("style");e.type="text/css",e.textContent=d.responseText.replace(u,"url("+b.replace(w,"images")),"function"==typeof c&&c(e)}function i(a,b,d){c(a,g.bind(null,a,b),d)}function j(a,b,d){c(a,h.bind(null,a,b),d)}function k(a,b){var c;if(o){if(b&&(c=o.firstElementChild))return void o.insertBefore(a,c);o.appendChild(a)}}function l(b){var c=a.createElement("link");return c.setAttribute("rel","stylesheet"),c.setAttribute("href",b),c.setAttribute("name","tizen-theme"),c}function m(a,b,c){s(a,"name","tizen-theme"),s(a,"theme-name",b),c?c.parentNode.replaceChild(a,c):k(a,!0)}function n(a,c,d){var e,f,g,h=p.length,i=null;for(e=0;h>e;e++)if(f=p[e].ownerNode,"tizen-theme"===r(f,"name")||f.getAttribute("href")===a){if(r(f,"theme-name")===c)return;i=f;break}d?j(a,function(a){m(a,c,i)},function(a,d){b.warn("There was a problem when loading '"+c+"', status: "+d)}):(g=l(a),m(g,c,i))}var o=a.head,p=a.styleSheets,q=b.util.DOM,r=q.getNSData,s=q.setNSData,t=b.util.load||{},u=/url\((\.\/)?images/gm,v=/url\((.+)\)/gm,w=/[^\/]+\.css$/,x=/[^\/]+$/;t.cacheBust=a.location.href.match(/debug=true/)?"?cacheBust="+(new Date).getTime():"",t.scriptSync=f,t.addElementToHead=k,t.makeLink=l,t.themeCSS=n,t.cssSync=i,t.JSON=d,b.util.load=t}(a.document,d),function(a,b){var c=Array.prototype.slice,d="tizen-web-ui-fw",e="tau",f=/(^|[\\\/])(tau(\.full|\.mvc)?(\.min)?\.js)$/,g=/(^|[\\\/])(tau|tizen-web-ui-fw)(\.full|\.mvc|\.custom)?(\.min)?\.js$/,h=/(^|[\\\/])(tau|tizen-web-ui-fw)(\.full|\.mvc|\.custom)?(\.min)?\.css$/,i=/^(changeable|white|black|default)$/i,j=/\.min\.js$/,k={frameworkName:d,rootDir:"/usr/share/"+d,version:"latest",theme:"default",themeLoaded:!1,defaultViewportWidth:360,viewportWidth:"device-width",viewportScale:!1,defaultFontSize:22,minified:!1,deviceCapa:{inputKeyBack:!0,inputKeyMenu:!0},debug:!1,pkgVersion:"0.2.83",dataPrefix:"data-framework-",profile:""};k.getParams=function(){function b(a){var b,c=a.ownerNode,d=c.getAttribute("data-theme-name"),e=c.getAttribute("href"),f=e&&e.split("/");d?i.test(d)&&(l=d):e&&h.test(e)&&f.length>=2&&(b=f.slice(-2)[0].match(i),l=b&&b[0]),q=q||!!l}function k(a){var b,c,h,i=a.getAttribute("src"),k="";g.test(i)&&(l=l||a.getAttribute(n+"theme")||m.theme,l=l.toLowerCase(),f.test(i)?(b=e,k=a.getAttribute(n+"profile")||i.split("/").slice(-3)[0],c="/"+k+"/theme/"+l,h="/"+k+"/js"):(b=d,c="/latest/themes/"+l,h="/latest/js"),m.rootDir=a.getAttribute(n+"root")||i.substring(0,i.lastIndexOf(b)-h.length-1)||m.rootDir,m.themePath=m.rootDir+c,m.jsPath=m.rootDir+h,m.version=a.getAttribute(n+"version")||m.version,m.theme=l,m.themeLoaded=q,m.frameworkName=b,m.minified=i.search(j)>-1,m.profile=k)}var l,m=this,n=m.dataPrefix,o=c.call(a.querySelectorAll("script[src]")),p=c.call(a.styleSheets),q=!1;p.forEach(b),o.forEach(k)},b.frameworkData=k,b.frameworkData.getParams()}(a.document,d),function(a,b){function e(a,b,c,d){var e=f.call(a).map(b);c[d].apply(c,e)}var f=[].slice,g={},h=d.jqm.jQuery,i=d.util,j=i.zoom,k=d.event,l=i.load,m=i.object,n=function(a){return"object"==typeof a&&a.selector&&a.get?1===a.length?a.get(0):a.toArray():a},o=d.engine,p=o.eventType,q=function(){var f,p,q,r,s,t=Object.keys(o),u=/:jqmData\(([^)]*)\)/g,v=":jqmData";if(h){for(f=0,p=t.length;p>f;++f)q=t[f],h[q]=e.bind(null,arguments,n,o,q);m.merge(h.mobile,{ns:"",nsNormalize:function(a){return a?(g[a]=g[a]||h.camelCase(h.mobile.ns+a),g[a]):null},activeBtnClass:d.widget.core.Button.classes.uiBtnActive,activePageClass:d.widget.core.Page.classes.uiPageActive,focusClass:d.widget.core.Button.classes.uiFocus,version:"1.2.0",getAttrFixed:function(a,b){var d=a.getAttribute(b);return"true"===d?!0:"false"===d?!1:null===d?c:d},path:d.util.path,back:a.history.back.bind(a.history),silentScroll:function(d){d===c&&(d=h.mobile.defaultHomeScroll),setTimeout(function(){a.scrollTo(0,d),k.trigger(b,"silentscroll",{x:0,y:d})},20),setTimeout(function(){},150)},nsNormalizeDict:g,closestPageData:function(a){var b=d.util.selectors.getClosestBySelector(h(a)[0],"[data-"+(h.mobile.ns||"")+"role='page'], [data-"+(h.mobile.ns||"")+"role='dialog']");return d.engine.instanceWidget(b,"Page")},enhanceable:function(a){return this.haveParents(a,"enhance")},hijackable:function(a){return this.haveParents(a,"ajax")},haveParents:function(a,b){var c,d,e,f,g,i=0,j=null;if(!h.mobile.ignoreContentEnabled)return a;for(i=a.length,j=h(),f=0;i>f;f++){for(d=a.eq(f),e=!1,c=a[f];c;){if(g=c.getAttribute?c.getAttribute("data-"+h.mobile.ns+b):"","false"===g){e=!0;break}c=c.parentNode}e||(j=j.add(d))}return j},getScreenHeight:function(){return a.innerHeight},widget:function(){return null},media:d.support.media,browser:{},gradeA:function(){return null},zoom:j,popupwindow:{}}),h.mobile.buttonMarkup=h.mobile.buttonMarkup||d.widget.mobile.Button,h.mobile.$window=h(a),h.mobile.$document=h(b),h.mobile.keyCode={ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND:91,COMMAND_LEFT:91,COMMAND_RIGHT:93,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,MENU:93,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38,WINDOWS:91},h.tizen=h.tizen||{},s=h.tizen,s.globalize=d.util.globalize,h.mobile.tizen=m.merge(h.mobile.tizen,{_widgetPrototypes:{},disableSelection:function(){d.warn("Function $.mobile.tizen.disableSelection is deprecated")},enableSelection:function(){d.warn("Function $.mobile.tizen.enableSelection is deprecated")},enableContextMenu:function(){d.warn("Function $.mobile.tizen.enableContextMenu is deprecated")},disableContextMenu:function(){d.warn("Function $.mobile.tizen.disableContextMenu is deprecated")}}),h.mobile.tizen.loadPrototype=null,h.fn.jqmData=function(a,b){var d;return a!==c&&(a&&(a=h.mobile.nsNormalize(a)),d=arguments.length<2||b===c?this.data(a):this.data(a,b)),d},h.fn.jqmRemoveData=function(a){return a!==c&&(a&&(a=h.mobile.nsNormalize(a)),this.removeData(a)),this},h.jqmData=function(a,b,c){var d=h(a).jqmData(b,c);return c||d},h.jqmRemoveData=function(a,b){h(a).jqmRemoveData(b)},h.fn.removeWithDependents=function(){h.removeWithDependents(this)},h.removeWithDependents=function(a){var b=h(a);(b.jqmData("dependents")||h()).remove(),b.remove()},h.fn.addDependents=function(a){h.addDependents(h(this),a)},h.addDependents=function(a,b){var c=h(a).jqmData("dependents")||h();h(a).jqmData("dependents",h.merge(c,b))},h.fn.getEncodedText=function(){return h("<div/>").text(h(this).text()).html()},h.fn.jqmEnhanceable=function(){return h.mobile.enhanceable(this)},h.fn.jqmHijackable=function(){return h.mobile.hijackable(this)},r=h.find,h.find=function(a,b,c,d){return a.indexOf(v)>-1&&(a=a.replace(u,"[data-"+(h.mobile.ns||"")+"$1]")),r.call(this,a,b,c,d)},h.extend(h.find,r),h.find.matches=function(a,b){return h.find(a,null,null,b)},h.find.matchesSelector=function(a,b){return h.find(b,null,null,[a]).length>0},h(b).bind("create",d.engine._createEventHandler),h(b).bind("pagecreate",function(a){var b,c=a.originalEvent||a,e=c.detail instanceof d.widget.core.Page;e||(b=o.instanceWidget(c.target,"Page"),b.refresh(),d.engine._createEventHandler(c))}),h(b).bind("activePopup",function(a){h.mobile.popup.active=h.mobile.popupwindow.active=a.originalEvent.detail}),h.tizen.frameworkData=d.frameworkData,h.tizen.__tizen__=s,s.libFileName="tizen-web-ui-fw(.custom|.full)?(.min)?.js",s.log={debug:function(a){h.tizen.frameworkData.debug&&d.log(a)},warn:d.warn.bind(d),error:d.error.bind(d),alert:a.alert.bind(a)},s.util={loadScriptSync:l.scriptSync,isMobileBrowser:function(){d.warn("Function $.tizen.__tizen__.util.isMobileBrowser is deprecated")}},s.css={cacheBust:l.cacheBust,addElementToHead:l.addElementToHead.bind(l),makeLink:l.makeLink.bind(l),load:l.themeCSS},s.loadTheme=function(){d.warn("Function $.tizen.__tizen__.loadTheme is deprecated")},s.setLocale=i.globalize.setLocale,s.setViewport=function(){d.warn("Function $.tizen.__tizen__.setViewport is deprecated")},s.scaleBaseFontSize=function(){d.warn("Function $.tizen.__tizen__.scaleBaseFontSize is deprecated")},s.setScaling=function(){d.warn("Function $.tizen.__tizen__.setScaling is deprecated")},s.getParams=d.frameworkData.getParams.bind(d.frameworkData),d.setConfig("enableHWKeyHandler",h.mobile.tizen.enableHWKeyHandler)}},r=function(){b.removeEventListener(p.INIT,q,!1),b.removeEventListener(p.DESTROY,r,!1)};b.addEventListener(p.INIT,q,!1),b.addEventListener(p.DESTROY,r,!1)}(a,a.document),function(a,b,d){function e(a,b,c,d){var e,f,g,h;for(e=0,f=d.length;f>e;++e)h=d[e],(isNaN(c[h])===!1||isNaN(a[h])===!1)&&(g=Object.getOwnPropertyDescriptor(b,h),"detail"===h||g&&!g.writable||(b[h]=c[h]||a[h]))}function f(a,b,c){var d,f,g,h,i=new CustomEvent(a,{bubbles:b.bubbles,cancelable:b.cancelable,detail:b.detail}),j=b.type,k=0;if(e(b,i,c,x),i._originalEvent=b,-1!==j.indexOf("touch")&&(j=b.touches,d=b.changedTouches,f=j&&j.length?j[0]:d&&d.length?d[0]:null))for(g=D.length;g>k;k++)h=D[k],i[h]=f[h];return i}function g(a,b,c){return b.target.dispatchEvent(f(a,b,c||{}))}function h(a){g("vmousedown",a)}function i(a){var b=a.clientX,c=a.clientY;return b||c?null:t(a)}function j(a){g("vclick",a,i(a))}function k(a){g("vmouseup",a)}function l(a){g("vmousemove",a)}function m(a){g("vmouseover",a)}function n(a){g("vmouseout",a)}function o(a){var b,c=a.touches;c&&1===c.length&&(y=!1,b=c[0],B=b.pageX||b.clientX||0,C=b.pageY||b.clientX||0,g("vmousedown",a))}function p(a){var b=a.touches;b&&0===b.length&&(g("vmouseup",a),g("vmouseout",a),A=null)}function q(a){var d,e,f,h=a.touches&&a.touches[0],i=y,j=w.eventDistanceThreshold;return h===c||h.identifier>0?void a.stopPropagation():(e=h.pageX||h.clientX||0,f=h.pageY||h.clientY||0,y=y||Math.abs(e-B)>j||Math.abs(f-C)>j,d=b.elementFromPoint(e,f),d&&A!==d&&(A=d,g("vmouseover",a)),y&&!i&&(g("vmousecancel",a),A=null),void g("vmousemove",a))}function r(a){y||g("vmousecancel",a),y=!0}function s(a){g("vmousecancel",a),A=null}function t(a){var b=a.target&&a.target.getBoundingClientRect(),c={};return b&&(c={clientX:b.left+b.width/2,clientY:b.top+b.height/2,which:1}),c}function u(a){var b;a.keyCode===E.enter&&(b=t(a),g("vmouseup",a,b),g("vclick",a,b))}function v(a){a.keyCode===E.enter&&g("vmousedown",a,t(a))}var w,x,y,z=a.hasOwnProperty("ontouchstart"),A=null,B=0,C=0,D=["clientX","clientY","pageX","pageY","screenX","screenY"],E={enter:13};x=["currentTarget","detail","button","buttons","clientX","clientY","offsetX","offsetY","pageX","pageY","screenX","screenY","toElement","which"],w={eventDistanceThreshold:10,touchSupport:z},w.bindCommonEvents=function(){b.addEventListener("keyup",u,!0),b.addEventListener("keydown",v,!0),b.addEventListener("scroll",r,!0),b.addEventListener("click",j,!0)},w.bindTouch=function(){b.addEventListener("touchstart",o,!0),b.addEventListener("touchend",p,!0),b.addEventListener("touchmove",q,!0),b.addEventListener("touchcancel",s,!0)},w.bindMouse=function(){b.addEventListener("mousedown",h,!0),b.addEventListener("mouseup",k,!0),b.addEventListener("mousemove",l,!0),b.addEventListener("mouseover",m,!0),b.addEventListener("mouseout",n,!0)},w.unbindTouch=function(){b.removeEventListener("touchstart",o,!0),b.removeEventListener("touchend",p,!0),b.removeEventListener("touchmove",q,!0),b.removeEventListener("touchcancel",s,!0),b.removeEventListener("click",j,!0)},w.unbindMouse=function(){b.removeEventListener("mousedown",h,!0),b.removeEventListener("mouseup",k,!0),b.removeEventListener("mousemove",l,!0),b.removeEventListener("mouseover",m,!0),b.removeEventListener("mouseout",n,!0),b.removeEventListener("keyup",u,!0),b.removeEventListener("keydown",v,!0),b.removeEventListener("scroll",r,!0),b.removeEventListener("click",j,!0)},d.event.vmouse=w,z?w.bindTouch():w.bindMouse(),w.bindCommonEvents()}(a,a.document,d),function(a,b,d){var e=d.event,f=d.engine.eventType,g={_window:a,supported:a.orientation!==c&&a.onorientationchange!==c,properties:["orientation"],_orientation:"portrait"},h=function(b){var c=g._window,d=c.innerWidth,f=c.innerHeight;c.screen&&(d=c.screen.availWidth,f=c.screen.availHeight),d>f?g._orientation="landscape":g._orientation="portrait",b||e.trigger(a,"orientationchange",{orientation:g._orientation})},i=function(){if(g._window.orientation)switch(g._window.orientation){case 90:case-90:g._orientation="portrait";break;default:g._orientation="landscape"}else h(!0)},j=function(b,c){b.matches?g._orientation="portrait":g._orientation="landscape",c||e.trigger(a,"orientationchange",{orientation:g._orientation})},k=null;g.getOrientation=function(){return g._orientation},g.trigger=function(a){e.trigger(a,"orientationchange",{orientation:g._orientation})},g.unbind=function(){a.removeEventListener("orientationchange",i,!1),b.removeEventListener("throttledresize",h,!0),b.removeEventListener(f.DESTROY,g.unbind,!1)},g.detect=function(){g.supported?(a.addEventListener("orientationchange",i,!1),i()):g._window.matchMedia?(k=g._window.matchMedia("(orientation: portrait)"),k.matches?g._orientation="portrait":g._orientation="landscape",k.addListener(j)):(b.addEventListener("throttledresize",h,!0),h())},b.addEventListener(f.DESTROY,g.unbind,!1),g.detect(),d.event.orientationchange=g}(a,a.document,d),function(a,b){var e,f,g=d.event,h=d.jqm.jQuery,i={CLICK:"click",SUBMIT:"submit",KEYUP:"keyup",TOUCHSTART:"touchstart",TOUCHEND:"touchend",VCLICK:"vclick",MOUSEDOWN:"mousedown",MOUSEUP:"mouseup",BEFOREROUTERINIT:"beforerouterinit",DESTROY:"taudestroy"},j=["touchstart","touchmove","touchend","tap","taphold","swipeleft","swiperight","scrollstart","scrollstop"],k={proxyEventTriggerMethod:function(a,b){h.fn[a]=function(){var a,c=this,d=c.length;for(a=0;d>a;a++)b(c.get(a))}},proxyTrigger:function(a,b){var c,d=this,f=d.length;for(i[a.toUpperCase()]||e.call(d,a,b),c=0;f>c;c++)g.trigger(d.get(c),a);return this},proxyDispatch:function(a){var b,c=a.originalEvent&&a.originalEvent.detail||a.detail;return b=[].slice.call(arguments),c&&b.push(c),f.apply(this,b)},copyEventProperties:function(b,c,d){h(b).on(c,function(c){var e,f;for(e=0;e<d.length;e++)f=d[e],c[f]||(b instanceof a.screen.constructor?c[f]=c.originalEvent.detail&&c.originalEvent.detail[f]||c.target[f]:c[f]=c.originalEvent.detail&&c.originalEvent.detail[f])})},init:function(){var d=function(a){return a.stopPropagation(),a.preventDefault(),!1},l=[i.TOUCHSTART,i.TOUCHEND,i.VCLICK,i.MOUSEDOWN,i.MOUSEUP,i.CLICK],m=l.length,n=b.body.parentNode;h&&(j.forEach(function(a){h.fn[a]=function(b){return b?this.bind(a,b):this.trigger(a)},h.attrFn&&(h.attrFn[a]=!0)}),k.copyEventProperties(a.screen,"orientationchange",g.orientationchange.properties),
+k.proxyEventTriggerMethod("orientationchange",g.orientationchange.trigger),e===c&&(e=h.fn.trigger,h.fn.trigger=k.proxyTrigger),f||(f=h.event.dispatch,h.event.dispatch=k.proxyDispatch),h.mobile=h.mobile||{},h.mobile.tizen=h.mobile.tizen||{},h.mobile.tizen.documentRelativeCoordsFromEvent=null,h.mobile.tizen.targetRelativeCoordsFromEvent=null,h.mobile.addEventBlocker=function(){var a;for(n.classList.add("ui-blocker"),a=0;m>a;a++)n.addEventListener(l[a],d,!0)},h.mobile.removeEventBlocker=function(){var a;for(n.classList.remove("ui-blocker"),a=0;m>a;a++)n.removeEventListener(l[a],d,!0)},h.mobile.tizen.documentRelativeCoordsFromEvent=g.documentRelativeCoordsFromEvent.bind(g),h.mobile.tizen.targetRelativeCoordsFromEvent=g.targetRelativeCoordsFromEvent.bind(g))},destroy:function(){b.removeEventListener(i.BEFOREROUTERINIT,k.init,!1),b.removeEventListener(i.DESTROY,k.destroy,!1)}};b.addEventListener(i.BEFOREROUTERINIT,k.init,!1),b.addEventListener(i.DESTROY,k.destroy,!1),d.jqm.event=k}(a,a.document),function(a,b,d){var e,f=d.util.object,g=d.util.selectors,h=d.util.DOM,i={},j={uiStateKey:"&ui-state",urlParseRE:/^(((([^:\/#\?]+:)?(?:(\/\/)((?:(([^:@\/#\?]+)(?:\:([^:@\/#\?]+))?)@)?(([^:\/#\?\]\[]+|\[[^\/\]@#?]+\])(?:\:([0-9]+))?))?)?)?((\/?(?:[^\/\?#]+\/+)*)([^\?#]*)))?(\?[^#]+)?)((#[^\?]*)(\?.*)?)?/,getLocation:function(b){var c=this.parseUrl(b||a.location.href),d=c.hash,e=c.hashSearch;return d="#"!==d||e?d:"",i=c,c.protocol+"//"+c.host+c.pathname+c.search+d+e},getDocumentUrl:function(a){return a?f.copy(j.documentUrl):j.documentUrl.href},parseLocation:function(){return this.parseUrl(this.getLocation())},parseUrl:function(a){var b;return"object"==typeof a?a:(b=j.urlParseRE.exec(a||"")||[],{href:b[0]||"",hrefNoHash:b[1]||"",hrefNoSearch:b[2]||"",domain:b[3]||"",protocol:b[4]||"",doubleSlash:b[5]||"",authority:b[6]||"",username:b[8]||"",password:b[9]||"",host:b[10]||"",hostname:b[11]||"",port:b[12]||"",pathname:b[13]||"",directory:b[14]||"",filename:b[15]||"",search:b[16]||"",hash:b[18]||"",hashSearch:b[19]||""})},makePathAbsolute:function(a,b){var c,d,e,f;if(a&&"/"===a.charAt(0))return a;for(a=a||"",b=b?b.replace(/^\/|(\/[^\/]*|[^\/]+)$/g,""):"",c=b?b.split("/"):[],d=a.split("/"),f=0;f<d.length;f++)switch(e=d[f]){case".":break;case"..":c.length&&c.pop();break;default:c.push(e)}return"/"+c.join("/")},isSameDomain:function(a,b){return j.parseUrl(a).domain===j.parseUrl(b).domain},isRelativeUrl:function(a){return""===j.parseUrl(a).protocol},isAbsoluteUrl:function(a){return""!==j.parseUrl(a).protocol},makeUrlAbsolute:function(a,b){var c,d,e,f,g,h,i,k,l;return j.isRelativeUrl(a)?(c=j.parseUrl(a),d=j.parseUrl(b),e=c.protocol||d.protocol,f=c.protocol?c.doubleSlash:c.doubleSlash||d.doubleSlash,g=c.authority||d.authority,h=""!==c.pathname,i=j.makePathAbsolute(c.pathname||d.filename,d.pathname),k=c.search||!h&&d.search||"",l=c.hash,e+f+g+i+k+l):a},addSearchParams:function(a,b){var c,d=j.parseUrl(a),e="object"==typeof b?this.getAsURIParameters(b):b,f=d.hash;return j.isEmbedded(a)&&e.length>0?(c=d.hashSearch||"?",d.hrefNoHash+(f||"")+c+("?"===c.charAt(c.length-1)?"":"&")+e):(c=d.search||"?",d.hrefNoSearch+c+("?"===c.charAt(c.length-1)?"":"&")+e+(f||""))},addHashSearchParams:function(a,b){var c=j.parseUrl(a),d="object"==typeof b?j.getAsURIParameters(b):b,e=c.hash,f=e?e.indexOf("?")<0?e+"?":e+"&":"#?";return c.hrefNoHash+f+("?"===f.charAt(f.length-1)?"":"&")+d},convertUrlToDataUrl:function(b,c,d){var e=j.parseUrl(b);return j.isEmbeddedPage(e,!!c)?j.getFilePath(e.hash+e.hashSearch,c):(d=d||j.documentBase,j.isSameDomain(e,d)?e.hrefNoHash.replace(d.domain,""):a.decodeURIComponent(b))},get:function(a){return a===c&&(a=this.parseLocation().hash),this.stripHash(a).replace(/[^\/]*\.[^\/*]+$/,"")},isPath:function(a){return/\//.test(a)},clean:function(a,b){return a.replace(b.domain,"")},stripHash:function(a){return a.replace(/^#/,"")},stripQueryParams:function(a){return a.replace(/\?.*$/,"")},isHashValid:function(a){return/^#[^#]+$/.test(a)},isExternal:function(a,b){var c=j.parseUrl(a);return c.protocol&&c.domain!==b.domain?!0:!1},hasProtocol:function(a){return/^(:?\w+:)/.test(a)},isEmbedded:function(a){var b=j.parseUrl(a);return""!==b.protocol?!j.isPath(b.hash)&&!!b.hash&&b.hrefNoHash===j.parseLocation().hrefNoHash:/\?.*#|^#/.test(b.href)},squash:function(a,b){var c,d,e,f,g=this.isPath(a),h=this.parseUrl(a),i=h.hash,k="";return b=b||(j.isPath(a)?j.getLocation():j.getDocumentUrl()),d=g?j.stripHash(a):a,d=j.isPath(h.hash)?j.stripHash(h.hash):d,f=d.indexOf(this.uiStateKey),f>-1&&(k=d.slice(f),d=d.slice(0,f)),c=j.makeUrlAbsolute(d,b),e=this.parseUrl(c).search,g?((j.isPath(i)||0===i.replace("#","").indexOf(this.uiStateKey))&&(i=""),k&&-1===i.indexOf(this.uiStateKey)&&(i+=k),-1===i.indexOf("#")&&""!==i&&(i="#"+i),c=j.parseUrl(c),c=c.protocol+"//"+c.host+c.pathname+e+i):c+=c.indexOf("#")>-1?k:"#"+k,c},isPreservableHash:function(a){return 0===a.replace("#","").indexOf(this.uiStateKey)},hashToSelector:function(a){var b="#"===a.substring(0,1);return b&&(a=a.substring(1)),(b?"#":"")+a.replace(new RegExp("([!\"#$%&'()*+,./:;<=>?@[\\]^`{|}~])","g"),"\\$1")},isFirstPageUrl:function(a,b,d,e,f){var g,h,i,k;return d=d===c?j.documentBase:d,e=e===c?j.documentBaseDiffers:e,f=f===c?j.documentUrl:f,g=j.parseUrl(j.makeUrlAbsolute(a,d)),h=g.hrefNoHash===f.hrefNoHash||e&&g.hrefNoHash===d.hrefNoHash,i=b&&b.id||!1,k=g.hash,h&&(!k||"#"===k||i&&k.replace(/^#/,"")===i)},isPermittedCrossDomainRequest:function(a,b){return d.getConfig("allowCrossDomainPages",!1)&&"file:"===a.protocol&&-1!==b.search(/^https?:/)},getAsURIParameters:function(a){var b,c="";for(b in a)a.hasOwnProperty(b)&&(c+=encodeURIComponent(b)+"="+encodeURIComponent(a[b])+"&");return c.substring(0,c.length-1)},documentUrl:null,documentBaseDiffers:!1,set:function(a){i.hash=a},getFilePath:function(a,b){var c="&"+d.getConfig("subPageUrlKey","");return a&&a.split(c)[0].split(b)[0]},cleanHash:function(a,b){return j.stripHash(a.replace(/\?.*$/,"").replace(b,""))},isEmbeddedPage:function(a,b){var c=j.parseUrl(a);return""!==c.protocol?c.hash&&(b?c.hrefNoHash===j.documentUrl.hrefNoHash:c.hrefNoHash===j.parseLocation().hrefNoHash):/^#/.test(c.href)}};j.documentUrl=j.parseLocation(),e=b.querySelector("base"),j.documentBase=e?j.parseUrl(j.makeUrlAbsolute(e.getAttribute("href"),j.documentUrl.href)):j.documentUrl,j.documentBaseDiffers=j.documentUrl.hrefNoHash!==j.documentBase.hrefNoHash,j.getDocumentBase=function(a){return a?f.copy(j.documentBase):j.documentBase.href},j.getClosestBaseUrl=function(a,b){var c=h.getNSData(g.getClosestBySelector(a,b),"url"),e=j.documentBase.hrefNoHash;return d.getConfig("dynamicBaseEnabled",!0)&&c&&j.isPath(c)||(c=e),j.makeUrlAbsolute(c,e)},d.util.path=j}(a,a.document,d),function(a){function b(a){for(var b,c=[],d=0,e=0,g="";null!=(b=o.exec(a));){var h=b[0],i=b[1],j=b.index;if(g+=a.slice(e,j),e=j+h.length,i)g+=i[1];else{g&&(c.push(g),g="");var k=b[2],l=b[3],m=b[4],n=b[5],p=b[6],q="+"===p||"*"===p,r="?"===p||"*"===p,s=k||"/";c.push({name:l||d++,prefix:k||"",delimiter:s,optional:r,repeat:q,pattern:f(m||n||"[^"+s+"]+?")})}}return e<a.length&&(g+=a.substr(e)),g&&c.push(g),c}function c(a){return d(b(a))}function d(a){for(var b=new Array(a.length),c=0;c<a.length;c++)"object"==typeof a[c]&&(b[c]=new RegExp("^"+a[c].pattern+"$"));return function(c){var d="";c=c||{};for(var e=0;e<a.length;e++){var f=a[e];if("string"!=typeof f){var g=c[f.name];if(null==g){if(f.optional)continue;throw new TypeError('Expected "'+f.name+'" to be defined')}if(n(g)){if(!f.repeat)throw new TypeError('Expected "'+f.name+'" to not repeat');if(0===g.length){if(f.optional)continue;throw new TypeError('Expected "'+f.name+'" to not be empty')}for(var h=0;h<g.length;h++){if(!b[e].test(g[h]))throw new TypeError('Expected all "'+f.name+'" to match "'+f.pattern+'"');d+=(0===h?f.prefix:f.delimiter)+encodeURIComponent(g[h])}}else{if(!b[e].test(g))throw new TypeError('Expected "'+f.name+'" to match "'+f.pattern+'"');d+=f.prefix+encodeURIComponent(g)}}else d+=f}return d}}function e(a){return a.replace(/([.+*?=^!:${}()[\]|\/])/g,"\\$1")}function f(a){return a.replace(/([=!:$\/()])/g,"\\$1")}function g(a,b){return a.keys=b,a}function h(a){return a.sensitive?"":"i"}function i(a,b){var c=a.source.match(/\((?!\?)/g);if(c)for(var d=0;d<c.length;d++)b.push({name:d,prefix:null,delimiter:null,optional:!1,repeat:!1,pattern:null});return g(a,b)}function j(a,b,c){for(var d=[],e=0;e<a.length;e++)d.push(m(a[e],b,c).source);var f=new RegExp("(?:"+d.join("|")+")",h(c));return g(f,b)}function k(a,c,d){for(var e=b(a),f=l(e,d),h=0;h<e.length;h++)"string"!=typeof e[h]&&c.push(e[h]);return g(f,c)}function l(a,b){b=b||{};for(var c=b.strict,d=b.end!==!1,f="",g=a[a.length-1],i="string"==typeof g&&/\/$/.test(g),j=0;j<a.length;j++){var k=a[j];if("string"==typeof k)f+=e(k);else{var l=e(k.prefix),m=k.pattern;k.repeat&&(m+="(?:"+l+m+")*"),m=k.optional?l?"(?:"+l+"("+m+"))?":"("+m+")?":l+"("+m+")",f+=m}}return c||(f=(i?f.slice(0,-2):f)+"(?:\\/(?=$))?"),f+=d?"$":c&&i?"":"(?=\\/|$)",new RegExp("^"+f,h(b))}function m(a,b,c){return b=b||[],n(b)?c||(c={}):(c=b,b=[]),a instanceof RegExp?i(a,b,c):n(a)?j(a,b,c):k(a,b,c)}var n=Array.isArray;m.parse=b,m.compile=c,m.tokensToFunction=d,m.tokensToRegExp=l;var o=new RegExp(["(\\\\.)","([\\/.])?(?:\\:(\\w+)(?:\\(((?:\\\\.|[^)])*)\\))?|\\(((?:\\\\.|[^)])*)\\))([+*?])?"].join("|"),"g");a.pathToRegexp=m}(a),function(a){d.util.pathToRegexp=a.pathToRegexp}(a),function(){d.router=d.router||{}}(),function(){d.router.route=d.router.route||{}}(),function(a){var c,e=d.util.object,f=0,g=0,h=a.history,i={activeState:null,startURL:null,replace:function(a,b,d){var j=e.merge({},a,{uid:c?g:++f,stateUrl:d,stateTitle:b});!this.startURL&&d&&d.length&&(this.startURL=d),h[c?"replaceState":"pushState"](j,b,d),i.setActive(j)},back:function(){var c;this.startURL!==a.location.href?h.back():(c=new CustomEvent("tauback",{bubbles:!0,cancelable:!0}),b.body.dispatchEvent(c))},setActive:function(a){return a&&(i.activeState=a,g=a.uid,a.volatileRecord)?void i.enableVolatileMode():void i.disableVolatileMode()},getDirection:function(a){return a?a.uid<=g?"back":"forward":"back"},enableVolatileMode:function(){c=!0},disableVolatileMode:function(){c=!1}};d.history=i}(a),function(a,b){function c(a){return o.trigger(b,t,a,!0,!0)}function e(a){var b,d,e,f,g=a.target,h=p.getClosestBySelector(g,l),i=!0;return h&&1===a.which&&(b=h.getAttribute("href"),f=h.getAttribute("rel"),d="external"===f||h.hasAttribute("target"),d||(e=s.getData(h),e.event=a,f&&!e.rel?e.rel=f:f=e.rel,b&&!e.href&&(e.href=b),"popup"!==f||e.link||(e.link=h),n.disableVolatileMode(),"back"===f&&(o.preventDefault(a),i=!1),c(e)||(o.preventDefault(a),i=!1))),i}function f(a){var d,e=a.state,f=n.activeState,g={},i=!0,j=!1;h.locked?(n.disableVolatileMode(),f&&n.replace(f,f.stateTitle,f.stateUrl)):e&&(d="back"===n.getDirection(e),g=q.merge(g,e,{reverse:d,transition:d?f&&f.transition||"none":e.transition,fromHashChange:!0}),f&&(i=o.trigger(b,u,q.merge(g,{url:r.getLocation(),stateUrl:f.stateUrl}),!0,!0),j=i),e.url=r.getLocation(),n.setActive(e),j||(g.event=a,c(g)))}function g(a){var b=a.newURL;b&&n.activeState.url!==b&&c({href:b,fromHashChange:!0,event:a})}var h=Object.create(null),i="popstate",j="hashchange",k="vclick",l="a,tau-button",m=d.util,n=d.history,o=d.event,p=m.selectors,q=m.object,r=m.path,s=m.DOM,t="historystatechange",u="historyhashchange",v="historyenabled",w="historydisabled",x={STATECHANGE:t,HASHCHANGE:u,ENABLED:v,DISABLED:w};h.events=x,h.enabled=!0,h.locked=!1,h.lock=function(){this.locked=!0},h.unlock=function(){this.locked=!1},h.enable=function(){b.addEventListener(k,e,!1),a.addEventListener(i,f,!1),a.addEventListener(j,g,!1),n.enableVolatileMode(),this.enabled=!0,o.trigger(b,v,this)},h.disable=function(){b.removeEventListener(k,e,!1),a.removeEventListener(i,f,!1),a.removeEventListener(j,g,!1),n.disableVolatileMode(),this.enabled=!1,o.trigger(b,w,this)},d.history.manager=h}(a,a.document),function(a,b){b.widget.core=b.widget.core||{}}(a.document,d),function(b,c){function d(a,b,c,d){a&&(a.onHide(),c._removeExternalPage(a,d)),b.onShow(),c.trigger(k.PAGE_CHANGE)}var e=c.widget.BaseWidget,f=c.util,g=f.DOM,h=c.engine,i={pageContainer:"ui-page-container",uiViewportTransitioning:"ui-viewport-transitioning",out:"out","in":"in",reverse:"reverse",uiPreIn:"ui-pre-in",uiBuild:"ui-page-build"},j=function(){this.activePage=null,this.inTransition=!1},k={PAGE_BEFORE_CHANGE:"pagebeforechange",PAGE_CHANGE:"pagechange",PAGE_REMOVE:"pageremove"},l="animationend",m="webkitAnimationEnd",n="mozAnimationEnd",o="msAnimationEnd",p="oAnimationEnd",q=[l,m,n,o,p],r=new e;j.events=k,j.classes=i,r._build=function(a){return a.classList.add(i.pageContainer),a},r.change=function(a,b){var c,e=this,f=e.getActivePage(),g=b||{};e._options=g,g.widget=g.widget||"Page",f&&f.element===a||(a.parentNode!==e.element&&(a=e._include(a)),e.trigger(k.PAGE_BEFORE_CHANGE),a.classList.add(i.uiBuild),delete b.url,c=h.instanceWidget(a,g.widget,b),c.layout(),(c.option("autoBuildWidgets")||a.querySelector(".ui-i3d")||a.querySelector(".ui-coverflow"))&&h.createWidgets(a,b),f&&f.onBeforeHide(),c.onBeforeShow(),a.classList.remove(i.uiBuild),g===e._options&&(g.deferred={resolve:d},e._transition(c,f,g)))},r._transition=function(b,c,d){var e,f,g=this,h=g.element,j=h.classList,k=c&&d.transition?d.transition:"none",l=d.deferred,m=[i["in"],i.out,i.uiPreIn,k];d.reverse&&m.push(i.reverse),g.inTransition=!0,j.add(i.uiViewportTransitioning),e=l.resolve,l.resolve=function(){var a=c&&c.element.classList,f=b.element.classList;g._setActivePage(b),g._clearTransitionClasses(m,a,f),e(c,b,g,d)},"none"!==k?(f=function(){b.off(q,f,!1),l.resolve()},b.on(q,f,!1),g._appendTransitionClasses(c,b,k,d.reverse)):a.setTimeout(l.resolve,0)},r._appendTransitionClasses=function(a,b,c,d){var e;a&&(e=a.element.classList,e.add(c,i.out),d&&e.add(i.reverse)),e=b.element.classList,e.add(c,i["in"],i.uiPreIn),d&&e.add(i.reverse)},r._clearTransitionClasses=function(a,b,c){var d=this,e=d.element,f=e.classList;f.remove(i.uiViewportTransitioning),d.inTransition=!1,a.forEach(function(a){c.remove(a)}),b&&a.forEach(function(a){b.remove(a)})},r._include=function(a){var c=this.element;return a.parentNode&&a.ownerDocument===b||(a=f.importEvaluateAndAppendElement(a,c)),a},r._setActivePage=function(a){var b=this;b.activePage&&b.activePage.setActive(!1),b.activePage=a,a.setActive(!0)},r.getActivePage=function(){return this.activePage},r._removeExternalPage=function(a,b){var c=a.element;b&&b.reverse&&g.hasNSData(c,"external")&&c.parentNode&&(a.destroy(),c.parentNode.removeChild(c),this.trigger(k.PAGE_REMOVE))},j.prototype=r,c.widget.core.PageContainer=j,h.defineWidget("pagecontainer","",["change","getActivePage"],j,"core")}(a.document,d),function(b,d){function e(){return b.querySelector(":focus")||b.activeElement}function f(a){return a===Y.left||a===Y.right||a===Y.up||a===Y.down||a===Y.enter||a===Y.escape}function g(b,c){var d=[];return b?(d=S.call(b.querySelectorAll(V)),c?d.filter(function(b){return b.offsetWidth&&"hidden"!==a.getComputedStyle(b).visibility}):d):[]}function h(a){return a.element}function i(){var a=aa.length;V="",L.forEach(aa,function(b,c){V+=b.value,b.includeDisabled||(V+=_),a-1>c&&(V+=",")})}function j(a,b){var c=b instanceof HTMLElement?b.getBoundingClientRect():b,d={x:a.width/2+a.left,y:a.height/2+a.top},e={x:c.width/2+c.left,y:c.height/2+c.top},f=d.y-e.y,g=d.x-e.x;return Math.sqrt(f*f+g*g)}function k(a,b,c){var d,e,f,g,h=!1,i=b instanceof HTMLElement?b.getBoundingClientRect():b;if("down"===c||"up"===c)d=i.left,e=i.left+i.width,f=a.left,g=a.left+a.width;else{if("left"!==c&&"right"!==c)return h;d=i.top,e=i.top+i.height,f=a.top,g=a.top+a.height}return h=d>f&&g>d||e>f&&g>e||f>=d&&e>=g}function l(a,b){var c=b instanceof HTMLElement?b.getBoundingClientRect():b,d={x:a.width/2+a.left,y:a.height/2+a.top},e={x:c.width/2+c.left,y:c.height/2+c.top},f=d.y-e.y,g=d.x-e.x,h=180*O(-f,g)/Q;return h}function m(a,b){return b=b||0,P(a-180)<b||P(a+180)<b?$.left:P(a-90)<b?$.up:P(a)<b?$.right:P(a+90)<b?$.down:""}function n(a,b){return a===b?0:b>a?-1:1}function o(a,b,c){return c===$.right&&parseInt(a.right)<=parseInt(b.left)?c:c===$.left&&parseInt(b.right)<=parseInt(a.left)?c:c===$.down&&parseInt(a.bottom)<=parseInt(b.top)?c:c===$.up&&parseInt(a.top)>=parseInt(b.bottom)?c:b?m(l(b,a),5):""}function p(a,b){var c=a.left-b.left,d=a.top-b.top;return 0|R(c*c+d*d)}function q(a,b){var c={top:b.top-(a.top+a.height)+0,bottom:a.top-b.top-b.height,right:a.left-b.left-b.width,left:b.left-(a.left+a.width)};return c.leftRest=c.left+a.width,c.rightRest=c.right+a.width,c.topRest=c.top+a.height,c.bottomRest=c.bottom+a.height,c}function r(a,b){return a.distanceByCenter===b.distanceByCenter?0:a.distanceByCenter<b.distanceByCenter?-1:1}function s(a,b){return a.distanceByDirection.distance===b.distanceByDirection.distance?r(a,b):a.distanceByDirection.distance<b.distanceByDirection.distance?-1:1}function t(a,b){return a.inSideDistanceLimit&&b.inSideDistanceLimit?s(a,b):a.inSideDistanceLimit||b.inSideDistanceLimit?a.inSideDistanceLimit&&!b.inSideDistanceLimit?-1:1:r(a,b)}function u(a,b){return a.inLine&&b.inLine||!a.inLine&&!b.inLine?t(a,b):a.inLine&&!b.inLine?-1:1}function v(a,b){switch(b){case"left":return{distance:a.left,distanceRest:a.leftRest};case"right":return{distance:a.right,distanceRest:a.rightRest};case"up":return{distance:a.top,distanceRest:a.topRest};case"down":return{distance:a.bottom,distanceRest:a.bottomRest}}return null}function w(a,c,d){var f,i,m,r=d.direction,s=c||e(),t=[],w=s.getBoundingClientRect(),x=[],y=null,A=null,B={},C=0,D=0;if(i=s&&z(s,r,a))return[i];if(f=g(a,!0),s&&s!==b.body){for(C=0,D=f.length;D>C;++C)y=f[C],A=y.getBoundingClientRect(),B=q(A,w),m=v(B,r),x.push({element:y,angle:l(A,w),direction:o(w,A,r),distance:p(w,A),distanceByDirection:m,distanceByCenter:j(A,w),inLine:k(A,w,r),inSideDistanceLimit:Math.abs(m.distance)<T});return x=x.filter(function(a){return a.distanceByDirection.distanceRest>0}),x=x.filter(function(b){return 0===b.distance?r===$.down?!!(s.compareDocumentPosition(typeof b===a?b:b.element)&Node.DOCUMENT_POSITION_CONTAINED_BY):r===$.up?!!(s.compareDocumentPosition(typeof b===a?b:b.element)&Node.DOCUMENT_POSITION_PRECEDING):!1:b.direction===r}),x=x.sort(u).map(h)}return t=L.map(f,function(a){var b=a.getBoundingClientRect();return{offset:b,element:a,width:a.offsetWidth,height:a.offsetHeight}}),L.map(t.sort(function(a,b){return a.offset.top===b.offset.top?n(a.offset.left,b.offset.left):n(a.offset.top,b.offset.top)}),h)}function x(a){var b,c,d;a=a||{},b=a.current||Z||e(),b&&(d=I.getBinding(b),d?d.blur(a):(a.element=b,c=!M.trigger(b,"taublur",a),c||(b.classList.remove(X.focus),b.blur())),Z=null)}function y(a,b,c){var d,f,g,h=c.current||Z||e(),i=b&&N.getClosestBySelectorNS(b.parentNode,"focus-lock=true"),j=i&&I.getBinding(i)||null;return j&&j!==G?!1:(c=c||{},f=I.getBinding(b),f?(c.previousElement=h,d=f.focus(c),x(c)):b!==h&&(c.previousElement=h,b&&(c.element=b,g=!M.trigger(b,"taufocus",c),g||(b.classList.add(X.focus),b.focus())),x(c),d=!0),Z=b,a&&a._openActiveElement&&a._openActiveElement(b),d)}function z(a,c,d){var e=a.getAttribute("data-focus-"+c),f={selector:e,direction:c,currentElement:a,nextElement:null},g="true"===a.getAttribute("data-focus-container-context"),h=a.getAttribute("data-focus-context");if(e){if(M.trigger(a,"focusquery",f,!0,!0))return g&&(h&&(d=b.querySelector(h)),d)?d.parentNode.querySelector(e):a.parentNode.querySelector(e);if(f.nextElement)return f.nextElement}return null}function A(a,b){var c=null;return J.getNSData(b,"focus-lock")===!0&&(c=I.getBinding(b),c&&c!==G)?(c.saveKeyboardSupport(),c.enableKeyboardSupport(),c.blur(),C(a,b,{direction:H,key:Y.down}),!0):!1}function B(a,b){var c;return J.getNSData(b,"focus-lock")===!0||(b=N.getClosestBySelectorNS(b.parentNode,"focus-lock=true"))?(c=I.getBinding(b),c&&c===G?(c.disableKeyboardSupport(),c.restoreKeyboardSupport(),y(a,b,{direction:H,key:Y.down}),!0):!1):!1}function C(a,b,c){var e,f,g="",h=[],i=0,j=c.current,k=c.event,l=!1;switch(c.key){case Y.left:g=$.left;break;case Y.up:g=$.up;break;case Y.right:g=$.right;break;case Y.down:g=$.down;break;case Y.enter:if(j)return void(A(a,j)?k&&(k.preventDefault(),k.stopImmediatePropagation()):(f=d.engine.getBinding(j),f&&"function"==typeof f._actionEnter&&f._actionEnter(j)));break;case Y.escape:if(j)return void(B(a,j)?k&&(k.preventDefault(),k.stopImmediatePropagation()):(f=d.engine.getBinding(j),f&&"function"==typeof f._actionEscape&&f._actionEscape(j)));break;default:return}if(c.direction=c.direction||g,g&&(H=g),e=z(b,g),e||(h=w(b,j,c),e=h[i]),c._last)for(i=h.length-1,e=h[i];e&&!l;)l=y(a,e,c),e=h[--i];else if(i=0,e=h[i])for(;e&&!l;)l=y(a,e,c),e=h[++i];else M.trigger(J.isChildElementOf(j,b)?j:b,"taufocusborder",c)}function D(a,b,c,d){var e=b.offset,f=b.height,g=b.width,h=c.offsetHeight,i=c.offsetWidth;switch(d=d||c.getBoundingClientRect(),a){case"top":return d.left>=e.left+g||d.left+i<=e.left?!1:e.top<d.top;case"bottom":return d.left>=e.left+g||d.left+i<=e.left?!1:e.top>=d.bottom;case"left":return d.top>=e.top+f||d.top+h<=e.top?!1:e.left<d.left;case"right":return d.top>=e.top+f||d.top+h<=e.top?!1:e.left>=d.right}return!1}function E(a){return a.value}function F(a){return L.map(aa,E).indexOf(a)}var G,H,I=d.engine,J=d.util.DOM,K=d.util.object,L=d.util.array,M=d.event,N=d.util.selectors,O=Math.atan2,P=Math.abs,Q=Math.PI,R=Math.sqrt,S=[].slice,T=200,U={_supportKeyboard:!1},V="",W=function(){var a=this,b=a.options||{};K.merge(a,U),K.merge(b,{focusDirection:null,focusContext:null,focusContainerContext:!1,focusUp:null,focusDown:null,focusLeft:null,focusRight:null,focusLock:!1}),a.isKeyboardSupport=!0,""===V&&i(),a._onKeyupHandler=null,a._onClickHandler=null,a._onHWKeyHandler=null,a.keydownEventTimeStart=null,a.keydownEventRepeated=!1},X={focusDisabled:"ui-focus-disabled",focusEnabled:"ui-focus-enabled",focusDisabledByWidget:"ui-focus-disabled-by-widget",focus:"ui-focus"},Y={left:37,up:38,right:39,down:40,enter:13,tab:9,escape:27},Z=null,$={up:"up",down:"down",left:"left",right:"right"},_=":not(."+X.focusDisabled+"):not(."+d.widget.BaseWidget.classes.disable+")",aa=[{value:"a",includeDisabled:!1,count:1},{value:"."+X.focusEnabled,includeDisabled:!1,count:1},{value:"[tabindex]",includeDisabled:!1,count:1},{value:"[data-focus-lock=true]",includeDisabled:!1,count:1}],ba=[],ca=50;W.KEY_CODES=Y,W.classes=X,U.preventFocusOnElement=function(a){a.classList.add(X.focusDisabled)},U.disableFocusableElements=function(a){this.getFocusableElements(a).forEach(function(a){a.classList.add(X.focusDisabled),a.classList.add(X.focusDisabledByWidget)})},U.enableDisabledFocusableElements=function(a){var b;a&&(b=a.querySelectorAll("."+X.focusDisabledByWidget),S.call(b).forEach(function(a){a.classList.remove(X.focusDisabled),a.classList.remove(X.focusDisabledByWidget)}))},U.getActiveSelector=function(){return V},W.copyFocusAttributes=function(a,b){var c=a.options;J.setNSDataAttributes(b,{focusDirection:c.focusDirection,focusContext:c.focusContext,focusContainerContext:c.focusContainerContext,focusUp:c.focusUp,focusDown:c.focusDown,focusLeft:c.focusLeft,focusRight:c.focusRight},!0)},U.blurOnActiveElement=x,U._onKeyup=function(a){var b=G||this,c=d.getConfig("keyboardSupport",!1);c&&b._supportKeyboard&&(b.keydownEventRepeated||b._onShortPress(a),b.keydownEventTimeStart=null,b.keydownEventRepeated=!1)},U._onMouseMove=function(a){var c=this,e=b.elementFromPoint(a.pageX,a.pageY),f=d.getConfig("keyboardSupport",!1),g=null,h=Z,i=$.down;f&&c._supportKeyboard&&(g=N.getClosestBySelector(e,V),g!==h&&(i=m(h?l({left:a.pageX,top:a.pageY},h):l({left:a.pageX,top:a.pageY},{left:a.pageX-a.movementX,top:a.pageY-a.movementY})),y(c,g,{direction:i})))},U._onHWKey=function(a){var b=this,c=Z||e();return"back"===a.keyName&&c&&B(b,c)?(a.preventDefault(),a.stopImmediatePropagation(),!0):!1},U._unlockFocusSelf=function(){var a=Z||e();a&&B(this,a)},U._onLongPress=function(a){var b=this,c=d.getConfig("keyboardLongpressInterval",100),f={current:Z||e(),key:a.keyCode,duration:c-30>=ca?c-30:ca,_last:!0,_filterNeighbors:D};C(b,b.keyboardElement||b.element,f)},U._onShortPress=function(a){var b=this;d.getConfig("keyboardSupport",!1)&&C(b,b.keyboardElement||b.element,{current:Z||e(),event:a,key:a.keyCode})},U._onKeydown=function(a){var b,c=this,e=d.getConfig("keyboardLongpressInterval",1e3),g=d.getConfig("keyboardSupport",!1);g&&c._supportKeyboard&&f(a.keyCode)&&(a.preventDefault(),a.stopPropagation(),b=Date.now(),(!c.keydownEventTimeStart||b-c.keydownEventTimeStart>e)&&(c.keydownEventTimeStart&&(c._onLongPress(a),c.keydownEventRepeated=!0),c.keydownEventTimeStart=b))},U._bindEventKey=function(){var a=this;a._onKeyupHandler||(a._onKeyupHandler=a._onKeyup.bind(a),a._onKeydownHandler=a._onKeydown.bind(a),a._onHWKeyHandler=a._onHWKey.bind(a),b.addEventListener("keyup",a._onKeyupHandler,!1),b.addEventListener("keydown",a._onKeydownHandler,!1),b.addEventListener("tizenhwkey",a._onHWKeyHandler,!1))},U._bindEventMouse=function(){var a=this;a._onMouseMoveHandler||(a._onMouseMoveHandler=a._onMouseMove.bind(a),b.addEventListener("mousemove",a._onMouseMoveHandler,!1))},U._destroyEventKey=function(){this._onKeyupHandler&&(b.removeEventListener("keyup",this._onKeyupHandler,!1),b.removeEventListener("keydown",this._onKeydownHandler,!1),b.removeEventListener("tizenhwkey",this._onHWKeyHandler,!1),this._onKeyupHandler=null)},U._destroyEventMouse=function(){this._onClickHandler&&b.removeEventListener("mousemove",this._onMouseMoveHandler,!1)},W.blurAll=function(){var a=Z||e(),b=a&&I.getBinding(a);b?b.blur():a&&a.blur()},W.focusElement=function(a,b,d){var f,h,i;if(d=d||{},d.current===c&&(d.current=e()),b instanceof HTMLElement)if(a)for(f=g(a,!0),h=f.length,i=0;h>i;i++)f[i]===b&&b.focus();else b.focus();else"number"==typeof b?(f=g(a,!0),f[b]&&y(null,f[b],d)):"string"==typeof b&&Y[b]?(d.direction=Y[b],C(null,a,d)):(f=g(a,!0),f[0]&&y(null,f[0],d))},U.enableKeyboardSupport=function(){this._supportKeyboard=!0,G=this},U.restoreKeyboardSupport=function(){var a=ba.pop();a&&a.enableKeyboardSupport()},U.disableKeyboardSupport=function(){G=null,this._supportKeyboard=!1},U.saveKeyboardSupport=function(){G&&(ba.push(G),G.disableKeyboardSupport())},U.getFocusableElements=g,W.registerActiveSelector=function(a,b){var c,d=a.split(",");L.forEach(d,function(a){a=a.trim(),c=F(a),-1===c?aa.push({value:a,includeDisabled:b,count:1}):aa[c].count++}),i()},W.unregisterActiveSelector=function(a){var b,c=a.split(",");L.forEach(c,function(a){a=a.trim(),b=F(a),-1!==b&&(--aa[b].count,0===aa[b].count&&aa.splice(b,1))}),i()},d.widget.core.BaseKeyboardSupport=W}(a.document,d),function(b,d){function e(){var a=b.createElement("div");return a.classList.add("ui-pull-down-refresh"),a}var f=d.widget.BaseWidget,g=d.widget.core.PageContainer,h=d.util,i=h.DOM,j=h.selectors,k=d.engine,l=d.widget.core.BaseKeyboardSupport,m=d.util.array,n=function(a,b){var c=this;l.call(c),c._contentFillAfterResizeCallback=null,c._initialContentStyle={},c._lastScrollPosition=0,c._requestToShowGoToTopButton=null,c.options=b||{},c._contentStyleAttributes=["height","width","minHeight","marginTop","marginBottom"],c._ui={}},o={SHOW:"pageshow",HIDE:"pagehide",CREATE:"pagecreate",BEFORE_CREATE:"pagebeforecreate",BEFORE_SHOW:"pagebeforeshow",BEFORE_HIDE:"pagebeforehide"},p={uiPage:"ui-page",uiPageActive:"ui-page-active",uiSection:"ui-section",uiHeader:"ui-header",uiMore:"ui-more",uiHeaderOnlyMoreButton:"ui-header-has-only-more-button",uiFooter:"ui-footer",uiContent:"ui-content",uiTitle:"ui-title",uiPageScroll:"ui-scroll-on",uiScroller:"ui-scroller",uiArcListview:"ui-arc-listview",uiContentUnderPopup:"ui-content-under-popup",uiPageFlex:"ui-page-flex",uiAppbar:"ui-appbar",uiAppbarTitle:"ui-appbar-title",uiAppbarTitleContainer:"ui-appbar-title-container"},q="header,[data-role='header'],."+p.uiHeader,r="footer,[data-role='footer'],."+p.uiFooter,s="[data-role='content'],."+p.uiContent,t="."+p.uiMore+":first-child:last-child",u=800,v=new f;n.classes=p,n.events=o,n.selector="[data-role=page],.ui-page",v._configure=function(){var a=this.options;a.header=null,a.footer=null,a.content=null,a.pullDownRefresh=!1,a.goToTopButton=d.getConfig("goToTopButton"),a.enablePageScroll=d.getConfig("enablePageScroll"),a.autoBuildWidgets=d.getConfig("autoBuildOnPageChange"),this.options=a},v.getContentHeight=function(){return this._contentHeight},v._contentFill=function(){var b,c=this,d=c.element,e=a.innerWidth,f=a.innerHeight,g=d.style,h=c._ui,j=h.content,k=h.header,l=0,m=0,n=h.footer,o=h.mainTab;o&&(f-=o.getBoundingClientRect().height),g.width=e+"px",g.height=f+"px",n&&(m+=n.getBoundingClientRect().height),k&&(l=i.getElementHeight(k,null,!1,!0)),c._contentHeight=f-l-m,j&&!d.classList.contains(p.uiPageFlex)&&(b=j.style,n&&(b.marginBottom=m+"px",b.paddingBottom=-m+"px"),c.options.enablePageScroll||(b.height=c._contentHeight+"px")),c.options.model&&c._fillContentsFromModel()},v._fillContentsFromModel=function(){var a=this,b=a.options.model||{},c=b;Object.keys(c).forEach(function(b){[].slice.call(a.element.querySelectorAll("[data-bind='"+b+"']")).forEach(function(a){a.textContent=c[b]})})},v._storeContentStyle=function(){var a=this,b=a._initialContentStyle,c=a._contentStyleAttributes,d=a.element.querySelector("."+p.uiContent),e=d?d.style:{};c.forEach(function(a){b[a]=e[a]})},v._restoreContentStyle=function(){var a=this,b=a._initialContentStyle,c=a._contentStyleAttributes,d=a.element.querySelector("."+p.uiContent),e=d?d.style:{};c.forEach(function(a){b[a]&&(e[a]=b[a])})},v._setFooter=function(a,c){var d=this,e=d._ui,f=e.footer;!f&&c&&(f=b.createElement("footer"),a.appendChild(f),e.footer=f),f&&(c===!1?(a.removeChild(f),e.footer=null):(f.classList.add(p.uiFooter),"string"==typeof c&&(e.footer.textContent=c)),d.options.footer=c)},v._setHeader=function(a,c){var e=this,f=e._ui,g=f.header;!g&&c&&(g=b.createElement("header"),a.appendChild(g),f.header=g),g&&(c===!1?(a.removeChild(g),f.header=null):(g.classList.add(p.uiHeader),"string"==typeof c&&(f.header.textContent=c),d.support&&d.support.shape&&d.support.shape.circle&&g.querySelector(t)&&""===g.textContent.trim()&&g.classList.add(p.uiHeaderOnlyMoreButton)),e.options.header=c)},v._setContent=function(a,c){var d,e=this,f=e._ui,g=f.content,h=a.firstChild;if(!g&&c){for(g=b.createElement("div");h;)d=h.nextSibling,h!==f.footer&&h!==f.header&&g.appendChild(h),h=d;a.insertBefore(g,f.footer),f.content=g}g&&(c===!1?(a.removeChild(g),f.content=null):(g.classList.add(p.uiContent),"string"==typeof c&&(g.textContent=c)),e.options.content=c)},v._buildHeader=function(a){var b=this;b._ui.header=j.getChildrenBySelector(a,q)[0]||null,b.options.header===c&&(b.options.header=!!b._ui.header),b._setHeader(a,b.options.header)},v._buildFooter=function(a){var b=this;b._ui.footer=j.getChildrenBySelector(a,r)[0]||null,b.options.footer===c&&(b.options.footer=!!b._ui.footer),b._setFooter(a,b.options.footer)},v._buildContent=function(a){var b=this;b._ui.content=j.getChildrenBySelector(a,s)[0]||null,b.options.content===c&&(b.options.content=!!b._ui.content),b._setContent(a,b.options.content)},v._findMainTab=function(){var a=this,b=j.getClosestBySelector(a.element,"."+g.classes.pageContainer);a._ui.mainTab=a.element.querySelector(".ui-main-tab")||b&&b.querySelector(".ui-main-tab-visible")||null},v._setPullDownRefresh=function(a,b){var c=this,d=c._ui.pullDownRefresh;b&&!d?(d=e(),a.appendChild(d),c._ui.pullDownRefresh=d):!b&&d&&(a.removeChild(d),c._ui.pullDownRefresh=null)},v._buildGoToTopButton=function(a){var c=this,d=c._ui;c.options.goToTopButton&&(d.goToTopButton=b.createElement("div"),d.goToTopButton.classList.add("ui-button-go-to-top"),a.appendChild(d.goToTopButton))},v._showGoToTopButton=function(){var a=this,b=a._ui,c=b.goToTopButton;a._requestToShowGoToTopButton||(a._requestToShowGoToTopButton=setTimeout(function(){c.style.display="block",a._requestToShowGoToTopButton=null},u))},v._hideGoToTopButton=function(){var a=this,b=a._ui,c=b.goToTopButton;a._requestToShowGoToTopButton&&(clearTimeout(a._requestToShowGoToTopButton),a._requestToShowGoToTopButton=null),
+c.style.display="none"},v._handleGoToTopButtonClick=function(){var a=this,b=a.element,c=a.getScroller(),e=null,f=null;a._hideGoToTopButton(),e=b.querySelector("."+p.uiArcListview),e?(f=d.engine.getBinding(e),f&&f.scrollToPosition(0,!1)):c.scrollTop=0},v._setAria=function(){var a=this,b=a._ui,c=b.content,d=b.header,e=b.footer,f=b.title;c&&c.setAttribute("role","main"),d&&d.setAttribute("role","header"),e&&e.setAttribute("role","footer"),f&&(f.setAttribute("role","heading"),f.setAttribute("aria-level",1),f.setAttribute("aria-label","title"))},v._setTitle=function(a){var c,d,e,f=this,g=i.getNSData(a,"title"),h=f._ui.header,k=g;h&&(h.classList.add(p.uiAppbar),e=j.getChildrenByClass(h,p.uiAppbarTitleContainer)[0],e||(e=b.createElement("div"),e.classList.add(p.uiAppbarTitleContainer),h.appendChild(e)),c=j.getChildrenBySelector(h,"h1, h2, h3, h4, h5, h6"),d=c[0],!k&&d&&(k=d.innerText,f._ui.title=d),!g&&k&&i.setNSData(a,"title",k),m.forEach(c,function(a){a.classList.add(p.uiTitle),a.classList.add(p.uiAppbarTitle),e.appendChild(a)}))},v._build=function(a){var b=this;return a.classList.add(p.uiPage),a.classList.add(p.uiPageFlex),b._buildHeader(a),b._buildFooter(a),b._buildContent(a),b._buildGoToTopButton(a),b._setTitle(a),b._setPullDownRefresh(a,b.options.pullDownRefresh),b._setAria(),b.options.enablePageScroll!==!0||a.querySelector("."+p.uiScroller)||k.instanceWidget(a,"Scrollview"),a},v.setActive=function(a){var b=this.element.classList;a||a===c?(this.focus(),b.add(p.uiPageActive)):(this.blur(),b.remove(p.uiPageActive))},v.isActive=function(){return this.element.classList.contains(p.uiPageActive)},v.focus=function(){var a=this.element,b=a.querySelector("[autofocus]")||a;b.focus()},v.blur=function(){var a=this.element,c=b.activeElement||a;c.blur()},v._bindEvents=function(){var b=this,c=b.element,e=b._ui.header,f=b._ui.goToTopButton;b._contentFillAfterResizeCallback=b._contentFill.bind(b),a.addEventListener("resize",b._contentFillAfterResizeCallback,!1),e&&(e.addEventListener("appbarcollapsed",function(){var a=b.getScroller(),c=d.engine.getBinding(a);c&&c.enableScrolling()},!1),e.addEventListener("appbarexpanded",function(){var a=b.getScroller(),c=d.engine.getBinding(a,"Scrollview");c&&c.disableScrolling()},!1)),f&&(c.addEventListener("showGoToTopButton",b._showGoToTopButton.bind(b),!1),c.addEventListener("hideGoToTopButton",b._hideGoToTopButton.bind(b),!1),f.addEventListener("vclick",b._handleGoToTopButtonClick.bind(b),!1))},v._refresh=function(){this._findMainTab(),this._restoreContentStyle(),this._contentFill()},v.layout=function(){this._findMainTab(),this._storeContentStyle(),this._contentFill()},v.onBeforeShow=function(){var a=this,b=a.getScroller();b&&(b.scrollTop=a._lastScrollPosition||0),"function"==typeof a.enableKeyboardSupport&&(a.enableKeyboardSupport(),a._bindEventKey()),a.trigger(o.BEFORE_SHOW)},v.onShow=function(){this.trigger(o.SHOW)},v.onBeforeHide=function(){var a=this,b=a.getScroller();b&&(a._lastScrollPosition=b.scrollTop),"function"==typeof a.disableKeyboardSupport&&(a.disableKeyboardSupport(),a._destroyEventKey()),a.trigger(o.BEFORE_HIDE)},v.onHide=function(){this._restoreContentStyle(),this.trigger(o.HIDE)},v._destroy=function(b){var c=this;b=b||c.element,a.removeEventListener("resize",c._contentFillAfterResizeCallback,!1),k.destroyAllWidgets(b,!0),c._contentFillAfterResizeCallback=null},v.getScroller=function(){var a=this.element,b=a.querySelector("."+p.uiScroller);return b||a.querySelector("."+p.uiContent)||a},v.setLastScrollPosition=function(a){this._lastScrollPosition=a},n.prototype=v,n.createEmptyElement=function(){var a=b.createElement("div");return a.classList.add(p.uiPage),a},k.defineWidget("Page",n.selector,["focus","blur","setActive"],n,"mobile"),d.widget.core.Page=n}(a.document,d),function(){function a(a){return l[a]}function b(a,b){l[a]=b}function c(a,b){k[a]=b}function e(a){k[a]=null}function f(a){return k[a]}function g(a,b){var c=d.info.profile,e=a.lastIndexOf(".");return j.isAbsoluteUrl(a)?a:(b&&(a=a.substring(0,e)+"."+c+a.substring(e)),j.makeUrlAbsolute((l.pathPrefix||"")+a,j.getLocation()))}function h(b,c,e,f){var h,i=k[f||a("default")||""],j=function(a,b){a.absUrl=h,e(a,b)},m=function(a,d){a.success?j(a,d):(h=g(b,!1),i(l,h,c||{},j))};i||(i=k[Object.keys(k).pop()]),i?(h=g(b,d.getConfig("findProfileFile",!1)),i(l,h,c||{},m)):e({success:!1,description:"Can't get engine system"},null)}var i,j=d.util.path,k={},l={pathPrefix:"","default":"html"};i={get:a,set:b,register:c,unregister:e,engine:f,render:h},d.template=i}(),function(a,b){function c(a){for(;a&&(a.nodeType!==Node.ELEMENT_NODE||!a.nodeName||"A"!==a.nodeName);)a=a.parentNode;return a}function e(a,b){var d,e,f,g=c(b.target);g&&1===b.which&&(d=g.getAttribute("href"),e="external"===g.getAttribute("rel")||g.hasAttribute("target"),e||(f=q.getData(g),a.open(d,f,b),p.preventDefault(b)))}function f(a,b){var c,d,e,f,g,h=v.route,i=w.activeState,j=b&&"back"===w.getDirection(b),k=[],l=r.getLocation(),m=!0;f=j?i&&i.transition||"none":b.transition,e=t.merge({},b,{reverse:j,transition:f,fromHashChange:!0});for(d in h)h.hasOwnProperty(d)&&h[d].active&&k.push(h[d].orderNumber);if(c=Math.max.apply(null,k),g=h[D[c]],g&&g.onHashChange(l,e,i)){if(10===c)return;m=!1}w.setActive(b),m&&a.open(b.url,e)}function g(a){var b=G.classes,c="."+b.uiPageActive,d=B.call(a.querySelectorAll(c));d.forEach(function(a){a.classList.remove(c)})}function h(a,b){f(a,b.detail)}function i(a,b){var c=b.detail,d=c.reverse?c.url:c.href||c.url;delete c.event,a.open(d,c),p.preventDefault(b),p.stopImmediatePropagation(b)}function j(a,c){var e=null,f=b.implementation.createHTMLDocument(c),g=f.body;if(a instanceof HTMLElement)e=a;else try{g.insertAdjacentHTML("beforeend",a),e=g.firstChild}catch(h){d.error("Failed to inject element",h)}return e}function k(a,b){b&&a instanceof HTMLElement&&!q.hasNSData(a,"url")&&(b=b.replace(/^#/,""),q.setNSData(a,"url",b))}function l(a,b){var c,d=b.detail,e=d.content,f=d.options,g=f.href||f.url;e&&(c=j(e,f.title),k(c,g),a.open(c,f),p.preventDefault(b))}function m(a){var c,d;return"string"==typeof a&&(c="#"===a[0]?a.substr(1):a,d=b.getElementById(c),d&&(a=d)),a}var n,o=d.util,p=d.event,q=o.DOM,r=o.path,s=o.selectors,t=o.object,u=d.engine,v=d.router,w=d.history,x=w.manager,y=x.events,z=v.route,A=b.body,B=[].slice,C=!1,D={1:"page",10:"panel",100:"popup",101:"dialog",1e3:"drawer",2e3:"circularindexscrollbar"},E={BEFORE_ROUTER_INIT:"beforerouterinit",ROUTER_INIT:"routerinit"},F=/[#|\s]/g,G=d.widget.core.Page,H=d.template,I=function(){var a=this;a.container=null,a.settings={},a._onStateChangeHandler=null,a._onHashChangeHandler=null,a._onControllerContent=null,a.locked=!1};I.prototype.defaults={fromHashChange:!1,reverse:!1,volatileRecord:!1},I.prototype.linkClick=function(a){e(this,a)},I.prototype.detectRel=function(a){var b,c;for(c in z)if(z.hasOwnProperty(c)&&(b=z[c],s.matchesSelector(a,b.filter)))return c;return null},I.prototype._openDeferred=function(a,b,c){var d=this,e=z[b.rel],f={resolve:function(a,b){e.open(b,a,c)},reject:function(a){p.trigger(d.container.element,"changefailed",a)}};"string"==typeof a?a.replace(F,"")&&d._loadUrl(a,b,e,f):a&&s.matchesSelector(a,e.filter)?f.resolve(b,a):f.reject(b)},I.prototype.open=function(a,b,c){var d,e,f=this;if(!C)if(a=m(a),d=b&&b.rel||a instanceof HTMLElement&&f.detectRel(a),d=d||"page",e=z[d],"back"===d)w.back();else{if(!e)throw new Error("Not defined router rule ["+d+"]");b=t.merge({rel:d},f.defaults,e.option(),b),f._openDeferred(a,b,c)}},I.prototype._initRoutes=function(){var a,b=v.route;for(a in b)b.hasOwnProperty(a)&&b[a].init&&b[a].init()},I.prototype._autoInitializePage=function(c,e,f){var h,i=this,j=a.location,k=G.classes.uiPageActive,l=c.querySelector("."+k);if(l||(l=e[0]),l&&g(c),j.hash&&(h=b.getElementById(j.hash.replace("#","")),h&&s.matchesSelector(h,f)&&(l=h)),!l&&d.getConfig("addPageIfNotExist",!0)){for(l=G.createEmptyElement();c.firstChild;)l.appendChild(c.firstChild);c.appendChild(l)}return i.justBuild&&l&&i.register(u.instanceWidget(c,"pagecontainer"),l),l},I.prototype.init=function(a){var c,e,f,g=d.engine.getWidgetDefinition("Page"),h=g.selector,i=this;p.trigger(b,E.BEFORE_ROUTER_INIT,i,!1),A=b.body,i.justBuild=a,c=d.getConfig("pageContainer")||A,f=B.call(c.querySelectorAll(h)),d.getConfig("pageContainerBody",!1)||(c=f.length?f[0].parentNode:c),d.getConfig("autoInitializePage",!0)&&(e=i._autoInitializePage(c,f,h),a)||(x.enable(),i._initRoutes(),i.register(u.instanceWidget(c,"pagecontainer"),e),p.trigger(b,E.ROUTER_INIT,i,!1))},I.prototype.destroy=function(){var b=this,c=this.getRoute("panel");x.disable(),a.removeEventListener("popstate",b.popStateHandler,!1),c&&a.removeEventListener("tauback",c.tauback,!1),A&&(A.removeEventListener("pagebeforechange",b.pagebeforechangeHandler,!1),A.removeEventListener("vclick",b.linkClickHandler,!1)),d.setConfig("pageContainer",null)},I.prototype.setContainer=function(a){this.container=a},I.prototype.getContainer=function(){return this.container},I.prototype.getFirstPage=function(){return this.getRoute("page").getFirstElement()},I.prototype.register=function(c,e){var f=this,g=this.getRoute("popup");f.container=c,f.getRoute("page").setFirstElement(e),p.trigger(b,"themeinit",f),f._onHashChangeHandler||(f._onHashChangeHandler=h.bind(null,f),a.addEventListener(y.HASHCHANGE,f._onHashChangeHandler,!1)),f._onStateChangeHandler||(f._onStateChangeHandler=i.bind(null,f),a.addEventListener(y.STATECHANGE,f._onStateChangeHandler,!1)),f._onControllerContent||(f._onControllerContent=l.bind(null,f),a.addEventListener("controller-content-available",f._onControllerContent,!1)),d.getConfig("loader",!1)&&c.element.appendChild(f.getLoader().element),w.enableVolatileMode(),e&&f.open(e,{transition:"none"}),g&&g.setActive(null)},I.prototype.close=function(a,b){var c,d="back",e=m(a);if(b&&b.rel?d=b.rel:e&&(d=this.detectRel(e)),c=z[d],!this.locked)if("back"===d)w.back();else{if(!c)throw new Error("Not defined router rule ["+d+"]");c.close(e,b)}},I.prototype.back=function(){this.locked||w.back()},I.prototype.openPopup=function(a,b){this.open(a,t.fastMerge({rel:"popup"},b))},I.prototype.closePopup=function(a){var b=this.getRoute("popup");b&&b.close(null,a)},I.prototype.lock=function(){this.locked=!0},I.prototype.unlock=function(){this.locked=!1},I.prototype._loadUrl=function(a,b,c,d){var e,f=r.makeUrlAbsolute(a,r.getLocation()),g=this,h=b.data||{};e=c.find(f),!e&&r.isEmbedded(f)?d.reject({}):e?d.resolve(t.fastMerge({absUrl:f},b),e):(p.trigger(g.getContainer().element,b.rel+"beforeload"),h.fullDocument=!0,H.render(a,h,function(a,e){a.success?(g._loadSuccess(a.absUrl,b,c,d,e),p.trigger(g.getContainer().element,b.rel+"load")):g._loadError(a.absUrl,b,d)},b.templateEngine))},I.prototype._loadError=function(a,b,c){var e=t.fastMerge({url:a},b),f=this;d.error("load error, file: ",a),f.container.trigger("loadfailed",e),c.reject(e)},I.prototype._loadSuccess=function(a,b,c,d,e){var f=t.fastMerge({url:a},b),g=c.parse(e,a);g?d.resolve(f,g):d.reject(f)},I.prototype._getInitialContent=function(){return this.getRoute("page").getFirstElement()},I.prototype._showError=function(a){d.error("load error, file: ",a)},I.prototype.getActive=function(a){var b=this.getRoute(a||"page");return b&&b.getActive()},I.prototype.hasActive=function(a){var b=this.getRoute(a||"page");return!(!b||!b.hasActive())},I.prototype.hasActivePopup=function(){return this.hasActive("popup")},I.prototype.getRoute=function(a){return z[a]},I.prototype.getLoader=function(){var a,c=u.getWidgetDefinition("Loader"),d=c.selector;return c?(a=b.querySelector(d),u.instanceWidget(a,"Loader")):null},I.newInstance=function(){return n=new I},I.getInstance=function(){return n?n:this.newInstance()},v.Router=I,I.eventType=E,u.getRouter=function(){return d.warn("getRouter() method is deprecated! Use tau.router.Router.getInstance() instead"),I.getInstance()},d.getConfig("disableRouter",!1)||(b.addEventListener(u.eventType.READY,function(){I.getInstance().init()},!1),b.addEventListener(u.eventType.DESTROY,function(){I.getInstance().destroy()},!1),b.addEventListener(u.eventType.STOP_ROUTING,function(){I.getInstance().destroy()},!1))}(a,a.document),function(a,b){var e=d.engine,f=d.jqm.jQuery,g=d.router.Router.eventType,h={beforeinit:function(){var a,e=d.router.Router.getInstance();f&&(f.mobile?(f.mobile.pageContainer&&(a=f.mobile.pageContainer,a instanceof f&&(a=a[0]),a instanceof HTMLElement||(a=b.body),d.setConfig("pageContainer",a),f.mobile.pageContainer=f(a)),f.mobile.autoInitializePage!==c&&d.setConfig("autoInitializePage",f.mobile.autoInitializePage),f.mobile._bindPageRemove!==c&&d.setConfig("_bindPageRemove",f.mobile._bindPageRemove),f.mobile.changePage=function(a,b){var c;return a instanceof f?(c=f(a).get(0),e.open(c,b)):e.open(a,b)},b.addEventListener("pagechange",function(){var a=e.getRoute("page"),b=a&&a.getActive(),c=b&&b.element;f.mobile.activePage=f(c)},!0),f.mobile.activePage=f(),f.mobile.firstPage=f(e.getRoute("page").getFirstElement()),f.mobile.pageContainer=f(),f.mobile.subPageUrlKey=d.widget.core.Page.classes.uiPage,f.mobile.ajaxEnabled=!0,f.mobile.hashListeningEnabled=!0,f.mobile.linkBindingEnabled=!0,f.mobile.maxTransitionWidth=!1,f.mobile.minScrollBack=250,f.mobile.touchOverflowEnabled=!1,f.mobile.defaultDialogTransition="pop",f.mobile.pageLoadErrorMessage="Error Loading Page",f.mobile.pageLoadErrorMessageTheme="e",f.mobile.phonegapNavigationEnabled=!1,f.mobile.autoInitializePage=!1,f.mobile.pushStateEnabled=!0,f.mobile.ignoreContentEnabled=!1,f.mobile.orientationChangeEnabled=!0,f.mobile.ajaxBlacklist=!1,f.mobile.defaultTransitionHandler=null,f.mobile.transitionHandlers={},f.mobile.transitionFallbacks={},f.mobile._maybeDegradeTransition=null,f.mobile.focusPage=null,f.mobile.dialogHashKey="&ui-state=dialog",f.mobile.allowCrossDomainPages=!1,f.mobile.getDocumentUrl=d.util.path.getDocumentUrl,f.mobile.getDocumentBase=d.util.path.getDocumentBase,f.mobile._bindPageRemove=null,f.mobile.loadPage=e.loadPage===c?d.error.bind(null,"router PageExternal is not loaded"):e.loadPage.bind(e),f.mobile.navreadyDeferred=e.navreadyDeferred,f.mobile.initializePage=null,f.mobile._handleHashChange=e._hashChangeHandler):f.mobile={})},init:function(){var a,b,g,h=d.router.Router.getInstance();if(f){if(f.mobile.defaultPageTransition="none",h.getTransitions){a=h.getTransitions();for(b in a)a.hasOwnProperty(b)&&(a[b].fallback!==c&&(f.mobile.transitionFallbacks[b]=a[b].fallback),a[b].handler!==c&&(f.mobile.transitionHandlers[b]=a[b].handler));f.mobile.defaultTransitionHandler=a.sequential.handler,f.mobile._maybeDegradeTransition=h._maybeDegradeTransition.bind(h),f.mobile.getMaxScrollForTransition=h.getMaxScrollForTransition.bind(h)}f.mobile.focusPage=function(a){var b=f(a)[0],c=e.getBinding(b);c.focus()},f.mobile.initializePage=h.init.bind(h),g=h.getContainer(),g&&(f.mobile.pageContainer=f(g.element))}},destroy:function(){b.removeEventListener(g.ROUTER_INIT,h.init,!1),b.removeEventListener(g.BEFORE_ROUTER_INIT,h.beforeinit,!1),b.removeEventListener(g.DESTROY,h.destroy,!1)}};b.addEventListener(g.ROUTER_INIT,h.init,!1),b.addEventListener(g.BEFORE_ROUTER_INIT,h.beforeinit,!1),b.addEventListener(g.DESTROY,h.destroy,!1),d.jqm.router=h}(a,a.document),function(a,b){var e=d.support,f=d.jqm.jQuery,g=d.util.object,h=d.engine.eventType,i={touch:b.ontouchend!==c,init:function(){var a=d.router.Router.getInstance();f&&(d.support=g.merge(f.support,e),f.mobile=f.mobile||{},f.mobile.support=f.mobile.support||{},f.mobile.support.touch=e.touch,f.mobile.base=e.dynamicBaseTag&&{element:a.resetBase===c?d.error.bind(null,"router PageExternal is not loaded"):a.resetBase(),set:a.setBase===c?d.error.bind(null,"router PageExternal is not loaded"):a.setBase.bind(a),reset:a.resetBase===c?d.error.bind(null,"router PageExternal is not loaded"):a.resetBase.bind(a)},f.mobile.gradeA=d.support.gradeA.bind(d.support),f.mobile.browser=d.support.browser)},destroy:function(){b.removeEventListener(h.INIT,i.init,!1),b.removeEventListener(h.DESTROY,i.destroy,!1)}};b.addEventListener(h.INIT,i.init,!1),b.addEventListener(h.DESTROY,i.destroy,!1),d.jqm.support=i}(a,a.document),function(a,b,c){c.util.colors={nearestInt:function(a){var b=Math.floor(a);return a-b>.5?b+1:b},HTMLToRGB:function(a){return a="#"===a.charAt(0)?a.substring(1):a,[a.substring(0,2),a.substring(2,4),a.substring(4,6)].map(function(a){return parseInt(a,16)/255})},RGBToHTML:function(a){return"#"+a.map(function(a){var b=255*a,c=Math.floor(b);return b=b-c>.5?c+1:c,b=(16>b?"0":"")+(255&b).toString(16)}).join("")},HSLToRGB:function(a){var b,c,d,e,f=a[0]/360,g=a[1],h=a[2];return 0===g?e=[h,h,h]:(c=.5>h?h*(1+g):h+g-h*g,b=2*h-c,d={r:f+1/3,g:f,b:f-1/3},d.r=d.r<0?d.r+1:d.r>1?d.r-1:d.r,d.g=d.g<0?d.g+1:d.g>1?d.g-1:d.g,d.b=d.b<0?d.b+1:d.b>1?d.b-1:d.b,e=[6*d.r<1?b+6*(c-b)*d.r:2*d.r<1?c:3*d.r<2?b+(c-b)*(2/3-d.r)*6:b,6*d.g<1?b+6*(c-b)*d.g:2*d.g<1?c:3*d.g<2?b+(c-b)*(2/3-d.g)*6:b,6*d.b<1?b+6*(c-b)*d.b:2*d.b<1?c:3*d.b<2?b+(c-b)*(2/3-d.b)*6:b]),e},HSVToRGB:function(a){return this.HSLToRGB(this.HSVToHSL(a))},RGBToHSV:function(a){var b,c,d,e,f,g,h=a[0],i=a[1],j=a[2];return b=Math.min(h,Math.min(i,j)),c=Math.max(h,Math.max(i,j)),d=c-b,e=0,f=0,g=c,d>1e-5&&(f=d/c,e=h===c?(i-j)/d:i===c?2+(j-h)/d:4+(h-i)/d,e*=60,0>e&&(e+=360)),[e,f,g]},HSVToHSL:function(a){var b=a[2],c=a[1]*b,d=b-c,e=b+d,f=e/2,g=.5>f?e:2-b-d;return[a[0],0===g?0:c/g,f]},RGBToHSL:function(a){return this.HSVToHSL(this.RGBToHSV(a))}}}(a,a.document,d),function(b){var c=d.engine.eventType,e=d.jqm.jQuery,f={init:function(){e&&(e.mobile.tizen.clrlib=f)},destroy:function(){b.removeEventListener(c.INIT,f.init,!1),b.removeEventListener(c.DESTROY,f.destroy,!1),e&&delete e.mobile.tizen.clrlib,a.ns=null,e=null,c=null,f=null}};b.addEventListener(c.INIT,f.init,!1),b.addEventListener(c.DESTROY,f.destroy,!1)}(a.document),function(a,b,c){function d(a){return x.getClosestBySelector(a,"a, label")}function e(a){return x.getClosestByClass(a,v.BUTTON)||x.getClosestByClass(a,v.HEADER_BUTTON)||x.getClosestByClass(a,v.NAVIGATION_BUTTON)||x.getClosestByClass(a,v.SUBTAB_ANCHOR)}function f(a){var b=a.target,c=b.classList;c.contains(v.ACTIVE_BTN)&&!c.contains(v.INACTIVE_BTN)?(B._activeAnimationFinished=!0,(B._touchEnd||b!==B._buttonTarget)&&c.add(v.INACTIVE_BTN)):(c.contains(v.ACTIVE_BTN)||c.contains(v.INACTIVE_BTN)||(b.parentNode.classList.remove(v.ACTIVE_BTN),b.parentNode.classList.remove(v.INACTIVE_BTN)),c.remove(v.INACTIVE_BTN),c.remove(v.ACTIVE_BTN))}function g(){B._buttonTarget&&(B._buttonTarget.classList.add(v.INACTIVE_BTN),B._buttonTarget.classList.remove(v.ACTIVE_BTN))}function h(){B._buttonTarget.classList.add(v.ACTIVE_BTN),B._activeAnimationFinished=!1}function i(){var a=B._buttonTarget;a&&(a.classList.remove(v.ACTIVE_BTN),a.classList.remove(v.INACTIVE_BTN)),B._target&&B._target.classList.remove(v.ACTIVE_LI)}function j(){var a,b;B._startTime&&(b=Date.now()-B._startTime,b>B.options.addActiveClassDelay?(B._startTime=0,B._buttonTarget=e(B._target),B._target=d(B._target),B._didScroll||(B._liTarget=B._detectLiElement(B._target),B._buttonTarget?(a=B._buttonTarget.classList,a.remove(v.ACTIVE_BTN),a.remove(v.INACTIVE_BTN),B._requestAnimationFrame(h)):B._liTarget&&(B._liTarget.classList.add(v.ACTIVE_LI),y.trigger(B._liTarget,w.ACTIVE_LI,{})))):B._requestAnimationFrame(j))}function k(){return C.call(a.getElementsByClassName(v.ACTIVE_LI))}function l(){for(var a=k(),b=a.length,c=0;b>c;c++)a[c].classList.remove(v.ACTIVE_LI)}function m(){var a=Date.now()-B._startRemoveTime;a>B.options.keepActiveClassDelay?l():B._requestAnimationFrame(m)}function n(a){var b=a.touches[0],c=B.options.scrollThreshold;!B._didScroll&&(z(b.clientX-t)>c||z(b.clientY-u)>c)&&(B._startTime=0,B._requestAnimationFrame(l),B._didScroll=!0)}function o(a){var b=a.touches,c=b?1===b.length?b[0]:null:a;c&&(B._didScroll=!1,t=c.clientX,u=c.clientY,B._target=a.target,B._startTime=Date.now(),B._startRemoveTime=0,B._requestAnimationFrame(j),B._touchEnd=!1)}function p(a){B._startRemoveTime=a.timeStamp,(!a.touches||a.touches&&0===a.touches.length)&&(B._didScroll||(B._startTime=0,B._requestAnimationFrame(m)),B._activeAnimationFinished&&B._requestAnimationFrame(g),B._didScroll=!1,B._touchEnd=!0)}function q(){"hidden"===a.visibilityState&&B._removeActiveClassLoop()}function r(){a.addEventListener("touchstart",B._touchstartHandler,!1),a.addEventListener("touchend",B._touchendHandler,!1),a.addEventListener("touchmove",B._touchmoveHandler,!1),a.addEventListener("mousedown",B._touchstartHandler,!1),a.addEventListener("mouseup",B._touchendHandler,!1),a.addEventListener("visibilitychange",B._checkPageVisibility,!1),a.addEventListener("pagehide",B._hideClear,!1),a.addEventListener("popuphide",B._hideClear,!1),a.addEventListener("animationend",B._clearBtnActiveClass,!1),a.addEventListener("animationEnd",B._clearBtnActiveClass,!1),a.addEventListener("webkitAnimationEnd",B._clearBtnActiveClass,!1)}function s(){a.removeEventListener("touchstart",B._touchstartHandler,!1),a.removeEventListener("touchend",B._touchendHandler,!1),a.removeEventListener("touchmove",B._touchmoveHandler,!1),a.removeEventListener("mousedown",B._touchstartHandler,!1),a.removeEventListener("mouseup",B._touchendHandler,!1),a.removeEventListener("visibilitychange",B._checkPageVisibility,!1),a.removeEventListener("pagehide",B._hideClear,!1),a.removeEventListener("popuphide",B._hideClear,!1),a.removeEventListener("animationend",B._clearBtnActiveClass,!1),a.removeEventListener("animationEnd",B._clearBtnActiveClass,!1),a.removeEventListener("webkitAnimationEnd",B._clearBtnActiveClass,!1)}var t=0,u=0,v={ACTIVE_LI:"ui-li-active",ACTIVE_BTN:"ui-btn-active",INACTIVE_BTN:"ui-btn-inactive",BUTTON:"ui-btn",HEADER_BUTTON:"ui-header-btn",SUBTAB_ANCHOR:"ui-sub-tab-anchor",NAVIGATION_BUTTON:"ui-navigation-item"},w={ACTIVE_LI:"anchorhighlightactiveli"},x=c.util.selectors,y=c.event,z=Math.abs,A=function(a){return x.getClosestByTag(a,"li")},B={options:{scrollThreshold:10,addActiveClassDelay:50,keepActiveClassDelay:100},_startTime:0,_startRemoveTime:0,_touchEnd:!1,_liTarget:null,_target:null,_didScroll:!1,_buttonTarget:null,_activeAnimationFinished:!1,_requestAnimationFrame:c.util.windowRequestAnimationFrame},C=Array.prototype.slice;c.util.anchorHighlight=B,B.enable=r,B.disable=s,B._clearActiveClass=l,B._detectHighlightTarget=d,B._detectBtnElement=e,B._removeActiveClassLoop=m,B._addButtonInactiveClass=g,B._addButtonActiveClass=h,B._addActiveClass=j,B._detectLiElement=A,B._touchmoveHandler=n,B._touchendHandler=p,B._touchstartHandler=o,B._checkPageVisibility=q,B._hideClear=i,B._clearBtnActiveClass=f,r()}(b,a,d),function(a){function b(a,b,d){a.forEach(function(a){c.matchesSelector(a,b)&&a.classList.add(d)})}var c=a.util.selectors,d=[].slice,e=[null,"solo","a","b","c","d"];a.util.grid={makeGrid:function(a,c){var f,g=a.classList,h=d.call(a.children);c||(c=e[h.length],c||(c="a",f=2,g.add("ui-grid-duo"))),f||(f=e.indexOf(c)),g.add("ui-grid-"+c),b(h,":nth-child("+f+"n+1)","ui-block-a"),f>1&&b(h,":nth-child("+f+"n+2)","ui-block-b"),f>2&&b(h,":nth-child("+f+"n+3)","ui-block-c"),f>3&&b(h,":nth-child("+f+"n+4)","ui-block-d"),f>4&&b(h,":nth-child("+f+"n+5)","ui-block-e")}}}(d),function(a,b,d){var e={},f=d.event,g=d.util.object,h=b.body,i=function(a,b){var c,d,e="data-"+b;if(a.hasAttribute(e)){c=a.getAttribute(e);try{d=JSON.parse(c)}catch(f){}}return d},j=function(a,b){var c="data-"+b;a.hasAttribute(c)&&a.removeAttribute(c)},k=function(a){var b;if(a===c||null===a||a===!1)throw"Hashed object/primitive can not be undefined, null or false";return a instanceof Element&&a.hasAttribute("data-ns-hash")?a.getAttribute("data-ns-hash"):(a instanceof Object&&(a.__tauHash=a.__tauHash||d.getUniqueId()),b=typeof a+"-"+(a instanceof Object?a.__tauHash:a.toString()),a instanceof Element&&a.setAttribute("data-ns-hash",b),b)};d.util.data={set:function(a,b,c){var d=k(a);return d?(e[d]||(e[d]={}),e[d][b]=c,a instanceof Element&&f.trigger(a,"setData",{key:b,value:c}),f.trigger(h,"globalSetData",{element:a,key:b,value:c}),c):!1},get:function(a,b,d){var g,j=k(a);return j?(e[j]&&e[j][b]!==c&&(g=e[j][b]),a instanceof Element&&(g===c&&(g=i(a,b),e[j]=e[j]||{},e[j][b]=e[j][b]||g),f.trigger(a,"getData",{key:b,value:g})),f.trigger(h,"globalGetData",{element:a,key:b,value:g}),g):d},remove:function(a,b){var d,i=k(a);return i&&e[i]&&e[i][b]!==c?(d=e[i][b],e[i][b]=c,g.hasPropertiesOfValue(e[i],c)&&(e[i]=c),a instanceof Element&&(j(a,b),f.trigger(a,"removeData",{key:b,value:d})),f.trigger(h,"globalRemoveData",{element:a,key:b,value:d}),!0):!1}}}(a,a.document,d),function(a){var b=/([\-0-9.]*)(ms|s)?/i,c={convertToMiliseconds:function(a){var c,d=a.match(b),e=0;return 3===d.length&&(c=parseFloat(d[1])||0,"ms"===d[2]?e=c:"s"===d[2]&&(e=1e3*c)),e}};a.util.date=c}(d),function(a,b,c){var d=function(a){var b,d,e,f=0,g=[].slice.call(arguments),h=g.length,i=1!==h||a&&"function"==typeof a.promise?h:0,j=1===i?a:new c.util.deferred,k=function(a,c,d){return function(e){c[a]=this,d[a]=arguments.length>1?[].slice.call(arguments):e,d===b?j.notifyWith(c,d):--i||j.resolveWith(c,d)}};if(h>1)for(b=[],b.length=h,d=[],d.length=h,e=[],e.length=h;h>f;f++)g[f]&&"function"==typeof g[f].promise?g[f].promise().done(k(f,e,g)).fail(j.reject).progress(k(f,d,b)):--i;return i||j.resolveWith(e,g),j.promise()};c.util.deferredWhen=d}(a,a.document,d),function(a){var b,c=Math.PI/2,d=.001,e=function(a,b){var c=[b[0]-a[0],b[1]-a[1],b[2]-a[2]];return Math.sqrt(c[0]*c[0]+c[1]*c[1]+c[2]*c[2])};b=function(){return this},b.prototype={points:[],step:d,length:0,levels:[],init:function(a){return this.points=a.points,this.step=a.step||d,this.length=this.calculateTotalLength(),this.levels=this.calculateLevel(a.maxLevel)||[],this},calculateLevel:function(a){var b,c=this.length,d=c/a,e=[];if(!a)return null;for(b=0;a>b;b+=1)e[a-b]=this.getPercent(0,d*b);return e},calculateTotalLength:function(){var a,b=this.step,c=this.getPosition(0),d=c,f=0;for(a=b;1>=a;a+=b)c=this.getPosition(a),f+=e(d,c),d=c;return f},getPosition:function(a){var b=this.points,c=function(a,b,c,d,e){return Math.pow(1-e,3)*a+3*e*Math.pow(1-e,2)*b+3*Math.pow(e,2)*(1-e)*c+Math.pow(e,3)*d},d=[c(b[0][0],b[1][0],b[2][0],b[3][0],a),c(b[0][2],b[1][2],b[2][2],b[3][2],a)];return[d[0],0,d[1]]},getPercent:function(a,b){var c,d,f,g,h=this.step,i=0;for(a=a||0,c=this.getPosition(a),d=c,f=a+b,g=a+h;1>=g;g+=h){if(c=this.getPosition(g),i+=e(d,c),i>=f)return g;d=c}return 1},getAngle:function(a){var b=this.points,d=function(a,b,c,d,e){return 3*e*e*(-a+3*b-3*c+d)+6*e*(a-2*b+c)+3*(-a+b)},e=d(b[0][0],b[1][0],b[2][0],b[3][0],a),f=d(b[0][2],b[1][2],b[2][2],b[3][2],a);return Math.atan2(e,f)-c}},a.util.bezierCurve=new b}(d),function(a){a.util.anim=a.util.anim||{}}(d),function(a){var b=null,c=function(a,b,c){var d,e,f,g,h="@"+a+"keyframes "+b+" {";for(d=0,e=c.length;e>d;++d)if(g=c[d]){h+=d+"% { ";for(f in g)g.hasOwnProperty(f)&&(h+=f+": "+g[f]+"; ");h+="} "}return h+="} "},e=d.support.cssAnimationPrefix,f=function(f){var g,h=d.getUniqueId();b||(g=a.createElement("style"),g.appendChild(a.createTextNode("")),a.head.appendChild(g),b=g.sheet),b.insertRule(c(e,h,f),0),this.keyframes=b.rules[0],this.id=h};f.prototype.destroy=function(){var a,b,c=this.keyframes,d=c.parentStyleSheet,e=d.rules;for(a=0,b=e.length;b>a;++a)if(e[a]===c){d.deleteRule(a);break}},d.util.anim.Keyframes=f}(a.document),function(){var b=d.util.object,c=d.util.anim.Keyframes,e=d.util.DOM,f=d.util.date,g=d.support.cssAnimationPrefix,h=function(a){return a.trim()},i=function(a,b){return"string"==typeof a&&(a=a.split(",").map(h)),a.indexOf(b)},j=(g||"").replace(/\-/gi,""),k=j.length>0?j+"AnimationEnd":"animationEnd",l=0,m=1,n=2,o="function",p=function(a,b){var c=a.options,d=c.element,e=c.onEnd,f=c.onPause;if(b.animationName===a.keyframes.id)switch(a.state){case m:a.state=n,typeof e===o&&e(a,d,b);break;case l:typeof f===o&&f(a,d,b)}},q=function(b,c){var d,e,j,k,l,n,p=null,q=null;return b._applied||b._apply(),d=b.options,p=d.element,q=d.onPlay,e=p.style,j=b.keyframes,k=e.getPropertyValue(g+"animation-play-state"),l=k&&k.split(",").map(h)||[],n=j?i(e.getPropertyValue(g+"animation-name"),j.id):-1,n>-1&&(l[n]=c||"running",e.setProperty(g+"animation-play-state",l.join(",")),b.state=m,typeof q===o&&(a.clearTimeout(b.playTimer),b.playTimer=a.setTimeout(function(){q(b,p)},f.convertToMiliseconds(d.delay)))),b},r=function(a){var c,d,f=this,g=b.merge({element:null,from:null,to:null,steps:[],duration:"0",direction:"normal",delay:"0",iterationCount:1,infinite:!1,fillMode:"none",preserve:!1,onEnd:null,onPause:null,onPlay:null,timingFunction:"ease",autoPlay:!1},a||{}),h=p.bind(null,this),i=g.element;0===g.steps.length?(c=[],c.length=101,g.to&&(c[100]=g.to),g.from?c[0]=g.from:g.to&&g.element&&(d=Object.keys(g.to),e.extractCSSProperties(g.element,d),c[0]=d)):c=g.steps,f.options=g,f.steps=c,f._applied=!1,f.keyframes=null,f.state=l,f.playTimer=null,this._endCallback=h,i&&(i.addEventListener(k,h,!1),g.autoPlay&&f.play())},s={};s._apply=function(){var a,b=this,d=b.options,e=d.element,f=e.style,i=f.getPropertyValue(g+"animation"),j=i&&i.split(",").map(h)||[];b.keyframes=new c(b.steps),a=b.keyframes.id,e&&(j.push(a+" "+d.duration+" "+d.timingFunction+" "+d.delay+" "+d.iterationCount+" "+d.direction+" "+d.fillMode),e.style.setProperty(g+"animation",j.join(",")),b._applied=!0)},s.step=function(a,b){var c=this;return c.steps[a]=b,c.reset()},s.reset=function(){var a=this,b=a.keyframes,d=a.options.element.style,e=d.getPropertyValue(g+"animation-name"),f=e&&e.split(",").map(h)||[],i=b?f.indexOf(b.id):-1;return a.keyframes&&a.keyframes.destroy(),b=new c(a.steps),i>-1&&(f[i]=b.id,a.keyframes=b,d.setProperty(g+"animation-name",f.join(","))),a},s.play=function(){return q(this,"running")},s.pause=function(){return q(this,"paused")},s.destroy=function(){var b,c,d,e=this,f=e.options.element,h=e.keyframes,i=e._endCallback;f&&(e._applied&&h&&(c=f.style,b=c.getPropertyValue(g+"animation"),b&&(d=new RegExp(",? ?"+h.id+"[^,%]*,? ?","i"),c.removeProperty(g+"animation",b.replace(d,""))),h.destroy(),e._applied=!1),i&&f.removeEventListener(k,i,!1)),a.clearTimeout(e.playTimer)},r.states={PAUSED:l,PLAYING:m,FINISHED:n},r.prototype=s,d.util.anim.Animation=r}(),function(){var a=d.util.anim.Animation,b=d.util.object,c=d.util.date,e=0,f=1,g=2,h="function",i=function(a,b){var c=a.options.onEnd,d=a.animations,e=d.indexOf(b);a.current=e,e===d.length-1&&(a.state=g,typeof c===h&&c(a))},j=function(a,c){var d=b.merge({conocurrent:!0,onPlay:null,onPause:null,onEnd:null},a||{}),f=this;f.current=null,f.animations=[],f.totalTime=0,f.options=d,f.state=e,c&&c.length>0&&f.addMultiple(c)},k={add:function(b){var d=b instanceof a?b:new a(b),e=d.options,f=c.convertToMiliseconds(e.duration),g=c.convertToMiliseconds(e.delay),j=e.onEnd,k=this;return typeof j===h?e.onEnd=function(a,b,c){j(a,b,c),i(k,a)}:e.onEnd=i.bind(null,k),k.options.concurrent===!1&&(e.delay=g+k.totalTime+"ms",k.totalTime+=g+f),k.animations.push(d),k.current||(k.current=0),k},addMultiple:function(a){var b,c;for(b=0,c=a.length;c>b;++b)this.add(a[b]);return this},play:function(){var a,b,c=this,d=c.options.onPlay;for(a=c.current,b=c.animations.length;b>a;++a)c.animations[a].play();return c.state=f,typeof d===h&&d(c),c},pause:function(){var a,b,c=this,d=c.options.onPause;for(a=c.current,b=c.animations.length;b>a;++a)c.animations[a].pause();return c.state=e,typeof d===h&&d(c),c},destroy:function(){var a,b;for(a=0,b=this.animations.length;b>a;++a)this.animations[a].destroy()}};j.states={PAUSED:e,PLAYING:f,FINISHED:g},j.prototype=k,d.util.anim.Chain=j}(),function(a,c){function d(){i.unbind(),i.bind()}function e(){b.removeEventListener(h.INIT,d,!1),b.removeEventListener(h.DESTROY,e,!1)}var f=function(a){var b,d,e,f=a.keyName,g=c.activePopup;if(c.getConfig("enableHWKeyHandler",!0)&&g){if(b=g._ui.container,d=b&&b.classList,"menu"===f&&(e=g.element.querySelector(".ui-focus")))return a.preventDefault(),void a.stopPropagation();("menu"===f||"back"===f)&&(!d||d.contains("ui-datetimepicker")&&!d.contains("in")||(g.close(),a.preventDefault(),a.stopPropagation()))}},g=function(a){var d,e,f=a.keyName;!c.getConfig("enableHWKeyHandler",!0)||"menu"!==f&&"back"!==f||(d=b.querySelector("div.ui-selectmenu-active select"),
+d&&(e=c.widget.SelectMenu(d),e.close(),a.preventDefault(),a.stopPropagation()))},h=c.engine.eventType,i={bind:function(){b.addEventListener("tizenhwkey",f,!0),b.addEventListener("tizenhwkey",g,!0)},unbind:function(){b.removeEventListener("tizenhwkey",f,!0),b.removeEventListener("tizenhwkey",g,!0)}};c.event.hwkey=i,b.addEventListener(h.INIT,d,!1),b.addEventListener(h.DESTROY,e,!1)}(a,d),function(a){var b,c={enabled:d.getConfig("enableThrottleResize",!0),ttl:250},e=d.event,f=function(){b&&a.clearTimeout(b),b=a.setTimeout(function(){e.trigger(a,"throttledresize")},c.ttl)},g=function(){c.enabled||(c.enabled=!0),a.addEventListener("resize",f,!0)},h=function(){c.enabled=!1,a.removeEventListener("resize",f,!0)};c.enabled&&g(),c.enable=g,c.unbind=h,d.event.throttledresize=c}(a),function(a){var b=a.event,c=function(b,c){return new a.event.gesture.Instance(b,c)};c.defaults={triggerEvent:!1,updateVelocityInterval:16,estimatedPointerTimeDifference:15},c.Orientation={VERTICAL:"vertical",HORIZONTAL:"horizontal"},c.Direction={UP:"up",DOWN:"down",LEFT:"left",RIGHT:"right"},c.Event={START:"start",MOVE:"move",END:"end",CANCEL:"cancel",BLOCKED:"blocked"},c.Result={PENDING:1,RUNNING:2,FINISHED:4,BLOCK:8},c.plugin={},c.createDetector=function(a,b,c){if(!a.plugin[a])throw a+" gesture is not supported";return new a.plugin[a](b,c)},b.gesture=c}(d),function(a){var b=a.event.gesture,c=a.util.object.merge,d=function(a,b){this.sender=b,this.strategy=a.create(),this.name=this.strategy.name,this.index=this.strategy.index||100,this.options=this.strategy.options||{}};d.prototype.detect=function(a){return this.strategy.handler(a,this.sender,this.strategy.options)},d.Sender={sendEvent:function(){}},d.plugin={},d.plugin.create=function(a){var b;return a.types||(a.types=[a.name]),b=function(b){this.options=c({},a.defaults,b)},b.prototype.create=function(){return c({options:this.options},a)},d.plugin[a.name]=b,b},b.Detector=d}(d),function(a,b){var c=a.event.gesture;c.utils={getCenter:function(a){var c=[],d=[];return[].forEach.call(a,function(a){c.push(isNaN(a.clientX)?a.pageX:a.clientX),d.push(isNaN(a.clientY)?a.pageY:a.clientY)}),{clientX:(b.min.apply(b,c)+b.max.apply(b,c))/2,clientY:(b.min.apply(b,d)+b.max.apply(b,d))/2}},getVelocity:function(a,c,d){return{x:b.abs(c/a)||0,y:b.abs(d/a)||0}},getAngle:function(a,c){var d=c.clientY-a.clientY,e=c.clientX-a.clientX;return 180*b.atan2(d,e)/b.PI},getDirection:function(a,d){var e=b.abs(a.clientX-d.clientX),f=b.abs(a.clientY-d.clientY);return e>=f?a.clientX-d.clientX>0?c.Direction.LEFT:c.Direction.RIGHT:a.clientY-d.clientY>0?c.Direction.UP:c.Direction.DOWN},getDistance:function(a,c){var d=c.clientX-a.clientX,e=c.clientY-a.clientY;return b.sqrt(d*d+e*e)},getScale:function(a,b){return a.length>=2&&b.length>=2?this.getDistance(b[0],b[1])/this.getDistance(a[0],a[1]):1},getRotation:function(a,b){return a.length>=2&&b.length>=2?this.getAngle(b[1],b[0])-this.getAngle(a[1],a[0]):0},isVertical:function(a){return a===c.Direction.UP||a===c.Direction.DOWN},isHorizontal:function(a){return a===c.Direction.LEFT||a===c.Direction.RIGHT},getOrientation:function(a){return this.isVertical(a)?c.Orientation.VERTICAL:c.Orientation.HORIZONTAL}}}(d,a.Math),function(a,b,c){function d(a,b){return a.index<b.index?-1:a.index>b.index?1:0}var e=a.event.gesture,f=e.utils,g=a.util.object,h=null,i=/touch/,j=function(){var a=this;a.instances=[],a.gestureDetectors=[],a.runningDetectors=[],a.detectorRequestedBlock=null,a.unregisterBlockList=[],a.gestureEvents={},a.velocity=null,a._isReadyDetecting=!1,a._blockMouseEvent=!1,a.touchSupport="ontouchstart"in b};j.prototype={_bindStartEvents:function(a){var b=a.getElement();this.touchSupport?b.addEventListener("touchstart",this,{passive:!1}):b.addEventListener("mousedown",this,!1)},_bindEvents:function(){var a=this;a.touchSupport?(c.addEventListener("touchmove",a,{passive:!1}),c.addEventListener("touchend",a,{passive:!1}),c.addEventListener("touchcancel",a,{passive:!1})):(c.addEventListener("mousemove",a),c.addEventListener("mouseup",a))},_unbindStartEvents:function(a){var b=a.getElement();this.touchSupport?b.removeEventListener("touchstart",this,{passive:!1}):b.removeEventListener("mousedown",this,!1)},_unbindEvents:function(){var a=this;a.touchSupport?(c.removeEventListener("touchmove",a,{passive:!1}),c.removeEventListener("touchend",a,{passive:!1}),c.removeEventListener("touchcancel",a,{passive:!1})):(c.removeEventListener("mousemove",a,!1),c.removeEventListener("mouseup",a,!1))},_detectEventType:function(a){var b=a.type;if(b.match(i))this._blockMouseEvent=!0;else if(this._blockMouseEvent||1!==a.which)return null;return b},handleEvent:function(a){var b=this,c=b._detectEventType(a);switch(c){case"mousedown":case"touchstart":b._start(a);break;case"mousemove":case"touchmove":b._move(a);break;case"mouseup":case"touchend":b._end(a);break;case"touchcancel":b._cancel(a)}},_start:function(a){var b=this,c=a.currentTarget,f={},h=[];b._isReadyDetecting||(b.resetDetecting(),b._bindEvents(),f=b._createDefaultEventData(e.Event.START,a),b.gestureEvents={start:f,last:f},b.velocity={event:f,x:0,y:0},f=g.fastMerge(f,b._createGestureEvent(e.Event.START,a)),b._isReadyDetecting=!0),b.instances.forEach(function(a){a.getElement()===c&&(h=h.concat(a.getGestureDetectors()))},b),h.sort(d),b.gestureDetectors=b.gestureDetectors.concat(h),b._detect(h,f)},_move:function(a){var b,c=this;c._isReadyDetecting&&(b=c._createGestureEvent(e.Event.MOVE,a),c._detect(c.gestureDetectors,b),c.gestureEvents.last=b)},_end:function(a){var b=this,c=g.merge({},b.gestureEvents.last,b._createDefaultEventData(e.Event.END,a));0===c.pointers.length&&(b._detect(b.gestureDetectors,c),b.unregisterBlockList.forEach(function(a){this.unregister(a)},b),b.resetDetecting(),b._blockMouseEvent=!1)},_cancel:function(a){var b=this;a=g.merge({},b.gestureEvents.last,b._createDefaultEventData(e.Event.CANCEL,a)),b._detect(b.gestureDetectors,a),b.unregisterBlockList.forEach(function(a){this.unregister(a)},b),b.resetDetecting(),b._blockMouseEvent=!1},_detect:function(a,b){var c=this,d=[];a.forEach(function(a){var f;c.detectorRequestedBlock||(f=a.detect(b),f&e.Result.RUNNING&&c.runningDetectors.indexOf(a)<0&&c.runningDetectors.push(a),f&e.Result.FINISHED&&d.push(a),f&e.Result.BLOCK&&(c.detectorRequestedBlock=a))}),d.forEach(function(a){var b=c.gestureDetectors.indexOf(a);b>-1&&c.gestureDetectors.splice(b,1),b=c.runningDetectors.indexOf(a),b>-1&&c.runningDetectors.splice(b,1)}),c.detectorRequestedBlock&&(c.runningDetectors.forEach(function(a){var c=g.fastMerge({},b);c.eventType=e.Event.BLOCKED,a.detect(c)}),c.runningDetectors.length=0,c.gestureDetectors.length=0,d.indexOf(c.detectorRequestedBlock)<0&&c.gestureDetectors.push(c.detectorRequestedBlock))},resetDetecting:function(){var a=this;a._isReadyDetecting=!1,a.gestureDetectors.length=0,a.runningDetectors.length=0,a.detectorRequestedBlock=null,a.gestureEvents={},a.velocity=null,a._unbindEvents()},_createDefaultEventData:function(a,b){var c=b.touches;return c||("mouseup"===b.type?c=[]:(b.identifier=1,c=[b])),{eventType:a,timeStamp:Date.now(),pointer:c[0],pointers:c,srcEvent:b,preventDefault:b.preventDefault.bind(b),stopPropagation:b.stopPropagation.bind(b)}},_createGestureEvent:function(a,b){var c,d=this,h=d._createDefaultEventData(a,b),i=d.gestureEvents.start,j=d.gestureEvents.last,k=d.velocity,l=k.event,m={time:h.timeStamp-i.timeStamp,x:h.pointer.clientX-i.pointer.clientX,y:h.pointer.clientY-i.pointer.clientY},n={x:h.pointer.clientX-j.pointer.clientX,y:h.pointer.clientY-j.pointer.clientY},o=e.defaults.estimatedPointerTimeDifference;return i&&h.pointers.length!==i.pointers.length&&(i.pointers=Array.prototype.slice.call(h.pointers)),h.timeStamp-l.timeStamp>e.defaults.updateVelocityInterval&&(g.fastMerge(k,f.getVelocity(h.timeStamp-l.timeStamp,h.pointer.clientX-l.pointer.clientX,h.pointer.clientY-l.pointer.clientY)),k.event=h),c={x:Math.round(h.pointer.clientX+o*k.x*(n.x<0?-1:1)),y:Math.round(h.pointer.clientY+o*k.y*(n.y<0?-1:1))},(n.x<0&&c.x>j.estimatedX||n.x>0&&c.x<j.estimatedX)&&(c.x=j.estimatedX),(n.y<0&&c.y>j.estimatedY||n.y>0&&c.y<j.estimatedY)&&(c.y=j.estimatedY),g.fastMerge(h,{deltaTime:m.time,deltaX:m.x,deltaY:m.y,velocityX:k.x,velocityY:k.y,estimatedX:c.x,estimatedY:c.y,estimatedDeltaX:c.x-i.pointer.clientX,estimatedDeltaY:c.y-i.pointer.clientY,distance:f.getDistance(i.pointer,h.pointer),angle:f.getAngle(i.pointer,h.pointer),direction:f.getDirection(i.pointer,h.pointer),scale:f.getScale(i.pointers,h.pointers),rotation:f.getRotation(i.pointers,h.pointers),startEvent:i,lastEvent:j}),h},register:function(a){var b=this,c=b.instances.indexOf(a);0>c&&(b.instances.push(a),b._bindStartEvents(a))},unregister:function(a){var b,c=this;c.gestureDetectors.length?c.unregisterBlockList.push(a):(b=c.instances.indexOf(a),b>-1&&(c.instances.splice(b,1),c._unbindStartEvents(a)),c.instances.length||c._destroy())},_destroy:function(){var a=this;a.resetDetecting(),a.instances.length=0,a.unregisterBlockList.length=0,a._blockMouseEvent=!1,h=null}},j.getInstance=function(){return h||(h=new j),h},e.Manager=j}(d,a,a.document),function(a){var b=a.event.gesture,c=b.Detector,d=b.Manager,e=a.event,f=a.util.object.merge,g=function(a,e){this.element=a,this.eventDetectors=[],this.options=f({},b.defaults,e),this.gestureManager=d.getInstance(),this.eventSender=f({},c.Sender,{sendEvent:this.trigger.bind(this)})};g.prototype={setOptions:function(a){return f(this.options,a),this},addDetector:function(a){var b=new c(a,this.eventSender),d=!!this.eventDetectors.length;return this.eventDetectors.push(b),this.eventDetectors.length&&!d&&this.gestureManager.register(this),this},removeDetector:function(a){var b=this.eventDetectors.indexOf(a);return b>-1&&this.eventDetectors.splice(b,1),this.eventDetectors.length||this.gestureManager.unregister(this),this},trigger:function(a,b){return e.trigger(this.element,a,b,!1)},getElement:function(){return this.element},getGestureDetectors:function(){return this.eventDetectors},destroy:function(){this.element=null,this.eventHandlers={},this.gestureManager=null,this.eventSender=null,this.eventDetectors.length=0}},b.Instance=g}(d),function(a,b,c){var d=a.event.gesture,e=d.utils,f=d.Detector,g=a.util.object.merge,h={start:"dragstart",drag:"drag",end:"dragend",cancel:"dragcancel",prepare:"dragprepare"},i=!!b.navigator.userAgent.match(/tizen/i)&&function(){var b,d=!0;if(c&&c.systeminfo&&c.systeminfo.getCapability)try{return b=c.systeminfo.getCapability("http://tizen.org/feature/platform.version"),"3.0">b}catch(e){a.error("Error name: "+e.name+", message: "+e.message)}return d}(),j=b.navigator.userAgent.indexOf("Chrome")>-1,k=d.Result,l=f.plugin.create({name:"drag",index:500,defaults:{blockHorizontal:!1,blockVertical:!1,threshold:20,delay:0},isTriggered:!1,handler:function(a,b,c){var f,l=c.threshold,m=k.PENDING,n=a.direction;if(!this.isTriggered&&a.eventType===d.Event.MOVE){if(Math.abs(a.deltaX)<l&&Math.abs(a.deltaY)<l)return j&&a.preventDefault(),k.PENDING;if(c.delay&&a.deltaTime<c.delay)return i||a.preventDefault(),k.PENDING;if(c.blockHorizontal&&e.isHorizontal(a.direction)||c.blockVertical&&e.isVertical(a.direction))return k.FINISHED;this.fixedStartPointX=0,this.fixedStartPointY=0,e.isHorizontal(a.direction)?this.fixedStartPointX=(a.deltaX<0?1:-1)*l:this.fixedStartPointY=(a.deltaY<0?1:-1)*l}switch(c.blockHorizontal&&(n=a.deltaY<0?d.Direction.UP:d.Direction.DOWN),c.blockVertical&&(n=a.deltaX<0?d.Direction.LEFT:d.Direction.RIGHT),f=g({},a,{deltaX:a.deltaX+this.fixedStartPointX,deltaY:a.deltaY+this.fixedStartPointY,estimatedDeltaX:a.estimatedDeltaX+this.fixedStartPointX,estimatedDeltaY:a.estimatedDeltaY+this.fixedStartPointY,direction:n}),f.eventType){case d.Event.START:this.isTriggered=!1,b.sendEvent(h.prepare,f)===!1&&(m=k.FINISHED);break;case d.Event.MOVE:this.isTriggered||b.sendEvent(h.start,f)!==!1||f.preventDefault(),m=b.sendEvent(h.drag,f)?k.RUNNING:k.FINISHED,m===!1&&f.preventDefault(),this.isTriggered=!0;break;case d.Event.BLOCKED:case d.Event.END:m=k.FINISHED,this.isTriggered&&(b.sendEvent(h.end,f)===!1&&f.preventDefault(),this.isTriggered=!1);break;case d.Event.CANCEL:m=k.FINISHED,this.isTriggered&&(b.sendEvent(h.cancel,f)===!1&&f.preventDefault(),this.isTriggered=!1)}return m}});a.event.gesture.Drag=l}(d,a,a.tizen),function(a){var b=a.event.gesture,c=b.Result,d=b.Detector,e=d.plugin.create({name:"swipe",index:400,defaults:{timeThreshold:400,velocity:.6,orientation:b.Orientation.HORIZONTAL},handler:function(a,d,e){var f=c.PENDING,g=e.velocity;return a.eventType===b.Event.END&&(a.deltaTime>e.timeThreshold||e.orientation!==b.utils.getOrientation(a.direction)?f=c.FINISHED:(a.velocityX>g||a.velocityY>g)&&(d.sendEvent(this.name,a),f=c.FINISHED|c.BLOCK)),f}});b.Swipe=e}(d),function(a){var b=a.event.gesture,c=b.Result,d=a.event.gesture.Detector,e={start:"pinchstart",move:"pinchmove",end:"pinchend",cancel:"pinchcancel","in":"pinchin",out:"pinchout"},f=d.plugin.create({name:"pinch",index:300,eventNames:e,defaults:{velocity:.6,timeThreshold:400},isTriggered:!1,handler:function(a,d,f){var g,h=c.PENDING;switch(a.eventType){case b.Event.MOVE:if(1===a.pointers.length&&a.distance>35)h=c.FINISHED;else if(!this.isTriggered&&a.pointers.length>=2)this.isTriggered=!0,d.sendEvent(e.start,a)===!1&&a.preventDefault(),h=c.RUNNING;else if(this.isTriggered){if(a.deltaTime<f.timeThreshold&&(a.velocityX>f.velocity||a.velocityY>f.velocity))return g=a.scale<1?d.sendEvent(e["in"],a):d.sendEvent(e.out,a),g===!1&&a.preventDefault(),this.isTriggered=!1,h=c.FINISHED|c.BLOCK;d.sendEvent(e.move,a)===!1&&a.preventDefault(),h=c.RUNNING}break;case b.Event.BLOCKED:case b.Event.END:this.isTriggered&&(d.sendEvent(e.end,a)===!1&&a.preventDefault(),this.isTriggered=!1,h=c.FINISHED);break;case b.Event.CANCEL:this.isTriggered&&(d.sendEvent(e.cancel,a)===!1&&a.preventDefault(),this.isTriggered=!1,h=c.FINISHED)}return h}});a.event.gesture.Pinch=f}(d),function(a){var b=a.event.gesture,c=b.Detector,d=c.plugin.create({name:"longpress",index:600,defaults:{longPressTimeThreshold:750,longPressDistanceThreshold:20,preventClick:!0},isTriggered:!1,longPressTimeOutId:0,handler:function(a,c,d){var e=b.Result.PENDING;switch(a.eventType){case b.Event.START:this.isTriggered=!1,this.longPressTimeOutId=setTimeout(function(){this.isTriggered=!0,c.sendEvent(this.name,a)}.bind(this),d.longPressTimeThreshold);break;case b.Event.MOVE:a.distance>d.longPressDistanceThreshold&&!this.isTriggered&&(clearTimeout(this.longPressTimeOutId),e=b.Result.FINISHED);break;case b.Event.END:this.isTriggered?d.preventClick&&a.preventDefault():clearTimeout(this.longPressTimeOutId),e=b.Result.FINISHED}return e}});b.LongPress=d}(d),function(a,b){b.widget.core.scroller=b.widget.core.scroller||{}}(a,d),function(a,b){b.widget.core.scroller.effect=b.widget.core.scroller.effect||{}}(a,d),function(a,b){var c=b.util.object,d=b.util.selectors,e=function(a,d){var f=this;f._orientation=null,f._maxScrollValue=null,f._container=null,f._effectElement={top:null,bottom:null,left:null,right:null},f.options=c.merge({},e.defaults,{scrollEndEffectArea:b.getConfig("scrollEndEffectArea",e.defaults.scrollEndEffectArea)}),f._targetElement=null,f._isShow=!1,f._isDrag=!1,f._isShowAnimating=!1,f._isHideAnimating=!1,f._create(a,d)},f={VERTICAL:"vertical",HORIZONTAL:"horizontal",VERTICAL_HORIZONTAL:"vertical-horizontal"},g={content:"content",screen:"screen"},h={duration:500,scrollEndEffectArea:"content"},i={bouncingEffect:"ui-scrollbar-bouncing-effect",page:"ui-page",left:"ui-left",right:"ui-right",top:"ui-top",bottom:"ui-bottom",hide:"ui-hide",show:"ui-show"};e.Orientation=f,e.defaults=h,e.prototype={_create:function(a,b){var c=this;c.options.scrollEndEffectArea===g.content?c._container=a:c._container=d.getClosestByClass(a,i.page),c._orientation=b.orientation,c._orientation===f.HORIZONTAL||c._orientation==f.VERTICAL?c._maxScrollValue=c._getValue(b.maxScrollX,b.maxScrollY):c._maxScrollValue={x:b.maxScrollX,y:b.maxScrollY},c._initLayout()},_createDivElement:function(){return a.createElement("DIV")},_initLayout:function(){var a=this,b=null,c=null,d=null,e=null,g=i.bouncingEffect;(a._orientation===f.HORIZONTAL||a._orientation==f.VERTICAL_HORIZONTAL)&&(b=a._createDivElement(),c=a._createDivElement(),b.className=g+" "+i.left,c.className=g+" "+i.right,a._container.appendChild(b),a._container.appendChild(c),a._registerAnimationEnd(b),a._registerAnimationEnd(c),a._effectElement.left=b,a._effectElement.right=c),(a._orientation===f.VERTICAL||a._orientation==f.VERTICAL_HORIZONTAL)&&(d=a._createDivElement(),e=a._createDivElement(),d.className=g+" "+i.top,e.className=g+" "+i.bottom,a._container.appendChild(d),a._container.appendChild(e),a._registerAnimationEnd(d),a._registerAnimationEnd(e),a._effectElement.top=d,a._effectElement.bottom=e)},_registerAnimationEnd:function(a){a.addEventListener("animationEnd",this),a.addEventListener("webkitAnimationEnd",this),a.addEventListener("mozAnimationEnd",this),a.addEventListener("msAnimationEnd",this),a.addEventListener("oAnimationEnd",this)},_unregisterAnimationEnd:function(a){a.removeEventListener("animationEnd",this),a.removeEventListener("webkitAnimationEnd",this),a.removeEventListener("mozAnimationEnd",this),a.removeEventListener("msAnimationEnd",this),a.removeEventListener("oAnimationEnd",this)},drag:function(a,b){this._isDrag=!0,this._checkAndShow(a,b)},dragEnd:function(){var a=this;!a._isShow||a._isShowAnimating||a._isHideAnimating||a._beginHide(),a._isDrag=!1},show:function(){var a=this;a._targetElement&&(a._isShow=!0,a._beginShow())},hide:function(){var a=this;a._isShow&&(a._targetElement.style.display="none",a._targetElement.classList.remove(i.hide),a._targetElement.classList.remove(i.show)),a._isShow=!1,a._isShowAnimating=!1,a._isHideAnimating=!1,a._targetElement=null},_checkAndShow:function(a,b){var c=this,d=null;c._isShow?!c._isShow||c._isDrag||c._isShowAnimating||c._isHideAnimating||c._beginHide():(c._orientation===f.HORIZONTAL||c._orientation===f.VERTICAL?(d=c._getValue(a,b),d>=0?c._targetElement=c._getMinEffectElement():d<=c._maxScrollValue&&(c._targetElement=c._getMaxEffectElement())):0==b?c._targetElement=c._effectElement.top:b==-c._maxScrollValue.y?c._targetElement=c._effectElement.bottom:0==a?c._targetElement=c._effectElement.left:a==-c._maxScrollValue.x&&(c._targetElement=c._effectElement.right),c.show())},_getValue:function(a,b){return this._orientation===f.VERTICAL_HORIZONTAL?null:this._orientation===f.HORIZONTAL?a:b},_getMinEffectElement:function(){var a=this;return a._orientation===f.VERTICAL_HORIZONTAL?null:a._orientation===f.HORIZONTAL?a._effectElement.left:a._effectElement.top},_getMaxEffectElement:function(){var a=this;return a._orientation===f.VERTICAL_HORIZONTAL?null:a._orientation===f.HORIZONTAL?a._effectElement.right:a._effectElement.bottom},_beginShow:function(){var a=this;a._targetElement&&!a._isShowAnimating&&(a._targetElement.style.display="block",a._targetElement.classList.remove(i.hide),a._targetElement.classList.add(i.show),a._isShowAnimating=!0,a._isHideAnimating=!1)},_finishShow:function(){var a=this;a._isShowAnimating=!1,a._isDrag||(a._targetElement.classList.remove(i.show),a._beginHide())},_beginHide:function(){var a=this;a._isHideAnimating||(a._targetElement.classList.remove(i.show),a._targetElement.classList.add(i.hide),a._isHideAnimating=!0,a._isShowAnimating=!1)},_finishHide:function(){var a=this;a._isHideAnimating=!1,a._targetElement.classList.remove(i.hide),a.hide(),a._checkAndShow()},handleEvent:function(a){a.type.toLowerCase().indexOf("animationend")>-1&&"-"!==a.animationName.charAt(0)&&(this._isShowAnimating?this._finishShow():this._isHideAnimating&&this._finishHide())},destroy:function(){var a=this,b=a._effectElement.top,c=a._effectElement.bottom,d=a._effectElement.left,e=a._effectElement.right;b&&(a._unregisterAnimationEnd(b),a._container.removeChild(b)),c&&(a._unregisterAnimationEnd(c),a._container.removeChild(c)),d&&(a._unregisterAnimationEnd(d),a._container.removeChild(d)),e&&(a._unregisterAnimationEnd(e),a._container.removeChild(e)),a._container=null,a._effectElement=null,a._targetElement=null,a._isShow=null,a._orientation=null,a._maxScrollValue=null}},b.widget.core.scroller.effect.Bouncing=e}(a.document,d),function(b,c){var d=c.widget.BaseWidget,e=c.engine,f=c.util.object,g=c.event,h=new d,i=c.widget.core.scroller.effect.Bouncing,j={START:"scrollstart",MOVE:"scrollmove",END:"scrollend",CANCEL:"scrollcancel"},k=!1,l=function(){};l.Orientation={VERTICAL:"vertical",HORIZONTAL:"horizontal"},l.EventType=j,h._build=function(a){return 1!==a.children.length?c.error("[Scroller] Scroller should have only one child."):(this.scroller=a.children[0],this.scrollerStyle=this.scroller.style,this.bouncingEffect=null,this.scrollbar=null,this.scrollerWidth=0,this.scrollerHeight=0,this.scrollerOffsetX=0,this.scrollerOffsetY=0,this.maxScrollX=0,this.maxScrollY=0,this.startScrollerOffsetX=0,this.startScrollerOffsetY=0,this.orientation=null,this.enabled=!0,this.scrolled=!1,this.dragging=!1,this.scrollCanceled=!1),a},h._configure=function(){this.options=f.merge({},this.options,{scrollDelay:0,threshold:30,scrollbar:"",useBouncingEffect:!0,orientation:"vertical"})},h._init=function(a){var b=null,c=this.options,d=null,e=a.style,f=null,g=a.offsetWidth/2,h=a.offsetHeight/2;return b=a.children[0],this.scroller=b,f=b.style,this.scrollerStyle=f,d=b.children,this.orientation=this.orientation||("horizontal"===c.orientation?l.Orientation.HORIZONTAL:l.Orientation.VERTICAL),this.scrollerWidth=b.offsetWidth,this.scrollerHeight=b.offsetHeight,d.length?(this.maxScrollX=g-this.scrollerWidth+d[d.length-1].offsetWidth/2,this.maxScrollY=h-this.scrollerHeight+d[d.length-1].offsetHeight/2,this.minScrollX=g-d[0].offsetWidth/2,this.minScrollY=h-d[0].offsetHeight/2):(this.maxScrollY=360,this.minScrollY=0),this.scrolled=!1,this.touching=!0,this.scrollCanceled=!1,this.orientation===l.Orientation.HORIZONTAL?this.maxScrollY=0:this.maxScrollX=0,e.overflow="hidden",e.position="relative",f.position="absolute",f.top="0px",f.left="0px",f.width=this.scrollerWidth+"px",f.height=this.scrollerHeight+"px",this._initScrollbar(),this._initBouncingEffect(),a},h._initScrollbar=function(){var a,b=this.options.scrollbar;b&&(a=c.widget.core.scroller.scrollbar.type[b],a&&(this.scrollbar=e.instanceWidget(this.element,"ScrollBar",{type:a,orientation:this.orientation})))},h._initBouncingEffect=function(){var a=this.options;a.useBouncingEffect&&(this.bouncingEffect=new i(this.element,{maxScrollX:this.maxScrollX,maxScrollY:this.maxScrollY,orientation:this.orientation}))},h._resetLayout=function(){var a=this.element.style,b=this.scrollerStyle;a.overflow="hidden",a.position="relative",b&&(b.position="",b.top="",b.left="",b.width="",b.height="",b["-webkit-transform"]="",b["-moz-transition"]="",b["-ms-transition"]="",b["-o-transition"]="",b.transition="")},h._bindEvents=function(){c.event.enableGesture(this.scroller,new c.event.gesture.Drag({threshold:this.options.threshold,delay:this.options.scrollDelay,blockVertical:this.orientation===l.Orientation.HORIZONTAL,blockHorizontal:this.orientation===l.Orientation.VERTICAL})),g.on(this.scroller,"drag dragstart dragend dragcancel",this),a.addEventListener("resize",this)},h._unbindEvents=function(){this.scroller&&(c.event.disableGesture(this.scroller),g.off(this.scroller,"drag dragstart dragend dragcancel",this),a.removeEventListener("resize",this))},h.handleEvent=function(a){switch(a.type){case"dragstart":this._start(a);break;case"drag":this._move(a);break;case"dragend":this._end(a);break;case"dragcancel":this._cancel(a);break;case"resize":this.refresh()}},h._refresh=function(){this._unbindEvents(),this._clear(),this._init(this.element),this._bindEvents()},h.scrollTo=function(a,b,c){this._translate(a,b,c),this._translateScrollbar(a,b,c)},h._translate=function(b,c,d){var e,f={normal:"none",webkit:"none",moz:"none",ms:"none",o:"none"},g=this.scrollerStyle;d&&(f.normal="transform "+d/1e3+"s ease-out",f.webkit="-webkit-transform "+d/1e3+"s ease-out",f.moz="-moz-transform "+d/1e3+"s ease-out",f.ms="-ms-transform "+d/1e3+"s ease-out",f.o="-o-transform "+d/1e3+"s ease-out"),e="translate3d("+b+"px,"+c+"px, 0)",g["-webkit-transform"]=g["-moz-transform"]=g["-ms-transform"]=g["-o-transform"]=g.transform=e,g.transition=f.normal,g["-webkit-transition"]=f.webkit,g["-moz-transition"]=f.moz,g["-ms-transition"]=f.ms,g["-o-transition"]=f.o,this.scrollerOffsetX=a.parseInt(b,10),this.scrollerOffsetY=a.parseInt(c,10)},h._translateScrollbar=function(a,b,c,d){this.scrollbar&&this.scrollbar.translate(this.orientation===l.Orientation.HORIZONTAL?-a:-b,c,d)},h._start=function(){var a=this;a.scrolled=!1,a.dragging=!0,a.scrollCanceled=!1,a.startScrollerOffsetX=a.scrollerOffsetX,a.startScrollerOffsetY=a.scrollerOffsetY},h._move=function(a){var b=this.startScrollerOffsetX,c=this.startScrollerOffsetY,d=!k;this.enabled&&!this.scrollCanceled&&this.dragging&&(this.orientation===l.Orientation.HORIZONTAL?b+=a.detail.estimatedDeltaX:c+=a.detail.estimatedDeltaY,(b>this.minScrollX||b<this.maxScrollX)&&(b=b>this.minScrollX?this.minScrollX:this.maxScrollX),(c>this.minScrollY||c<this.maxScrollY)&&(c=c>this.minScrollY?this.minScrollY:this.maxScrollY),b!==this.scrollerOffsetX||c!==this.scrollerOffsetY?(this.scrolled||this.trigger(j.START),this.scrolled=!0,this._translate(b,c),this._translateScrollbar(b,c,0,d),this.trigger(j.MOVE),this.bouncingEffect&&this.bouncingEffect.hide()):(this.bouncingEffect&&this.bouncingEffect.drag(b,c),this._translateScrollbar(b,c,0,d)))},h._end=function(){this.dragging&&(this.bouncingEffect&&this.bouncingEffect.dragEnd(),this.scrollbar&&this.scrollbar.end(),this._endScroll(),this.dragging=!1)},h._endScroll=function(){this.scrolled&&this.trigger(j.END),this.scrolled=!1},h._cancel=function(){this.scrollCanceled=!0,this.scrolled&&(this._translate(this.startScrollerOffsetX,this.startScrollerOffsetY),this._translateScrollbar(this.startScrollerOffsetX,this.startScrollerOffsetY),this.trigger(j.CANCEL)),this.scrollbar&&this.scrollbar.end(),this.scrolled=!1,this.dragging=!1},h._clear=function(){this.scrolled=!1,this.scrollCanceled=!1,this._resetLayout(),this._clearScrollbar(),this._clearBouncingEffect()},h._clearScrollbar=function(){this.scrollbar&&this.scrollbar.destroy(),this.scrollbar=null},h._clearBouncingEffect=function(){this.bouncingEffect&&this.bouncingEffect.destroy(),this.bouncingEffect=null},h._disable=function(){this.enabled=!1},h._enable=function(){this.enabled=!0},h._destroy=function(){this._unbindEvents(),this._clear(),this.scrollerStyle=null,this.scroller=null},l.prototype=h,c.widget.core.scroller.Scroller=l,e.defineWidget("Scroller",".scroller",["scrollTo","cancel"],l)}(a.document,d),function(a,b){b.widget.core.scroller.scrollbar=b.widget.core.scroller.scrollbar||{}}(a,d),function(a,b){b.widget.core.scroller.scrollbar.type=b.widget.core.scroller.scrollbar.type||{}}(a,d),function(a,b){b.widget.core.scroller.scrollbar.type["interface"]={setScrollbarLayout:function(){},remove:function(){},start:function(){},end:function(){},offset:function(){}}}(a.document,d),function(a,b){var c=b.util.object,d=b.widget.core.scroller.scrollbar.type,e=d["interface"],f=b.widget.core.scroller.Scroller;d.bar=c.merge({},e,{options:{animationDuration:500},setScrollbar:function(a,b,c){this._viewLayout=a,this._clipLayout=c,this._firstChildLayout=b,this._ratio=c/b},getScrollbarSize:function(){return this._firstChildLayout/this._viewLayout*this._firstChildLayout*this._ratio},offset:function(a,b){var c,d;return b=b*this._clipLayout/this._viewLayout,a===f.Orientation.VERTICAL?(c=0,d=b):(c=b,d=0),{x:c,y:d}},start:function(a){var b=a.style,c=this.options.animationDuration;b["-webkit-transition"]=b["-moz-transition"]=b["-ms-transition"]=b["-o-transition"]=b.transition="opacity "+c/1e3+"s ease",b.opacity=1},end:function(a){var b=a.style,c=this.options.animationDuration;b["-webkit-transition"]=b["-moz-transition"]=b["-ms-transition"]=b["-o-transition"]=b.transition="opacity "+c/1e3+"s ease",b.opacity=0}})}(a.document,d),function(b,c){var d=c.util.object,e=c.widget.core.scroller.scrollbar.type,f=e["interface"],g=c.widget.core.scroller.Scroller;e.tab=d.merge({},f,{options:{wrapperClass:"ui-scrollbar-tab-type",barClass:"ui-scrollbar-indicator",margin:1},insertAndDecorate:function(b){var c,d,e,f,h=b.wrapper,i=b.bar,j=b.container,k=b.clip,l=b.sections,m=b.orientation,n=this.options.margin,o=k.offsetWidth,p=k.offsetHeight,q=j.offsetWidth,r=j.offsetHeight,s=m===g.Orientation.VERTICAL?p:o,t=m===g.Orientation.VERTICAL?r:q,u=s/t;if(this.containerSize=q,this.maxScrollOffset=s-t,this.scrollZoomRate=q/s,this.barSize=a.parseInt((q-2*n*(u-1))/u),h.className=this.options.wrapperClass,i.className=this.options.barClass,i.style.width=this.barSize+"px",i.style.left="0px",j.insertBefore(h,k),d=i.offsetHeight,c=p-d,k.style.height=c+"px",l&&l.length)for(e=0,f=l.length;f>e;e++)l[e].style.height=c+"px"},remove:function(a){var b=a.wrapper,c=a.container;c&&b&&c.removeChild(b)},offset:function(a,b){return{x:0===b?-1:b===this.maxScrollOffset?this.containerSize-this.barSize-this.options.margin:b*this.scrollZoomRate,y:0}}})}(a.document,d),function(b,c){var d=c.widget.BaseWidget,e=c.engine,f=new d,g=c.util.object,h=c.util.selectors,i=c.widget.core.Page,j={wrapperClass:"ui-scrollbar-bar-type",barClass:"ui-scrollbar-indicator",orientationClass:"ui-scrollbar-",page:i.classes.uiPage},k=c.widget.core.scroller.Scroller,l=function(){this.wrapper=null,this.barElement=null,this.container=null,this.view=null,this.options={},this.type=null,this.maxScroll=null,this.started=!1,this.displayDelayTimeoutId=null,this.lastScrollPosition=0};f._build=function(a){return this.clip=a,this.view=a.children[0],this.firstChild=this.view.children[0],a},f._configure=function(){this.options=g.merge({},this.options,{type:!1,displayDelay:700,orientation:k.Orientation.VERTICAL})},f._init=function(a){this.clip=a,this.view=a.children[0],this.firstChild=this.view.children[0],this.type=this.options.type,this.type&&this._createScrollbar()},f._bindEvents=function(){b.addEventListener("visibilitychange",this)},f._createScrollbar=function(){var a=this.options.orientation,c=b.createElement("DIV"),d=b.createElement("span"),e=this.view,f=this.clip,g=this.firstChild,h=this.type;f.appendChild(c),c.appendChild(d),c.classList.add(j.wrapperClass),d.className=j.barClass,a===k.Orientation.HORIZONTAL?(h.setScrollbar(e.offsetWidth,g.offsetWidth,f.offsetWidth),d.style.width=h.getScrollbarSize()+"px",c.classList.add(j.orientationClass+"horizontal")):(h.setScrollbar(e.offsetHeight,g.offsetHeight,f.offsetHeight),d.style.height=h.getScrollbarSize()+"px",c.classList.add(j.orientationClass+"vertical")),this.wrapper=c,this.barElement=d},f._removeScrollbar=function(){this.clip.removeChild(this.wrapper),this.wrapper=null,this.barElement=null},f._refresh=function(){var a=this;a._clear(),a._init(a.element),a.translate(a.lastScrollPosition)},f.translate=function(b,c,d){var e,f,g,h=this.options.orientation,i={normal:"none",webkit:"none",moz:"none",ms:"none",o:"none"};this.wrapper&&this.type&&this.lastScrollPosition!==b&&(d=d!==!1,this.lastScrollPosition=b,b=this.type.offset(h,b),f=this.barElement.style,c&&(i.normal="transform "+c/1e3+"s ease-out",i.webkit="-webkit-transform "+c/1e3+"s ease-out",i.moz="-moz-transform "+c/1e3+"s ease-out",i.ms="-ms-transform "+c/1e3+"s ease-out",i.o="-o-transform "+c/1e3+"s ease-out"),e="translate3d("+b.x+"px,"+b.y+"px, 0)",f["-webkit-transform"]=f["-moz-transform"]=f["-ms-transform"]=f["-o-transform"]=f.transform=e,f["-webkit-transition"]=i.webkit,f["-moz-transition"]=i.moz,f["-ms-transition"]=i.ms,f["-o-transition"]=i.o,f.transition=i.normal,this.started||this._start(),null!==this.displayDelayTimeoutId&&(a.clearTimeout(this.displayDelayTimeoutId),this.displayDelayTimeoutId=null),d&&(g=(c||0)+this.options.displayDelay,this.displayDelayTimeoutId=a.setTimeout(this._end.bind(this),g)))},f.end=function(){this.displayDelayTimeoutId||(this.displayDelayTimeoutId=a.setTimeout(this._end.bind(this),this.options.displayDelay))},f._start=function(){this.type.start(this.wrapper,this.barElement),
+this.started=!0},f._end=function(){this.started=!1,this.displayDelayTimeoutId=null,this.type&&this.type.end(this.wrapper,this.barElement)},f.handleEvent=function(a){var d;switch(a.type){case"visibilitychange":d=h.getClosestBySelector(this.clip,"."+j.page),"visible"===b.visibilityState&&d===c.activePage&&this.refresh()}},f._clear=function(){this._removeScrollbar(),this.started=!1,this.type=null,this.barElement=null,this.displayDelayTimeoutId=null},f._destroy=function(){this._clear(),b.removeEventListener("visibilitychange",this),this.options=null,this.clip=null,this.view=null},l.prototype=f,c.widget.core.scroller.scrollbar.ScrollBar=l,e.defineWidget("ScrollBar","",["translate"],l)}(a.document,d),function(a){a.util.easing={cubicOut:function(a,b,c,d){return a/=d,a--,c*(a*a*a+1)+b},easeOutQuad:function(a,b,c,d){return-c*(a/=d)*(a-2)+b},easeOutSine:function(a,b,c,d){return c*Math.sin(a/d*(Math.PI/2))+b},easeOutExpo:function(a,b,c,d){return a===d?b+c:c*(-Math.pow(2,-10*a/d)+1)+b},linear:function(a,b,c,d){return b+c*a/d}}}(d),function(a,b,c){function d(a){"static"===m.getCSSProperty(a,"position")?a.style.position="relative":a.style.position="absolute"}function e(a,b,c,d,e,f,g,h,i,l){var m=(new Date).getTime()-c,n=parseInt(k.cubicOut(m,d,f,l),10),o=parseInt(k.cubicOut(m,e,g,l),10);b.scrollLeft!==h&&(b.scrollLeft=n),b.scrollTop!==i&&(b.scrollTop=o),(n!==h||o!==i)&&n>=0&&o>=0&&a.currentTransition?j.requestAnimationFrame(a.currentTransition):a.currentTransition=null}function f(a,b,c,d,f){f?(a.currentTransition=e.bind(null,a,b,(new Date).getTime(),b.scrollLeft,b.scrollTop,c,d,b.scrollLeft+c,b.scrollTop+d,f),j.requestAnimationFrame(a.currentTransition)):(c&&(b.scrollLeft=b.scrollLeft+c),d&&(b.scrollTop=b.scrollTop+d))}function g(a){var b=a._ui,c=b.jumpHorizontalButton,d=b.jumpVerticalButton,e=c||d?m.getElementOffset(a.element):null;c&&(c.style.left=e.left+"px"),d&&(d.style.top=e.top+"px")}var h=c.widget.BaseWidget,i=c.engine,j=c.util,k=c.util.easing,l=c.event,m=c.util.DOM,n=c.util.selectors,o=null,p=c.widget.core.Page,q=p.classes.uiPage,r=p.classes.uiPageActive,s=p.events,t=function(){var a,b=this;b._scrollState={currentTransition:null},b.scrollDuration=300,b.scrollviewSetHeight=!1,b.options={scroll:"y",scrollJump:!1,scrollIndicator:!1},a=b._ui||{},a.view=null,a.page=null,a.jumpHorizontalButton=null,a.jumpVerticalButton=null,a.overflowTop=null,a.overflowBottom=null,b._ui=a,b._callbacks={repositionJumps:null,jumpTop:null,jumpBottom:null},b._timers={scrollIndicatorHide:null}},u={view:"ui-scrollview-view",clip:"ui-scrollview-clip",jumpTop:"ui-scroll-jump-top-bg",jumpLeft:"ui-scroll-jump-left-bg",indicatorTop:"ui-overflow-indicator-top",indicatorBottom:"ui-overflow-indicator-bottom",indicatorTopShown:"ui-scrollindicator-top",indicatorBottomShown:"ui-scrollindicator-bottom",indicatorLeftShown:"ui-scrollindicator-left",indicatorRightShown:"ui-scrollindicator-right"};t.classes=u,t.prototype=new h,t.prototype._build=function(a){var c,e,f,g=this,h=g._ui,j=n.getChildrenByClass(a,u.view)[0]||b.createElement("div"),k=a.firstChild,l=g.options,m=l.scroll;for(j.className=u.view;k;)c=k,k=k.nextSibling,j!==c&&j.appendChild(c);return j.parentNode!==a&&a.appendChild(j),d(j),a.classList.add(u.clip),a.classList.add("ui-content"),g._setClipOverflowStyle(a),l.scrollJump&&(m.indexOf("x")>-1&&(f=b.createElement("div"),f.className=u.jumpLeft,e=b.createElement("div"),f.appendChild(e),a.appendChild(f),i.instanceWidget(e,"Button",{icon:"scrollleft",style:"box"}),h.jumpHorizontalButton=f),m.indexOf("y")>-1&&(f=b.createElement("div"),f.className=u.jumpTop,e=b.createElement("div"),f.appendChild(e),a.appendChild(f),i.instanceWidget(e,"Button",{icon:"scrolltop",style:"box"}),h.jumpVerticalButton=f)),h.view=j,l.scrollIndicator&&g._addOverflowIndicator(a),a},t.prototype._setClipOverflowStyle=function(a){var b,c=this,d=c.options.scroll;switch(a=a||c.element,b=a.style,d){case"x":b.overflowX="scroll";break;case"xy":b.overflow="scroll";break;default:b.overflowY="auto"}},t.prototype._setClipOverflowHidden=function(a){var b,c=this,d=c.options.scroll;switch(a=a||c.element,b=a.style,d){case"x":b.overflowX="hidden";break;case"xy":b.overflow="hidden";break;default:b.overflowY="hidden"}},t.prototype._init=function(a){var b=this._ui,c=b.page;b.view||(b.view=n.getChildrenByClass(a,u.view)[0]),c||(c=n.getClosestByClass(a,q),c&&(b.page=c,c.classList.contains(r)&&this.options.scrollJump&&g(this)))},t.prototype._addOverflowIndicator=function(a){var c=this._ui,d=b.createElement("div"),e=b.createElement("div");d.className=u.indicatorTop,e.className=u.indicatorBottom,a.appendChild(d),a.appendChild(e),c.overflowTop=d,c.overflowBottom=e},t.prototype._clearIndicator=function(a){var b=a.classList,c=n.getChildrenByClass(a,u.indicatorTop)[0],d=n.getChildrenByClass(a,u.indicatorBottom)[0];b.remove(u.indicatorTopShown),b.remove(u.indicatorBottomShown),b.remove(u.indicatorRightShown),b.remove(u.indicatorLeftShown),c.style="",d.style=""},t.prototype._setTopAndBottomIndicators=function(a,b){var c,d=this,e=d._ui.overflowTop,f=d._ui.overflowBottom;e&&(c=e.style,c.width=b.width+"px",c.top=b.clipTop+"px",c.backgroundColor=b.color),f&&(c=f.style,c.width=b.width+"px",c.top=b.clipTop+b.clipHeight-m.getElementHeight(f)+"px",c.backgroundColor=b.color)},t.prototype._showScrollIndicator=function(){var b=this,c=b.element,d=b._ui.view,e=c.scrollTop,f=m.getElementHeight(c),g=m.getElementOffset(c),h=m.getElementHeight(d),i=m.getElementWidth(d),j=m.getElementOffset(d);switch(b._clearIndicator(c),b.options.scroll){case"x":case"xy":break;default:b._setTopAndBottomIndicators(c,{clipTop:g.top,clipHeight:f,width:i,color:a.getComputedStyle(c).backgroundColor}),j.top-e<g.top&&c.classList.add(u.indicatorTopShown),j.top-e+h>g.top+f&&c.classList.add(u.indicatorBottomShown)}},t.prototype._hideScrollIndicator=function(){var b=this,c=b._timers,d=c.scrollIndicatorHide;d&&a.clearTimeout(d),c.scrollIndicatorHide=a.setTimeout(function(){b._clearIndicator(b.element)},1500)},t.prototype.scrollTo=function(a,b,c){var d=this.element;this.translateTo(a-d.scrollLeft,b-d.scrollTop,c)},t.prototype.translateTo=function(a,b,c){f(this._scrollState,this.element,a,b,c)},t.prototype.ensureElementIsVisible=function(a){var b,c,d,e,f,g=this.element,h=m.getElementHeight(g),i=m.getElementWidth(g),j=0,k=h,l=m.getElementHeight(a),n=m.getElementWidth(a),o=0,p=h>=l&&i>=n,q=function(a){var b=a.getAttribute("id"),c=a.tagName.toLowerCase();return b&&["input","textarea","button"].indexOf(c)>-1?a.parentNode.querySelector("label[for="+b+"]"):null},r=!0;for(f=a.parentNode;f&&f!==g;)o+=f.offsetTop,f=f.parentNode;switch(b=o+l,r){case p&&o>j&&k>b:case o>j&&k>o&&b>k:case j>o&&k>b:break;case p&&o>j&&b>k:case p&&j>o&&k>b:case p:this.centerToElement(a);break;default:for(c=q(a),c||(c=a),d=c.offsetLeft+m.getCSSProperty(c,"margin-left",0,"integer"),e=c.offsetTop+m.getCSSProperty(c,"margin-top",0,"integer"),f=c.parentNode;f&&f!==g;)d+=f.offsetLeft,e+=f.offsetTop,f=f.parentNode;this.scrollTo(d,e,this.scrollDuration)}},t.prototype.centerToElement=function(a){for(var b=this.element,c=parseInt(m.getElementWidth(b)/2-m.getElementWidth(a)/2,10),d=parseInt(m.getElementHeight(b)/2-m.getElementHeight(a)/2,10),e=a.offsetLeft,f=a.offsetTop,g=a.parentNode;g&&g!==b;)e+=g.offsetLeft+m.getCSSProperty(g,"margin-left",0,"integer"),f+=g.offsetTop+m.getCSSProperty(g,"margin-top",0,"integer"),g=g.parentNode;this.scrollTo(e-c,f-d,this.scrollDuration)},t.prototype.getScrollPosition=function(){var a=this.element;return{x:a.scrollLeft,y:a.scrollTop}},t.prototype._bindEvents=function(c){var d,e,f,h=null,i=function(){l.trigger(c,"scrollstop"),a.clearTimeout(h),h=null},j=this,k=j._ui,m=k.page,n=k.jumpVerticalButton,p=k.jumpHorizontalButton,q=j._callbacks,r=j.options.scroll;m&&(j.options.scrollJump&&(d=g.bind(null,j),e=function(){j.scrollTo(c.scrollLeft,0,250)},f=function(){j.scrollTo(0,c.scrollTop,250)},m.addEventListener(s.SHOW,d,!1),n&&n.firstChild.addEventListener("vclick",e,!1),p&&p.firstChild.addEventListener("vclick",f,!1),q.repositionJumps=d,q.jumpTop=e,q.jumpLeft=f),c.addEventListener("scroll",function(){h?a.clearTimeout(h):l.trigger(c,"scrollstart"),"y"!==r||0!==c.scrollTop&&c.scrollTop+c.clientHeight!==c.scrollHeight?"x"!==r||0!==c.scrollLeft&&c.scrollLeft+c.clientWidth!==c.scrollWidth||l.trigger(c,"scrollboundary",{direction:0===c.scrollLeft?"left":"right"}):l.trigger(c,"scrollboundary",{direction:0===c.scrollTop?"top":"bottom"}),h=a.setTimeout(i,100),l.trigger(c,"scrollupdate")},!1),b.addEventListener("vmousedown",function(){o&&(o=null)},!1),j.options.scrollIndicator&&(q.scrollUpdate=j._showScrollIndicator.bind(j),c.addEventListener("scrollupdate",q.scrollUpdate,!1),q.scrollStop=j._hideScrollIndicator.bind(j),c.addEventListener("scrollstop",q.scrollStop,!1)))},t.prototype._destroy=function(){var b=this,c=b.element,d=b._ui,e=d.page,f=this.options.scrollJump,g=d.jumpVerticalButton,h=d.jumpHorizontalButton,i=b._callbacks,j=i.repositionJumps,k=i.jumpTop,l=i.jumpLeft;f&&(e&&j&&e.removeEventListener(s.SHOW,j,!1),g&&k&&g.firstChild.removeEventListener("vclick",k,!1),h&&l&&h.firstChild.removeEventListener("vclick",l,!1)),b.options.scrollIndicator&&c.removeEventListener("scrollupdate",i.scrollUpdate,!1),b._timers.scrollIndicatorHide&&a.clearTimeout(b._timers.scrollIndicatorHide)},t.prototype.enableScrolling=function(){this._setClipOverflowStyle()},t.prototype.disableScrolling=function(){this._setClipOverflowHidden()},c.widget.core.Scrollview=t}(a,a.document,d),function(a,b){var c=b.widget.BaseWidget,d=b.engine,e=b.event,f=function(){},g={},h={TAB_CHANGE:"tabchange"},i=new c;f.prototype=i,f.classes=g,i._setActive=function(a){var b=this.element;e.trigger(b,h.TAB_CHANGE,{active:a})},i.setActive=function(a){this._setActive(a)},i._getActive=function(){return this.options.active},i.getActive=function(){return this._getActive()},b.widget.core.Tab=f,d.defineWidget("Tab","",["setActive","getActive"],f,"tizen")}(a.document,d),function(a,b){var c=b.widget.core.Tab,d=b.engine,e=b.util.object,f=function(){this.tabSize=0,this.width=0},g=c.prototype,h=new c;f.prototype=h,h._init=function(a){var b=this.options;this.width=a.offsetWidth,a.classList.add(b.wrapperClass)},h._configure=function(){e.merge(this.options,{margin:4,triggerEvent:!1,wrapperClass:"ui-tab-indicator",itemClass:"ui-tab-item",activeClass:"ui-tab-active",active:0})},h._createIndicator=function(){var b,c=this.options,d=a.createDocumentFragment(),e=[],f=c.margin,g=0,h=this.tabSize,i=this.width-f*(h-1),j=Math.floor(i/h),k=i%h,l=0;for(g=0;h>g;g++)e[g]=j;for(g=Math.floor((h-k)/2);k>0;g++,k--)e[g]+=1;for(g=0;h>g;g++)b=a.createElement("span"),b.classList.add(c.itemClass),b.style.width=e[g]+"px",b.style.left=l+"px",l+=e[g]+f,g===c.active&&b.classList.add(c.activeClass),d.appendChild(b);this.element.appendChild(d)},h._removeIndicator=function(){this.element.innerHTML=""},h._refresh=function(){this._removeIndicator(),this._createIndicator()},h._setActive=function(a){var b=this.options,c=this.element.children;b.active=a,[].forEach.call(c,function(a){a.classList.remove(b.activeClass)}),a<c.length&&(c[a].classList.add(b.activeClass),g._setActive.call(this,a))},h.setSize=function(a){var b=this.tabSize!==a;this.tabSize=a,b&&this.refresh()},h._destroy=function(){var a=this.options;this._removeIndicator(),this.element.classList.remove(a.wrapperClass)},b.widget.core.TabIndicator=f,d.defineWidget("TabIndicator",".ui-tab",["setActive","getActive","setSize"],f)}(a.document,d),function(a,b){function d(){this.options=m({},s),n.call(this),this._ui={page:null}}function e(a,b,d){var e=b.length,f=d!==c?d:e,g=0,h=0;for(f>e&&(f=e),h;f>h;h++)g+=a===i.HORIZONTAL?b[h].offsetWidth:b[h].offsetHeight;return g}function f(a,b,c){var d=e(a,b,c+1),f=b[c];return f&&(d-=a===i.HORIZONTAL?f.offsetWidth/2:f.offsetHeight/2),d}var g=b.widget.core.scroller.Scroller,h=b.event.gesture,i=h.Orientation,j=b.engine,k=b.util.object,l=b.event,m=b.util.object.merge,n=b.widget.core.BaseKeyboardSupport,o=b.widget.core.Page,p=b.util.selectors,q=m({CHANGE:"sectionchange"},g.EventType),r={uiSectionChanger:"ui-section-changer"},s={items:"section",activeClass:"ui-section-active",circular:!1,animate:!0,animateDuration:100,orientation:"horizontal",changeThreshold:-1,useTab:!1,fillContent:!0,model:null,directives:null};k.inherit(d,g,{_build:function(a){var b=this,c=b.options;return b.tabIndicatorElement=null,b.tabIndicator=null,b.sections=null,b.sectionPositions=[],b.activeIndex=0,b.beforeIndex=0,b._super(a),a.classList.add(r.uiSectionChanger),b.scroller.style.position="absolute",b.scroller.classList.add("ui-section-changer-container"),b.orientation="horizontal"===c.orientation?i.HORIZONTAL:i.VERTICAL,a},_configure:function(){this._super(),this.options=k.merge(this.options,s)},_fillElementFromModel:function(a,b,c){var d,e;for(d in b)b.hasOwnProperty(d)&&(e=a.querySelector("[data-bind='"+d+"']"),e&&(c&&"function"==typeof c[d]?c[d].call(e,b[d]):e.innerText=b[d]))},_setModel:function(a,b){this.options.model=b,this._findDataBinding()},_fillWidgetFromModel:function(a,b,c){var d,e,f,g,h=this,i=h.element;d=i.querySelectorAll("[data-bind='"+a+"'] > section"),1===d.length&&(e=d[0],f=e.innerHTML,g=e.parentElement,g.removeChild(e),b.forEach(function(a){var b=e.cloneNode();b.innerHTML=f,h._fillElementFromModel(b,a,c),g.appendChild(b)}))},_findDataBinding:function(){var a,b,c,d=this.options.model,e=this.options.directives;if(d)for(c in d)d.hasOwnProperty(c)&&(a=d[c],"string"==typeof a||Array.isArray(a)&&(e&&(b=e[c]),this._fillWidgetFromModel(c,a,b)))},_init:function(a){var c,d,e,f=this,g=f.options,h=f.scroller,i=f._ui;if("tab"===g.scrollbar&&(g.scrollbar=!1,g.useTab=!0),g.model&&f._findDataBinding(),i.page=p.getClosestBySelector(f.element,"."+o.classes.uiPage),h)if(f.sections="string"==typeof g.items?h.querySelectorAll(g.items):g.items,c=f.sections.length,g.circular&&3>c)b.error("[SectionChanger] if you use circular option, you must have at least three sections.");else{for(d=0;c>d;d++)e=f.sections[d].className,e&&e.indexOf(g.activeClass)>-1?f.activeIndex=d:f.isKeyboardSupport===!0&&f.disableFocusableElements(f.sections[d]),f.sectionPositions[d]=d;f._prepareLayout(),f._initLayout(),f._super(a),f._repositionSections(!0),f.setActiveSection(f.activeIndex),g.animate||(g.animateDuration=0),g.changeThreshold<0&&(g.changeThreshold=f._sectionChangerHalfWidth)}return a},_prepareLayout:function(){var a,b=this.options,c=this.sections.length,d=this.orientation,f=this.scroller.style,g=this.element.offsetHeight;0===g&&(g=this.element.parentNode.offsetHeight,this.element.style.height=g+"px"),this._sectionChangerWidth=this.element.offsetWidth,this._sectionChangerHeight=g,this._sectionChangerHalfWidth=this._sectionChangerWidth/2,this._sectionChangerHalfHeight=this._sectionChangerHeight/2,b.useTab&&(this._initTabIndicator(),a=this.tabIndicatorElement.offsetHeight,this._sectionChangerHeight-=a,this._sectionChangerHalfHeight=this._sectionChangerHeight/2,this.element.style.height=this._sectionChangerHeight+"px"),d===i.HORIZONTAL?(f.width=(b.fillContent?this._sectionChangerWidth*c:e(d,this.sections))+"px",f.height=this._sectionChangerHeight+"px"):(f.width=this._sectionChangerWidth+"px",f.height=(b.fillContent?this._sectionChangerHeight*c:e(d,this.sections))+"px")},_initLayout:function(){var a,b,c,d=0,f=0;for(b=0,c=this.sections.length;c>b;b++)a=this.sections[b].style,a.position="absolute",this.options.fillContent&&(a.width=this._sectionChangerWidth+"px",a.height=this._sectionChangerHeight+"px"),this.orientation===i.HORIZONTAL?(f=0,d=e(this.orientation,this.sections,b)):(f=e(this.orientation,this.sections,b),d=0),a.top=f+"px",a.left=d+"px"},_initBouncingEffect:function(){var a=this.options;a.circular||this._super()},_translateScrollbar:function(a,b,c,d){var e,f=this,g=f.scrollbar;g&&(e=f.orientation===i.HORIZONTAL?-a+f.minScrollX:-b+f.minScrollY,g.translate(e,c,d))},_translateScrollbarWithPageIndex:function(a,b){var c;this.scrollbar&&(c=e(this.orientation,this.sections,this.activeIndex),this.scrollbar.translate(c,b))},_initTabIndicator:function(){var b=this,c=a.createElement("div"),d=b.element,e=null;b.tabIndicatorElement=c,d.parentNode.insertBefore(c,d),e=new j.instanceWidget(c,"TabIndicator"),b.tabIndicator=e,e.setSize(b.sections.length),e.setActive(b.activeIndex),b.tabIndicatorHandler=function(a){this.tabIndicator.setActive(a.detail.active)}.bind(b),d.addEventListener(q.CHANGE,b.tabIndicatorHandler,!1)},_clearTabIndicator:function(){this.tabIndicator&&(this.element.parentNode.removeChild(this.tabIndicatorElement),this.element.removeEventListener(q.CHANGE,this.tabIndicatorHandler,!1),this.tabIndicator.destroy(),this.tabIndicator=null,this.tabIndicatorElement=null,this.tabIndicatorHandler=null)},_resetLayout:function(){var a,b,c;for(b=0,c=this.sections.length;c>b;b++)a=this.sections[b].style,a.position="",a.width="",a.height="",a.top="",a.left="";this._super()},_bindEvents:function(){var c=this;c._super(),c.scroller&&(b.event.enableGesture(c.scroller,new b.event.gesture.Swipe({orientation:c.orientation===i.HORIZONTAL?h.Orientation.HORIZONTAL:h.Orientation.VERTICAL})),l.on(c.scroller,"swipe transitionEnd webkitTransitionEnd mozTransitionEnd msTransitionEnd oTransitionEnd",c),c._ui.page&&l.on(c._ui.page,"taufocusborder",c)),b.util.rotaryScrolling&&b.util.rotaryScrolling.lock(),a.addEventListener("rotarydetent",c,!0)},_unbindEvents:function(){var c=this;c._super(),c.scroller&&(b.event.disableGesture(c.scroller),l.off(c.scroller,"swipe transitionEnd webkitTransitionEnd mozTransitionEnd msTransitionEnd oTransitionEnd",c),c._ui.page&&l.off(c._ui.page,"taufocusborder",c)),a.removeEventListener("rotarydetent",c,!0),b.util.rotaryScrolling&&b.util.rotaryScrolling.unlock()},handleEvent:function(a){switch(this._super(a),a.type){case"swipe":case"taufocusborder":this._change(a);break;case"rotarydetent":this._change(a,!0);break;case"webkitTransitionEnd":case"mozTransitionEnd":case"msTransitionEnd":case"oTransitionEnd":case"transitionEnd":a.target===this.scroller&&this._endScroll()}},_notifyChangedSection:function(a){var b,c=this.options.activeClass,d=this.sections.length,e=0;for(e=0;d>e;e++)b=this.sections[e],b.classList.remove(c),e===this.activeIndex&&b.classList.add(c);this.trigger(q.CHANGE,{active:a})},setActiveSection:function(a,b,d,e){var g,h=this.sectionPositions[a],j=this.activeIndex,k=0,l=0;b=b||0,d=!!d,e==c&&(e=!0),g=b,this.orientation===i.HORIZONTAL?k=this._sectionChangerHalfWidth-f(this.orientation,this.sections,h):l=this._sectionChangerHalfHeight-f(this.orientation,this.sections,h),(this.beforeIndex-a>1||this.beforeIndex-a<-1)&&(g=0),this.activeIndex!==a&&this.isKeyboardSupport===!0&&this.disableFocusableElements(this.sections[this.activeIndex]),this.activeIndex=a,this.beforeIndex=this.activeIndex,k!==this.scrollerOffsetX||l!==this.scrollerOffsetY?(d!==!1&&(this.trigger(q.START),this.scrolled=!0),this._translate(k,l,b),this._translateScrollbarWithPageIndex(a,g)):this._endScroll(),this.activeIndex!==j&&this._notifyChangedSection(this.activeIndex),e&&this._repositionSections(!0)},getActiveSectionIndex:function(){return this.activeIndex},_start:function(a){this._super(a),this.beforeIndex=this.activeIndex},_move:function(a){var b=this,c=b.options.changeThreshold,d=b.orientation===i.HORIZONTAL?a.detail.deltaX:a.detail.deltaY,e=b.activeIndex,f=b.beforeIndex;b._super(a),b.scrolled&&(d>c?b.activeIndex=b._calculateIndex(f-1):-c>d?b.activeIndex=b._calculateIndex(f+1):b.activeIndex=f,b.activeIndex!==e&&b._notifyChangedSection(b.activeIndex))},_end:function(){var a=this;a.scrollbar&&a.scrollbar.end(),a.enabled&&!a.scrollCanceled&&a.dragging&&(a.bouncingEffect&&a.bouncingEffect.dragEnd(),a.setActiveSection(a.activeIndex,a.options.animateDuration,!1,!1),a.dragging=!1)},_change:function(a,b){var c,d=this,e=a.detail.direction,f=e===h.Direction.UP||e===h.Direction.LEFT||"CW"===e?1:-1;"taufocusborder"===a.type&&(f*=-1),c=d._calculateIndex(d.beforeIndex+f),b=!!b,d.enabled&&!d.scrollCanceled&&(d.bouncingEffect&&d.bouncingEffect.dragEnd(),d.activeIndex!==c&&(d.isKeyboardSupport===!0&&d.sections&&(d.disableFocusableElements(d.sections[d.activeIndex]),d.blurOnActiveElement()),d.activeIndex=c,d._notifyChangedSection(c)),d.setActiveSection(c,d.options.animateDuration,b,!1),d.dragging=!1)},_endScroll:function(){var a=this;this.isKeyboardSupport===!0&&a.enableDisabledFocusableElements(a.sections[a.activeIndex]),a.enabled&&a.scrolled&&!a.scrollCanceled&&(a._repositionSections(),a._super())},_repositionSections:function(a){var b,c,d,g,h,j,k,l=this,m=l.sections,n=l.activeIndex,o=l.orientation,p=o===i.HORIZONTAL,q=m.length,r=l.sectionPositions[n],s=Math.floor(q/2),t=l.options.circular,u=0,v=0;if(p?(j=-f(o,m,t?s:n),k=0):(j=0,k=-f(o,m,t?s:n)),l._translateScrollbarWithPageIndex(n),(a||0===r||r===q-1)&&(p?u=l._sectionChangerHalfWidth+j:v=l._sectionChangerHalfHeight+k,l._translate(u,v),t))for(b=0;q>b;b++)d=(q+n-s+b)%q,c=m[d].style,l.sectionPositions[d]=b,p?(g=0,h=e(o,m,b)):(g=e(o,m,b),h=0),c.top=g+"px",c.left=h+"px"},_calculateIndex:function(a){var b=this.sections.length;return a=this.options.circular?(b+a)%b:0>a?0:a>b-1?b-1:a},_clear:function(){this._clearTabIndicator(),this._super(),this.sectionPositions.length=0},_destroy:function(){var a=this.element;a.style.height=null,a.style.width=null,this._super()}}),b.widget.core.SectionChanger=d,j.defineWidget("SectionChanger","[data-role='section-changer'], .ui-section-changer",["getActiveSectionIndex","setActiveSection"],d)}(a.document,d),function(a,b,c){function d(a,c){var d=b.createElement("div"),e=a.querySelector("."+j.UI_DIMMER_TEXT),f=a.querySelector("."+j.UI_DIMMER_BULB_LIGHT),g=a.classList;d&&(c?(e.classList.add(j.UI_DIMMER_HIDDEN),f.classList.remove(j.UI_DIMMER_HIDDEN)):(e.classList.remove(j.UI_DIMMER_HIDDEN),f.classList.add(j.UI_DIMMER_HIDDEN))),c?g.add(j.UI_DIMMER_BULB):g.remove(j.UI_DIMMER_BULB)}function e(a){return"none"!==h.getCSSProperty(a,"background-image","none","string")}var f=c.util.object,g=function(){this.options=f.merge({},g.defaults),this.bulbMode=!1,this._observer=null,this._observerCallback=this._checkStyleChange.bind(this),this._refreshCallback=this.refresh.bind(this)},h=c.util.DOM,i={value:50,min:0,max:100,bulb:!1,options:"30:blue; 60:yellow; 100:red"},j={UI_DIMMER:"ui-dimmer",UI_DIMMER_BULB:"ui-dimmer-lightbulb",UI_DIMMER_BULB_LIGHT:"ui-dimmer-lightbulb-light",UI_DIMMER_TEXT:"ui-dimmer-text",UI_DIMMER_HIDDEN:"ui-dimmer-hidden"},k=c.widget.BaseWidget,l=new k;g.prototype=l,g.defaults=i,g.classes=j,l._init=function(a){var b=this,c=new MutationObserver(this._observerCallback);return a.getAttribute("value")||a.setAttribute("value",b.options.value),c.observe(a,{attributes:!0}),b._observer=c,a},l._checkStyleChange=function(a){var b=this,c=b.options,d=b._refreshCallback;a.forEach(function(a){"style"===a.attributeName&&(c.bulb=e(a.target),d())})},l._refresh=function(){var a=this;d(a.element,a.options.bulb),a.value(a.options.value)},l._build=function(a){var c=e(a),f=this.options,g=a.querySelector("."+j.UI_DIMMER_TEXT),h=b.createElement("div");return g||(g=b.createElement("span"),g.classList.add(j.UI_DIMMER_TEXT),a.appendChild(g)),h.classList.add(j.UI_DIMMER_BULB_LIGHT),a.appendChild(h),c||(c=a.classList.contains(j.UI_DIMMER_BULB),f.bulb||(f.bulb=c)),d(a,f.bulb),this._refreshValue(a),a},l._destroy=function(){this._observer.disconnect(),this.element.innerHTML=""},l._refreshValue=function(a){var b,c,d,e,f,g,h=this,i=h.options,k=i.value,l=i.min,m=i.max,n=[],o=[];if(a=a||h.element,b=a.querySelector(".ui-dimmer-text"),!i.bulb)return k=parseInt(k,10),c=k/m,a.style.border="60px solid rgba(0, 151, 216, "+c+")",b.innerHTML=k+"%",!0;if(i.bulb&&i.options)for(d=i.options.replace(/\s+/g,"").split(";").filter(function(a){return a&&a.length>0}),d.forEach(function(a){e=a.split(":"),o.push(e[0]),n.push(e[1])}),f=a.querySelector("."+j.UI_DIMMER_BULB_LIGHT),o.unshift(l),g=0;g<o.length;g++)if(g>0&&k<o[g]&&k>o[g-1])return f.style.backgroundColor=n[g-1],!0;return!1},l._setValue=function(a,b){var c=this,d=c.options;return a instanceof HTMLElement||(b=a,a=c.element),b<d.min?b=d.min:b>d.max&&(b=d.max),d.value=b,a.setAttribute("value",b),c._refreshValue(),!1},l._setBulb=function(a,b){return this.options.bulb=b,!0},l._getValue=function(){return parseInt(this.element.getAttribute("value"),10)},c.widget.core.Dimmer=g,c.engine.defineWidget("Dimmer","."+j.UI_DIMMER,[],g,"core")}(a,a.document,d),function(a,b){var c=b.widget.BaseWidget,d=b.widget.core.BaseKeyboardSupport,e=d.KEY_CODES,f=b.engine,g=b.event,h=function(){this.element=null,d.call(this)},i={checkbox:"ui-checkbox",focus:"ui-checkbox-focus",active:"ui-checkbox-active",backwardAnimation:"ui-checkbox-backward-animation"},j=new c;h.prototype=j,j._build=function(a){return"checkbox"===a.getAttribute("type")&&a.classList.add(i.checkbox),a},j._getValue=function(){return this.element.value},j._setValue=function(a){this.element.value=a},j._focus=function(){var a=this,b=a.element;b.focus()},j._blur=function(){var a=this,b=a.element;b.blur()},j._onFocus=function(){var a=this,c=a.element;b.getConfig("keyboardSupport",!1)&&c.classList.add(i.focus)},j._onBlur=function(){var a=this,c=a.element;b.getConfig("keyboardSupport",!1)&&c.classList.remove(i.focus)},j._onTouchStart=function(){this.element.classList.add(i.active)},j._onTouchEnd=function(){this.element.classList.remove(i.active)},j._onKeyUp=function(a){var b=this,c=b.element;a.keyCode===e.enter&&(g.trigger(c,"input"),c.checked=!c.checked,g.trigger(c,"change"))},j._onAnimationEnd=function(a){a.target.classList.toggle(i.backwardAnimation,a.target.checked)},j._bindEvents=function(a){var b=this;b._focusCallbackBound=b._onFocus.bind(b),b._blurCallbackBound=b._onBlur.bind(b),b._keyupCallbackBound=b._onKeyUp.bind(b),b._onTouchStart=b._onTouchStart.bind(b),b._onTouchEnd=b._onTouchEnd.bind(b),a.addEventListener("focus",b._focusCallbackBound,!1),a.addEventListener("blur",b._blurCallbackBound,!1),a.addEventListener("keyup",b._keyupCallbackBound,!1),a.addEventListener("vmousedown",b._onTouchStart,!1),a.addEventListener("vmouseup",b._onTouchEnd,!1),g.on(a,"animationend animationEnd webkitAnimationEnd",b._onAnimationEnd,!1)},j._unbindEvents=function(a){var b=this;a.removeEventListener("focus",b._focusCallbackBound,!1),a.removeEventListener("blur",b._blurCallbackBound,!1),a.removeEventListener("keyup",b._keyupCallbackBound,!1),a.removeEventListener("vmousedown",b._onTouchStart,!1),a.removeEventListener("vmouseup",b._onTouchEnd,!1)},b.widget.core.Checkbox=h,d.registerActiveSelector("input[type='checkbox'], input.ui-checkbox"),f.defineWidget("Checkbox","input[type='checkbox']:not(.ui-slider-switch-input):not([data-role='toggleswitch']):not([data-role='on-off-switch']):not(.ui-toggleswitch):not(.ui-toggle-switch):not(.ui-on-off-switch), input.ui-checkbox",[],h,"core",!1,!1,HTMLInputElement)}(a.document,d),function(a,b){var c=b.widget.BaseWidget,d=b.engine,e=b.widget.core.BaseKeyboardSupport,f=e.KEY_CODES,g=function(){e.call(self),this.element=null},h={radio:"ui-radio",focus:"ui-radio-focus",backwardAnimation:"ui-radio-backward-animation"},i=b.event,j=new c;g.prototype=j,j._build=function(a){return"radio"===a.getAttribute("type")&&a.classList.add(h.radio),a},j._onFocus=function(){var a=this.element;b.getConfig("keyboardSupport",!1)&&(a.focus(),a.classList.add(h.focus))},j._onBlur=function(){var a=this.element;b.getConfig("keyboardSupport",!1)&&(a.blur(),a.classList.remove(h.focus))},j._onKeyUp=function(a){var c=this.element;b.getConfig("keyboardSupport",!1)&&a.keyCode===f.enter&&(c.checked=!0,i.trigger(c,"change"))},j.handleEvent=function(a){var b=this;switch(a.type){case"focus":b._onFocus(a);break;case"blur":b._onBlur(a);break;case"keyup":b._onKeyUp(a);break;case"animationend":case"animationEnd":case"webkitAnimationEnd":b._onAnimationEnd(a)}},j._onAnimationEnd=function(a){a.target.classList.toggle(h.backwardAnimation,a.target.checked)},j._bindEvents=function(a){i.on(a,"focus blur keyup animationend animationEnd webkitAnimationEnd",this,!1)},j._unbindEvents=function(a){i.off(a,"focus blur keyup animationend animationEnd webkitAnimationEnd",this,!1)},j._getValue=function(){return this.element.value},j._setValue=function(a){this.element.value=a},b.widget.core.Radio=g,d.defineWidget("Radio","input[type='radio'], input.ui-radio",[],g,"core",!1,!1,HTMLInputElement),e.registerActiveSelector("input[type='radio'], input.ui-radio")}(a.document,d),function(a,b,c){var d=function(c,d,e){var f="";d=a.encodeURIComponent(d),f=c+"="+d,e&&e instanceof Date&&(f+=";expires="+e.toUTCString()),b.cookie=f},e=function(c){var d=b.cookie.split(";"),e="";return e=d.filter(function(a){return a.indexOf(c+"=")>-1})[0],e&&(e=a.decodeURIComponent(e.trim().replace(c+"=",""))),e};c.util.cookie={readFromCookie:e,writeToCookie:d}}(a,a.document,d),function(a,b){var c=b.widget.BaseWidget,d=b.engine,e=b.event,f={PANEL:"ui-panel",ACTIVE_PANEL:"ui-panel-active"},g={BEFORE_CREATE:"panelbeforecreate",CREATE:"panelcreate",BEFORE_SHOW:"panelbeforeshow",SHOW:"panelshow",BEFORE_HIDE:"panelbeforehide",HIDE:"panelhide",CHANGE:"panelchange"},h=function(){},i=new c;h.eventType=g,h.classes=f,h.prototype=i,i._build=function(a){var c=b.router.Router.getInstance().getRoute("panel");return a.classList.add(f.PANEL),c.setActive(a),a},i._destroy=function(a){e.trigger(a,g.HIDE)},b.widget.core.Panel=h,d.defineWidget("Panel","[data-role='panel'], .ui-panel",[],h,"core")}(a.document,d),function(a,b){function c(a){var b=this;l.on(a,"vclick",b,!1),l.prefixedFastOn(a,"animationEnd",b,!1)}function d(a){var b=this;l.off(a,"vclick",b,!1),l.prefixedFastOff(a,"animationEnd",b,!1)}var e=b.widget.BaseWidget,f=b.util.selectors,g=b.util.object,h=b.util.cookie,i=b.engine,j=b.widget.core.Page,k=b.widget.core.Panel,l=b.event,m={PANEL_CHANGER:"ui-panel-changer",PAGE:j.classes.uiPage,PANEL:k.classes.PANEL,ACTIVE_PANEL:k.classes.ACTIVE_PANEL,HEADER:"ui-header",FOOTER:"ui-footer",PRE_IN:"pre-in",IN:"-in",OUT:"-out"},n=function(){var a=this;a._ui={},a.options={},a.eventType={},a._animating=!1,a._animationClasses={},a.history=[]},o={ANIMATE:"slide",STORAGE_NAME:"panelhistory"},p=new e;n["default"]=o,n.classes=m,n.prototype=p,p._configure=function(){var a=this;g.merge(a.options,{animationType:o.ANIMATE,manageHistory:!0}),g.merge(a.eventType,k.eventType)},p._build=function(a){return a.classList.add(m.PANEL_CHANGER),a},p._init=function(a){var b=this,c=b._ui;return c.page=f.getClosestByClass(a,m.PAGE),c.header=c.page.querySelector("."+m.HEADER),c.footer=c.page.querySelector("."+m.FOOTER),c.activePanel=c.page.querySelector("."+m.ACTIVE_PANEL),c.activePanel||(c.activePanel=c.page.querySelector("[data-role='panel'], .ui-panel"),c.activePanel.classList.add(m.ACTIVE_PANEL)),c.activePanel.style.display="block",b._direction="forward",h.writeToCookie(o.STORAGE_NAME,JSON.stringify([])),b.history.push(c.activePanel.id),h.writeToCookie(o.STORAGE_NAME,JSON.stringify(b.history)),b._animationType=b.options.animationType,this._initLayout(),a},p._initLayout=function(){var a=this,b=a.element,c=a._ui,d=c.page?c.page.offsetHeight:0,e=c.header?c.header.offsetHeight:0,f=c.footer?c.footer.offsetHeight:0;b.style.height=d-e-f+"px"},p._bindEvents=function(a){c.call(this,a)},p._changePanel=function(a,b,c){var d=this,e=new XMLHttpRequest,f=a?a.split(/[#|?]+/)[0]:null;b&&(d._animationType=b),d._direction=c,e.responseType="document",e.open("GET",f),e.addEventListener("error",d._loadError),e.addEventListener("load",function(b){var e=b.target;4===e.readyState&&(200===e.status||0===e.status&&e.responseXML?d._loadSuccess(a,e.responseXML,c):d._loadError())}),e.send()},p._loadSuccess=function(a,c,d){var e,f,g,j,k=this,n=k.element,p=a.substring(a.lastIndexOf("#")),q=k.eventType,r=k._ui,s=p.length>1?n.querySelector(p):null;if(!s&&p.length>1&&(s=c.querySelector(p)||c.querySelector("[data-role='panel'], .ui-panel")),!s)return void b.warn("Panel is not existed");if(e=s.style,e.display="block",j=e.transform,e.transform="translate(-9999px, -9999px)",n.appendChild(s),r.toPanel=s,l.trigger(s,q.BEFORE_CREATE),i.createWidgets(n),l.trigger(s,q.CREATE),l.trigger(s,q.BEFORE_SHOW),
+l.trigger(r.activePanel,q.BEFORE_HIDE),s.classList.add(m.PRE_IN),e.display="none",e.transform=j,k.history=JSON.parse(h.readFromCookie(o.STORAGE_NAME)||"[]"),"forward"===d)k.history.push(s.getAttribute("id")),h.writeToCookie(o.STORAGE_NAME,JSON.stringify(k.history));else{for(g=k.history.length-1,f=k.history.indexOf(s.id);g>f;f++)k.history.pop();h.writeToCookie(o.STORAGE_NAME,JSON.stringify(k.history))}k._show()},p._show=function(){var a=this,b=a._ui.toPanel,c=a._ui.activePanel,d=a._animationType,e=a._animationClasses;a._animating=!0,c.classList.remove(m.ACTIVE_PANEL),b.style.display="block",e.IN=d+m.IN,e.OUT=d+m.OUT,c.classList.add(e.OUT),b.classList.add(e.IN),"none"===d&&a._onAnimationEnd()},p._loadError=function(){b.warn("We can't load AJAX")},p._bindEvents=function(a){c.call(this,a)},p._onClick=function(a){var b,c=this,d="a"===a.target.tagName.toLowerCase()?a.target:f.getClosestByTag(a.target,"A");!d||c._animating||d.getAttribute("data-rel")||(b=d.getAttribute("href"),c._changePanel(b,c.options.animationType,"forward"),a.preventDefault())},p._onAnimationEnd=function(){var a=this,b=a.element,c=a._ui.toPanel,d=a._ui.activePanel,e=a._animationClasses;a._animating&&(d.style.display="none",d.classList.remove(e.OUT),c.classList.add(m.ACTIVE_PANEL),c.classList.remove(m.PRE_IN),c.classList.remove(e.IN),l.trigger(d,a.eventType.HIDE),l.trigger(c,a.eventType.SHOW),l.trigger(b,a.eventType.CHANGE,{fromPanel:d,toPanel:c,direction:a._direction}),a._ui.activePanel=c,a._animating=!1)},p._onPagebeforeshow=function(){var a=b.router.Router.getInstance().getRoute("panel");a.setActive(this._ui._activePanel)},p.handleEvent=function(a){var b=this;switch(a.type){case"vclick":b._onClick(a);break;case"webkitAnimationEnd":case"mozAnimationEnd":case"msAnimationEnd":case"oAnimationEnd":case"animationend":b._onAnimationEnd(a);break;case"pagebeforeshow":b._onPagebeforeshow(a)}},p.changePanel=function(a,b,c){this._changePanel(a,b,c)},p._destroy=function(){var a=this;a._ui=null,a.options=null,a._eventType=null,d(a.element)},b.widget.core.PanelChanger=n,i.defineWidget("PanelChanger","[data-role='panel-changer'], .ui-panel-changer",["changePanel"],n,"core")}(a.document,d),function(b,d){var e=d.widget.BaseWidget,f=d.engine,g=function(){var a=this;a._activeIndex=null,a.options={}},h={indicator:"ui-page-indicator",indicatorActive:"ui-page-indicator-active",indicatorItem:"ui-page-indicator-item",indicatorDashed:"ui-page-indicator-dashed",linearIndicator:"ui-page-indicator-linear",circularIndicator:"ui-page-indicator-circular"},i={IN_CIRCLE:60,IN_LINEAR:5},j={LINEAR:"linear",CIRCULAR:"circular"},k=8,l=new e;g.classes=h,l._configure=function(){this.options={maxPage:null,numberOfPages:null,layout:"linear",intervalAngle:6,appearance:"dashed"}},l._build=function(a){var b=this,c=b.options;return b._createIndicator(a),c.layout===j.CIRCULAR&&b._circularPositioning(a),"dashed"===c.appearance&&a.classList.add(h.indicatorDashed),a},l._createIndicator=function(a){var c,e,f,g,i=this,k=i.options.numberOfPages;if(null===k)return void d.error("build error: numberOfPages is null");for(i.options.layout=i.options.layout.toLowerCase(),i.options.layout===j.CIRCULAR?(a.classList.remove(h.linearIndicator),a.classList.add(h.circularIndicator)):(a.classList.remove(h.circularIndicator),a.classList.add(h.linearIndicator)),f=i._getMaxPage(),e=f>k?k:f,c=0;e>c;c++)g=b.createElement("span"),g.classList.add(h.indicatorItem),a.appendChild(g)},l._circularPositioning=function(a){var b,c,d,e=this,f=a.children,g=f.length,h=parseFloat(e.options.intervalAngle);for(b=a.offsetWidth/2-k,d=0;g>d;d++)c="rotate("+(d*h-90-(g-1)*h*.5)+"deg) translate("+b+"px) ",f[d].style.transform=c},l._getMaxPage=function(){var a,b=this,c=b.options;return a=c.layout===j.CIRCULAR?c.maxPage||i.IN_CIRCLE:c.maxPage||i.IN_LINEAR},l._removeIndicator=function(a){a.textContent=""},l.setActive=function(b){var e,f,g,i=this,j=b,k=i.element.children,l=parseInt(i.options.numberOfPages,10),m=0,n=h.indicatorActive;if(null!==b&&b!==c){if(i._activeIndex=b,e=i._getMaxPage(),f=a.parseInt(e/2,10),l>e)m=l-e;else{if(isNaN(l))return void d.error("setActive error: numberOfPages is not a number");if(0===l)return}g=i.element.querySelector("."+n),g&&g.classList.remove(n),b>f&&f+m>=b?j=f:b>f+m&&(j=b-m),k[j].classList.add(n)}},l._refresh=function(){var a=this,b=a.element;a._removeIndicator(b),a._createIndicator(b),a.options.layout===j.CIRCULAR&&a._circularPositioning(b)},l._destroy=function(){this._removeIndicator(this.element)},g.prototype=l,d.widget.core.PageIndicator=g,f.defineWidget("PageIndicator","[data-role='page-indicator'], .ui-page-indicator",["setActive"],g,"core")}(a.document,d),function(a,b){function c(b){i.on(b.element,"input change vmouseup vmousedown",b,!1),b.isKeyboardSupport&&(i.on(b.element,"focus, blur",b,!1),i.on(a,"keyup",b,!0))}function d(b){i.off(b.element,"input change vmouseup vmousedown",b,!1),b.isKeyboardSupport&&(i.off(b.element,"focus, blur",b,!1),i.off(a,"keyup",b,!0))}var e=b.widget.BaseWidget,f=b.widget.core.BaseKeyboardSupport,g=b.engine,h=b.util.object.merge,i=b.event,j={type:"continues",orientation:"horizontal",expand:!1,warning:!1,warningLevel:0,disabled:!1,toggle:"",min:0,max:10,step:1,labels:!1},k=["orientation","expand","warning","warningLevel","toggle"],l=function(){var a=this;a.options=h({},j),f.call(a),a._ui={scale:null}},m={SLIDER:"ui-slider",SLIDER_VALUE:"ui-slider-value",SLIDER_HANDLER:"ui-slider-handler",SLIDER_DISABLED:"ui-disabled",SLIDER_HANDLER_VALUE:"ui-slider-handler-value",SLIDER_FOCUS:"ui-slider-focus",SLIDER_BAR:"ui-slider-bar",SLIDER_ACTIVE:"ui-slider-active",TRACK:"ui-slider-handler-track",SPACE_BEFORE:"ui-slider-before-space",SPACE_AFTER:"ui-slider-after-space",SLIDER_HAS_LABELS:"ui-slider-has-labels",LABEL:"ui-slider-label",LABEL_MIN:"ui-slider-label-min",LABEL_MAX:"ui-slider-label-max"},n=new e;l.prototype=n,l.classes=m,n._updateLevelBar=function(){var b,c,d=this,e=d._ui,f=e.scale,g=d.options,h=Math.round((g.max-g.min)/g.step)+1,i=f.children.length,j=h-i;if(j>0)for(c=0;j>c;c++)b=a.createElement("div"),b.classList.add("ui-slider-scale-dot"),f.appendChild(b);else if(0>j)for(j=-j,c=0;j>c;c++)f.removeChild(f.lastElementChild)},n._setType=function(b,c){var d=this,e=d._ui,f=e.scale,g=e.containerElement;"level-bar"===c?(f||(f=a.createElement("div"),f.classList.add("ui-slider-scale"),g.appendChild(f),e.scale=f),d._updateLevelBar()):f&&(g.remove(f),e.scale=null),g.classList.toggle("ui-slider-level-bar","level-bar"===c),d.options.type=c},n._setLabels=function(a,b){var c=this;b&&(c._ui.labelMin.innerText||(c._ui.labelMin.innerText=c.options.min),c._ui.labelMax.innerText||(c._ui.labelMax.innerText=c.options.max)),c._ui.containerElement.classList.toggle(m.SLIDER_HAS_LABELS,b),c.options.labels=b},n._build=function(b){var c=this,d=c._ui,e=c._createWrapper("div"),f=a.createElement("div"),g=a.createElement("div"),h=a.createElement("div"),i=a.createElement("div"),j=a.createElement("div"),k=a.createElement("div"),l=a.createElement("div"),n=a.createElement("div");return e.classList.add(m.SLIDER),f.classList.add(m.SLIDER_BAR),g.classList.add(m.SLIDER_VALUE),f.appendChild(g),h.classList.add(m.SLIDER_HANDLER),i.classList.add(m.TRACK),j.classList.add(m.SPACE_BEFORE),k.classList.add(m.SPACE_AFTER),l.classList.add(m.LABEL),n.classList.add(m.LABEL),l.classList.add(m.LABEL_MIN),n.classList.add(m.LABEL_MAX),i.appendChild(j),i.appendChild(h),i.appendChild(k),e.appendChild(i),e.appendChild(f),e.appendChild(l),e.appendChild(n),b.parentNode.appendChild(e),d.barElement=f,d.valueElement=g,d.handlerElement=h,d.containerElement=e,d.beforeSpace=j,d.afterSpace=k,d.labelMin=l,d.labelMax=n,b.parentNode.replaceChild(e,b),e.appendChild(b),c.isKeyboardSupport&&(c.preventFocusOnElement(b),e.setAttribute("data-focus-lock","true"),e.setAttribute("tabindex","0")),b},n._updateProperties=function(){var a=this,b=a.options,c=parseFloat(a.element.getAttribute("value"));a._min=b.min,a._max=b.max,a._minValue=a._min,a._maxValue=a._max,a._interval=a._max-a._min,a._value=c?c:parseFloat(a.element.value),a._previousValue=a._value},n._init=function(a){var b=this;return b._warnAboutUnsupportedOptions(),b._updateProperties(),b._setDisabled(a),b._locked=!1,b._initLayout(),a},n._warnAboutUnsupportedOptions=function(){var a=this.options;k.forEach(function(c){a[c]!==j[c]&&b.warn("The "+c+" option has no effect on Slider widget")})},n._initLayout=function(){var a=this,b=a._ui;a._setType(a.element,a.options.type),a._setLabels(a.element,a.options.labels),a._containerElementWidth=b.containerElement.offsetWidth,a._setValue(a._value)},n._setNormalValue=function(a){var b,c=this,d=c._ui;b=(a-c._min)/(c._max-c._min)*100,d.beforeSpace.style.width=b+"%",d.afterSpace.style.width=100-b+"%",d.valueElement.style.width=b+"%"},n._setValue=function(a){var b,c=this,d=c.element;c._previousValue=c._value,a<c._min?a=c._min:a>c._max&&(a=c._max),b=parseFloat(a),c._setNormalValue(a),c._previousValue!==b&&(d.setAttribute("value",b),d.value=b,c._value=b)},n._getValue=function(){return this._value},n._getContainer=function(){return this._ui.containerElement},n._setDisabled=function(a){var b=this,c=b.options;c.disabled===!0||a.disabled?b._disable(a):b._enable(a)},n._enable=function(a){var c=this,d=c._ui;a&&(c.options.disabled=!1,d.containerElement&&(d.containerElement.classList.remove(m.SLIDER_DISABLED),b.getConfig("keyboardSupport",!1)&&d.containerElement.classList.remove(f.classes.focusDisabled)))},n._disable=function(a){var c=this,d=c._ui;a&&(c.options.disabled=!0,d.containerElement&&(d.containerElement.classList.add(m.SLIDER_DISABLED),b.getConfig("keyboardSupport",!1)&&d.containerElement.classList.add(f.classes.focusDisabled)))},n._bindEvents=function(){c(this)},n.handleEvent=function(a){var b=this,c=a.type;if(!this.options.disabled)switch(c){case"input":case"change":b._setValue(b.element.value);break;case"vmousedown":b._onTouchStart(a);break;case"vmouseup":b._onTouchEnd(a);break;case"keyup":b._onKeyUp(a)}},n._onTouchStart=function(){this._ui.containerElement.classList.add(m.SLIDER_ACTIVE)},n._onTouchEnd=function(){this._ui.containerElement.classList.remove(m.SLIDER_ACTIVE)},n._focus=function(){this._ui.containerElement.classList.add("ui-focus")},n._blur=function(){this._ui.containerElement.classList.remove("ui-focus")},n._decreaseValue=function(){var a=this;a._setValue(a._value-(parseFloat(a.element.step)||1))},n._increaseValue=function(){var a=this;a._setValue(a._value+(parseFloat(a.element.step)||1))},n._unlockKeyboard=function(){var a=this;a._ui.handlerElement.classList.remove(f.classes.focus),a._unlockFocusSelf()},n._onKeyUp=function(a){var b=this,c=f.KEY_CODES;if(b._supportKeyboard)switch(a.keyCode){case c.escape:b._unlockKeyboard();break;case c.enter:b._unlockKeyboard(),a.preventDefault(),a.stopImmediatePropagation();break;case c.left:b._decreaseValue();break;case c.right:b._increaseValue()}},n._refresh=function(){var a=this;a._updateProperties(),a._setDisabled(a.element),a._initLayout()},n._destroy=function(){var a=this,b=a._ui.containerElement;d(a),b.parentNode&&b.parentNode.removeChild(b),a._ui=null,a._options=null},b.widget.core.Slider=l,g.defineWidget("Slider","input[data-role='slider'], input[type='range'], input[data-type='range']",["value"],l,"core"),f.registerActiveSelector("input[data-role='slider'], input[type='range'], input[data-type='range'], .ui-slider-handler")}(a.document,d),function(a,b){b.widget.core.progress=b.widget.core.progress||{}}(a.document,d),function(a,b){b.widget.core.progress.type=b.widget.core.progress.type||{}}(a,d),function(a,b){b.widget.core.progress.type["interface"]={build:function(){},init:function(){},refresh:function(){},changeValue:function(){},destroy:function(){}}}(a.document,d),function(a,b){function c(a){var b=a._ui,c=a.options,d=100*c.value/(c.max-c.min);b.indeterminateBarElement.style.width=d+"%"}var d=b.util.object,e=b.widget.core.progress.type,f=e["interface"],g={uiIndeterminatebar:"ui-indeterminate-bar",uiIndeterminatebarIndeterminate:"ui-indeterminate-bar-indeterminate"};e.indeterminatebar=d.merge({},f,{build:function(b,c){var d,e={},f=c;return d=a.createElement("div"),f.classList.add(g.uiIndeterminatebar),d.classList.add(g.uiIndeterminatebarIndeterminate),f.appendChild(d),e.indeterminateBarElement=d,b._ui=e,f},init:function(a,b){var d=a._ui,e=b;d.indeterminateBarElement=d.indeterminateBarElement||e.querySelector("."+g.uiIndeterminatebarActivity),c(a)},refresh:function(a){c(a)},changeValue:function(a){c(a)}})}(a.document,d),function(a,b){function c(a,b){switch(a.classList.contains(g.uiIndeterminateCircle)||a.classList.add(g.uiIndeterminateCircle),a.classList.remove(g.uiIndeterminateCircleSmallTitle),a.classList.remove(g.uiIndeterminateCircleSmall),a.classList.remove(g.uiIndeterminateCircleMedium),a.classList.remove(g.uiIndeterminateCircleLarge),b){case"small-title":a.classList.add(g.uiIndeterminateCircleSmallTitle);break;case"small":a.classList.add(g.uiIndeterminateCircleSmall);break;case"medium":a.classList.add(g.uiIndeterminateCircleMedium);break;case"large":a.classList.add(g.uiIndeterminateCircleLarge);break;default:a.classList.add(g.uiIndeterminateCircleMedium)}}var d=b.util.object,e=b.widget.core.progress.type,f=e["interface"],g={uiIndeterminateCircle:"ui-indeterminate-circle",uiIndeterminateCircleSmallTitle:"ui-indeterminate-circle-small-title",uiIndeterminateCircleSmall:"ui-indeterminate-circle-small",uiIndeterminateCircleMedium:"ui-indeterminate-circle-medium",uiIndeterminateCircleLarge:"ui-indeterminate-circle-large"};e.indeterminatecircle=d.merge({},f,{build:function(){},init:function(a,b){var d=a.options,e=d.size;c(b,e)},refresh:function(a){var b=a.element,d=a.options.size;c(b,d)}})}(a.document,d),function(a,b){function c(a,b){a.setAttribute("aria-valuenow",b.value),a.setAttribute("aria-valuemin",b.min),a.setAttribute("aria-valuemax",b.max)}function d(a){var b=a._ui,c=a.options,d=100*c.value/(c.max-c.min);b.progressBarValueElement.style.width=d+"%"}function e(a){var b=a._ui,c=a.options;b.labelCurrentValue&&(b.labelCurrentValue.textContent=c.value),b.labelMinValue&&(b.labelMinValue.textContent=c.min),b.labelMaxValue&&(b.labelMaxValue.textContent=c.max)}var f=b.util.object,g=b.widget.core.progress.type,h=g["interface"],i={uiProgressbar:"ui-progress-bar",uiProgressbarValue:"ui-progress-bar-value",uiProgressbarValueBg:"ui-progress-bar-value-bg",uiProgressbarLabelsTop:"ui-progress-bar-labels-top",uiProgressbarLabelsBottom:"ui-progress-bar-labels-bottom",labelCurrentValue:"ui-progress-current-value",labelMinValue:"ui-progress-min-value",labelMaxValue:"ui-progress-max-value"},j=function(a,b){return[{start:0,end:800,callback:function(a,c){b.call(this,a,c)}}]};g.bar=f.merge({},h,{build:function(b,c){var d,e,f,g,h={};return c.classList.add(i.uiProgressbar),d=a.createElement("div"),d.classList.add(i.uiProgressbarValue),e=a.createElement("div"),e.classList.add(i.uiProgressbarValueBg),f=a.createElement("div"),f.classList.add(i.uiProgressbarLabelsTop),g=a.createElement("div"),g.classList.add(i.uiProgressbarLabelsBottom),e.appendChild(d),c.appendChild(f),c.appendChild(e),c.appendChild(g),h.progressBarValueElement=d,h.progressBarValueBg=e,h.labelsTop=f,h.labelsBottom=g,b._ui=h,c},init:function(a,b){var f=a._ui,g=a.options,h=[],j=[];h=[].slice.call(b.querySelectorAll(".ui-progress-bar-label-right-top")),j=[].slice.call(b.querySelectorAll(".ui-progress-bar-label-left-bottom, .ui-progress-bar-label-right-bottom")),h=h.concat([].slice.call(b.parentElement.querySelectorAll(".ui-progress ~ .ui-progress-bar-label-right-top"))),j=j.concat([].slice.call(b.parentElement.querySelectorAll(".ui-progress ~ .ui-progress-bar-label-left-bottom, .ui-progress ~ .ui-progress-bar-label-right-bottom"))),h.forEach(function(a){f.labelsTop.appendChild(a)}),j.forEach(function(a){f.labelsBottom.appendChild(a)}),f.progressBarValueElement=f.progressBarValueElement||b.querySelector("."+i.uiProgressbarValue),f.labelCurrentValue=b.querySelector("."+i.labelCurrentValue),f.labelMinValue=b.querySelector("."+i.labelMinValue),f.labelMaxValue=b.querySelector("."+i.labelMaxValue),c(b,g),d(a),e(a)},refresh:function(a){c(a.element,a.options),d(a),e(a)},changeValue:function(a,b,c){var d,f=a.options.duration,h=a._ui.progressBarValueElement,i=100*b/(a.options.max-a.options.min),k=100*c/(a.options.max-a.options.min);a._isAnimating||(d=j(f,function(a,b){h.style.width=i+(k-i)*a/b+"%"}),a._animate(f,function(a){d.forEach(function(b){a>=b.start&&a<=b.end?b.callback(a-b.start,b.end-b.start):a>b.end&&b.callback(1,1)})},function(){a.options.value!==c&&g.bar.changeValue(a,c,a.options.value)})),e(a)},destroy:function(a,b){var c=a._ui;return[].slice.call(c.labelsTop.children).forEach(function(a){b.appendChild(a)}),[].slice.call(c.labelsBottom.children).forEach(function(a){b.appendChild(a)}),c.progressBarValueBg.parentElement.removeChild(c.progressBarValueBg),c.labelsTop.parentElement.removeChild(c.labelsTop),c.labelsBottom.parentElement.removeChild(c.labelsBottom),!0}})}(a.document,d),function(a,b){function c(a){var b,c=a.options,d=100*c.value/(c.max-c.min),e=a._ui;d>=50?e.progressValue.classList.add(j.uiProgressCircleHalf):e.progressValue.classList.remove(j.uiProgressCircleHalf),b=360*(d/100),e.progressValueLeft.style.webkitTransform="rotate3d(0.0, 0.0, 1.0, "+b+"deg)"}function d(a){var b=a.options.size,c=parseFloat(b),d=a._ui;if(isNaN(c)){switch(b){case"full":case"large":case"medium":case"small":d.progressContainer.classList.add("ui-progress-circle-"+b)}d.progressContainer.style.fontSize=g.getCSSProperty(d.progressContainer,"width",0,"float")+"px"}else d.progressContainer.style.fontSize=b+"px",d.progressContainer.style.width=b+"px",d.progressContainer.style.height=b+"px"}function e(a){a.progressValue.classList.remove(j.uiProgressbarHalf),a.progressValueLeft.style.webkitTransform=""}var f=b.util.object,g=b.util.DOM,h=b.widget.core.progress.type,i=h["interface"],j={uiProgressCircle:"ui-progress-circle",uiProgressCircleBg:"ui-progress-circle-bg",uiProgressCircleValue:"ui-progress-circle-value",uiProgressCircleValueLeft:"ui-progress-circle-value-left",uiProgressCircleValueRight:"ui-progress-circle-value-right",uiProgressCircleHalf:"ui-progress-circle-half"};h.circle=f.merge({},i,{build:function(b,c){var d,e,f,g,h={},i=c;return h.progressContainer=i,h.progressValueBg=d=a.createElement("div"),h.progressValue=e=a.createElement("div"),h.progressValueLeft=f=a.createElement("div"),h.progressValueRight=g=a.createElement("div"),i.className=j.uiProgressCircle,d.className=j.uiProgressCircleBg,e.className=j.uiProgressCircleValue,f.className=j.uiProgressCircleValueLeft,g.className=j.uiProgressCircleValueRight,e.appendChild(f),e.appendChild(g),i.appendChild(e),i.appendChild(d),b._ui=h,c},init:function(a,b){var e=a._ui;e.progressContainer=e.progressContainer||b,e.progressValueBg=e.progressValueBg||b.querySelector("."+j.uiProgressCircleBg),e.progressValue=e.progressValue||b.querySelector("."+j.uiProgressCircleValue),e.progressValueLeft=e.progressValueLeft||b.querySelector("."+j.uiProgressCircleValueLeft),e.progressValueRight=e.progressValueRight||b.querySelector("."+j.uiProgressCircleValueRight),d(a),c(a)},refresh:function(a){e(a._ui),d(a),c(a)},changeValue:function(a){c(a)}})}(a.document,d),function(a,b){function c(a){a.refresh()}var d=b.widget.BaseWidget,e=b.event,f=b.engine,g=b.util,h=b.util.selectors,i=b.util.object,j=b.widget.core.Page,k={CHANGE:"change"},l={PROGRESS_BAR:"bar",PROGRESS_CIRCLE:"circle",INDETERMINATE_BAR:"indeterminatebar",INDETERMINATE_CIRCLE:"indeterminatecircle"},m={SMALL_HEADER:"small-header",SMALL:"small",MEDIUM:"medium",LARGE:"large",FULL:"full"},n=function(){var a=this;a.options=i.merge({},n.defaults),a._ui={},a._type=null,a._progress=null,a._isAnimating=!1,a._callbacks={}},o={uiProgress:"ui-progress"},p={type:l.PROGRESS_BAR,size:m.MEDIUM,duration:1850,value:100,min:0,max:100},q=new d;return n.prototype=q,n.classes=o,n.events=k,n.defaults=p,q._build=function(a){var c=this,d=c.options;return c._type=d.type,a.classList.add(o.uiProgress),c._progress=b.widget.core.progress.type[d.type],c._progress.build(c,a),a},q._init=function(a){var b=this;return b._progress.init(b,a),a.setAttribute("value",b.options.value),a},q._refresh=function(a){var c=this,d=c.options;return c._type!==d.type?(c._destroy(),b.widget.Progress(a,{type:d.type})):(c._progress.refresh(c),c._setValue(c.options.value),a)},q._setValue=function(a){var b=this,c=b.options,d=b.element;return b._oldValue=c.value,"number"==typeof a?(a=Math.min(c.max,Math.max(c.min,a)),a!==b._oldValue&&(c.value=a,b.isCustomElement||d.setAttribute("data-value",a),d.setAttribute("value",a),e.trigger(d,k.CHANGE),b._progress.changeValue(b,b._oldValue,a)),!0):!1},q._getValue=function(){return parseInt(this.element.getAttribute("value"),10)},q._animate=function(a,b,c){var d=this,e=null,f=function(h){var i=0;null===e&&(e=h),i=h-e,b(i),d._isAnimating&&a>i?g.requestAnimationFrame(f):(d._isAnimating=!1,c())};d._isAnimating=!0,g.requestAnimationFrame(f)},q._bindEvents=function(){var a=this,b=a.element,d=h.getClosestByClass(b,j.classes.uiPage);d&&(a._ui.page=d,a._callbacks.onPageBeforeShow=c.bind(null,a),d.addEventListener(j.events.BEFORE_SHOW,a._callbacks.onPageBeforeShow,!1))},q._unbindEvents=function(){var a=this;a._callbacks.onPageBeforeShow&&a._ui.page.removeEventListener(j.events.BEFORE_SHOW,a._callbacks.onPageBeforeShow,!1)},q._destroy=function(){var a=this,b=a.element;if(this._unbindEvents(),!a._progress.destroy(a,b))for(;b.firstChild;)b.removeChild(b.firstChild);return a._ui=null,a._oldValue=null,b},b.widget.core.progress.Progress=n,f.defineWidget("Progress","[data-role='progress'], .ui-progress",[],n,"core"),n}(a.document,d),function(){function a(a){return"object"==typeof a?JSON.stringify(a):Mustache.escape(a)}function c(b,c){return Mustache?Mustache.render(b,c,null,{escape:a}):void d.warn("Mustache library is required (https://github.com/janl/mustache.js)")}function e(a,d){var e,f=b.implementation.createHTMLDocument("for-create-webclip-elements");return a=c(a,d),e=f.createElement("div"),e.innerHTML=a,e=e.firstElementChild,e.parentElement.removeChild(e),e}function f(a,b,c){var f,g=c.target,h={},i={};if(4===g.readyState){if(h.success=200===g.status||0===g.status&&g.responseXML,b.element.getAttribute("data-template-data"))try{i=JSON.parse(b.element.getAttribute("data-template-data"))}catch(j){d.warn("Card data-template-data wrong value: ",j)}f=e(g.responseText,i),f.setAttribute("data-template-html",encodeURI(g.responseText)),a(h,f)}}function g(a,b,c,d){var e,g=b,h=f.bind(null,d,c);e=new XMLHttpRequest,e.responseType="text",e.overrideMimeType("text/html"),e.open("GET",g),e.addEventListener("error",h),e.addEventListener("load",h),e.send()}var h=d.template;g.fillWebClip=e,h.register("webclip",g)}(),function(b,c){var d=c.widget.BaseWidget,e=c.engine,f=c.template,g=c.event,h={CARD:"ui-card"},i=function(){this._ui={},this.options={src:"",templateData:"",templateBasePath:""}},j=/([^\/])+$/,k={LINKS:"link[href]",IMAGES:"img[src]"},l=new d;i.classes=h,i.prototype=l,l._build=function(a){return a.classList.add(h.CARD),a},l._init=function(a){var b=c.router.Router.getInstance(),d={},e=this.options.templateBasePath;if(e&&!e.match(/\/$/)&&(this.options.templateBasePath=e+"/"),this._src=this.options.src,""!==this.options.src){if(this.options.templateData)try{d=JSON.parse(this.options.templateData)}catch(f){c.warn("Card data-template-data wrong value: ",f)}b.open(this.options.src,{rel:"card",card:this,data:{data:d,element:a}})}return this._bindEvents(),a},l._refresh=function(){var a,b,d,e=c.router.Router.getInstance();if(""!==this.options.src){if(this.options.templateData)try{b=JSON.parse(this.options.templateData)}catch(g){c.warn("Card data-template-data wrong value: ",g)}this.options.src!==this._src?e.open(this.options.src,{rel:"card",card:this,data:{data:b,element:this.element}}):this._template&&(a=f.engine("webclip"),d=a.fillWebClip(this._template,b),this.changeContent(d,{url:this._url})),this._src=this.options.src}},l.handleEvent=function(a){switch(a.type){case"vclick":this._onClick(a);break;case"webclip-update":this._onWebClipUpdate(a)}},l._bindEvents=function(){this.element.addEventListener("vclick",this,!0),this.element.addEventListener("webclip-update",this,!1)},l._unbindEvents=function(){this.element.removeEventListener("vclick",this,!0),this.element.removeEventListener("webclip-update",this,!1)},l._include=function(a,d){var e,f,g,h,i,l,m,n=this.element,o=this.options.templateBasePath;return a.parentNode&&a.ownerDocument===b||(m=a.getAttribute("data-template-html"),m&&(this._template=decodeURI(m)),a.removeAttribute("data-template-html"),e=a.querySelectorAll(k.LINKS),e.forEach(function(a){0===a.href.indexOf(c.util.path.parseLocation(d.url).domain)&&(h=o&&"origin"!==a.getAttribute("data-template-rel")?o:d.url.replace(j,""),l=c.util.path.parseLocation(d.url),i=a.href.replace(l.domain,"").replace(l.directory,""),c.util.load.cssSync(h+i,function(a){c.util.load.addElementToHead(a,!0)},function(a,b){c.warn("There was a problem when loading, status: "+b)})),a.parentElement.removeChild(a)}),d&&d.url&&(l=c.util.path.parseLocation(d.url),g=a.querySelectorAll("script[src]"),g.forEach(function(a){h=o&&"origin"!==a.getAttribute("data-template-rel")?o:d.url.replace(j,""),0===a.src.indexOf(c.util.path.parseLocation(d.url).domain)&&(i=a.src.replace(l.domain,"").replace(l.directory,""),a.src=h+i)})),a=c.util.importEvaluateAndAppendElement(a,n),d&&d.url&&(l=c.util.path.parseLocation(d.url),f=a.querySelectorAll(k.IMAGES),f.forEach(function(a){h=o&&"origin"!==a.getAttribute("data-template-rel")?o:d.url.replace(j,""),0===a.src.indexOf(c.util.path.parseLocation(d.url).domain)&&(i=a.src.replace(l.domain,"").replace(l.directory,""),a.src=h+i)}))),a},l.changeContent=function(a,b){var d=this;if(d.element.parentElement){for(;d.element.firstElementChild;)d.element.removeChild(d.element.firstElementChild);a=d._include(a,b),c.engine.createWidgets(a),g.trigger(a,"cardcontentchange")}else g.trigger(a,"cardcontentabort")},l._onClick=function(a){var b,d=c.util.selectors.getClosestBySelector(a.target,"[data-action]");d&&(b=JSON.parse(d.getAttribute("data-action")),b&&(b.remoteui=!0,c.event.trigger(this.element,"webclip-message",b)))},l._onWebClipUpdate=function(a){var b=a.detail;this.option("template-data",JSON.stringify(b))},l.updateTemplate=function(){var b=JSON.parse(this.element.getAttribute("data-template-data")||""),c=a.decodeURI(this.element.getAttribute("data-template-html")||""),d=c.match(/\{\{([a-z-_0-9]+)\}\}/gi);d&&d.forEach(function(a){var d=a.replace(/[{}]/g,"");b&&b[d]&&(c=c.replace(a,b[d]))}),this.element.innerHTML=c},l._destroy=function(){this._unbindEvents()},c.widget.core.Card=i,e.defineWidget("Card",".ui-card",[],i,"core")}(a.document,d),function(a,b,d){var e=d.util.object,f=d.event,g=d.util.selectors,h=d.widget.core.Page,i=Math.min,j=Math.max,k={COLLAPSED:56,EXPANDED:56},l={EXPANDED:"EXPANDED",COLLAPSED:"COLLAPSED",DRAGGING:"DRAGGING"},m=579,n=function(){var a=this;a.options=e.merge({},n.defaults),a._ui={titleContainer:null,leftIconsContainer:null,actionButtonsContainer:null,searchContainer:null,page:null,selectAll:null,bottomBar:null,instantContainers:[]},a._expandedHeight=k.EXPANDED,a._appbarState=l.COLLAPSED,a._dragStartingHeight=0,a._currentHeight=0,a._instantContainersHeight=0,a._scrolledToTop=!0,a._lockExpanding=!1,a._calculateExtendedHight()},o=d.widget.BaseWidget,p=new o,q="ui-appbar",r={title:q+"-title",leftIconsContainer:q+"-left-icons-container",actionButtonsContainer:q+"-action-buttons-container",instantContainer:q+"-container",titleContainer:q+"-title-container",searchContainer:q+"-search-container",hasMultilineTitle:q+"-has-multiline",hasSubtitle:q+"-has-subtitle",expanded:q+"-expanded",dragging:q+"-dragging",controlsContainer:q+"-controls-container",expandedTitleContainer:q+"-expanded-title-container",animationFast:q+"-animation-fast",selectAll:"ui-label-select-all",bottomBar:"ui-bottom-bar",hidden:"ui-hidden"},s={leftIconsContainer:{selector:"."+r.leftIconsContainer,"class":r.leftIconsContainer,position:0},titleContainer:{selector:"."+r.titleContainer,"class":r.titleContainer,position:1},searchContainer:{selector:"."+r.searchContainer,"class":r.searchContainer,position:2},actionButtonsContainer:{selector:"."+r.actionButtonsContainer,"class":r.actionButtonsContainer,position:3}},t={IS_CHECKED:".ui-listview li > input[type='checkbox']:checked",IS_NOT_CHECKED:".ui-listview li > input[type='checkbox']:not(:checked)"},u={titleType:"singleLine",expandingEnabled:!0,animation:!0};n.prototype=p,n.defaults=u,n.classes=r,n.selector=".ui-appbar,.ui-page > .ui-header,.ui-page > header,[data-role='header']",p._init=function(a){var b=this;b._initExpandedContainer(a),b._setAnimation(a,b.options.animation),b._appbarState=l.COLLAPSED,b._validateExpanding(),b._ui.page=g.getClosestBySelector(a,h.selector),b._ui.selectAll=a.querySelector("."+r.selectAll+" input[type='checkbox']"),b._ui.bottomBar=b._ui.page.querySelector("."+r.bottomBar)},p._build=function(a){var b=this;return b._createContainers(a),b._findInstantContainers(a),b._readTitleType(a),b._setTitleType(a,b.options.titleType),a},p._calculateInstantContainers=function(a){var b=this,c=0;return a.style.height="auto",b._ui.instantContainers.forEach(function(a){c+=a.offsetHeight}),c},p._updateAppbarDimensions=function(a){var b=this,c=b._instantContainersHeight,d=b._ui.controlsContainer;c>0&&(b._calculateExtendedHight(),b._expandedHeight+=c,b._currentHeight+=c,d&&(d.style.bottom=c+"px"),b._instantContainersHeight=c),a.style.height=k.COLLAPSED+b._instantContainersHeight+"px"},p._findInstantContainers=function(a){var b=this;b._ui.instantContainers=[].slice.call(a.querySelectorAll("."+r.instantContainer)),b._instantContainersHeight=b._calculateInstantContainers(a),b._updateAppbarDimensions(a)},p.addInstantContainer=function(a){var b=this;a&&a instanceof HTMLElement?(a.classList.add(r.instantContainer),b.element.appendChild(a),b.refresh()):d.warn("AppBar: method addInstantContainer needs argument")},p.removeInstantContainer=function(a){var b=this;a&&a instanceof HTMLElement?a.parentElement&&(a.parentElement.removeChild(a),b.refresh()):d.warn("AppBar: method removeInstantContainer needs argument")},p._refresh=function(a){var b=this;a=a||b.element,b._findInstantContainers(a),b._ui.instantContainers.forEach(function(a){d.engine.createWidgets(a)})},p._calculateExtendedHight=function(){var b=this,c=a.screen.height,d=a.screen.width,e=12;c>=580&&960>c&&d>c?b._expandedHeight=.3*c-e:c>=580&&960>c&&c>=d?b._expandedHeight=.3967*c-e:c>=960?b._expandedHeight=.25*c-e:b._expandedHeight=k.EXPANDED},p._initExpandedContainer=function(a){var c=this._ui,d=a.querySelector("."+r.expandedTitleContainer);d||(d=b.createElement("div"),d.classList.add(r.expandedTitleContainer),[].slice.call(c.titleContainer.children).forEach(function(a){d.appendChild(a.cloneNode(!0))})),c.expandedTitleContainer=d,a.insertBefore(d,c.controlsContainer)},p._createContainers=function(a){var c=this._ui;c.controlsContainer=b.createElement("div"),c.controlsContainer.classList.add(r.controlsContainer),a.appendChild(c.controlsContainer),Object.keys(s).forEach(function(d){var e=s[d],f=a.querySelector(e.selector);f||(f=b.createElement("div"),f.classList.add(e["class"]),a.appendChild(f)),c[d]=f}),Object.keys(s).sort(function(a,b){return s[a].position-s[b].position}).forEach(function(a){c.controlsContainer.appendChild(c[a])})},p._bindEvents=function(){var b=this;d.event.enableGesture(b._ui.page,new d.event.gesture.Drag),f.on(b._ui.page,"scrollboundary drag dragstart dragend scrollstart change pagebeforeshow popupshow popuphide",b),a.addEventListener("resize",b,!1)},p.handleEvent=function(a){var b=this;switch(a.type){case"scrollboundary":b._onScrollBoundary(a);break;case"drag":b._onDrag(a);break;case"dragstart":b._onDragStart(a);break;case"dragend":b._onDragEnd(a);break;case"scrollstart":b._onScrollStart(a);break;case"change":b._onChange(a);break;case"pagebeforeshow":b._onPageBeforeShow();break;case"popupshow":b._onPopupShow();break;
+case"popuphide":b._onPopupHide();break;case"resize":b._onResize()}},p._onPageBeforeShow=function(){var a=this,b=a._ui;b.selectAll&&(a._triggerSelectAll(),b.bottomBar&&a._toggleBottomBar(!!b.page.querySelector(t.IS_CHECKED)),a._updateTitle())},p._onPopupShow=function(){this.options.expandingEnabled=!1},p._onPopupHide=function(){this.options.expandingEnabled=!0},p._onScrollStart=function(){this._scrolledToTop=!1},p._onScrollBoundary=function(a){var b=this,c=a&&a.detail&&a.detail.direction;b._scrolledToTop="top"===c,f.one(b._ui.page,"scrollstart",b._onScrollStart.bind(b))},p._onDragStart=function(a){var b=this;!b._lockExpanding&&b.options.expandingEnabled&&("down"===a.detail.direction&&b._appbarState==l.COLLAPSED&&b._scrolledToTop||"up"===a.detail.direction&&b._appbarState==l.EXPANDED)&&(b._appbarState=l.DRAGGING,b.element.classList.add(r.dragging),b._dragStartingHeight=b.element.getBoundingClientRect().height,b._expandedTitleHeight=0,[].slice.call(b._ui.expandedTitleContainer.children).forEach(function(a){b._expandedTitleHeight+=a.offsetHeight}))},p._setTitlesOpacity=function(a){var b=this,c=b._ui,d=c.titleContainer,e=c.expandedTitleContainer;d.style.opacity=1-a,e.style.opacity=a},p.expand=function(){var a=this,b=a.element;b.style.height=a._expandedHeight+"px",b.classList.add(r.expanded),a._appbarState=l.EXPANDED,a._setTitlesOpacity(1),f.trigger(b,"appbarexpanded")},p._onTransitionEnd=function(){f.trigger(this.element,"appbartransitionend")},p.collapse=function(){var a=this,b=a.element;a._currentHeight=a._instantContainersHeight,b.style.height=k.COLLAPSED+a._instantContainersHeight+"px",b.classList.remove(r.expanded),a._appbarState=l.COLLAPSED,a._setTitlesOpacity(0),f.trigger(b,"appbarcollapsed"),f.one(b,"transitionend transitionEnd webkitTransitionEnd",a._onTransitionEnd.bind(a),!1)},p.lockExpanding=function(a){this._lockExpanding=!!a},p._onDragEnd=function(){var a,b=this;!b._lockExpanding&&b.options.expandingEnabled&&(a=(k.COLLAPSED+b._expandedHeight)/2,b.element.classList.remove(r.dragging),b._currentHeight>a?b.expand():b.collapse())},p._onDrag=function(a){var b=this,d=a&&a.detail&&a.detail.deltaY,e=b._dragStartingHeight+(d!==c?d:0),f=0;b._lockExpanding||b._appbarState!==l.DRAGGING||(e=i(e,b._expandedHeight),e=j(e,k.COLLAPSED),b._currentHeight!==e&&(b._currentHeight=e,b.element.style.height=e+"px",f=e-k.COLLAPSED,f>b._expandedTitleHeight?b._setTitlesOpacity(f/(b._expandedHeight-k.COLLAPSED)):b._setTitlesOpacity(0)))},p._validateExpanding=function(){var b=this;a.screen.height<=m?b._lockExpanding=!0:b._lockExpanding=!1},p._onResize=function(){this._validateExpanding()},p._triggerSelectAll=function(){var a=this;f.trigger(a.element,"select-all",{checked:a._ui.selectAll.checked})},p._toggleSelectAll=function(a){var b=this._ui.selectAll;b&&(b.checked=a,a?b.setAttribute("checked","checked"):b.removeAttribute("checked"))},p._toggleBottomBar=function(a){this._ui.bottomBar.classList.toggle(r.hidden,!a)},p._getNumberOfChecked=function(){return this._ui.page.querySelectorAll(t.IS_CHECKED).length},p._onChange=function(a){var b=a.target,c=this,d=c._ui,e=c._ui.page;d.selectAll&&"INPUT"===b.tagName&&(b===d.selectAll?c._triggerSelectAll():c._toggleSelectAll(!e.querySelector(t.IS_NOT_CHECKED)),d.bottomBar&&c._toggleBottomBar(!!e.querySelector(t.IS_CHECKED)),d.selectAll&&c._updateTitle())},p._updateTitle=function(){var a=[].slice.call(this.element.querySelectorAll("."+r.title)),b=this._getNumberOfChecked();a.forEach(function(a){a.textContent=0===b?"Select items":b+" selected"})},p._unbindEvents=function(){var b=this;f.off(b._ui.page,"scrollboundary drag dragstart dragend scrollstart change pagebeforeshow popupshow popuphide",b),a.removeEventListener("resize",b,!1)},p._destroy=function(){var a=this;a._unbindEvents()},p._readTitleType=function(){var a=this,b=a._ui.titleContainer;b.classList.contains(r.hasMultilineTitle)&&(a.options.titleType="multiline"),b.classList.contains(r.hasSubtitle)&&(a.options.titleType="subtitle")},p._setTitleType=function(a,b){var c=this,d=c._ui.titleContainer;switch(d.classList.remove(r.hasMultilineTitle,r.hasSubtitle),b){case"multiline":d.classList.add(r.hasMultilineTitle);break;case"subtitle":d.classList.add(r.hasSubtitle);break;case"singleLine":}},p._setExpandingEnabled=function(a,b){var c=this;c.options.expandingEnabled!==b&&(c.options.expandingEnabled=b,b||c._appbarState===l.COLLAPSED||c.collapse())},p._setAnimation=function(a,b){this.options.animation=b,a.classList.toggle(r.animationFast,!b)},d.widget.core.Appbar=n,d.engine.defineWidget("Appbar",n.selector,[],n,"core")}(a,a.document,d),function(a,b,c){var d=c.widget.BaseWidget,e=c.engine,f=function(){this._ui={}},g=["width","height","position","scale","rotation","controls","autoplay","light","src","show","hide","mtl"],h=new d;f.prototype=h,h._init=function(a){var b=this;return b.observer=new MutationObserver(b._attributeChange.bind(this)),b.observer.observe(a,{attributes:!0}),a},h._attributeChange=function(a){var b=this;a.forEach(function(a){var c,d=a.attributeName;-1!==g.indexOf(d)&&(c=a.target,c.hasAttribute(d)?b._ui.rType.setAttribute(d,c.attributes[d].value):b._ui.rType.removeAttribute(d))})},h._build=function(a){var c,d=b.createElement("r-type"),e=a.attributes;for(c=0;c<e.length;c++)-1!==g.indexOf(e[c].name)&&d.setAttribute(e[c].name,e[c].value);return this._ui.rType=d,a.appendChild(d),a},h._destroy=function(){var a=this,b=a._ui,c=b.rType;c&&c.parentNode&&c.parentNode.removeChild(c),this.observer.disconnect()},c.widget.core.Interactive3D=f,e.defineWidget("Interactive3D",".ui-i3d",[],f,"core")}(a,a.document,d),function(a,b,c){var d=c.util.object,e=function(){this.options=d.merge({},e.defaults),this.observer=null},f={value:"coverflow"},g=c.widget.BaseWidget,h=new g;e.prototype=h,e.defaults=f,h._init=function(a){var b=this;return a.getAttribute("value")||a.setAttribute("value",b.options.value),b.observer=new MutationObserver(b._checkEffectChange.bind(this)),b.observer.observe(a,{attributes:!0}),a},h._checkEffectChange=function(a){a.forEach(function(a){"data-effect"===a.attributeName&&this.element.getAttribute("data-effect")&&(this.options.value=this.element.getAttribute("data-effect"),this._refresh())}.bind(this))},h._refresh=function(){var a=this;a._setValue(a.options.value)},h._setValue=function(b){this.ui={},this.ui.$element=a.jQuery(this.element).flipster({style:b,spacing:-.5})},h._build=function(b){return b.getAttribute("data-effect")&&(this.options.value=b.getAttribute("data-effect")),this.ui={},a.jQuery&&"function"==typeof a.jQuery.fn.flipster?this.ui.$element=a.jQuery(b).flipster({style:this.options.value,spacing:-.5}):c.warn("JQuery or flipster.js not exists"),b},h._destroy=function(){this.observer.disconnect()},c.engine.defineWidget("CoverFlow",".ui-coverflow",[],e,"core")}(a,a.document,d),function(a,b,d){var e=d.util.object,f="intermittent",g="continuous",h="x",i="y",j=h,k=i,l="none",m={stackedBar:"stacked-bar",line:"line",stackedArea:"stacked-area",scatterplot:"scatterplot",bar:"bar"},n={graph:m.line,color:"#0097D8",xlabel:"",ylabel:"",axisXType:"time",axisYType:"linear",mode:f,value:[],timeAxis:j,groupKey:"label",legend:!1},o=function(){var a=this;a.options=e.merge({},o.defaults),a.data=[],a.size="",a._initialData=!0,a.split="formula",a.guide={color:{brewer:[n.color]},showGridLines:"xy",x:{nice:!1,label:{text:n.xlabel}},y:{nice:!1,label:{text:n.ylabel}}},a.dimensions={x:{type:"order",scale:"time"},y:{type:"order",scale:"linear"}},a.chart=null},p={graphContainer:"ui-graph"},q=d.widget.BaseWidget,r=new q;o.prototype=r,o.defaults=n,o.MODE={INTERMITTENT:f,CONTINUOS:g},o.TIME_AXIS={X:j,Y:k,NONE:l},r._newChart=function(b){var c=this,d=null;c.element.innerHTML="",c._rebuildCache(),d=c._prepareChartData(),c.chart=new a.tauCharts.Chart({data:[],type:c.options.graph,x:h,y:i,color:"label",size:c.size,split:c.split,guide:c.guide,dimensions:c.dimensions,plugins:c.options.legend?[a.tauCharts.api.plugins.get("legend")]:[]}),c.chart.renderTo(b),c._updateChart(d)},r._setChartAxis=function(a){var b=this,c=b.dimensions[a],d=b.options["axis"+a.toUpperCase()+"Type"];switch(c.type="order",d){case"time":case"index":c.scale="time",b.guide[a].tickFormat="day";break;case"order":c.scale="ordinal";break;case"linear":c.scale="linear"}},r._init=function(a){var b=this,c=[],d=b.guide;if(b.options.color="string"==typeof b.options.color?b.options.color.split(","):b.options.color,d.color.brewer=b.options.color,d.x.label.text=b.options.xlabel,d.y.label.text=b.options.ylabel,b._setChartAxis("x"),b._setChartAxis("y"),b.data.length=0,b.options.value){try{c=JSON.parse(b.options.value)}catch(e){}c.length>0&&(c.forEach(function(a){b._addData(a)}),b._initialData=!0)}else b._addData(0),b._initialData=!0;return b._newChart(a),a},r._build=function(b){var c=this;return a.tauCharts?(c._createDivElement(b,p.graphContainer),b):null},r._addData=function(a){var b=Date.now(),c={time:b,value:a,cache:null},d=this;d._initialData&&(d.data=[],d._initialData=!1),c.cache=d._map(c,d.data.length),d.data.push(c)},r._map=function(a,b){var d,e=[],f=a.value,g=a.time,h=this.options.timeAxis,i=this.options.axisXType,l=this.options.groupKey,m=0,n=0;if("object"==typeof f?f.x!==c?(e.push(f.x),f.y!==c&&e.push(f.y),f[l]!==c&&e.push(f[l])):Object.keys(f).forEach(function(a){e.push(f[a])}):e=[f],1===e.length){switch(i){case"time":h===j?(n=parseFloat(e[0])||0,m=g):(m=parseFloat(e[0])||0,h===k&&(n=g));break;case"index":m=b,n=parseFloat(e[0])||0}d="Series 1"}else{switch(i){case"index":m=b,n=parseFloat(e[0])||0;break;default:m=parseFloat(e[0])||0,n=parseFloat(e[1])||0}d=e[e.length-1]}return{x:m,y:n,label:d}},r._rebuildCache=function(){var a=this;a.data.forEach(function(b,c){b.cache=a._map(b,c)})},r._prepareChartData=function(){return this.data.map(function(a){return a.cache})},r._updateChart=function(a){var b=this;b.options.mode===f&&(a.length=0),b.chart.setData(a),b.element.setAttribute("data-value",JSON.stringify(a))},r._setOneValue=function(a){var b=this;return b._addData(a),b._updateChart(b._prepareChartData()),!1},r._setValue=function(a){var b=Array.isArray(a)?a:[a],c=!0,d=this;return b.forEach(function(a){!d._setOneValue(a)&&c&&(c=!1)}),c},r._getValue=function(){return this.data},r._createDivElement=function(a,c){var d=b.createElement("div");d.classList.add(c),a.appendChild(d)},r._refresh=function(){var a=this;a.guide={color:{brewer:"string"==typeof a.options.color?a.options.color.split(","):a.options.color},x:{label:{text:a.options.xlabel}},y:{label:{text:a.options.ylabel}}},a._newChart(a.element)},d.widget.core.Graph=o,d.engine.defineWidget("Graph",".ui-graph",[],o,"core")}(a,a.document,d),function(){function c(a,b,c){var d=a.element,e=d.classList,f=a._ui.overlay,g=a._callbacks.animationEnd;d.removeEventListener("animationend",g,!1),d.removeEventListener("webkitAnimationEnd",g,!1),d.removeEventListener("mozAnimationEnd",g,!1),d.removeEventListener("oAnimationEnd",g,!1),d.removeEventListener("msAnimationEnd",g,!1),b.split(" ").forEach(function(a){a=a.trim(),a.length>0&&(e.remove(a),f&&f.classList.remove(a))}),"pending"===c.state()&&c.resolve()}function e(a,b){var c=new i;return c.then(function(){c===a._callbacks.transitionDeferred&&b()}),a._callbacks.transitionDeferred=c,c}var f=d.widget.BaseWidget,g=d.engine,h=d.util.object,i=d.util.deferred,j=d.util.selectors,k=d.event,l=d.router&&d.router.Router,m=d.widget.core.BaseKeyboardSupport,n=d.widget.core.Page,o="[data-role='popup'], .ui-popup",p={transition:"none",dismissible:!0,overlay:!0,header:!1,footer:!1,content:null,overlayClass:"",closeLinkSelector:"[data-rel='back']",history:null,closeAfter:null},q={DURING_OPENING:0,OPENED:1,DURING_CLOSING:2,CLOSED:3},r="ui-popup",s={popup:r,active:r+"-active",overlay:r+"-overlay",header:r+"-header",footer:r+"-footer",content:r+"-content",wrapper:r+"-wrapper",toast:r+"-toast",toastSmall:r+"-toast-small",build:"ui-build",overlayShown:r+"-overlay-shown"},t={header:"."+s.header,content:"."+s.content,footer:"."+s.footer},u="popup",v={show:u+"show",hide:u+"hide",before_show:u+"beforeshow",transition_start:u+"transitionstart",before_hide:u+"beforehide"},w=function(){var a=this,b={};m.call(this),a.selectors=t,a.options=h.merge({},w.defaults),a.storedOptions=null,a.state=q.CLOSED,b.overlay=null,b.header=null,b.footer=null,b.content=null,b.container=null,b.wrapper=null,a._ui=b,a._callbacks={}},x=new f;w.classes=s,w.events=v,w.defaults=p,w.selector=o,x._buildContent=function(a){var c,d,e=this,f=e._ui,g=e.selectors,h=e.options,i=f.content||a.querySelector(g.content),j=f.footer||a.querySelector(g.footer),k=[].slice.call(a.childNodes),l=k.length;if(!i){for(i=b.createElement("div"),i.className=s.content,c=0;l>c;++c)d=k[c],d!==f.footer&&d!==f.header&&i.appendChild(d);"string"==typeof h.content&&(i.innerHTML=h.content),a.insertBefore(i,j)}i.classList.add(s.content),f.content=i},x._buildHeader=function(a){var c=this,d=c._ui,e=c.options,f=c.selectors,g=d.content||a.querySelector(f.content),h=d.header||a.querySelector(f.header);h||e.header===!1||(h=b.createElement("div"),h.className=s.header,"boolean"!=typeof e.header&&(h.innerHTML=e.header),a.insertBefore(h,g)),h&&h.classList.add(s.header),d.header=h},x._setHeader=function(a,b){var c=this,d=c._ui,e=d.header;e&&(e.parentNode.removeChild(e),d.header=null),c.options.header=b,c._buildHeader(d.container)},x._buildFooter=function(a){var c=this,d=c._ui,e=c.options,f=d.footer||a.querySelector(c.selectors.footer);f||e.footer===!1||(f=b.createElement("div"),f.className=s.footer,"boolean"!=typeof e.footer&&(f.innerHTML=e.footer),a.appendChild(f)),f&&f.classList.add(s.footer),d.footer=f},x._setFooter=function(a,b){var c=this,d=c._ui,e=d.footer;e&&(e.parentNode.removeChild(e),d.footer=null),c.options.footer=b,c._buildFooter(d.container)},x._build=function(a){var c,d=this,e=d._ui,f=a.firstChild,g=a.classList;for(g.add(s.popup),g.contains(s.toastSmall)&&g.add(s.toast),c=b.createElement("div"),c.classList.add(s.wrapper),e.wrapper=c,e.container=c;f;)c.appendChild(f),f=a.firstChild;return a.appendChild(c),d._buildHeader(e.container),d._buildFooter(e.container),d._buildContent(e.container),d._setOverlay(a,d.options.overlay),a},x._setOverlay=function(a,c){var e=this,f=e.options.overlayClass,g=e._ui,h=g.overlay;a.classList.contains("ui-slider-popup")||a.classList.contains(s.toast)||(h||(h=b.createElement("div"),a.parentNode?a.parentNode.insertBefore(h,a):d.warn("Popup is creating on element outside DOM"),g.overlay=h),h.className=s.overlay+(f?" "+f:""),c?h.style.opacity="":h.style.opacity=0)},x._isActive=function(){var a=this.state;return a===q.DURING_OPENING||a===q.OPENED},x._isOpened=function(){return this.state===q.OPENED},x._init=function(b){var c=this,d=c.selectors,e=c._ui,f=c.options,g=c.element.classList;e.header=e.header||b.querySelector(d.header),e.footer=e.footer||b.querySelector(d.footer),e.content=e.content||b.querySelector(d.content),e.wrapper=e.wrapper||b.querySelector("."+s.wrapper),e.container=e.wrapper||b,e.page=j.getClosestByClass(b,n.classes.uiPage)||a,e.pageContent="function"==typeof e.page.querySelector?e.page.querySelector("."+n.classes.uiContent):null,g.contains(s.toast)&&(f.closeAfter=f.closeAfter||2e3),null===f.history&&(f.history=!g.contains(s.toast))},x._setActive=function(a){var b,c=this,d=s.active,e=c.element.classList,f=l&&l.getInstance().getRoute("popup"),g=c._ui;b=h.merge({},c.options,{positionTo:null,link:null}),a?(f&&f.setActive(c,b),e.add(d),c.state=q.OPENED):(f&&f.setActive(null,b),e.remove(d),c.state=q.CLOSED),g.content.scrollHeight>g.content.clientHeight&&g.footer&&g.footer.classList.add("bottomDivider")},x._onScroll=function(){var a=this,b=a._ui,c=b.content,d=b.header,e=b.footer;0===c.scrollTop?(d&&d.classList.remove("topDivider"),e&&e.classList.add("bottomDivider")):c.scrollHeight-c.clientHeight===c.scrollTop?(d&&d.classList.add("topDivider"),e&&e.classList.remove("bottomDivider")):(d&&d.classList.add("topDivider"),e&&e.classList.add("bottomDivider"))},x._bindEvents=function(){var c=this;k.on(c._ui.page,"pagebeforehide",c,!1),k.on(a,"resize",c,!1),k.on(b,"vclick",c,!1),k.on(c._ui.content,"scroll",c,!1)},x._unbindEvents=function(){var c=this;k.off(c._ui.page,"pagebeforehide",c,!1),k.off(a,"resize",c,!1),k.off(b,"vclick",c,!1),k.off(c._ui.content,"scroll",c,!1)},x._layout=function(){},x.open=function(b){var c,e=this,f=e.close.bind(e);e._isActive()||(e._storeOpenOptions(b),c=h.merge(e.options,b),c.dismissible||d.router.Router.getInstance().lock(),c.closeAfter>0?(e.element.classList.contains(s.toast)&&(c.transition="fade"),e._show(c),e._closeTimeout=a.setTimeout(f,c.closeAfter)):e._show(c))},x.close=function(a){var b=this,c=h.merge(b.options,a);b._isActive()&&(clearTimeout(b._closeTimeout),c.dismissible||d.router.Router.getInstance().unlock(),b._hide(c))},x._storeOpenOptions=function(a){var b,c=this,d=c.options,e={};for(b in a)a.hasOwnProperty(b)&&(e[b]=d[b]);c.storedOptions=e},x._restoreOpenOptions=function(){var a=this,b=a.options,c=["x","y","fromHashChange"];b=h.merge(b,a.storedOptions),h.removeProperties(b,c)},x._show=function(a){var b=this,c=h.merge({},a),d=b._ui.overlay,e=b._ui.pageContent;b._layout(b.element),b.state=q.DURING_OPENING,c.ext=" in ",b.trigger(v.before_show),d&&b.options.overlay&&d.classList.toggle(s.overlayShown,!0),e&&e.classList.toggle(n.classes.uiContentUnderPopup,!0),b._transition(c,b._onShow.bind(b)),b.trigger(v.transition_start)},x._onShow=function(){var a=this;a._setActive(!0),a.isKeyboardSupport&&d.getConfig("keyboardSupport")&&(a.disableFocusableElements(this._ui.page),a.enableDisabledFocusableElements(this.element),m.focusElement(this.element)),a.trigger(v.show)},x._hide=function(a){var b=this,c=b._isOpened(),d=b._callbacks,e=b._ui.pageContent;b.state=q.DURING_CLOSING,b.trigger(v.before_hide),e&&e.classList.toggle(n.classes.uiContentUnderPopup,!1),c?(a.ext=" out ",b._transition(a,b._onHide.bind(b))):(d.transitionDeferred&&d.transitionDeferred.reject(),d.animationEnd&&d.animationEnd(),b._onHide())},x._onHide=function(){var a=this,b=a._ui.overlay;a._setActive(!1),a.isKeyboardSupport&&a.enableDisabledFocusableElements(this._ui.page),b&&b.classList.toggle(s.overlayShown,!1),a._restoreOpenOptions(),a.trigger(v.hide)},x.handleEvent=function(a){var b=this,c=d.router.Router.getInstance();switch(a.type){case"pagebeforehide":c.close(null,{transition:"none",rel:"popup"});break;case"resize":b._onResize(a);break;case"vclick":a.target===b._ui.overlay&&b._onClickOverlay(a);break;case"scroll":b._onScroll(a)}},x._refresh=function(){var a=this;a._setOverlay(a.element,a.options.overlay)},x._onClickOverlay=function(a){var b=this.options;a.preventDefault(),a.stopPropagation(),b.dismissible&&d.router.Router.getInstance().close(null,{rel:"popup"})},x._onResize=function(){this._isOpened()&&this._refresh()},x._transition=function(b,f){var g,h,i,j=this,k=b.transition||j.options.transition||"none",l=k+b.ext,m=j.element,n=m.classList;return j._ui.overlay&&(g=j._ui.overlay.classList),h=e(j,f),"none"!==k?(i=c.bind(null,j,l,h),j._callbacks.animationEnd=i,m.addEventListener("animationend",i,!1),m.addEventListener("webkitAnimationEnd",i,!1),m.addEventListener("mozAnimationEnd",i,!1),m.addEventListener("oAnimationEnd",i,!1),m.addEventListener("msAnimationEnd",i,!1),l.split(" ").forEach(function(a){a=a.trim(),a.length>0&&(n.add(a),g&&g.add(a))})):d.getConfig("noAsync",!1)?h.resolve():a.setTimeout(h.resolve,0),h},x._destroy=function(){var a,b=this,c=b.element,d=b._ui,e=d.wrapper;if(e){for(a=e.firstChild;a;)c.appendChild(a),a=e.firstChild;e.parentNode&&e.parentNode.removeChild(e)}b._unbindEvents(c),b._setOverlay(c,!1),d.wrapper=null},w.prototype=x,d.widget.core.Popup=w,g.defineWidget("Popup",o,["open","close","reposition"],w,"core")}(),function(a,b,c){function d(b,c){var d,e,f,g=b.options,h=g.arrow.split(","),i=b.element,j=a.innerWidth,l=a.innerHeight,m=k.getElementWidth(i,"outer"),n=k.getElementHeight(i,"outer"),o=c.getBoundingClientRect(),p=o.left,q=o.top,r=Math.min(o.width,j-p),s=Math.min(o.height,l-q),t={l:{dir:"l",fixedPositionField:"x",fixedPositionFactor:1,size:m,max:p},r:{dir:"r",fixedPositionField:"x",fixedPositionFactor:-1,size:m,max:j-p-r},b:{dir:"b",fixedPositionField:"y",fixedPositionFactor:-1,size:n,max:q},t:{dir:"t",fixedPositionField:"y",fixedPositionFactor:1,size:n,max:l-q-s}};return d=t[h[0]]||t.t,h.forEach(function(a){var b=t[a],c=b.max;e||(b.size<c?e=b:c>d.max&&(d=b))}),e||(e=d,"x"===e.fixedPositionField?m=e.max:n=e.max),f={x:p+r/2-m/2,y:q+s/2-n/2,w:m,h:n,dir:e.dir},f[e.fixedPositionField]+=("x"===e.fixedPositionField?(m+r)*e.fixedPositionFactor:(n+s)*e.fixedPositionFactor)/2+g.distance*e.fixedPositionFactor,f.x=f.x<0?0:f.x+f.w>j?j-f.w:f.x,f.y=f.y<0?0:f.y+f.h>l?l-f.h:f.y,f}function e(b,c,d,e){var f,g,h,i=b._ui,j=i.wrapper,l=i.arrow,m=b.element,n=l.style,o=a.innerWidth,p=a.innerHeight,q=j.getBoundingClientRect(),r=l.offsetWidth/2,s={"padding-top":0,"padding-bottom":0,"padding-left":0,"padding-right":0,"border-top-width":0,"border-left-width":0,"box-sizing":null},t={"margin-top":0,"margin-bottom":0,"margin-left":0,"margin-right":0,"padding-top":0,"padding-bottom":0,"padding-left":0,"padding-right":0},u={t:{pos:d,min:"left",max:"right",posField:"x",valField:"w",styleField:"left"},b:{pos:d,min:"left",max:"right",posField:"x",valField:"w",styleField:"left"},l:{pos:e,min:"top",max:"bottom",posField:"y",valField:"h",styleField:"top"},r:{pos:e,min:"top",max:"bottom",posField:"y",valField:"h",styleField:"top"}},v=u[c.dir];return k.extractCSSProperties(m,s),k.extractCSSProperties(j,t),h="border-box"===s["box-sizing"],f={t:s["padding-top"]+t["margin-top"]+t["padding-top"],b:s["padding-bottom"]+t["margin-bottom"]+t["padding-bottom"],l:s["padding-left"]+t["margin-left"]+t["padding-left"],r:s["padding-right"]+t["margin-right"]+t["padding-right"]},q={left:f.l+c.x,right:f.l+q.width+c.x,top:f.t+c.y,bottom:q.height+f.t+c.y},q[v.min]>v.pos-r?(g=c[v.posField],g>0?(c[v.posField]=Math.max(v.pos-r,0),v.pos=c[v.posField]+r):v.pos=q[v.min]+r):q[v.max]<v.pos+r&&(g=("w"===v.valField?o:p)-(c[v.posField]+c[v.valField]),g>0?(c[v.posField]+=Math.min(g,v.pos+r-q[v.max]),v.pos=c[v.posField]+c[v.valField]-r):v.pos=q[v.max]-r),n[v.styleField]=v.pos-r-c[v.posField]-(h?s["border-"+v.styleField+"-width"]:0)+"px",c}function f(a,b){var c=b.getBoundingClientRect(),d={};switch(a){case"l":d.x=c.right,d.y=c.top+c.height/2;break;case"r":d.x=c.left,d.y=c.top+c.height/2;break;case"t":d.x=c.left+c.width/2,d.y=c.bottom;break;case"b":d.x=c.left+c.width/2,d.y=c.top}return d}var g=c.widget.core.Popup,h=g.prototype,i=c.engine,j=c.util.object,k=c.util.DOM,l={arrow:"l,b,r,t",positionTo:"window",positionOriginCenter:!1,distance:0,link:null},m=function(){var a,b=this;g.call(b),b.options=j.merge(b.options,l),a=b._ui||{},a.arrow=null,b._ui=a},n="ui-popup",o=j.merge({},g.classes,{context:"ui-ctxpopup",contextOverlay:"ui-ctxpopup-overlay",arrow:"ui-arrow",arrowDir:n+"-arrow-"}),p=j.merge({},g.events,{before_position:"beforeposition"}),q={WINDOW:"window",ORIGIN:"origin",ABSOLUTE:"absolute"},r=new g;m.defaults=j.merge({},g.defaults,l),m.classes=o,m.events=p,m.positionTypes=q,r._build=function(a){var c,d=this,e=d._ui;return h._build.call(d,a),a.classList.add(o.popup),c=b.createElement("div"),c.appendChild(b.createElement("span")),c.classList.add(o.arrow),e.arrow=c,a.appendChild(c),a},r._init=function(a){var b=this,c=b._ui;h._init.call(this,a),c.arrow=c.arrow||a.querySelector("."+o.arrow)},r._layout=function(a){var b=this;this._reposition(),h._layout.call(b,a)},r._reposition=function(a){var b=this,c=b.element,d=b._ui,e=c.classList;a=j.merge({},b.options,a),b.trigger(p.before_position,null,!1),e.add(o.build),b._setContentHeight(),"origin"===a.positionTo&&d.overlay&&d.overlay.classList.add(o.contextOverlay),b._placementCoords(a),e.remove(o.build)},r._placementCoordsWindow=function(a){var b=a.style,c=a.offsetWidth;b.bottom="0px",b.left="50%",b.marginLeft=-(c/2)+"px"},r._placementCoordsAbsolute=function(a,b,c){var d=a.style,e=a.offsetWidth,f=a.offsetHeight;d.top=c+"px",d.left=b+"px",d.marginTop=-(f/2)+"px",d.marginLeft=-(e/2)+"px"},r._findClickedElement=function(a,c){return b.elementFromPoint(a,c)},r._placementCoordsOrigin=function(a,b){var c,g,h,i,j=this,k=j.element,l=k.style,m=k.classList,n=b.x,p=b.y;m.add(o.context),i=k.offsetHeight,c=d(j,a),h=c.dir,m.add(o.arrowDir+h),j._ui.arrow.setAttribute("type",h),("number"!=typeof n&&"number"!=typeof p||j.options.positionOriginCenter)&&(g=f(h,a),n=g.x,p=g.y),c=e(j,c,n,p),i>c.h&&j._setContentHeight(c.h),l.left=c.x+"px",l.top=c.y+"px"},r._placementCoordsElement=function(a){var b,c,e=this,f=e.element,g=f.style;f.classList.add(o.context),c=f.offsetHeight,b=d(e,a),c>b.h&&e._setContentHeight(b.h),g.left=b.x+"px",g.top=b.y+"px"},r._placementCoords=function(a){var c,d,e=this,f=a.positionTo,g=a.x,h=a.y,i=e.element;switch(f){case q.ORIGIN:if(d=a.link,d?"string"==typeof d?c=b.getElementById(d):"object"==typeof d&&(c=d):"number"==typeof g&&"number"==typeof h&&(c=e._findClickedElement(g,h)),c)return void e._placementCoordsOrigin(c,a);break;case q.WINDOW:return void e._placementCoordsWindow(i);case q.ABSOLUTE:if("number"==typeof g&&"number"==typeof h)return void e._placementCoordsAbsolute(i,g,h);break;default:if("string"==typeof f)try{c=b.querySelector(a.positionTo)}catch(j){}else"object"==typeof f&&(c=f);if(c)return void e._placementCoordsElement(c,a)}e._placementCoordsWindow(i)},r._setContentHeight=function(b){var c,d,e,f=this,g=f.element,h=f._ui.content;h&&(c=h.style,(c.height||c.minHeight)&&(c.height="",c.minHeight=""),b=b||a.innerHeight,d=h.offsetHeight,e=g.offsetHeight,e>b&&(d-=e-b,c.height=d+"px",c.minHeight=d+"px"))},r._onHide=function(){var a=this,b=a._ui,c=a.element,d=c.classList,e=b.arrow;d.remove(o.context),["l","r","b","t"].forEach(function(a){d.remove(o.arrowDir+a)}),c&&c.removeAttribute("style"),e&&e.removeAttribute("style"),h._onHide.call(a)},r._destroy=function(){var a=this,b=a._ui,c=b.arrow;h._destroy.call(a),c&&c.parentNode&&c.parentNode.removeChild(c),b.arrow=null},r.reposition=function(a){this._isActive()&&this._reposition(a)},r._refresh=function(){this._isActive()&&(h._refresh.call(this),this.reposition(this.options))},m.prototype=r,c.widget.core.ContextPopup=m,i.defineWidget("Popup","[data-role='popup'], .ui-popup",["open","close","reposition"],m,"core",!0),c.widget.popup=c.widget.Popup}(a,a.document,d),function(a,b){var c=b.widget.BaseWidget,d=b.engine,e=function(){},f={LISTVIEW:"ui-listview",DETAILS:"ui-details"},g=new c;e.classes=f,g._build=function(a){return a.classList.add(f.LISTVIEW),a},e.prototype=g,b.widget.core.Listview=e,d.defineWidget("Listview","[data-role='listview'], .ui-listview",[],e,"core")}(a.document,d),function(a,b){function d(b){var c=null;return(b.children.length>1||1===b.children.length&&!b.firstElementChild.classList.contains(k.BUTTON_CONTENT))&&(c=a.createElement("div"),c.classList.add(k.BUTTON_CONTENT),[].slice.call(b.children).forEach(function(a){c.appendChild(a)}),b.appendChild(c)),c}function e(a,c){b.event.trigger(a.element,"vclick",c)}var f=b.widget.BaseWidget,g=b.widget.core.Page,h=b.widget.core.BaseKeyboardSupport,i=b.engine,j=b.util.DOM,k={BTN:"ui-btn",DISABLED:"ui-state-disabled",INLINE:"ui-inline",BTN_ICON:"ui-btn-icon",ICON_PREFIX:"ui-icon-",BTN_CIRCLE:"ui-btn-circle",BTN_NOBG:"ui-btn-nobg",BTN_ICON_ONLY:"ui-btn-icon-only",BTN_TEXT:"ui-btn-text",BTN_FAB:"ui-btn-fab",BTN_FLAT:"ui-btn-flat",BTN_CONTAINED:"ui-btn-contained",BTN_TEXT_LIGHT:"ui-btn-text-light",BTN_TEXT_DARK:"ui-btn-text-dark",FOCUS:"ui-btn-focus",BTN_ICON_POSITION_PREFIX:"ui-btn-icon-",BTN_ICON_MIDDLE:"ui-btn-icon-middle",BUTTON_CONTENT:"ui-btn-content",HIDDEN:"ui-hidden"},l=32,m=230,n={CIRCLE:"circle",TEXTLIGHT:"light",TEXTDARK:"dark",NOBG:"nobg",ICON_MIDDLE:"icon-middle",FLOATING:"fab",FLAT:"flat",CONTAINED:"contained"},o={inline:!0,icon:null,disabled:!1,style:n.CONTAINED,iconpos:"left",size:null,middle:!1,value:null,enabledIcon:!1},p=function(){var a=this;h.call(a),a.options={},a._ui={fab:null},a._callbacks={onFABClick:null},a._classesPrefix=k.BTN+"-"},q=new f;p.classes=k,p.prototype=q,q._configure=function(){this.options=b.util.object.copy(o)},q._readWidgetSpecyficOptionFromElementClassname=function(a,b){var c=this.options,d=a.classList;switch(b){case"enabledIcon":if(d.contains(k.BTN_ICON))return c.enabledIcon=!0,!0}return!1},q._setStyle=function(a,b){var c=this,d=c.options,e=a.classList,f=!1,g=c._ui;switch(b=b||d.style,b!==n.FLOATING&&null!==g.fab&&c._revertFromFAB(a),e.remove(k.BTN_CIRCLE),e.remove(k.BTN_NOBG),e.remove(k.BTN_TEXT_LIGHT),e.remove(k.BTN_TEXT_DARK),e.remove(k.BTN_FLAT),e.remove(k.BTN_CONTAINED),b){case n.CIRCLE:e.add(k.BTN_CIRCLE),f=!0;break;case n.NOBG:e.add(k.BTN_NOBG),f=!0;break;case n.TEXTLIGHT:e.add(k.BTN_TEXT_LIGHT),f=!0;break;case n.TEXTDARK:e.add(k.BTN_TEXT_DARK),f=!0;break;case n.FLOATING:this._changeToFAB(a),f=!0;break;case n.FLAT:e.add(k.BTN_FLAT),f=!0;break;case n.CONTAINED:e.add(k.BTN_CONTAINED),f=!0}f&&(d.style=b,c._saveOption("style",b))},q._setInline=function(a,b){var d=this.options;b===c&&(b=a.getAttribute("data-inline"),null===b&&(b=this._readCommonOptionFromElementClassname(a,"inline")),b="false"===b?!1:!!b),a.classList.toggle(k.INLINE,b),d.inline=b,this._saveOption("inline",b)},q._setIcon=function(a,b){var c,d=this,e=a.classList,f=d.options,g={},h=d._iconCSSRule;a.className=a.className.replace(RegExp("(\\"+k.ICON_PREFIX+"([a-z-]*))","g"),""),b=b||f.icon,f.icon=b,b&&(f.enabledIcon=!0),d._saveOption("icon",b),f.enabledIcon?(e.add(k.BTN_ICON),b&&(-1===b.indexOf(".")?(e.add(k.ICON_PREFIX+b),d._setTitleForIcon(a),h&&j.removeCSSRule(h)):(c='url("'+b+'")',g["-webkit-mask-image"]=c,g["mask-image"]=c,d._iconCSSRule=j.setStylesForPseudoClass("#"+a.id,"after",g))),a.textContent.trim()||e.remove(k.BTN_TEXT)):(e.remove(k.BTN_ICON),h&&j.removeCSSRule(h))},q._removeIconposClass=function(a){var b=this;a=a||b.element,a.classList.remove(k.BTN_ICON_POSITION_PREFIX+"left"),a.classList.remove(k.BTN_ICON_POSITION_PREFIX+"top"),a.classList.remove(k.BTN_ICON_ONLY)},q._addIconposClass=function(a){var b,c=this;a=a||c.element,b=a.textContent.trim().length||(a.value?a.value.length:0),b>0?a.classList.add(k.BTN_ICON_POSITION_PREFIX+c.options.iconpos):a.classList.add(k.BTN_ICON_ONLY)},q._setIconpos=function(a,b){var c=this,d=c.options,e=d.style;c._removeIconposClass(a),b=b||d.iconpos,d.icon&&e!==n.CIRCLE&&e!==n.NOBG&&e!==n.FLOATING&&(d.iconpos=b,c._addIconposClass(a),c._saveOption("iconpos",b))},q._setTitleForIcon=function(a){var c=this.options,d=a.textContent;"notext"!==c.iconpos||a.getAttribute("title")||(a.setAttribute("title",d),b.warn("iconpos='notext' is deprecated."))},q._focus=function(){var a;b.getConfig("keyboardSupport",!1)&&(a=this.element.classList,a.add(k.FOCUS),this.element.focus())},q._blur=function(){var a;b.getConfig("keyboardSupport",!1)&&(a=this.element.classList,a.remove(k.FOCUS),this.element.blur())},q._setDisabled=function(a,b){var c=this,d=c.options,e=a.classList;b===!0||d.disabled===!0||a.disabled||e.contains(k.DISABLED)?(d.disabled=!0,c._disable(a)):d.disabled=!1,c._saveOption("disabled",d.disabled)},q._build=function(a){var b=this,c=a.classList;return c.contains(k.BTN)||c.add(k.BTN),b._content=d(a),b._setStyle(a),b._setInline(a),b._setIconpos(a),b._setIcon(a),b._setSize(a),b._setDisabled(a),b._setTextButton(a),a.hasAttribute("tabindex")||a.setAttribute("tabindex",0),a},q._refresh=function(){var a=this,b=this.element;return a.options=a._getCreateOptions(b),a._build(b),null},q._getValue=function(){return this.element.textContent},q._setSize=function(a,b){var c=a.style,d=this.options,e=b||d.size;e&&(e=parseInt(e,10),l>e&&(e=l),e>m&&(e=m),c.height=e+"px",c.width=e+"px",d.size=e)},q._setTextButton=function(a){a.textContent.trim()?a.classList.add(k.BTN_TEXT):a.classList.remove(k.BTN_TEXT)},q._setValue=function(a){this.element.textContent=a},q._enable=function(a){var b=this,c=b.options;a&&("button"===a.tagName.toLowerCase()&&(a.disabled=!1),this.isCustomElement||a.removeAttribute("disabled"),a.classList.remove(k.DISABLED),c.disabled=!1,b._saveOption("disabled",!1))},q._bindEvents=function(a){var b=this;b._focusCallback=b._focus.bind(b),
+b._blurCallback=b._blur.bind(b),a.addEventListener("focus",b._focusCallback),a.addEventListener("blur",b._blurCallback)},q._unbindEvents=function(a){var b=this;a.removeEventListener("focus",b._focusCallback),a.removeEventListener("blur",b._blurCallback)},q._disable=function(a){var b=this.options;a&&("button"===a.tagName.toLowerCase()&&(a.disabled=!0),this.isCustomElement||a.setAttribute("disabled","disabled"),a.classList.add(k.DISABLED),b.disabled=!0,this._saveOption("disabled",!0))},q._saveOption=function(a,b){var c=this,d=c.element,e=o[a];d&&(e!==b?d.dataset[a]=b:delete d.dataset[a])},q._getDefaultOption=function(a){return o[a]},q._bindEventsFAB=function(){var a=this,b=a._ui.fab;a._callbacks.onFABClick=e.bind(null,a),b.addEventListener("vclick",a._callbacks.onFABClick)},q._unbindEventsFAB=function(){var a=this,b=a._ui.fab;b.removeEventListener("vclick",a._callbacks.onFABClick),a._callbacks.onFABClick=null},q._changeToFAB=function(c){var d=this,e=d._ui,f=a.createElement("button"),h=b.util.selectors.getClosestBySelector(c,g.selector);e.fab=f,f.classList.add(k.BTN),f.classList.add(k.BTN_FAB),d.options.icon&&(f.classList.add(k.BTN_ICON),f.classList.add(k.ICON_PREFIX+d.options.icon)),c.classList.add(k.HIDDEN),h&&h.appendChild(f),d._bindEventsFAB()},q._revertFromFAB=function(a){var b=this,c=b._ui.fab;b._unbindEventsFAB(),c&&(c.parentElement.removeChild(c),b._ui.fab=null),a.classList.remove(k.HIDDEN)},b.widget.core.Button=p,p.defaultOptions=o,i.defineWidget("Button","button, [data-role='button'], .ui-btn, input[type='button']",[],p,"core"),i.defineWidget("inputButton","",[],p,"core",!1,!1,HTMLInputElement),i.defineWidget("formButton","",[],p,"core",!1,!1,HTMLButtonElement),h.registerActiveSelector("[data-role='button'], button, [type='button'], [type='submit'], [type='reset'], .ui-button, .ui-btn")}(a.document,d),function(a,b){b.widget.mobile=b.widget.mobile||{}}(a,d),function(a,b,c){var d=c.widget.core.ContextPopup,e=d.prototype,f=c.widget.core.Listview,g=c.engine,h=c.util.DOM,i="[data-role='popup'], .ui-popup",j=c.util.object,k=c.util.selectors,l=function(){var a=this;d.call(this),a.options=j.merge(a.options,l.defaults),a._positionCallback=null};l.classes=d.classes,l.defaults=j.merge({},d.defaults,{closeLinkSelector:"a[data-rel='back']",transition:"pop",directionPriority:["bottom","top","right","left"],arrow:"b,t,r,l",positionTo:"origin"}),l.events=j.merge({},d.events,{AFTER_OPEN:"popupafteropen",AFTER_CLOSE:"popupafterclose"}),l.selector=i,l.prototype=new d,l.prototype._build=function(a){var c,d,f,g=k.getClosestByClass(a,"ui-page")||b.body,h=a.classList,i=this,j=DOMTokenList.prototype;if(a.parentNode!==g&&g.appendChild(a),a=e._build.call(i,a),d=i._ui.content.classList,d.contains("ui-popup-activity")){for(f=[],c=0;c<d.length;c++)-1!==d[c].indexOf("ui-popup-activity")&&f.push(d[c]);for(j.remove.apply(d,f),c=0;c<f.length;c++)h.add(f[c])}return a},l.prototype._setDirectionPriority=function(a,b){b&&(this.options.arrow=b.map(function(a){return a.charAt(0).toLowerCase()}).join(","))},l.prototype._refresh=function(){var a=this;this._isActive()&&("function"==typeof a._positionCallback&&a._positionCallback(),e._refresh.call(this))},l.prototype._setContentHeight=function(){var b=a.innerHeight-h.getCSSProperty(this.element,"margin-top",0,"float");e._setContentHeight.call(this,b)},l.prototype._findClickedElement=function(a,b){var c=e._findClickedElement.call(this,a,b),d=k.getClosestBySelector(c,g.getWidgetDefinition("Button").selector);return d||c},l.prototype._show=function(){var a,b,c=this;"window"!==c.options.positionTo&&(a=c.element.querySelector("."+f.classes.LISTVIEW),a&&(b=g.getBinding(a),b&&b.option("coloredBackground",!1))),e._show.call(c)},l.prototype._onShow=function(){e._onShow.call(this),this.trigger(l.events.AFTER_OPEN)},l.prototype._onHide=function(){e._onHide.call(this),this.trigger(l.events.AFTER_CLOSE)},l.prototype.setPositionCallback=function(a){this._positionCallback=a},c.widget.mobile.Popup=l,g.defineWidget("Popup",i,["open","close","reposition","setPositionCallback","setPositionCB"],l,"mobile",!0)}(a,a.document,d),function(a,b,c){var d=c.widget.core.Scrollview,e=c.util.DOM,f=d.classes;d.prototype._showScrollIndicator=function(){var a=this,b=a.element,c=a._ui.view,d=b.scrollTop,g=e.getElementHeight(b),h=e.getElementOffset(b),i=e.getElementHeight(c),j=e.getElementWidth(c);switch(a._clearIndicator(b),a.options.scroll){case"x":case"xy":break;default:0===d&&b.classList.add(f.indicatorTopShown),Math.floor(i-d-g)<=0&&b.classList.add(f.indicatorBottomShown),a._setTopAndBottomIndicators(b,{clipTop:h.top,clipHeight:g,width:j})}},d.prototype._setTopAndBottomIndicators=function(a,b){var c,d=this,e=d._ui.overflowTop,f=d._ui.overflowBottom;e&&(c=e.style,c.top=b.clipTop+"px"),f&&(c=f.style,c.top=b.clipTop+b.clipHeight-f.getBoundingClientRect().height+"px")},c.widget.mobile.Scrollview=d,c.engine.defineWidget("Scrollview",".ui-content:not([data-scroll='none']):not([data-handler='true']):not(.ui-scrollview-clip):not(.ui-scrolllistview):not(.ui-scrollhandler), [data-scroll]:not([data-scroll='none']):not([data-handler='true']):not(.ui-scrollhandler), .ui-scrollview:not([data-scroll='none']):not([data-handler='true']):not(.ui-scrollhandler)",["scrollTo","ensureElementIsVisible","centerToElement","getScrollPosition","skipDragging","translateTo"],d,"tizen",!0)}(a,a.document,d),function(a,b){var c=function(){this.options={}},d=b.widget.BaseWidget,e=d.prototype,f=e.configure,g=e.disable,h=e.enable,i=new d,j=[].slice;c.classes=d.classes,i.configure=function(a,c,d){var e,g,h=this;return c=f.call(h,a,c,d),a&&(e=a.name,g=e&&e.toLowerCase(),h.widgetName=g,h.widgetBaseClass=h.namespace+"-"+g,h.uuid=b.getNumberUniqueId(),h.eventNamespace="."+g+(h.uuid||""),h.defaultElement="<div>"),c},i.disable=function(){var a=this,b=a.element,c=b.classList,d=j.call(arguments);g.apply(a,d),c.add(a.widgetFullName+"-disabled")},i.enable=function(){var a=this,b=a.element,c=b.classList,d=j.call(arguments);h.apply(a,d),c.remove(a.widgetFullName+"-disabled")},i.raise=function(a){throw"Widget ["+this.widgetName+"]: "+a},i.widget=function(){return this.element},c.prototype=i,b.widget.mobile.BaseWidgetMobile=c}(a.document,d),function(a,b){function c(a,b,c){var d,e,f=a._ui,g=b.classList,h=f.heading,j=f.expandableContent,l="collapse"===c.type;c.defaultPrevented||(c.preventDefault(),f.expandFrom?l?f.expandFrom.classList.remove(k.uiExpandableExpanded):f.expandFrom.classList.add(k.uiExpandableExpanded):(d=h.classList,e=j.classList,l?(g.add(k.uiExpandableCollapsed),d.add(k.uiExpandableHeadingCollapsed),e.add(k.uiExpandableContentCollapsed)):(g.remove(k.uiExpandableCollapsed),d.remove(k.uiExpandableHeadingCollapsed),e.remove(k.uiExpandableContentCollapsed)),j.setAttribute("aria-hidden",l)),i.trigger(b,l?"collapsed":"expanded"))}function d(a,b){var c,d=a._ui.heading;d&&(c=a._ui.heading.classList,b?c.add(k.uiExpandableHeadingActive):c.remove(k.uiExpandableHeadingActive))}function e(a,b){var c,d=a.element,e=a._ui,f=e.heading,g=e.expandFrom;f?c=f.classList.contains(k.uiExpandableHeadingCollapsed)?"expand":"collapse":g&&(c=g.classList.contains(k.uiExpandableExpanded)?"collapse":"expand"),i.trigger(d,c),b.preventDefault(),i.stopPropagation(b)}var f=b.widget.mobile.BaseWidgetMobile,g=b.engine,h=b.util.selectors,i=b.event,j=b.util.DOM,k={uiExpandable:"ui-expandable",uiExpandableContent:"ui-expandable-content",uiExpandableContentCollapsed:"ui-expandable-content-collapsed",uiExpandableCollapsed:"ui-expandable-collapsed",uiExpandableExpanded:"ui-expandable-expanded",uiExpandableHeading:"ui-expandable-heading",uiExpandableHeadingCollapsed:"ui-expandable-heading-collapsed",uiExpandableHeadingToggle:"ui-expandable-heading-toggle",uiExpandableHeadingActive:"ui-expandable-heading-active",expandButton:"ui-expand-button",expandFrom:"ui-expandable-from",expandTo:"ui-expandable-to"},l={HEADING:"h1,h2,h3,h4,h5,h6,legend,li",BUTTON:"."+k.expandButton},m=function(){var a=this;a.options={collapsed:!0,heading:l.HEADING,expander:"heading"},a._eventHandlers={},a._ui={heading:null,expandableHeadingContent:null,expandButton:null,expandFrom:null,expandTo:null}},n=new f;m.prototype=n,m.classes=k,m.selectors=l,n._getExpandableHeading=function(b){var c,d=this.options,e=h.getChildrenBySelector(b,d.heading)[0];return e||(e=a.createElement("h1"),b.appendChild(e)),"legend"===e.tagName.toLowerCase()&&(c=a.createElement("div"),c.setAttribute("role","heading"),c.innerHTML=e.innerHTML,b.replaceChild(c,e),e=c),e},n._getExpandableContent=function(a,b){var c=a.querySelector("."+k.uiExpandableContent);return c||(j.wrapInHTML(a.childNodes,"<div class='"+k.uiExpandableContent+"'></div>"),a.insertBefore(b,a.firstChild),j.wrapInHTML(b.childNodes,"<a class='"+k.uiExpandableHeadingToggle+"' tabindex='0'></a>"),c=b.nextElementSibling),c},n._createExpandTo=function(b){var c=b.parentElement.querySelector("."+k.expandTo);return c||(c=a.createElement("li"),c.classList.add(k.expandTo),c.setAttribute("data-expander","button"),b.parentElement.appendChild(c)),c},n._createExpandButton=function(b){var c=b.querySelector(l.BUTTON);return c||(c=a.createElement("a"),c.classList.add("ui-btn"),b.appendChild(c),c.setAttribute("href","#")),c.setAttribute("data-icon","down"),c.setAttribute("data-style","flat"),c.classList.add(k.expandButton),c},n._build=function(a){var c,d,e=this,f=e._ui,g=a.classList;return a.classList.contains(k.expandFrom)?(f.expandFrom=a,f.expandTo=e._createExpandTo(a),f.expandButton=a.querySelector(l.BUTTON)||f.expandTo.querySelector(l.BUTTON),f.expandButton||(f.expandButton=e._createExpandButton(f.expandTo))):(a.parentNode&&"ul"===a.parentNode.tagName.toLowerCase()&&"div"===a.tagName.toLowerCase()&&b.warn("Don't make the Expandable list using <div>. It violates standard of HTML rule. Instead of, please use <li>."),g.add(k.uiExpandable),c=e._getExpandableHeading(a),c.classList.add(k.uiExpandableHeading),d=e._getExpandableContent(a,c),f.heading=c,f.expandableContent=d),a},n._init=function(a){var c=this,d=c._ui;return d.heading=d.heading||h.getChildrenByClass(a,k.uiExpandableHeading)[0],d.expandableContent=d.expandableContent||a.querySelector("."+k.uiExpandableContent),d.expandTo?(d.expandButton=d.expandButton||d.expandTo.querySelector(l.BUTTON),b.widget.Button(d.expandButton),c.options.collapsed&&a.classList.remove(k.uiExpandableExpanded)):(d.expandButton=d.expandButton||a.querySelector(l.BUTTON),c.options.collapsed&&(a.classList.add(k.uiExpandableCollapsed),d.heading&&d.heading.classList.add(k.uiExpandableHeadingCollapsed),d.expandableContent&&d.expandableContent.classList.add(k.uiExpandableContentCollapsed))),a},n._bindEvents=function(a){var b=this,f=b._eventHandlers,g=b._ui,h=g.heading;f.toggleExpandable=c.bind(null,b,a),f.removeActiveClass=d.bind(null,b,!1),f.addActiveClass=d.bind(null,b,!0),f.toggleEventType=e.bind(null,b),i.on(a,"expand collapse",f.toggleExpandable,!1),h?(i.on(h,"vmousedown",f.addActiveClass,!1),i.on(h,"vmousemove vmousecancel vmouseup",f.removeActiveClass,!1),i.on(h,"vclick",f.toggleEventType,!1)):g.expandTo&&i.on(g.expandButton,"vclick",f.toggleEventType,!1)},n._refresh=function(){},n._destroy=function(){var b=this,c=b.element,d=b._ui,e=d.heading,f=b._eventHandlers,g=c.parentNode;i.off(c,"expand collapse",f.toggleExpandable,!1),e?(i.off(e,"vmousedown",f.addActiveClass,!1),i.off(e,"vmousemove vmousecancel vmouseup",f.removeActiveClass,!1),i.off(e,"vclick",f.toggleEventType,!1)):d.expandTo&&i.off(d.expandButton,"vclick",f.toggleEventType,!1),b._ui=null,b._eventHandlers=null,i.trigger(a,"destroyed",{widget:"Expandable",parent:g})},b.widget.mobile.Expandable=m,g.defineWidget("Expandable","[data-role='expandable'], .ui-expandable, .ui-expandable-from",[],m,"mobile")}(a.document,d),function(a,b,c){function d(b){b._topOffset=a.innerHeight,b._previousVisibleElement=null,b._canvasWidth=0,b._canvasHeight=0,b._dragMode=!1,b.originalListPosition=0,b.indexDraggingElement=0,b._ui={helper:{},holder:{}},b._snapshotItems=[],b._liElements=[],b.topValue=0,b.isScrolling=null,b._reorderElements=[]}function e(a,b){return a[0]+=b[0],a[1]+=b[1],a[2]+=b[2],a[3]+=b[3],a[0]=A(B(0,a[0]),255),a[1]=A(B(0,a[1]),255),a[2]=A(B(0,a[2]),255),a[3]=A(B(0,a[3]),1),a[3]}function f(a,b){b[0]=a[0],b[1]=a[1],b[2]=a[2],b[3]=a[3]}function g(a){var b=parseFloat(a);return b===b?b:0}function h(a){var b=w.getClosestByTag(a,"li");b&&(a.checked?b.classList.add(M.ITEM_SELECTED):b.classList.remove(M.ITEM_SELECTED))}function i(a){var b=a.target;"INPUT"===b.tagName&&"checkbox"===b.type&&h(b)}function j(a,b){return C(a?a.getBoundingClientRect().top-b.top:b.height)}function k(a){for(var b=a.shift();b;){if(b.offsetHeight)return b;b=a.shift()}return null}function l(a){var b=a.getBoundingClientRect();return{top:b.top,height:b.height,left:b.left,width:b.width}}function m(a,b){a.fillStyle="rgba("+H[0]+","+H[1]+","+H[2]+","+H[3]+")",a.fillRect(b.left,b.top,b.width,b.height)}function n(a,b,c,d){return a.height+=b,a.left-=c,a.top=d,a}var o=c.widget.core.Page,p=c.widget.mobile.Popup,q=c.widget.mobile.Scrollview,r=c.widget.core.Listview,s=r.prototype,t=c.widget.core.BaseKeyboardSupport,u=c.util,v=u.object,w=u.selectors,x=c.event,y=Date.now,z=new RegExp("[^0-9-.:,]+","gi"),A=Math.min,B=Math.max,C=Math.round,D=Math.ceil,E=[].slice,F=c.event,G=u.isNumber,H=[0,0,0,0],I=3e3,J={PREV:-1,HOLD:0,NEXT:1},K=function(){var a=this,b={coloredBackground:!1,colorRestOfTheScreenBellow:!0,colorRestOfTheScreenAbove:!0,firstColorStep:0,lastColorStep:0,multipleSelection:!1};r.call(a),t.call(a),a.options=a.options?v.fastMerge(a.options,b):b,a._async=u.requestAnimationFrame,a._context=null,a._canvasStyle=null,a._scrollableContainer=null,a._pageContainer=null,a._popupContainer=null,a._drawCallback=null,a._scrollCallback=null,a._backgroundRenderCallback=null,a._running=!1,a._redraw=!1,a._colorBase=[250,250,250,1],a._colorStep=[0,0,0,-.04],a._lastChange=0,a._siblingListsBellow=[],a._siblingListsAbove=[],d(a)},L="[data-role='listview'], .ui-listview",M={BACKGROUND_LAYER:"ui-listview-background",GRADIENT_BACKGROUND_DISABLED:"ui-listview-background-disabled",GROUP_INDEX:"ui-group-index",POPUP_LISTVIEW:"ui-popup-listview",DRAG_ACTIVE:"ui-drag-active",EXPANDABLE:"ui-expandable",ITEM:"ui-listview-item",ITEM_ACTIVE:"ui-listview-item-active",ITEM_SELECTED:"ui-li-selected",HELPER:"ui-listview-helper",HOLDER:"ui-listview-holder",SNAPSHOT:"ui-snapshot",HANDLER:"ui-listview-handler",DRAG_MODE:"ui-drag-mode",ACTIVATE_HANDLERS:"ui-activate-handlers",CANCEL_ANIMATION:"ui-cancel-animation",DEACTIVATE_HANDLERS:"ui-deactivate-handlers",FOCUS:"ui-listview-focus",ITEMFOCUS:"ui-listview-item-focus"},N={BACKGROUND_RENDER:"event-listview-background-render",REORDER:"listviewreorder"},O=c.engine,P=new r;K.classes=v.fastMerge(M,r.classes),K.events=N,P._setMultipleSelection=function(a,b){b?a.addEventListener("change",i,!0):a.removeEventListener("change",i,!0),this.options.multipleSelection=b},P._setFirstColorStep=function(a,b){return b=parseInt(b,10),this.options.firstColorStep=b,!0},P._setColoredBackground=function(a,b){a.classList.toggle(M.GRADIENT_BACKGROUND_DISABLED,!b),this.options.coloredBackground=b},P._addCanvas=function(a){var c=b.createElement("canvas"),d=c.getContext("2d");return c.classList.add(M.BACKGROUND_LAYER),a.insertBefore(c,a.firstElementChild),this._context=d,c},P._build=function(a){var b=this,c=s._build.call(b,a),d=a&&w.getClosestByClass(a.parentElement,"ui-listview");return b._isChildListview=d,d||b._addCanvas(c),c},P._getCanvas=function(){var a,b=this;return b._context&&(a=b._context.canvas),a&&a.parentElement||(a=b.element.querySelector("."+M.BACKGROUND_LAYER),a||(a=b._addCanvas(b.element)),b._context=a.getContext("2d")),a},P._prepareColors=function(){var b,c,d,e,h,i=this,j=i._getCanvas();j&&(b=a.getComputedStyle(j,":before"),c=b.getPropertyValue("content"),c.length>0&&(c=c.replace(z,""),h=c.split("::"),2===h.length&&(d=h[0].split(",").filter(G).map(g),e=h[1].split(",").filter(G).map(g),d.length>0&&f(d,i._colorBase),e.length>0&&f(e,i._colorStep))))},P._refreshBackgroundCanvas=function(b,c){var d,e,f,g,h=this,i=h._getCanvas();i&&(d=i.style,e=c.getBoundingClientRect(),f=0,g=e.width,b&&(f=b.getBoundingClientRect().height),f=Math.max(e.height,f)+h._topOffset,f=Math.min(f,4*a.innerHeight),h._canvasHeight=f,h._canvasWidth=g,i.setAttribute("width",g),i.setAttribute("height",f),d.width=g+"px",d.height=f+"px")},P._findContainers=function(a){var b=this;b._pageContainer=w.getClosestByClass(a,o.classes.uiPage),b._popupContainer=w.getClosestByClass(a,p.classes.popup),b._scrollableContainer=w.getClosestByClass(a,q.classes.clip)||w.getClosestByTag(a,"section")},P._checkClosestPopup=function(){var a,b=this,c=b._popupContainer;c&&(c.classList.add(M.POPUP_LISTVIEW),a=c.querySelector("."+p.classes.content),a&&(b._scrollableContainer=a))},P._refreshColoredBackground=function(){var a,b=this,c=b.element;b._checkClosestPopup(),b._redraw=!0,b._lastChange=Date.now(),b._previousVisibleElement=null,b._prepareColors(),b._refreshBackgroundCanvas(b._scrollableContainer,c),a=b._getCanvas(),a&&(c.firstElementChild&&"canvas"!==c.firstElementChild.tagName.toLowerCase()?c.insertBefore(a,c.firstElementChild):c.firstElementChild instanceof HTMLElement||c.appendChild(a),"function"==typeof b._frameCallback&&b._frameCallback())},P._refresh=function(){var a=this,b=a.element,c=w.getClosestByClass(b,p.classes.popup);a._findContainers(b),a.options.coloredBackground?a._refreshColoredBackground():c&&(c.classList.remove(M.POPUP_LISTVIEW),a._popupContainer=c)},P._init=function(a){var b,c,d,e=this,f=e._context,g=!1;e.options.firstColorStep=parseInt(e.options.firstColorStep,10),e._isChildListview||(f?b=f.canvas:(b=a.querySelector("."+M.BACKGROUND_LAYER),b&&(f=b.getContext("2d"))),f&&(e._canvasStyle=b.style,e._frameCallback=e._handleFrame.bind(e),e.refresh())),c=[].slice.call(e.element.parentElement.querySelectorAll(L)),d=[].slice.call(e.element.querySelectorAll(L)),e._siblingListsBellow=c.filter(function(a){return d.indexOf(a)>-1?!1:g?!0:(g=a===e.element,!1)}),g=!1,e._siblingListsAbove=c.filter(function(a){return d.indexOf(a)>-1?!1:g||a===e.element?(g=!0,!1):!0}),e._siblingListsBellow.length>0&&(e.options.colorRestOfTheScreenBellow=!1),e._siblingListsAbove.length>0&&(e.options.colorRestOfTheScreenAbove=!1),e._setMultipleSelection(e.element,e.options.multipleSelection)},P._handleScroll=function(){var a=this;a._lastChange=y(),a._running||(a._running=!0,a._async(a._frameCallback))},P._handleTouchStart=function(a){var b=this,c=b._scrollableContainer;b._dragMode&&a.srcElement.classList.contains(M.HANDLER)&&x.off(c,"scroll",b._reorderCallback)},P._handleTouchEnd=function(a){var b=this,c=b._scrollableContainer;b._dragMode&&a.srcElement.classList.contains(M.HANDLER)&&x.on(c,"scroll",b._reorderCallback)},P._handleReorderScroll=function(){x.trigger(this.element,N.REORDER)},P._backgroundRender=function(){this.refresh()},P._selectAll=function(a){var b=[].slice.call(this.element.querySelectorAll("input[type='checkbox']"));b.forEach(function(b){var c=a.detail.checked;b.checked=c,c?b.setAttribute("checked","checked"):b.removeAttribute("checked"),h(b)})},P._handleFrame=function(){var a,b,c,d,e=this,f=e.element,g=E.call(f.querySelectorAll("li")),h=e._scrollableContainer,i=h?h.scrollTop:0,m=null,n=0,o=f.getBoundingClientRect().top,p=e._previousVisibleElement,q=e._topOffset,r=k(g);for(h&&(m=h.getBoundingClientRect(),n=m.top),m&&n>o&&0!==e.options.firstColorStep&&(e.options.firstColorStep=0,e._redraw=!0);r;)b=l(r),c=b.top-o,a=k(g),d=j(a,b),c+d-(n-o-i)>=i?(r!==p&&e._context&&(e._previousVisibleElement=r,e._context.canvas.style.transform="translateY("+(c-q)+"px)",e._redraw=!0),r=null):r=a;e._redraw&&e._context&&e._handleDraw(),e._running&&e._context&&e._async(e._frameCallback),y()-e._lastChange>=I&&(e._running=!1)},P._prepareCanvas=function(){var a,b=this;for(f(b._colorBase,H),a=0;a<b.options.firstColorStep;a++)e(H,b._colorStep);b.options.lastColorStep=b.options.firstColorStep,b._context.clearRect(0,0,b._canvasWidth,b._canvasHeight)},P._drawLiElements=function(){var a,b,c,d=this,f=d.element,g=E.call(f.querySelectorAll("li")),h=g[0],i=k(g),o=d._context,p=d._colorStep,q=f.getBoundingClientRect(),r=q.left,s=d._scrollableContainer,t=s?s.getBoundingClientRect().top:0,u=null,v=0,w=d._topOffset,x=[],y=null,z=null,A=!1;for(h&&(a=h.getBoundingClientRect(),a.top+a.height>=t&&(A=!0));i;)c=!i.classList.contains(M.GROUP_INDEX)&&!i.classList.contains(M.EXPANDABLE),u=l(i),b=k(g),u.height=j(b,u),!c&&b&&(b.classList.contains(M.GROUP_INDEX)||b.classList.contains(M.EXPANDABLE))&&(c=!0),D(u.top+u.height)>=t&&(u=n(u,w,r,v),w=0,x.push({rectangle:u,changeColor:c}),v+=u.height),i=b;return y=x[0],y&&(z=y.rectangle,(!d.options.colorRestOfTheScreenAbove||A)&&(d._context.clearRect(z.left,z.top,z.width,z.height),z.top+=d._topOffset,z.height-=d._topOffset)),x.forEach(function(a){m(o,a.rectangle),a.changeColor&&(e(H,p),d.options.lastColorStep++)}),u},P._drawEndOfList=function(a,b){var c;null!==a&&(c=b.canvas.getBoundingClientRect(),a.height+a.top<c.height&&(a.top+=a.height,a.height=c.height-a.top,m(b,a)))},P._handleDraw=function(){var a,b,d=this;d._prepareCanvas(),a=d._drawLiElements(),d.options.colorRestOfTheScreenBellow&&d._drawEndOfList(a,d._context),d._siblingListsBellow.forEach(function(a){b=c.engine.getBinding(a),b&&b.option("firstColorStep",d.options.lastColorStep)}),d._redraw=!1},P._focusItem=function(a){var b=a.detail.element,d=w.getClosestByTag(b,"li");c.getConfig("keyboardSupport")&&"A"===b.tagName&&d.classList.add(M.ITEMFOCUS)},P._blurItem=function(a){var b=a.detail.element,d=w.getClosestByTag(b,"li");c.getConfig("keyboardSupport")&&"A"===b.tagName&&d.classList.remove(M.ITEMFOCUS)},P._focus=function(a){c.getConfig("keyboardSupport")&&a.classList.add(M.FOCUS)},P._blur=function(a){c.getConfig("keyboardSupport")&&a.classList.remove(M.FOCUS)},P._bindEvents=function(){var b=this,c=b._scrollableContainer,d=b._pageContainer,e=b._popupContainer;b._bindEventMouse(),b._isChildListview||(c&&(b._scrollableContainer=c,b._scrollCallback=b._handleScroll.bind(b),b._reorderCallback=b._handleReorderScroll.bind(b),b._touchStartCallback=b._handleTouchStart.bind(b),b._touchEndCallback=b._handleTouchEnd.bind(b),x.on(c,"touchstart",b._scrollCallback),x.on(c,"touchmove",b._scrollCallback),x.on(c,"touchstart",b._touchStartCallback),x.on(c,"touchend",b._touchEndCallback),x.on(c,"scroll",b._scrollCallback)),b._backgroundRenderCallback=b._backgroundRender.bind(b),b._selectAllCallback=b._selectAll.bind(b),b.on("expand collapse",b._backgroundRenderCallback,!1),x.on(a,"resize",b._backgroundRenderCallback,!1),d&&(x.on(d,o.events.BEFORE_SHOW,b._backgroundRenderCallback),x.on(d,"select-all",b._selectAllCallback,!0)),e&&x.on(e,p.events.transition_start,b._backgroundRenderCallback),F.on(b.element,"animationend webkitAnimationEnd",b,!0),F.on(b.element,"taufocus",b._focusItem,!0),F.on(b.element,"taublur",b._blurItem,!0))},P._destroy=function(b){var c=this;b&&(F.off(b,"animationend webkitAnimationEnd",c,!0),F.off(b,"focus",c._focus,!0),F.off(b,"blur",c._blur,!0)),c._context&&(c._context.canvas.parentElement&&c._context.canvas.parentElement.removeChild(c._context.canvas),c._context=null),c._scrollCallback&&(c._scrollableContainer&&(x.off(c._scrollableContainer,"touchstart",c._scrollCallback),x.off(c._scrollableContainer,"touchmove",c._scrollCallback),x.off(c._scrollableContainer,"scroll",c._scrollCallback),x.off(c._scrollableContainer,"touchstart",this._touchStartCallback),x.off(c._scrollableContainer,"touchend",this._touchEndCallback),c._scrollableContainer=null),c._scrollCallback=null),c._backgroundRenderCallback&&(c.off("expand collapse",c._backgroundRenderCallback,!1),x.off(a,"resize",c._backgroundRenderCallback,!1),b&&x.off(b,N.BACKGROUND_RENDER,c._backgroundRenderCallback),c._pageContainer&&(x.off(c._pageContainer,o.events.BEFORE_SHOW,c._backgroundRenderCallback),x.off(c._pageContainer,"select-all",c._selectAllCallback,!0),c._pageContainer=null),c._popupContainer&&(c._popupContainer.classList.remove(M.POPUP_LISTVIEW),x.off(c._popupContainer,p.events.transition_start,c._backgroundRenderCallback),c._popupContainer=null),c._backgroundRenderCallback=null)},P._createHolder=function(){var a=b.createElement("li"),c=a.classList;return c.add(M.ITEM),c.add(M.HOLDER),a},P._setDirection=function(a,b){var c=this;b>a?c._direction=J.PREV:a===b?c._direction=J.HOLD:c._direction=J.NEXT},P._changeLocationDown=function(a,b,c,d){var e,f=1,g=this,h=g.element;for(a+=c.height;d>f;f++)e=h.children[f],c.element!==e&&b!==e&&a>g._snapshotItems[f-1]+70*e.offsetHeight/100&&g._snapshotItems[f-1]>b.offsetTop+15&&(g._snapshotItems[f-1]=g._snapshotItems[f-2]+e.offsetHeight,g._appendLiStylesToElement(e,g._snapshotItems[f-2]),g._appendLiStylesToElement(b,g._snapshotItems[f-1]),h.insertBefore(b,h.children[f].nextSibling))},P._changeLocationUp=function(a,b,c,d){for(var e,f=this,g=d-1,h=f.element;g>0;g--)e=h.children[g],c.element!==e&&b!==e&&a<f._snapshotItems[g-1]+30*e.offsetHeight/100&&f._snapshotItems[g-1]+e.offsetHeight<b.offsetTop+b.offsetHeight-15&&(f._snapshotItems[g]=f._snapshotItems[g-1]+b.offsetHeight,h.insertBefore(b,h.children[g]),f._appendLiStylesToElement(b,f._snapshotItems[g-1]),f._appendLiStylesToElement(e,f._snapshotItems[g]))},P._prepare=function(){var a=this,b=a.element,c=b.parentElement;b.classList.contains(M.SNAPSHOT)||(a._recalculateTop(),a.originalListPosition=c.getBoundingClientRect().top-55,a._styleHeightBackup=b.style.height,b.style.height=b.getBoundingClientRect().height+"px",b.classList.add(M.SNAPSHOT),c.scrollTop=-a.originalListPosition)},P._start=function(b){var c,d,e=this,f=e.element,g=e._ui.helper,h=b.detail.srcEvent.srcElement.parentElement,i=a.getComputedStyle(h,null),j=h.style;c=parseInt(i.getPropertyValue("top"),10),h.classList.add(M.HELPER),d=e._createHolder(),d.style.height=parseFloat(i.getPropertyValue("height"))+"px",d.style.top=h.style.top,f.insertBefore(d,h),f.appendChild(h),e._appendLiStylesToElement(h,c),g.element=h,g.style=j,g.height=parseFloat(i.getPropertyValue("height"))||0,g.startY=b.detail.estimatedY-55-g.height/2,g.position={startTop:c,moveTop:g.startY,startIndex:[].indexOf.call(f.children,d)},e._ui.holder=d,g.element=h,e._ui.helper=g,e.topValue=b.detail.estimatedY,g.move=0},P._move=function(a){var c,d,e=this,f=e._ui,g=f.helper,h=f.holder,i=e.element,j=g.position,k=g.element,l=i.childElementCount-1,m=b.querySelector(".ui-page-active .ui-header");d=m?m.offsetHeight:0,c=a.detail.estimatedY-d-g.height/2+-e.originalListPosition,e._appendLiStylesToElement(k,c),e._setDirection(c,j.moveTop),k.classList.add("ui-listview-item-moved"),j.moveTop=c,e._direction>0?e._changeLocationDown(c,h,g,l):e._direction<0&&e._changeLocationUp(c,h,g,l)},P._end=function(){var a=this,b=a.element,c=a._ui.helper,d=a._ui.holder,e=c.element;e.classList.remove("ui-listview-item-moved"),e.classList.remove(M.HELPER),a._appendLiStylesToElement(e,d.offsetTop),b.insertBefore(e,d),b.removeChild(d),a._ui.helper={},a._removeTopOffsets(),b.classList.remove(M.SNAPSHOT),b.style.height=a._styleHeightBackup,b.parentElement.parentElement.scrollTop=-a.originalListPosition,a._liElements=E.call(b.querySelectorAll("li")),a.trigger("scroll")},P._click=function(){var a=this,b=a.element;a._removeTopOffsets(),b.classList.remove(M.SNAPSHOT),b.style.height=a._styleHeightBackup,b.parentElement.parentElement.scrollTop=-a.originalListPosition},P._animationEnd=function(a){var b=this,c=a.target.parentElement.parentElement,d=c.classList;d.contains(M.ACTIVATE_HANDLERS)?(d.remove(M.ACTIVATE_HANDLERS),d.add(M.CANCEL_ANIMATION)):d.contains(M.DEACTIVATE_HANDLERS)&&(b._removeHandlers(),d.remove(M.DEACTIVATE_HANDLERS),d.remove(M.DRAG_MODE)),a.stopImmediatePropagation(),a.preventDefault()},P.handleEvent=function(a){var b=this,c=a.detail&&a.detail.srcEvent&&a.detail.srcEvent.srcElement||a.srcElement;if(c.classList.contains(M.HANDLER))switch(a.type){case"click":b._click(a),a.preventDefault();break;case"dragprepare":b._prepare(a);break;case"dragstart":b._start(a),a.preventDefault();break;case"drag":b._move(a);break;case"dragend":b._end(a);break;case"animationend":case"webkitAnimationEnd":b._animationEnd(a)}},P._appendHandlers=function(){for(var a,c,d=0,e=this,f=e._liElements,g=f.length;g>d;d++)c=f[d],a=b.createElement("div"),a.classList.add(M.HANDLER),a.classList.add("ui-icon-reorder"),a.classList.add("ui-icon"),c.appendChild(a)},P._removeHandlers=function(){for(var a,b,c=0,d=this,e=d._liElements,f=e.length;f>c;c++)b=e[c],a=b.querySelector("."+M.HANDLER),b.removeChild(a)},P._recalculateTop=function(){for(var a,b,c=0,d=this,e=d._liElements,f=e.length;f>c;c++)b=e[c],a=b.offsetTop,d._snapshotItems.push(a),d._appendLiStylesToElement(e[c],d._snapshotItems[c])},P._removeTopOffsets=function(){for(var a=0,b=this,c=b._liElements,d=c.length;d>a;a++)c[a].style.top=""},P._appendLiStylesToElement=function(a,b){a.style.top=b+"px"},P.toggleDragMode=function(){var a=this,b=a.element,c=a._scrollableContainer;a._dragMode=!a._dragMode,a._dragMode?(b.classList.add(M.DRAG_MODE),a._liElements=E.call(b.querySelectorAll("li")),a._appendHandlers(),b.classList.add(M.ACTIVATE_HANDLERS),F.on(b,"click drag dragstart dragend dragcancel dragprepare",a,!0),x.on(c,"scroll",a._reorderCallback),a.trigger("scroll"),F.enableGesture(b,new F.gesture.Drag({blockVertical:!1}))):(b.classList.remove(M.CANCEL_ANIMATION),b.classList.add(M.DEACTIVATE_HANDLERS),F.off(b,"click drag dragstart dragend dragcancel dragprepare",a,!0),F.disableGesture(b))},K.prototype=P,c.widget.mobile.Listview=K,O.defineWidget("Listview",L,[],K,"mobile",!0,!0,HTMLUListElement)}(a,a.document,d),function(b,d){var e=0,f=+new Date,g=[].slice,h="",i="",j=function(a){var b=new Date;a.unshift("["+h+"]["+b.toLocaleString()+"]")},k=a.ns||a.tau||{},l=a.nsConfig||a.tauConfig||{},m=function(a){this.message=a};k.info=k.info||{profile:"custom"},k.tauPerf=k.tauPerf||{},a.ns=k,a.nsConfig=l,a.tau=k,a.tauConfig=l,h=l.rootNamespace,i=l.fileName,m.prototype.toString=function(){return this.message},k.getUniqueId=function(){return h+"-"+k.getNumberUniqueId()+"-"+f},k.getNumberUniqueId=function(){return e++},k.log=function(){var a=g.call(arguments);j(a),d&&d.log.apply(d,a)},k.warn=function(){var a=g.call(arguments);j(a),d&&d.warn.apply(d,a)},k.error=function(){var a=g.call(arguments);j(a),d&&d.error.apply(d,a)},k.getConfig=function(a,b){return l[a]===c?b:l[a]},k.setConfig=function(a,b,d){d&&l[a]!==c||(l[a]=b)},k.getFrameworkPath=function(){var a,c,d,e,f=b.getElementsByTagName("script"),g=f.length;for(a=0;g>a;a++)if(c=f[a].src,d=c.split("/"),e=d.length,d[e-1]===i+".js"||d[e-1]===i+".min.js")return d.slice(0,e-1).join("/");return null},k._TAUException=m,k["throws"]=function(a){throw"string"!=typeof a&&k["throws"]("Wrong parameter type. Message must be a string!"),new k._TAUException(a)}}(a.document,a.console),function(a,b,c){function d(a,b){var c,d=new XMLHttpRequest;return d.open("get",a,!1),b&&d.overrideMimeType(b),d.send(),4===d.readyState&&(c=d.status,200===c||0===c&&d.responseText)?d.responseText:null}function e(a){for(var b,c=m.call(a.querySelectorAll("script[src]")),d=c.length;--d>=0;)b=c[d],b.parentNode.removeChild(b);return c}function f(b){return function(){try{a.eval(b)}catch(d){d.stack?c.error(d.stack):d.name&&d.message?c.error(d.name,d.message):c.error(d)}}}function g(a){var b,c=a.length;for(b=0;c>b;++b)a[b]()}function h(a,c){var d,e,f,g,h=[];for(f=0,g=a.length;g>f;++f)e=k.fetchSync(a[f].src,"text/plain"),e&&(d=b.adoptNode(a[f]),d.setAttribute("data-src",a[f].src),d.removeAttribute("src"),h.push(k.safeEvalWrap(e)),c&&c.appendChild(d));return h}function i(a){var c,d=[];return m.call(a.querySelectorAll("script:not([data-src]):not([type]):not([id]):not([src])")).forEach(function(a){c=b.createElement("script"),c.innerText=a.textContent,m.call(a.attributes).forEach(function(b){c.setAttribute(b.name,a.getAttribute(b.name))}),a.parentNode.removeChild(a),d.push(c)}),d}var j=null,k=c.util||{},l=[],m=[].slice,n=!1;k._requestAnimationFrameOnSetTimeout=function(b){"function"!=typeof b&&c["throws"]("Parameter is not a function!"),
+j=a.setTimeout(b.bind(b,+new Date),1e3/60)},k._loop=function(){var a=m.call(l),b=a.shift(),c=performance.now();for(l=[];b;)b(c),b=performance.now()-c<15?a.shift():null;a.length||l.length?(l.unshift.apply(l,a),k.windowRequestAnimationFrame(k._loop)):n=!1},k._getRequestAnimationFrame=function(){return(a.requestAnimationFrame||a.webkitRequestAnimationFrame||a.mozRequestAnimationFrame||a.oRequestAnimationFrame||a.msRequestAnimationFrame||k._requestAnimationFrameOnSetTimeout).bind(a)},k.windowRequestAnimationFrame=k._getRequestAnimationFrame(),k.requestAnimationFrame=function(a){l.push(a),n||(k.windowRequestAnimationFrame(k._loop),n=!0)},k._cancelAnimationFrameOnSetTimeout=function(){a.clearTimeout(j)},k.cancelAnimationFrames=function(a){var b=0,d=l.length,e=0;if(a)for(;d>0&&b>-1;){for(b=-1;d>e;e++)if(l[e].animationId===a){b=e;break}b>-1&&(l.splice(b,1),d--)}else c.warn("cancelAnimationFrames() require one parameter for request identify")},k._getCancelAnimationFrame=function(){return(a.cancelAnimationFrame||a.webkitCancelAnimationFrame||a.mozCancelAnimationFrame||a.oCancelAnimationFrame||a.msCancelAnimationFrame||k._cancelAnimationFrameOnSetTimeout).bind(a)},k.cancelAnimationFrame=k._getCancelAnimationFrame(),k.fetchSync=d,k._removeExternalScripts=e,k.safeEvalWrap=f,k.batchCall=g,k._createScriptsSync=h,k._removeInlineScripts=i,k.async=k.requestAnimationFrame,k.importEvaluateAndAppendElement=function(a,c){var d=k._createScriptsSync(k._removeExternalScripts(a),a),e=k._removeInlineScripts(a),f=b.importNode(a,!0);return c.appendChild(f),e.forEach(function(a){c.appendChild(a)}),k.batchCall(d),f},k.isNumber=function(a){var b=parseFloat(a);return!isNaN(b)&&isFinite(b)},k.runScript=function(c,d){var e,f,g,h=b.createElement("script"),i=m.call(d.attributes),j=d.getAttribute("src");for(null!==j&&(j=k.path.makeUrlAbsolute(j,c)),f=i.length;--f>=0;)g=i[f],"src"!==g.name?h.setAttribute(g.name,g.value):h.setAttribute("data-src",g.value);e=j?k.fetchSync(j,"text/plain"):d.textContent,e&&(h.src=a.URL.createObjectURL(new Blob([e],{type:"text/javascript"})),h.textContent=e),d.parentNode.replaceChild(h,d)},c.util=k}(a,a.document,d),function(){function a(a,b){return 1-3*b+3*a}function b(a,b){return 3*b-6*a}function c(a){return 3*a}function e(d,e,f){return((a(e,f)*d+b(e,f))*d+c(e))*d}function f(d,e,f){return 3*a(e,f)*d*d+2*b(e,f)*d+c(e)}function g(a,b,c,d,f){var g,h,i=0;do h=b+(c-b)/2,g=e(h,d,f)-a,g>0?c=h:b=h;while(Math.abs(g)>m&&++i<n);return h}function h(a,b,c,d){for(var g=0;k>g;++g){var h=f(b,c,d);if(0===h)return b;var i=e(b,c,d)-a;b-=i/h}return b}function i(a){if(!a||4!==a.length)throw new Error("BezierEasing: points must contains 4 values");for(var b=0;4>b;++b)if("number"!=typeof a[b]||isNaN(a[b])||!isFinite(a[b]))throw new Error("BezierEasing: points should be integers.");if(a[0]<0||a[0]>1||a[2]<0||a[2]>1)throw new Error("BezierEasing x values must be in [0, 1] range.")}function j(a,b,c,d){return 4===arguments.length?new j([a,b,c,d]):this instanceof j?(i(a),this._str="BezierEasing("+a+")",this._css="cubic-bezier("+a+")",this._p=a,this._mSampleValues=q?new Float32Array(o):[],this._precomputed=!1,this.get=this.get.bind(this),this):new j(a)}var k=4,l=.001,m=1e-7,n=10,o=11,p=1/(o-1),q="function"==typeof Float32Array;j.prototype={get:function(a){var b=this._p[0],c=this._p[1],d=this._p[2],f=this._p[3];return this._precomputed||this._precompute(),b===c&&d===f?a:0>=a?0:a>=1?1:e(this._getTForX(a),c,f)},_precompute:function(){var a=this._p[0],b=this._p[1],c=this._p[2],d=this._p[3];this._precomputed=!0,(a!==b||c!==d)&&this._calcSampleValues()},_calcSampleValues:function(){for(var a=this._p[0],b=this._p[2],c=0;o>c;++c)this._mSampleValues[c]=e(c*p,a,b)},_getTForX:function(a){for(var b=this._p[0],c=this._p[2],d=this._mSampleValues,e=0,i=1,j=o-1;i!==j&&d[i]<=a;++i)e+=p;--i;var k=(a-d[i])/(d[i+1]-d[i]),m=e+k*p,n=f(m,b,c);return n>=l?h(a,m,b,c):0===n?m:g(a,e,e+p,b,c)}},j.css={ease:j.ease=new j(.25,.1,.25,1),easeIn:j.easeIn=new j(.42,0,1,1),easeOut:j.easeOut=new j(0,0,.58,1),easeInOut:j.easeInOut=new j(.42,0,.58,1)},d&&d.util&&(d.util.bezierCurve=j)}(),function(a,b,d){function e(){for(var a,b=[].slice.call(arguments),d=0,e=b.length;e>d;d++)if(a=b[d],a!==c)return a;return null}function f(a,b){var c,d,e,f=a.steps,g=a.from,h=null,i=0,j=100;for(c in f)f.hasOwnProperty(c)&&(d=f[c],e=c/100,b>=e?(g=d,i=e):null===h&&(h=d,j=e));return g+(b-i)/(j-i)*(h-g)}function g(a,b,c){var d,g,h=c.steps||a.steps;c.duration=e(c.duration,a.duration),c.delay=e(c.delay,a.delay,0),d=e(c.object,this._object),c.simpleProperty=c.property,c.property.split(".").forEach(function(a){"object"==typeof d[a]&&null!==d[a]?(d=d[a],c.propertyObject=d):c.simpleProperty=a}),c.propertyObject=d,h?(c.calculate=f.bind(null,c),h[0]=e(h[0],c.from,d[c.simpleProperty]),c.from=h[0],c.to=e(h[100],c.to),c.diff=0,c.current=h[0],c.direction=c.from<c.to?1:-1):(c.calculate=c.calculate||o,g=e(c.from,d[c.simpleProperty]),c.from=g,c.diff=c.to-g,c.current=g,c.direction=g<c.to?1:-1),c.startTime=Date.now()+c.delay,this._pausedTimeDiff>0&&(c.startTime=Date.now()-this._pausedTimeDiff,this._pausedTimeDiff=0),c.lastCalculationTime=c.startTime,c.timing=e(c.timing,a.timing,o),b.push(c)}function h(a,b){a._animate&&(a._animate.chain=[].slice.call(b),a.start())}function i(a,b){var c=[].slice.call(b),d=[];c.forEach(function(a){d.unshift(a),a.forEach(function(a){a.timing=p})}),a._animate.chain=d,a._animate.callback=null,a.start()}function j(a){var b,c;if(a)for(c=a.length,b=0;c>b;b++)a[b].startTime=Date.now()}function k(a,b){var c,d=null;if(a&&a.startTime<=b){if(c=b-a.startTime,c>=a.duration&&(c=a.duration,a.callback&&a.callback()),a.duration>0&&(a.progress=c/a.duration,d=a.calculate(a.timing(c/a.duration),a.diff,a.from,a.current)),null!==d)return a.current=d,a.propertyObject[a.simpleProperty]=a.current,c>=a.duration?2:1;if(c>=a.duration)return 2}return 0}var l=d.util,m=l.requestAnimationFrame,n=function(a){var b=this;b._object=a,b._animate={chain:[],chainIndex:0},b._pausedTimeDiff=0,b._animateConfig=null},o=function(a,b,d){return b=b===c?1:b,d=d===c?0:d,a*(b||0)+(d||0)},p=function(a){return 1-a},q={};l.bezierCurve=l.bezierCurve||bezierCurve,n.prototype=q,n.timing={linear:o,ease:l.bezierCurve.ease.get,easeInOut:l.bezierCurve.easeInOut.get,easeIn:l.bezierCurve.easeIn.get,easeOut:l.bezierCurve.easeOut.get},q.destroy=function(){var a=this;a._object=null,a._animate=null,a._animateConfig=null},q.setProgress=function(a){var b,c=this,d=c._animate;b=d.chainIndex>0?d.chain[d.chainIndex-1]:d.chain[0],b&&b.forEach(function(b){b.progress=a,0===c._pausedTimeDiff?b.startTime=Date.now()-b.duration*a:c._pausedTimeDiff=b.duration*a})},q.getProgress=function(){var a,b=this,c=b._animate;return a=c.chainIndex>0?c.chain[c.chainIndex-1]:c.chain[0],a?a[0].progress:0},q._initAnimate=function(){var a=this,b=[],c=a._animate.chain[a._animate.chainIndex++];c?(c.forEach(g.bind(a,a._config,b)),a._animateConfig=b):a._animateConfig=null},q.set=function(a){var b,c,d=this,e=[].slice.call(arguments);return b=e.pop(),Array.isArray(b)?(e.push(b),b=null):d._animate.config=b,d._config=b,c=[].slice.call(e),b&&(b.loop&&b.duration>0?d._animate.callback=h.bind(null,d,c):b.withRevert?d._animate.callback=i.bind(null,d,c):d._animate.callback=a.callback||b.callback),d._animate.chain=e,d},q.start=function(a){var b=this;return b.active=!0,b._initAnimate(),b._animate.callback=b._animate.callback||a,a=b._animate.callback,b._animate.chainIndex<b._animate.chain.length?b._animationTimeout=b._calculateAnimate.bind(b,b.start.bind(b,a)):b._animationTimeout=b._calculateAnimate.bind(b,a),b._animationId=Math.random()+Date.now(),b._animationTimeout.animationId=b._animationId,b._calculateAnimate(a),b},q.stop=function(){var a=this;return a.active=!1,a._animate.chainIndex=0,a._animateConfig=null,d.util.cancelAnimationFrames(a._animationId),a._animationTimeout=null,a},q.pause=function(){var a=this;a.active=!1,a._animateConfig&&(a._pausedTimeDiff=Date.now()-a._animateConfig[0].startTime,a.stop())},q.reset=function(){var a=this,b=a.active;b&&a.stop(),a._initAnimate(),j(a._animateConfig),a._pausedTimeDiff=0,a._animate.chainIndex=0,a._calculateAnimate(),b&&a.start()},q._calculateAnimate=function(a){var b,c,d,e=this,f=e._animateConfig,g=!1,h=0,i=Date.now();if(f){for(b=f.length,c=f.length;c>h;)f[h].duration>0?(d=k(f[h],i),2===d?(b--,f.splice(h,1),c--,h--,g=!0):1===d&&(g=!0)):b--,h++;g&&e._tickFunction&&e._tickFunction(e._object),b?e._animationTimeout&&m(e._animationTimeout):(e.stop(),a&&a())}},q.tick=function(a){var b=this._tickFunction;return b?this._tickFunction=function(c){b(c),a(c)}:this._tickFunction=a,this},l.Animate=n}(a,a.document,d),function(a,b){function c(a){var b=a._animation,c=a.state;a.options.currentIteration++<a.options.iteration||"infinite"===a.options.iteration?(b.set(c.animation,c.animationConfig),b.stop(),b.start()):(a.options.marqueeStyle===n.ENDTOEND&&a._ui.content.classList.remove("ui-visible"),a.reset(),a.options.animation=h.STOPPED,a.trigger(l.MARQUEE_END))}var d=b.widget.BaseWidget,e=b.engine,f=b.util.object,g=b.util.Animate,h={RUNNING:"running",STOPPED:"stopped",IDLE:"idle"},i=function(){this.options=f.copy(i.defaults),this._callbacks={},this._ui={content:null}},j=new d,k="ui-marquee",l={MARQUEE_START:"marqueestart",MARQUEE_END:"marqueeend",MARQUEE_STOPPED:"marqueestopped"},m={MARQUEE_CONTENT:k+"-content",MARQUEE_GRADIENT:k+"-gradient",MARQUEE_ELLIPSIS:k+"-ellipsis",ANIMATION_RUNNING:k+"-anim-running",ANIMATION_STOPPED:k+"-anim-stopped",ANIMATION_IDLE:k+"-anim-idle"},n={SCROLL:"scroll",SLIDE:"slide",ALTERNATE:"alternate",ENDTOEND:"endToEnd"},o={GRADIENT:"gradient",ELLIPSIS:"ellipsis",NONE:"none"},p=function(a){return Math.round(100*a)/100},q={marqueeStyle:n.SLIDE,speed:60,iteration:"1",currentIteration:1,delay:0,timingFunction:"linear",ellipsisEffect:o.GRADIENT,runOnlyOnEllipsisText:!0,animation:h.STOPPED,autoRun:!0},r={LEFT:"-webkit-linear-gradient(left, transparent 0, rgb(255, 255, 255) 15%, rgb(255, 255, 255) 100%)",BOTH:"-webkit-linear-gradient(left, transparent 0, rgb(255, 255, 255) 15%, rgb(255, 255, 255) 85%, transparent 100%",RIGHT:"-webkit-linear-gradient(left, rgb(255, 255, 255) 0, rgb(255, 255, 255) 85%, transparent 100%)"};i.classes=m,i.defaults=q,j._calculateTranslateFunctions={scroll:function(a,b,c,d,e){var f,g=d+b*c;return f="translateX("+(-1*p(g)||0)+"px)",e===f?null:f},slide:function(a,b,c,d,e){var f,g,h,i=a._stateDOM,j=i.offsetWidth,k=i.children[0].offsetWidth;return g=15*j/100/2,f=b*(k-j+g),h="translateX("+(-1*p(f)||0)+"px)",e===h?null:h},alternate:function(a,b,c,d,e){var f,g=a._stateDOM,h=g.offsetWidth,i=g.children[0].offsetWidth,j=d+b*c;return j>i/2?j=i-2*(j-i/2):j*=2,j=j/i*(i-h),f="translateX("+(-1*p(j)||0)+"px)",e===f?null:f},endToEnd:function(a,b,c,d,e){var f,g=d+b*c;return f="translateX("+(-1*p(g)||0)+"px)",e===f?null:f}},j._calculateEndToEndGradient=function(a){var b,c=this,d=c._stateDOM,e=d.children[0].offsetWidth,f=(e-50)/e;return"none"===c.options.ellipsisEffect?null:b=a>0&&c.options.currentIteration<c.options.iteration?r.BOTH:a>f?r.RIGHT:a>0?r.BOTH:r.LEFT},j._calculateStandardGradient=function(a){var b;return isNaN(a)?null:"none"===this.options.ellipsisEffect?null:b=1===a?r.LEFT:a>0?r.BOTH:r.RIGHT},j._build=function(c){var d=c.querySelector("."+m.MARQUEE_CONTENT);if(c.classList.add(k),c.classList.contains(m.MARQUEE_ELLIPSIS)&&b.warn("Class '"+m.MARQUEE_ELLIPSIS+"' for option 'ellipsisEffect' in Marquee widget has been deprecated. Allowed values: none, '"+m.MARQUEE_GRADIENT+"' (default)"),!d){for(d=a.createElement("div");c.hasChildNodes();)d.appendChild(c.removeChild(c.firstChild));d.classList.add(m.MARQUEE_CONTENT),c.appendChild(d)}return this._ui.content=d,c},j._initStateDOMstructure=function(){this._stateDOM={classList:[],offsetWidth:null,style:{webkitMaskImage:null},children:[{offsetWidth:null,style:{webkitTransform:null}}]}},j._initAnimation=function(){var a=this,b=a._stateDOM,c=b.children[0],d=c.offsetWidth+(a.options.marqueeStyle===n.ENDTOEND?100:0),e=new g({}),f={hasEllipsisText:d>0,animation:[{object:c.style,property:"webkitTransform",calculate:a._calculateTranslateFunctions.scroll.bind(null,a),from:0,to:d},{object:b.style,calculate:a._calculateStandardGradient.bind(a),property:"webkitMaskImage",from:0,to:1}],animationConfig:{duration:d/a.options.speed*1e3,timing:g.timing.linear}};a.state=f,e.tick(a._render.bind(a,!0)),a._animation=e},j._init=function(a){var b=this;return b._initStateDOMstructure(),b._initDOMstate(),b._initAnimation(),b.option(b.options),a},j._setEllipsisEffect=function(a,c){return"ellipsis"===c&&b.warn("Marquee: option value 'ellipsis' for 'ellipsisEffect' is deprecated. Allowed values: 'none', 'gradient' (default)"),this._togglePrefixedClass(this._stateDOM,k+"-",c)},j._updateDuration=function(){var a=this,b=a._stateDOM,c=a.state,d=b.children[0],e=d.offsetWidth,f=e-b.offsetWidth,g=c.animationConfig;g.duration=f>0?e/a.options.speed*1e3:0,a._animation.set(c.animation,g)},j._setSpeed=function(a,b){var c=this;return c.options.speed=parseInt(b,10),c._updateDuration(),!1},j._setIteration=function(a,b){var d=this,e=d.state,f=e.animationConfig;return"infinite"===b?(f.loop=!0,f.callback=function(){d.options.animation=h.STOPPED,d.trigger.bind(d,l.MARQUEE_END)}):(b=parseInt(b,10),d.options.currentIteration=1,f.loop=!1,f.callback=c.bind(null,d)),d._animation.set(e.animation,f),d.options.iteration=b,!1},j._setDelay=function(a,b){var c=this,d=c.state,e=d.animationConfig;return b=parseInt(b,10),e.delay=b,c._animation.set(d.animation,e),c.options.delay=b,!1},j._setTimingFunction=function(a,b){var c=this,d=c.state,e=d.animationConfig;return e.timing=g.timing[b],c._animation.set(d.animation,e),c.options.timing=b,!1},j._setAutoRun=function(a,b){return b&&this.start(),!1},j._setAnimation=function(a,b){var c=this,d=c._animation,e=c._stateDOM,f=c.options,g=e.children[0].offsetWidth-e.offsetWidth,i=f.runOnlyOnEllipsisText;return b!==f.animation&&(b===h.RUNNING?(i&&g>0||!i)&&(c._ui.content.setAttribute("title",c._ui.content.textContent.trim()),c.options.marqueeStyle===n.ENDTOEND&&c._ui.content.classList.add("ui-visible"),d.start(),f.animation=b,c.trigger(l.MARQUEE_START)):(c.options.marqueeStyle===n.ENDTOEND&&c._ui.content.classList.remove("ui-visible"),d.pause(),f.animation=b,c.trigger(l.MARQUEE_STOPPED))),!1},j._setMarqueeStyle=function(a,b){var c=this,d=c.state.animation;return d[0].calculate=c._calculateTranslateFunctions[b].bind(null,c),"endToEnd"===b?d[1].calculate=c._calculateEndToEndGradient.bind(c):d[1].calculate=c._calculateStandardGradient.bind(c),c.options.marqueeStyle=b,!1},j._destroy=function(){var a,b=this;if(b.state=null,b._animation&&(b._animation.stop(),b._animation.destroy(),b._animation=null),b.element.style.webkitMaskImage="",a=b.element.querySelector("."+m.MARQUEE_CONTENT)){for(;a.hasChildNodes();)b.element.appendChild(a.removeChild(a.firstChild));b._stateDOM.children=[],a.parentElement===b.element&&b.element.removeChild(a)}b._stateDOM=null},j.start=function(){this.option("animation","running")},j.stop=function(){this.option("animation","stopped")},j.reset=function(){var a=this,b=a._animation;b.reset(),a.element.style.webkitMaskImage="none"===a.options.ellipsisEffect?"":r.RIGHT},i.prototype=j,b.widget.core.Marquee=i,e.defineWidget("Marquee",".ui-marquee",["start","stop","reset"],i,"core")}(a.document,d),function(b,c){var d=c.widget.core.Tab,e=d.prototype,f=c.engine,g=c.util.DOM,h=c.widget.core.BaseKeyboardSupport,i=function(){var a=this;h.call(this),a._type={orientation:"portrait",withIcon:!1,withTitle:!1,"static":!1},a._ui={tabs:[],links:[]},a.options={active:0,autoChange:!0,autoPositionSet:!0},a._marqueeOptions={ellipsisEffect:"none",marqueeStyle:"endToEnd",iteration:"infinite",delay:1e3},a._actualActiveTab=null},j="ui-sub-tab",k={SUBTAB:j,TAB_ACTIVE:"ui-tab-active",TAB_NO_TEXT:"ui-tab-no-text",TITLE:"ui-title",SUBTAB_PORTRAIT:j+"-portrait",SUBTAB_LANDSCAPE:j+"-landscape",SUBTAB_TEXT:j+"-text",SUBTAB_STATIC:j+"-static",ANCHOR:j+"-anchor",INACTIVE_TOO_LONG_TEXT:j+"-inactive-text-overflow"},l=c.event,m=new d;i.prototype=m,i.classes=k,i.selector="."+j+",[data-role='tabbar'],.ui-tabbar",m._configure=function(a){var b=a.querySelectorAll("li a"),c=-1;[].forEach.call(b,function(a,b){a.classList.contains(k.TAB_ACTIVE)&&(c=b)}),c>-1&&(this.options.active=c)},m._buildTabsAndLinks=function(a){var d,e,f,g,h,i,j,l,m=this,n=m._ui,o=a.querySelectorAll("li"),p=a.querySelectorAll("li a");if(0===p.length&&(p=a.querySelectorAll("li div")),0===p.length)return c.warn("There is no tab element, SubTab wasn't build."),!1;for(e=0,f=p.length;f>e;e++)g=p[e],h=g.firstChild,h?(d=b.createElement("span"),d.classList.add(k.SUBTAB_TEXT),d.appendChild(g.firstChild),g.appendChild(d),l=d.style.overflowX,j=d.getBoundingClientRect().width,d.style.overflowX="visible",i=d.getBoundingClientRect().width,d.style.overflowX=l,i>j&&g.classList.add(k.INACTIVE_TOO_LONG_TEXT)):g.classList.add(k.TAB_NO_TEXT),g.classList.add(k.ANCHOR);return n.links=p,n.tabs=o,!0},m._build=function(a){var b=this;return a.classList.add(k.SUBTAB),b._buildTabsAndLinks(a)?a:null},m._initOrientation=function(b){var c=this._type,d=b.classList;a.innerWidth<a.innerHeight?(d.remove(k.SUBTAB_LANDSCAPE),d.add(k.SUBTAB_PORTRAIT),c.orientation="portrait"):(d.remove(k.SUBTAB_PORTRAIT),d.add(k.SUBTAB_LANDSCAPE),c.orientation="landscape")},m._initStaticAndWidths=function(a){var b,c,d,e=this,f=e._ui.tabs,h=a.getBoundingClientRect().width,i=f.length,j=0;if(h){for(b=a.classList.contains(k.SUBTAB_STATIC),!b&&f[0]&&(c=g.getElementWidth(f[0]),c===c&&h>c*i&&(b=!0)),e._type["static"]=b,d=0;i>d;d++)b?(c=parseInt(h/i,10)||0,f[d].style.width=c+"px"):c=g.getElementWidth(f[d]),j+=c;e._wholeWidth=j}},m._init=function(a){var b=this;return b._initOrientation(a),b._initStaticAndWidths(a),b._translatedX=0,b._lastX=0,b._setActive(b.options.active),a},m._bindEvents=function(){var b=this,c=b._ui.tabs;l.on(c,"vclick",b,!1),a.addEventListener("resize",b,!1)},m._unBindEvents=function(){var b=this,c=b._ui.tabs;l.off(c,"vclick",b,!1),a.removeEventListener("resize",b,!1)},m.handleEvent=function(a){var b=this;switch(a.type){case"vclick":b._onClick(a);break;case"resize":b._init(b.element)}},m._onClick=function(a){var b,c,d,e,f,g=this,h=g._ui,i=g.element,j=g.options,k=a.currentTarget.querySelector("A");for(e=0,f=h.links.length;f>e;e++){if(h.links[e]===k){d=e;break}d=0}g._type["static"]||(b=k.getBoundingClientRect(),c=i.getBoundingClientRect(),g.element.scrollLeft=g.element.scrollLeft+b.left+b.width/2-c.width/2),j.autoChange&&g._setActive(d)},m._setActive=function(a){var b,d,f,g,h,i,j=this,l=j.options,m=j._ui;0!==m.links.length&&a!==j._actualActiveTab&&(b=m.links[l.active],b.classList.remove(k.TAB_ACTIVE),d=b.querySelector("."+k.SUBTAB_TEXT),d&&(f=c.engine.getBinding(d),f&&(f.reset(),c.engine.destroyWidget(d),b.classList.add(k.INACTIVE_TOO_LONG_TEXT))),j.isKeyboardSupport===!0&&m.links[a].focus(),b=m.links[a],b.classList.add(k.TAB_ACTIVE),l.active=a,d=b.querySelector("."+k.SUBTAB_TEXT),d&&(g=d.style.overflowX,h=d.getBoundingClientRect().width,d.style.overflowX="visible",i=d.getBoundingClientRect().width,d.style.overflowX=g,i>h&&(b.classList.remove(k.INACTIVE_TOO_LONG_TEXT),c.widget.Marquee(d,j._marqueeOptions))),e._setActive.call(j,a),j._actualActiveTab=a)},m._destroy=function(){var a=this;a._unBindEvents(),a._type=null,a._ui=null,a.options=null},c.widget.core.SubTab=i,f.defineWidget("SubTab",i.selector,["setActive","getActive"],i)}(a.document,d),function(a,b){var c=b.widget.BaseWidget,d=b.engine,e=b.util.selectors,f=/[^\/]+$/,g={MAIN_TAB:"ui-main-tab",VISIBLE:"ui-main-tab-visible",ACTIVE_TAB:"ui-tab-active"},h=function(){this._ui={}},i=new c;h.classes=g,h.prototype=i,i._build=function(a){return a.classList.add(g.MAIN_TAB),a},i._init=function(c){var d=this,f=null;return d._ui.parentPage=e.getClosestBySelector(c,".ui-page"),d._ui.links=[].slice.call(c.querySelectorAll("li > a")),d._ui.links.forEach(function(c){for(var d,e=a.createElement("span"),f=[],g=c.textContent.trim();c.children.length>0;)d=c.children[0],f.push(d),c.removeChild(d);e.textContent=g,c.textContent="",c.appendChild(e),f.forEach(function(a){c.appendChild(a)}),b.widget.Marquee(e,{iteration:1,delay:0,marqueeStyle:"endToEnd",autoRun:!1}),c.setAttribute("data-rel","maintab")}),c.classList.add(g.VISIBLE),f=e.getClosestBySelector(c,".ui-page-container"),f.appendChild(c),c},i.handleEvent=function(a){var b=this;switch(a.type){case"pagebeforeshow":b._onPageBeforeShow(a)}},i._bindEvents=function(){a.addEventListener("pagebeforeshow",this,!0)},i._unbindEvents=function(){a.removeEventListener("pagebeforeshow",this,!0)},i._onPageBeforeShow=function(a){var c,d,e,h,i=this,j=a.target,k=i.element,l=i._ui.links;i._ui.parentPage===j?(d=l.filter(function(a){return a.classList.contains(g.ACTIVE_TAB)})[0]||k.querySelector("a"),d?(k.classList.add(g.VISIBLE),c=b.router.Router.getInstance(),c.open(d.getAttribute("href"),{rel:"maintab"})):b.warn("MainTab: The widget requires at least one tab with link")):k.classList.contains(g.VISIBLE)&&(e=j.getAttribute("data-url"),h=e.match(f)[0],h&&(d=l.filter(function(a){return a.getAttribute("href").indexOf(h)>-1})[0],d?(d.classList.contains(g.ACTIVE_TAB)||l.forEach(function(a){a.classList.toggle(g.ACTIVE_TAB,a.getAttribute("href").indexOf(h)>-1)}),i._disableTopRounds(j)):k.classList.remove(g.VISIBLE)))},i._disableTopRounds=function(a){var b,c=a.querySelector(".ui-appbar");c||(b=a.querySelector(".ui-content-area"),b.classList.add("ui-content-area-disabled-top-rounding"))},i._destroy=function(){this._unbindEvents()},b.widget.core.MainTab=h,d.defineWidget("MainTab","[data-role='main-tab'], .ui-main-tab",[],h,"core")}(a.document,d),function(a,b,c){function d(a){var b;return a?(b=Object.keys(a).join(":"),b.indexOf("__impl")>-1||b.indexOf("__upgraded__")>-1||b.indexOf("__attached__")>-1):!1}function e(b){var c=a.ShadowDOMPolyfill&&a.ShadowDOMPolyfill.wrap;return b&&c?c(b):b}function f(b){var d=a.ShadowDOMPolyfill&&a.ShadowDOMPolyfill.unwrap;return b&&d?d(b):(c.error("Unwrap method not available"),b)}function g(a){for(var b,c=a.attributes,d=c.length,e=0,f=a.tagName.toLowerCase();d>e;++e)b=c.item(e),f+="["+b.name+'="'+b.value+'"]';return f}function h(a){for(var c=g(a),d=a.parentNode;d;)c=g(d)+">"+c,d=d.parentNode,d===b&&(d=null);return c}function i(a){for(;a.firstChild;)a.removeChild(a.firstChild)}function j(a,b){for(;a.firstChild;)b.appendChild(a.firstChild)}function k(a,c){var d=b.createElement("div"),e=!1;return a.appendChild(d),d.innerHTML=c.replace(o,function(){return e=!0,"<span id='temp-container-"+ ++l+"'></span>"}),{container:d,contentFlag:e}}var l=0,m=[].slice,n=c.util.DOM,o=/(\$\{content\})/gi;n.getNodeSelector=g,n.getNodeSelectorPath=h,n.isNodeEqual=function(c,e){var f,g,i=c,j=e,k=a.ShadowDOMPolyfill&&a.ShadowDOMPolyfill.unwrap;return null===c||null===e?!1:(f=d(c),g=d(e),f&&(i=k?k(c):b.querySelector(h(c))),g&&(j=k?k(e):b.querySelector(h(e))),i===j)},n.isNodeWebComponentPolyfilled=d,n.unwrapWebComponentPolyfill=f,n.wrapWebComponentPolyfill=e,n.isElement=function(a){var b=a;return b?"string"==typeof b.localName&&b.localName.length>0?!0:(a instanceof Element||d(a)&&(b=f(a)),b instanceof Element):!1},n.appendNodes=function(a,b){var c,d,e;if(a){if(b instanceof Array||b instanceof NodeList||b instanceof HTMLCollection)for(e=m.call(b),c=0,d=e.length;d>c;c+=1)a.appendChild(e[c]);else a.appendChild(b),e=b;return e}throw"Context empty!"},n.replaceWithNodes=function(a,b){var c=null;return a.parentNode&&(b instanceof Array||b instanceof NodeList||b instanceof HTMLCollection?(c=this.insertNodesBefore(a,b),a.parentNode.removeChild(a)):(a.parentNode.replaceChild(b,a),c=b)),c},n.removeAllChildren=function(a){a.innerHTML=""},n.insertNodesBefore=function(a,b){var c,d,e,f;if(a){if(e=a.parentNode,b instanceof Array||b instanceof NodeList||b instanceof HTMLCollection)for(f=m.call(b),c=0,d=f.length;d>c;++c)e.insertBefore(f[c],a);else e.insertBefore(b,a),f=b;return f}throw"Context empty!"},n.insertNodeAfter=function(a,b){if(a)return a.parentNode.insertBefore(b,a.nextSibling),b;throw"Context empty!"},n.wrapInHTML=function(a,c){var d,e,f,g=b.createDocumentFragment(),h=b.createDocumentFragment(),m=a.length,n=m?a[0].parentNode:a.parentNode,o=m?a[m-1].nextSibling:a.nextSibling;return f=k(g,c),f.contentFlag===!0?(d=f.container.querySelector("span#temp-container-"+l),e=this.replaceWithNodes(d,a)):(d=f.container.children[0],e=this.appendNodes(d||f.container,a)),j(g.firstChild,h),i(g),n?n.insertBefore(h,o):i(h),e},n.isChildElementOf=function(a,b){if(b)for(;a&&a.parentElement;){if(b===a.parentElement)return!0;a=a.parentElement}return!1}}(a,a.document,d),function(b,c){function d(a){var b=a.element;b.selectedIndex=a._ui.input.checked?1:0,"select"===a._type&&p.trigger(b,"change")}function e(a){return b.createElement(a)}function f(){var a=e("input");return a.type="checkbox",a.setAttribute("data-role","none"),a}function g(a,b,c){var d;a.style.display="none",a.parentNode.insertBefore(c,a),d=f(),a.hasAttribute("disabled")&&d.setAttribute("disabled","disabled"),d.className=r.toggleInput,c.className=o.removeExactTags(a.className,r.toggleContainer,d.className),c.className=r.toggleContainer,c.appendChild(d),c.appendChild(b),c.appendChild(a)}function h(a,b,c){c.className=r.toggleContainer,a.classList.add(r.toggleInput),b.classList.add(r.toggleHandler),a.parentNode.insertBefore(c,a),c.appendChild(a),c.appendChild(b)}function i(a,b){var c=a.from,d=a.to;return[b*Math.abs(d.r-c.r),b*Math.abs(d.g-c.g),b*Math.abs(d.b-c.b),b*Math.abs(d.a-c.a)]}function j(a){a.removeAttribute("data-tau-name"),a.removeAttribute("aria-disabled"),a.removeAttribute("data-tau-bound"),a.removeAttribute("data-tau-built")}var k=function(){var a=this;a.options={appearance:"slider"},a._ui={},a._callbacks={},a._transform={bgColor:{from:{r:0,g:0,b:0,a:0},to:{r:3,g:129,b:254,a:1}},borderColor:{from:{r:143,g:143,b:143,a:1},to:{r:0,g:0,b:0,a:0}}}},l=c.widget.BaseWidget,m=c.widget.core.BaseKeyboardSupport,n=c.engine,o=c.util.string,p=c.event,q="ui-on-off-switch",r={toggleContainer:q+"-container",toggle:q,toggleHandler:q+"-button",toggleInput:q+"-input",onDrag:q+"-button-on-drag",moveToOff:q+"-button-move-to-off",moveToOn:q+"-button-move-to-on",toggleContainerFocus:q+"-focus"},s={HOME:36,END:35,PAGE_UP:33,PAGE_DOWN:34,UP:38,RIGHT:39,DOWN:40,LEFT:37,ENTER:13,SPACE:32},t="";k.prototype=new l,k.classes=r,k.keyCode=s,k.prototype._build=function(a){var b=e("div"),c=e("div"),d=a.nodeName.toLowerCase();return"input"===d&&h(a,b,c),"select"===d&&g(a,b,c),b.className=r.toggleHandler,this._type=d,this._ui.handler=b,this._ui.toggleContainer=c,a},k.prototype._init=function(a){var b=this;b._ui.input=a.parentElement.querySelector("input"),"select"===b._type&&(b._ui.input.checked=!!a.selectedIndex,a.hasAttribute("disabled")&&b._disable())},k.prototype._disable=function(){this._ui.input.setAttribute("disabled","true")},k.prototype._enable=function(){this._ui.input.removeAttribute("disabled")},k.prototype._getValue=function(){var a=this,b=a.element;return["checkbox","radio"].indexOf(b.type)>-1?b.checked:b.selectedIndex},k.prototype._setValue=function(a){var b=this,c=b.element;"input"===b._type&&(c.value=a),["checkbox","radio"].indexOf(c.type)>-1&&(c.checked=!!a),"select"===b._type&&(c.selectedIndex=a,b._ui.input.checked=!!a)},k.prototype._onDragStart=function(){var b,c,d,e=this,f=e._ui,g=f.input,h=f.handler;e.element.disabled||(b=g.getBoundingClientRect(),c=h.getBoundingClientRect(),d=a.getComputedStyle(g),e._moveWidth=b.width-c.width+parseInt(d.borderLeftWidth,10)+parseInt(d.borderRightWidth,10),h.classList.add(r.onDrag))},k.prototype._onDragEnd=function(a){var b,c,e=this,f=e._ui,g=f.input,h=f.handler,i=e._moveWidth,j=g.checked?i:0;e.element.disabled||(b=j+a.detail.deltaX,b=Math.min(Math.max(b,0),i),h.classList.remove(r.onDrag),c=b>i/2,c?h.classList.add(r.moveToOn):h.classList.add(r.moveToOff),f.input.style.backgroundColor=null,f.input.style.borderColor=null,f.input.style.borderWidth=null,c!==g.checked&&(e._setValue(c?1:0),d(e)))},k.prototype._onDrag=function(a){var b,c,d=this,e=d._ui,f=d._moveWidth,g=e.input.checked?f:0;d.element.disabled||(b=g+a.detail.deltaX,b=Math.min(Math.max(b,0),f),e.handler.style.transform="translateX("+b+"px)",c=f?b/f:1,e.input.style.backgroundColor="rgba("+i(d._transform.bgColor,c).join(",")+")",e.input.style.borderColor="rgba("+i(d._transform.borderColor,1-c).join(",")+")",e.input.style.borderWidth=1-c+"px")},k.prototype._onAnimationEnd=function(a){var b=a.target.classList;b.remove(r.moveToOff),b.remove(r.moveToOn),this._ui.handler.style.transform=null},k.prototype.handleEvent=function(a){var b=this;switch(a.type){case"change":d(b);break;case"focus":b._focus(a);break;case"blur":b._blur(a);break;case"keyup":b._keyUp(a);break;case"drag":b._onDrag(a);break;case"dragstart":b._onDragStart(a);break;case"dragend":b._onDragEnd(a);break;case"animationend":case"animationEnd":case"webkitAnimationEnd":b._onAnimationEnd(a)}},k.prototype._bindEvents=function(){var a=this,b=a._ui.input;c.event.enableGesture(b,new c.event.gesture.Drag({threshold:0})),b.addEventListener("change",a,!0),b.addEventListener("focus",a,!0),b.addEventListener("blur",a,!0),b.addEventListener("keyup",a,!0),b.addEventListener("dragstart",a,!0),b.addEventListener("drag",a,!0),b.addEventListener("dragend",a,!0),p.on(a._ui.handler,"animationend animationEnd webkitAnimationEnd",a,!1)},k.prototype._unbindEvents=function(){var a=this,b=a._ui.input;b.removeEventListener("change",a,!0),b.removeEventListener("focus",a,!0),b.removeEventListener("blur",a,!0),b.removeEventListener("keyup",a,!0),b.removeEventListener("drag",a,!0),b.removeEventListener("dragstart",a,!0),b.removeEventListener("dragend",a,!0),p.off(a._ui.handler,"animationend animationEnd webkitAnimationEnd",a,!1),c.event.disableGesture(b)},k.prototype._destroy=function(){var a=this,c=a.element,d=a._type,e=c.parentElement;a._ui.input.removeEventListener("change",a._onChangeValue,!0),j(c),("input"===d||"select"===d)&&e.parentElement&&(e.parentElement.insertBefore(c,e),e.parentElement.removeChild(e)),"input"===d&&c.classList.remove(r.toggle),p.trigger(b,"destroyed",{widget:"OnOffSwitch",parent:c.parentNode})},k.prototype._focus=function(){var a;c.getConfig("keyboardSupport",!1)&&(a=this.element.parentElement.classList,a.add(r.toggleContainerFocus),this.element.focus())},k.prototype._blur=function(){var a;c.getConfig("keyboardSupport",!1)&&(a=this.element.parentElement.classList,a.remove(r.toggleContainerFocus),this.element.blur())},k.prototype._keyUp=function(a){a.keyCode===s.ENTER&&(this._ui.input.checked=!this._ui.input.checked)},k.prototype._getContainer=function(){return this._ui.toggleContainer},t="input[data-role='on-off-switch'],select[data-role='on-off-switch'],select.ui-on-off-switch,input.ui-on-off-switch",k.widgetSelector=t,c.widget.core.OnOffSwitch=k,n.defineWidget("OnOffSwitch",t,[],k,"core"),m.registerActiveSelector(t)}(a.document,d),function(a,b){function c(a){var b=a._ui.onOff,c=a._ui.labelOnOff,d=a._ui.labelTextOnOff;b.checked?(c.classList.add("ui-on-off-label-on"),d.innerHTML="On"):(c.classList.remove("ui-on-off-label-on"),d.innerHTML="Off"),a._disableAllOnOff(!b.checked)}function d(a){a._ui.labelOnOff.classList.add("ui-on-off-label-active")}function e(a){a._ui.labelOnOff.classList.remove("ui-on-off-label-active")}var f=function(){var a=this;a.options={target:null,progress:!1},a._ui={progress:null},a._onChangeMasterOnOff=null},g=b.widget.BaseWidget,h=b.widget.core.BaseKeyboardSupport,i=b.engine,j="ui-master-on-off-switch",k={WIDGET:j},l={ENTER:13,SPACE:32},m=".ui-master-on-off-switch",n=new g;f.prototype=n,f.classes=k,f.keyCode=l,n._build=function(c){var d=this,e=a.createElement("label"),f=a.createElement("span"),g=a.createElement("input");return g.classList.add("ui-on-off-switch"),g.type="checkbox",e.classList.add("ui-on-off-label"),f.innerHTML="Off",e.appendChild(f),e.appendChild(g),c.appendChild(e),c.classList.add(k.WIDGET),d._ui.onOff=g,d._ui.labelOnOff=e,d._ui.labelTextOnOff=f,b.widget.OnOffSwitch(g),c},n._setProgress=function(c,d){var e=this,f=e._ui,g=f.progress;
+d&&!g?(g=a.createElement("div"),g.classList.add("ui-progress"),g.setAttribute("data-size","small"),g.setAttribute("data-type","indeterminatecircle"),f.progress=g,f.labelOnOff.appendChild(g),b.widget.Progress(g)):!d&&g&&(b.widget.Progress(g).destroy(),g.parentElement.removeChild(g),f.progress=null),e.options.progress=d},n._init=function(a){var b=this;b._ui.input=a.querySelector("input.ui-on-off-switch"),c(b),b._setProgress(a,b.options.progress)},n._bindEvents=function(){var a=this,b=a._ui.onOff,f=a._ui.labelOnOff,g=c.bind(null,a),h=d.bind(null,a),i=e.bind(null,a);b.addEventListener("change",g),f.addEventListener("vmousedown",h),f.addEventListener("vmouseup",i),a._onChangeMasterOnOff=g},n._unbindEvents=function(){var a=this,b=a._ui.onOff;b.removeEventListener("change",a._onChangeMasterOnOff),b.removeEventListener("vmousedown",a._onTouchStart),b.removeEventListener("vmouseup",a._onTouchEnd),a._onChangeMasterOnOff=null,a._onTouchStart=null,a._onTouchEnd=null},n._disableAllOnOff=function(c){var d=a.getElementById(this.options.target),e=[],f=this._ui,g=null;d?(e=[].slice.call(d.querySelectorAll(".ui-on-off-switch")),e.filter(function(a){return a!==f.onOff}).forEach(function(a){g=b.widget.OnOffSwitch(a),c?g.disable():g.enable()})):b.warn("MasterOnOffSwitch: indicated target element ("+this.options.target+") not found")},n._destroy=function(){this._unbindEvents()},n._keyUp=function(a){a.keyCode===l.ENTER&&(this._ui.onOff.checked=!this._ui.onOff.checked)},f.widgetSelector=m,b.widget.core.MasterOnOffSwitch=f,i.defineWidget("MasterOnOffSwitch",m,[],f,"core"),h.registerActiveSelector(m)}(a.document,d),function(a,b){function c(a){a.setAttribute("role","textinput"),a.setAttribute("aria-label","Keyboard opened")}function d(b,c,d){var e=a.createElement("span");return c&&e.classList.add(c),d&&(e.innerHTML=d),i.insertNodeAfter(b,e),e}var e=b.widget.mobile.BaseWidgetMobile,f=b.widget.core.BaseKeyboardSupport,g=b.engine,h=b.util,i=h.DOM,j=h.selectors,k=h.object,l=b.event,m=function(){var a=this;a.options=k.merge({},m.defaults),a._ui={textLineElement:null,textClearButtonElement:null,errorMessageElement:null,label:null,icon:null,line:null,unit:null},a._state={empty:!0,focused:!1,valid:!0},a._callbacks={},f.call(a)},n=b.widget.core.Button.classes,o=b.widget.core.Listview.classes,p=b.widget.core.Popup.classes,q=new e,r="ui-text-input",s={uiTextInput:r,uiTextInputClear:r+"-clear",uiTextInputClearHidden:r+"-clear-hidden",uiTextInputClearActive:r+"-clear-active",uiTextInputTextLine:r+"-textline",uiTextInputErrorMessage:r+"-error-message",uiTextInputDisabled:r+"-disabled",uiTextInputFocused:r+"-focused",label:r+"-label",labelInactive:r+"-label-inactive",empty:r+"-empty",hasLabel:r+"-has-label",inputHasNotLine:r+"-label-has-not-line",ACTIVATED:"ui-activated",DISABLED:"ui-disabled",ERROR:"ui-error",PARENT_ERROR:"ui-has-text-input-error",ICON:r+"-icon",ICON_ON_BOTTOM:r+"-icon-on-bottom",HEADER_WITH_SEARCH:"ui-header-searchbar",HEADER_FOCUSED:"ui-header-searchbar-focused",SEARCHINPUT:"ui-search-input",HEADER:"ui-header",CONTAINER:r+"-container",WIDGET_FOCUSED:r+"-widget-focused"},t={uiTextInput:"."+s.uiTextInput,uiTextInputClearButton:"."+s.uiTextInputClear,uiTextInputTextLine:"."+s.uiTextInputTextLine,label:"."+s.label},u={clearBtn:!1,textLine:!0,maxHeight:null,outsideDiv:!1,errorMessageString:"Enter a valid email address",unit:""},v={SEARCH:"search",ANIMATIONEND:"animationend"};m.prototype=q,m.classes=s,m.defaults=u,q._resizeTextArea=function(a){var b,c,d,e,f=h.selectors.getClosestByClass(a,p.popup),i=parseInt(this.options.maxHeight,10),j=a.style,k=j.height;j.height="auto",e=a.scrollHeight,a.scrollTop=e,i&&e>i&&(e=i),j.height=e+"px",k!==e+"px"&&f&&""!==k&&(d=g.getBinding(f),d.refresh()),b=h.selectors.getClosestByClass(a,o.LISTVIEW),b&&(c=g.getBinding(b),c&&c.refresh())},q._toggleClearButton=function(a,b){a&&(this._state.focused?(a.classList.remove(s.uiTextInputClearHidden),b.classList.add(s.uiTextInputClearActive)):a.classList.contains("ui-btn-active")||a.classList.add(s.uiTextInputClearHidden))},q._onClearBtnClick=function(a){a.element.focus(),a.element.value="",a.trigger(v.SEARCH)},q._onClearBtnAnimationEnd=function(a,b){"btn_pressup_animation"===b.animationName&&""===a.element.value&&b.target.classList.add(s.uiTextInputClearHidden)},q._updateIconPosition=function(){var a=this,b=a.options,c=a._state,d=a._ui.icon;d&&d.classList.toggle(s.ICON_ON_BOTTOM,c.focused&&c.valid&&b.textLine||!c.focused&&!c.empty&&c.valid&&b.textLine)},q._updateLabelError=function(){var a=this,b=a._ui.label;b&&b.classList.toggle(s.ERROR,!a._state.valid)},q._updateParentError=function(){var a=this,b=a.element.parentElement;b&&b.classList.toggle(s.PARENT_ERROR,!a._state.valid)},q._validate=function(a){var b=this,c=a.checkValidity();c&&b._patternRegexp&&(c=""===a.value.replace(b._patternRegexp,"")),b._state.valid=c},q._findIcon=function(a){var b,c=a.parentElement;c&&(b=c.previousElementSibling,b&&b.classList.contains(s.ICON)&&(this._ui.icon=b))},q._updateFocused=function(){var a=this,b=a.element,c=a._ui.header;c&&c.classList.toggle(s.HEADER_FOCUSED,a._state.focused),b.classList.toggle(s.uiTextInputFocused,a._state.focused)},q._onFocus=function(a){var b=a.element,c=b.value.length,d=a._ui,e=d.label;a._state.focused=!0,a._state.empty=""===b.value,b.classList.toggle(s.empty,a._state.empty),e&&(e.classList.add(s.ACTIVATED),e.classList.remove(s.labelInactive)),!a._state.empty&&d.textClearButtonElement&&d.textClearButtonElement.classList.remove(s.uiTextInputClearHidden),a._updateIconPosition(),a._updateFocused(),a._updateUnit(),"text"===b.type&&(b.selectionStart=c,b.selectionEnd=c)},q._onInput=function(a){var b=a.element,c=a._ui,d=c.textClearButtonElement;a._state.empty=""===b.value,a._state.empty&&d?(d.classList.add(s.uiTextInputClearHidden),b.classList.remove(s.uiTextInputClearActive)):a._toggleClearButton(c.textClearButtonElement,b),b.classList.toggle(s.empty,a._state.empty),c.label&&c.label.classList.remove(s.labelInactive),"textarea"===b.nodeName.toLowerCase()&&a._resizeTextArea(b),a._validate(b),a._updateLabelError(),a._updateParentError(),a._updateIconPosition()},q._onBlur=function(a){var b=a.element,c=a._ui.label;a._state.focused=!1,a._state.empty=""===b.value,c&&(c.classList.remove(s.ACTIVATED),c.classList.toggle(s.labelInactive,a._state.empty)),a._toggleClearButton(a._ui.textClearButtonElement,b),b.classList.toggle(s.empty,a._state.empty),a._updateIconPosition(),a._updateFocused()},q._createTextLine=function(b,c,d){var e=this,f=a.createElement("span"),g=a.createElement("span"),h=a.createElement("span");return c&&f.classList.add(c),h.innerHTML=e.options.unit,g.classList.add("ui-textinput-textline-line"),h.classList.add("ui-textinput-textline-unit"),d&&(f.innerHTML=d),f.appendChild(g),f.appendChild(h),i.insertNodeAfter(b,f),e._ui.unit=h,e._ui.line=g,f},q._createClearButton=function(b,c){var d=a.createElement("a");return d.classList.add(n.BTN),d.classList.add(n.BTN_ICON),d.classList.add(n.BTN_NOBG),d.classList.add(s.uiTextInputClear),d.classList.add(s.uiTextInputClearHidden),d.tabindex=0,c?b.parentNode.appendChild(d):b.parentNode.insertBefore(d,b.nextSibling.nextSibling),d},q._build=function(a){var b,e=this,f=e.options,g=a.type,h=a.pattern,i=e._ui;switch(e._setOutsideDiv(a,f.outsideDiv),g){case"text":case"password":case"number":case"email":case"url":case"tel":case"search":c(a),f.textLine&&(i.textLineElement=e._createTextLine(a,s.uiTextInputTextLine));break;default:"textarea"===a.tagName.toLowerCase()&&(c(a),f.textLine&&(i.textLineElement=e._createTextLine(a,s.uiTextInputTextLine)))}return a.classList.add(s.uiTextInput),a.tabindex=0,f.clearBtn&&(i.textClearButtonElement=e._createClearButton(a)),"search"===g&&(b=j.getClosestByClass(a,s.HEADER),a.classList.add(s.SEARCHINPUT),b&&(b.classList.add(s.HEADER_WITH_SEARCH),i.header=b),f.clearBtn||(i.textClearButtonElement=e._createClearButton(a,b)),a.getAttribute("placeholder")||a.setAttribute("placeholder","Search")),("email"===g||"number"===g||h)&&(i.errorMessageElement=d(i.textLineElement,s.uiTextInputErrorMessage,f.errorMessageString)),a},q._setOutsideDiv=function(b,c){var d=a.createElement("div"),e=this._ui;c&&(d.className=s.CONTAINER,b.parentElement.replaceChild(d,b),d.classList.add(r+"-type-"+b.type),d.appendChild(b),e.container=d),this.options.outsideDiv=c},q._findLabel=function(a){var b=a.previousElementSibling;return b&&"LABEL"===b.nodeName?b:null},q._updateLabel=function(){var a=this,b=a._ui.label;b&&b.classList.toggle(s.inputHasNotLine,!a.options.textLine)},q._updateUnit=function(){var a,b=this,c=b._ui,d=c.unit,e=c.line;d&&(b.options.unit?(d.innerHTML=b.options.unit,d.style.display="inline"):d.style.display=null),e&&(a=e.getBoundingClientRect().width,b.element.style.width=a?a+"px":null)},q._init=function(a){var b,c=this,d=c._ui,e=c.options,f=a.type,g=a.parentNode;if(e.clearBtn&&(d.textClearButtonElement=d.textClearButtonElement||g.querySelector(t.uiTextInputClearButton)),c._state.empty=""===a.value,a.classList.toggle(s.empty,c._state.empty),b=c._findLabel(a),b&&(b.getAttribute("for")||b.setAttribute("for",a.id),b.classList.add(s.label),b.classList.toggle(s.labelInactive,c._state.empty)),d.label=b,e.textLine){switch(f){case"text":case"password":case"number":case"email":case"url":case"tel":d.textLineElement=d.textLineElement||g.querySelector(t.uiTextInputTextLine);break;default:"textarea"===a.nodeName.toLowerCase()&&(d.textLineElement=d.textLineElement||g.querySelector(t.uiTextInputTextLine))}d.textLineElement&&d.textLineElement.classList.toggle(s.hasLabel,!!b)}return"textarea"===a.nodeName.toLowerCase()&&(a.hasAttribute("rows")===!1&&(a.rows=1),c._resizeTextArea(a)),c._patternRegexp=a.pattern?new RegExp(a.pattern):null,c._findIcon(a),c._validate(a),c._updateLabel(),c._updateLabelError(),c._updateParentError(),c._updateIconPosition(),c._updateFocused(),c._updateUnit(),a},q._bindEvents=function(){var a=this,b=a.element,c=a._ui.textClearButtonElement,d=a._onInput.bind(null,a),e=a._onFocus.bind(null,a),f=a._onBlur.bind(null,a),g=a._onClearBtnClick.bind(null,a),h=a._onClearBtnAnimationEnd.bind(null,a);a._callbacks={onInputCallback:d,onFocusCallback:e,onBlurCallback:f,onClearBtnClickCallback:g,onClearBtnAnimationEndCallback:h},l.on(b,"input",d),l.on(b,"focus",e),l.on(b,"blur",f),c&&(l.on(c,"click",g),l.on(c,v.ANIMATIONEND,h))},q._unbindEvents=function(){var a=this,b=a.element,c=a._ui.textClearButtonElement,d=a._callbacks;l.off(b,"input",d.onInputCallback),l.off(b,"focus",d.onFocusCallback),l.off(b,"blur",d.onBlurCallback),c&&(l.off(c,"click",d.onClearBtnClickCallback),l.off(c,v.ANIMATIONEND,d.onClearBtnAnimationEndCallback))},q._enable=function(){var a=this,b=a.element,c=a._ui.label;b&&(b.removeAttribute("disabled"),b.classList.remove(s.uiTextInputDisabled),c&&c.classList.remove(s.DISABLED))},q._disable=function(){var a=this,b=a.element,c=a._ui.label;b&&(b.setAttribute("disabled","disabled"),b.classList.add(s.uiTextInputDisabled),c&&c.classList.add(s.DISABLED))},q._getValue=function(){var a=this.element;return a?a.value:null},q._setValue=function(a){var b=this.element;return b&&(b.value=a),this},q._setUnit=function(a,b){var c=this;c.options.unit=b,c._updateUnit()},q._destroy=function(){var a=this,b=a._ui,c=b.textLineElement,d=b.textClearButtonElement,e=b.errorMessageElement,f=b.label;a._unbindEvents(),c&&c.parentElement&&c.parentElement.removeChild(b.textLineElement),f&&f.classList.remove(s.label),d&&d.parentElement.removeChild(b.textClearButtonElement),e&&e.parentElement.removeChild(b.errorMessageElement)},q._getContainer=function(){var a=this,b=a._ui,c=b.container,d=a.element;return c?c:d},q._focus=function(a){var c=a.classList;c.add(s.WIDGET_FOCUSED),"false"!==a.getAttribute("data-edit-on-focus")?(a.focus(),b.event.trigger(a,"focus")):this._ui.label.classList.add(s.ACTIVATED)},q._blur=function(a){var c=a.classList;c.remove(s.WIDGET_FOCUSED),b.event.trigger(a,"blur"),a.blur()},q._actionEnter=function(a){"false"===a.getAttribute("data-edit-on-focus")&&(a.focus(),b.event.trigger(a,"focus"))},q._actionEscape=function(a){"false"===a.getAttribute("data-edit-on-focus")&&b.event.trigger(a,"blur")},f.registerActiveSelector("input[type='text']:not([data-role]), input[type='number']:not([data-role]), input[type='password']:not([data-role]), input[type='email']:not([data-role]), input[type='url']:not([data-role]), input[type='tel']:not([data-role]), input[type='search']:not([data-role]), .ui-search-input, textarea, input:not([type])."+s.uiTextInput),b.widget.mobile.TextInput=m,g.defineWidget("TextInput","input[type='text']:not([data-role]), input[type='number']:not([data-role]), input[type='password']:not([data-role]), input[type='email']:not([data-role]), input[type='url']:not([data-role]), input[type='tel']:not([data-role]), input[type='search']:not([data-role]), .ui-search-input, textarea, input:not([type])."+s.uiTextInput,[],m,"mobile",!1,!1,HTMLInputElement),b.widget.mobile.TextArea=m,g.defineWidget("TextArea",null,[],m,"mobile",!1,!1,HTMLTextAreaElement),g.defineWidget("SearchInput","",[],m,"mobile")}(a.document,d),function(b,c){function d(a,b){a._toggleSelect(b),v.stopPropagation(b),v.preventDefault(b)}function e(a,b){var c=b.target,d=c.tagName,e=c.classList;"LI"!==d||e.contains(C.optionGroup)||e.contains(C.disabled)||(a._selectedIndex=z.call(a._ui.elOptions,c),a._changeOption(),a._toggleSelect(b)),b.stopPropagation(),b.preventDefault()}function f(a){var b=a._ui,c=b.elSelect[b.elSelect.selectedIndex];b.elPlaceHolder.textContent=c.textContent}function g(a,b){a._isOpen===!0&&(a._isOpen=!a._isOpen,a._toggleSelect(b),b.stopPropagation(),b.preventDefault())}function h(a,b){var d=a._ui,e=b.target;c.getConfig("keyboardSupport")&&(e===d.elSelectWrapper||e.parentNode===d.elOptionContainer)&&e.classList.add(C.focus)}function i(a,b){b.stopPropagation()}function j(a,b){var d=a._ui,e=b.target;c.getConfig("keyboardSupport")&&(e===d.elSelectWrapper||e.parentNode===d.elOptionContainer)&&e.classList.remove(C.focus)}function k(a,b){var c=a.classList;b?(c.add(C.disabled),c.add(C.widgetDisabled),c.add(r.classes.disable)):(c.remove(C.disabled),c.remove(C.widgetDisabled),c.remove(r.classes.disable))}function l(a){var b,c=a,d=0,e=0,f=[];for(c=c.split(","),d=c.length,e=0;d>e;e++)b=c[e].split(":"),f.push({textContent:b[0],value:b[1]});return f}function m(a,b){var c=l(b),d=c.length,e=0,f=0;for(a.innerHTML="",f=0;d>f;f++)e="undefined"!=typeof c[f].value?c[f].value:f+1,a.innerHTML+='<option value="'+e+'">'+c[f].textContent+"</option>"}function n(a,b){for(var c,d=a.offsetTop;a.offsetParent&&(c=a.offsetParent,d+=c.offsetTop,a!==b);)a=c;return d}function o(a){var b=a._ui;b.elOptionWrapper.classList.add(C.opened),v.prefixedFastOff(b.elOptionContainer,"animationEnd",a._callbacks.showAnimationEnd,!1),b.elOptionWrapper.classList.remove(C.opening)}function p(a){var b=a._ui.elOptionWrapper,c=b.classList,d=a._ui.elOptionContainer;c.remove(C.active),b.removeAttribute("style"),v.prefixedFastOff(d,"animationEnd",a._callbacks.hideAnimationEnd,!1),c.remove(C.closing),c.remove(C.top),c.remove(C.bottom)}function q(a){return a.offsetWidth}var r=c.widget.mobile.BaseWidgetMobile,s=c.widget.core.BaseKeyboardSupport,t=c.engine,u=c.util.DOM,v=c.event,w=c.util.selectors,x=[].slice,y=c.widget.core.Page,z=[].indexOf,A=function(){var a=this;a._isOpen=!1,a._isClosing=!1,a._selectedIndex=null,a._ui={elSelectWrapper:null,elPlaceHolder:null,elSelect:null,screenFilter:null,elOptionContainer:null,elOptions:null,elPage:null,elContent:null,elDefaultOption:null},a._horizontalPosition=null,a.options={nativeMenu:!0,inline:!1,hidePlaceholderMenuItems:!0,items:"",style:"dropdown"},a._toggleMenuBound=null,a._changeOptionBound=null,a._onResizeBound=null,a._nativeChangeOptionBound=null,a._focusBound=null,a._blurBound=null,a._callbacks={},s.call(a)},B="select:not([data-role='slider']):not([data-role='range']):not([data-role='toggleswitch']):not(.ui-toggleswitch):not(.ui-slider):not([data-role='on-off-switch']):not(.ui-on-off-switch),select.ui-select-menu:not([data-role='slider']):not([data-role='range']):not([data-role='toggleswitch']):not([data-role='on-off-switch']):not(.ui-on-off-switch),.ui-dropdownmenu",C={selectWrapper:"ui-dropdownmenu",optionGroup:"ui-dropdownmenu-optiongroup",placeHolder:"ui-dropdownmenu-placeholder",optionList:"ui-dropdownmenu-options",optionsWrapper:"ui-dropdownmenu-options-wrapper",selected:"ui-dropdownmenu-selected",active:"ui-dropdownmenu-active",opening:"ui-dropdownmenu-options-opening",closing:"ui-dropdownmenu-options-closing",opened:"ui-dropdownmenu-options-opened",filter:"ui-dropdownmenu-overlay",filterHidden:"ui-dropdownmenu-overlay-hidden",disabled:"ui-dropdownmenu-disabled",widgetDisabled:"ui-disabled",inline:"ui-dropdownmenu-inline","native":"ui-dropdownmenu-native",top:"ui-dropdownmenu-options-top",bottom:"ui-dropdownmenu-options-bottom",focus:s.classes.focus,verticalMargins:"ui-dropdownmenu-options-vertical-margins",spinner:"ui-spinner"},D=new r;A.prototype=D,A.classes=C,D._convertOptionToHTML=function(a,b,c){var d=b.className;return a&&u.getNSData(b,"placeholder")?"":(c&&(d+=" "+C.disabled),"<li data-value='"+b.value+"'"+(d?" class='"+d+"'":"")+(c?"":" tabindex='0'")+">"+b.textContent+"</li>")},D._constructOption=function(){for(var a,b,c,d,e,f,g=this,h=0,i="",j=x.call(g._ui.elSelect.children),k=j.length,l=g.options.hidePlaceholderMenuItems;k>h;h++)if(b=j[h],f=b.disabled,c=b.tagName,"OPTION"===c)i+=g._convertOptionToHTML(l,b,f);else if("OPTGROUP"===c)for(i+="<li class='"+C.optionGroup+(f?" "+C.disabled+"'":"'")+">"+b.label+"</li>",d=x.call(b.children),a=0,e=d.length;e>a;a++)f=b.disabled||d[a].disabled,i+=g._convertOptionToHTML(l,d[a],f);return i},D._setInline=function(a,b){var c=this._ui;c.elSelectWrapper.classList.toggle(C.inline,b),b&&c.elPlaceHolder.removeAttribute("style"),this.options.inline=b},D._configure=function(a){return a.webkitMatchesSelector("."+C.selectWrapper)&&(a=a.querySelector(A.widgetSelector))?a:null},D._getContainer=function(){return this._ui.elSelectWrapper},D._build=function(a){return this._generate(a,!0)},D._generate=function(a,c){var d,e=this,f=e.options,g=a.id,h=e._ui,i=y.classes;return e.options.items&&m(a,e.options.items),h.elSelect=a,h.page=w.getParentsByClass(a,i.uiPage)[0]||b.body,h.content=w.getParentsByClass(a,i.uiContent)[0]||w.getParentsByClass(a,i.uiHeader)[0],h.elDefaultOption=a.querySelector("option[data-placeholder='true']"),h.elDefaultOption&&a.selectedIndex>h.elDefaultOption.index?e._selectedIndex=a.selectedIndex-1:e._selectedIndex=a.selectedIndex,c&&(d=h.elDefaultOption||a[a.selectedIndex]||a.options.item(a.selectedIndex),e._buildWrapper(a),e._buildPlaceholder(a,h.elSelectWrapper,g,d?d.textContent:"")),e._setNativeMenu(a,f.nativeMenu),e._setInline(a,f.inline),a},D._buildWrapper=function(a){var b=this,c=b._createWrapper();c.className=C.selectWrapper,c.id=a.id+"-dropdownmenu",c.setAttribute("tabindex","0"),c.setAttribute("data-role","none"),u.insertNodesBefore(a,c),c.appendChild(a),b._ui.elSelectWrapper=c},D._buildPlaceholder=function(a,c,d,e){var f=b.createElement("span");f.id=d+"-placeholder",f.className=C.placeHolder,f.textContent=e,c.insertBefore(f,a),this._ui.elPlaceHolder=f},D._buildFilter=function(a,c){var d=this._ui,e=d.screenFilter,f=d.elOptionWrapper,g=d.elOptionContainer,h=b.createDocumentFragment();e||(e=b.createElement("div"),e.classList.add(C.filter,C.filterHidden),e.id=c+"-overlay",h.appendChild(e)),f||(f=b.createElement("div"),f.className=C.optionsWrapper,f.id=c+"-options-wrapper",h.appendChild(f)),g||(g=b.createElement("ul"),g.className=C.optionList,g.id=c+"-options",f.appendChild(g)),d.page.appendChild(h),d.elOptionContainer=g,d.elOptionWrapper=f,d.screenFilter=e},D._setNativeMenu=function(a,b){var c,d,e,f=this,g=f._ui,h=g.elSelectWrapper;b?(c=a.querySelectorAll("option"),h.classList.add(C["native"])):(f._buildFilter(a,a.id),d=g.elOptionContainer,e=f._constructOption(),d.innerHTML=e,c=d.querySelectorAll("li[data-value]"),c[f._selectedIndex]&&c[f._selectedIndex].classList.add(C.selected)),g.elOptions=c,f.options.nativeMenu=b},D._setStyle=function(a,b){var d=this,e=d._ui;"spinner"===b?(e.elSelectWrapper.classList.add(C.spinner),d._setInline(a,!0)):"dropdown"===b?e.elSelectWrapper.classList.remove(C.spinner):c.warn("DropDownMenu: not supported style '"+b+"'")},D._init=function(a){var c=this,d=c._ui,e=a.id;d.elSelectWrapper||(d.elSelectWrapper=b.getElementById(e+"-dropdownmenu"),d.elPlaceHolder=b.getElementById(e+"-placeholder"),d.elOptionWrapper=b.getElementById(e+"-options-wrapper"),d.elSelect=a,c.options.nativeMenu||(d.screenFilter=b.getElementById(e+"-overlay"),d.elOptionContainer=b.getElementById(e+"-options"),d.elOptions=d.elOptionContainer.querySelectorAll("li[data-value]"))),c._setStyle(a,c.options.style)},D._refresh=function(){var a=this;a._generate(a.element,!1)},D._enable=function(){k(this._ui.elSelectWrapper,!1),u.removeAttribute(this.element,"disabled")},D._disable=function(){k(this._ui.elSelectWrapper,!0),u.setAttribute(this.element,"disabled",!0)},D.open=function(){var a=this;a._isOpen===!1&&a._toggleSelect()},D.close=function(){var a=this;a._isOpen===!0&&a._toggleSelect()},D._bindEvents=function(){var b=this,c=b._ui,k=c.elOptionContainer,l=c.elSelectWrapper;b._toggleMenuBound=d.bind(null,b),b._changeOptionBound=e.bind(null,b),b._onResizeBound=g.bind(null,b),b._nativeChangeOptionBound=f.bind(null,b),b._focusBound=h.bind(null,b),b._blurBound=j.bind(null,b),b._touchMoveBound=i.bind(null,b),l.addEventListener("focus",b._focusBound),l.addEventListener("blur",b._blurBound),b.options.nativeMenu?c.elSelect.addEventListener("change",b._nativeChangeOptionBound):(l.addEventListener("vclick",b._toggleMenuBound),k.addEventListener("touchmove",b._touchMoveBound),k.addEventListener("vclick",b._changeOptionBound),k.addEventListener("focusin",b._focusBound),k.addEventListener("focusout",b._blurBound),c.screenFilter&&c.screenFilter.addEventListener("vmousedown",b._toggleMenuBound),a.addEventListener("throttledresize",b._onResizeBound,!0))},D._coordinateOption=function(){var b,c,d,e,f,g,h,i=this,j=i._ui,k=j.elOptionContainer.offsetHeight,l=[].slice.call(j.elOptionContainer.children).map(q),m=a.getComputedStyle(j.elOptionContainer),o=a.getComputedStyle(j.elOptionWrapper),p=Math.max.apply(Math,l)+parseInt(m.borderLeftWidth,10)+parseInt(m.borderRightWidth,10),r=parseInt(o.paddingLeft,10)+parseInt(o.paddingRight,10),s=parseInt(o.minWidth,10),t=i.options,u=j.elOptionWrapper.parentNode.querySelector(".ui-scrollview-clip").scrollTop,v=j.elSelectWrapper.parentNode,x=a.getComputedStyle(v),y=v.getBoundingClientRect(),z=0;return j.elSelectWrapper.classList.add("ui-dropdownmenu-force-display"),i._offsetTop=n(j.elSelectWrapper,j.page),j.elSelectWrapper.classList.remove("ui-dropdownmenu-force-display"),e=i._chooseDirection(),d=Math.max(p,s),g=k,d+r>a.screen.width&&(d=a.screen.width-r),c="right"===i._horizontalPosition?y.right-d-r:y.left,c+d+r>a.screen.width&&(c-=c+d+r-a.screen.width),f="left: "+c+"px; ",t.inline===!0&&(g=5*j.elOptionContainer.children[0].offsetHeight,h=v.offsetWidth-(parseFloat(x.paddingLeft)+parseFloat(x.paddingRight)),d=Math.min(h,Math.max(d,j.elOptionContainer.offsetWidth))),"top"===e.direction?(e.belowArea<0&&(z=e.belowArea),b=i._offsetTop-g-u+j.elPlaceHolder.offsetHeight,j.elOptionWrapper.classList.add(C.top)):(e.topArea<j.elPlaceHolder.offsetHeight&&(z=u%j.elPlaceHolder.offsetHeight),b=i._offsetTop-u<0?0:i._offsetTop-u,j.elOptionWrapper.classList.add(C.bottom)),b+=z,0==w.getParentsByTag(j.elSelect,"li").length&&j.elOptionWrapper.classList.add(C.verticalMargins),f+="top: "+b+"px; width: "+d+"px; max-height: "+g+"px;"},D._chooseDirection=function(){var a=this,b=a._ui,c={belowArea:0,topArea:0,direction:""};return c.belowArea=b.page.offsetHeight-a._offsetTop-b.elPlaceHolder.offsetHeight+b.content.scrollTop,c.topArea=a._offsetTop-b.content.scrollTop,c.belowArea<c.topArea&&b.elOptionContainer.offsetHeight>c.belowArea?c.direction="top":c.direction="bottom",c},D._toggleSelect=function(b){var c=this,d=c._ui,e=d.elOptionContainer,f=d.elOptionWrapper.classList;if(c._horizontalPosition=b&&b.clientX>a.screen.width/2?"right":"left",c._isOpen&&!f.contains(C.opening))f.remove(C.opened),c._callbacks.hideAnimationEnd=p.bind(null,c),v.prefixedFastOn(e,"animationEnd",c._callbacks.hideAnimationEnd,!1),c._hide();else{if(f.contains(C.closing)||f.contains(C.opening))return;d.elSelectWrapper.focus(),f.add(C.opening),c._callbacks.showAnimationEnd=o.bind(null,c),v.prefixedFastOn(e,"animationEnd",c._callbacks.showAnimationEnd,!1),c._show()}c._isOpen=!c._isOpen},D._hide=function(){var a=this,b=a._ui,c=a.options,d=b.elOptionWrapper;b.screenFilter&&b.screenFilter.classList.add(C.filterHidden),c.inline&&b.elSelectWrapper.style.removeProperty("width"),a._ui.elSelectWrapper.classList.remove(C.active),d.classList.add(C.closing),a.isKeyboardSupport&&a.enableDisabledFocusableElements(b.page)},D._focus=function(){this._ui.elSelectWrapper.classList.add("ui-focus")},D._blur=function(){this._ui.elSelectWrapper.classList.remove("ui-focus")},D._actionEnter=function(){this.open()},D._show=function(){var a=this,b=a._ui,c=a.options,d=b.elOptionWrapper;d.setAttribute("style",a._coordinateOption()),b.screenFilter&&b.screenFilter.classList.remove(C.filterHidden),b.elSelectWrapper.classList.add(C.active),d.classList.add(C.active),c.inline&&(b.elSelectWrapper.style.width=d.offsetWidth+"px"),d.setAttribute("tabindex","0"),d.firstElementChild.focus(),a.isKeyboardSupport&&(a.disableFocusableElements(b.page),a.enableDisabledFocusableElements(d),s.focusElement(d))},D._changeOption=function(){var a=this,b=a._ui,c=b.elOptions[a._selectedIndex],d=b.elOptionContainer.querySelector("."+C.selected),e=u.getNSData;if(c!==d||b.elDefaultOption&&b.elPlaceHolder.textContent===b.elDefaultOption.textContent){if(b.elSelect.value=e(c,"value"),""===b.elSelect.value)return b.elSelect.value=e(d,"value"),void(b.elPlaceHolder.textContent=d.textContent);v.trigger(b.elSelect,"change"),d&&d.classList.remove(C.selected),c.classList.add(C.selected)}},D._getValue=function(){var a,b=this,c=b.element.options,d="";return c&&(a=c[b._selectedIndex],a&&(d=a.value)),d},D._destroy=function(){var b=this,c=b._ui,d=c.elSelectWrapper,e=c.elOptionContainer,f=c.screenFilter;d.removeEventListener("focus",b._focusBound),d.removeEventListener("blur",b._blurBound),u.replaceWithNodes(c.elSelectWrapper,c.elSelect),b.options.nativeMenu?c.elSelect.removeEventListener("change",b._nativeChangeOptionBound):(d.removeEventListener("vclick",b._toggleMenuBound),e.removeEventListener("touchmove",b._touchMoveBound),e.removeEventListener("vclick",b._changeOptionBound),e.removeEventListener("focusin",b._focusBound),e.removeEventListener("focusout",b._blurBound),c.elOptionWrapper.parentNode.removeChild(c.elOptionWrapper),f&&(f.removeEventListener("vmousedown",b._toggleMenuBound),f.parentNode.removeChild(f)),a.removeEventListener("throttledresize",b._onResizeBound,!0))},A.widgetSelector=B,c.widget.mobile.DropdownMenu=A,s.registerActiveSelector(".ui-dropdownmenu:not(.ui-disabled):not(.ui-dropdownmenu-disabled), .ui-dropdownmenu-options li:not(.ui-dropdownmenu-disabled):not(.ui-dropdownmenu-optiongroup):not(.ui-disabled)"),t.defineWidget("DropdownMenu",B,["open","close"],A,"mobile",!1,!1,HTMLSelectElement)}(a.document,d),function(a,d){function e(a){var b=a._ui.inputElement;b&&(i.on(b,"keyup",a),a.options.groupOnBlur&&i.on(b,"blur focus",a)),a.on("click",a)}function f(a){var b=a._ui.inputElement;b&&(i.off(b,"keyup",a),a.options.groupOnBlur&&i.off(b,"blur focus",a)),a.off("click",a)}var g=d.widget.mobile.BaseWidgetMobile,h=d.engine,i=d.event,j={TEXT_ENVELOPER:"ui-text-enveloper",WITH_CONTAINER:"ui-text-enveloper-with-container",CONTAINER:"ui-text-enveloper-container",TEXT_ENVELOPER_INPUT:"ui-text-enveloper-input",TEXT_ENVELOPER_BTN:"ui-text-enveloper-btn",BTN_SELECTED:"ui-text-enveloper-btn-selected",TEXT_ENVELOPER_BTN_ACTIVE:"ui-text-enveloper-btn-active",TEXT_ENVELOPER_BTN_BLUR:"ui-text-enveloper-btn-blur",TEXT_ENVELOPER_BTN_EXPANDED:"ui-text-enveloper-btn-expanded",TEXT_ENVELOPER_START:"ui-text-enveloper-start",TEXT_ENVELOPER_TEXTLINE:"ui-text-input-textline",SLASH:"ui-text-enveloper-slash",SLASH_HIDDEN:"ui-text-enveloper-slash-hidden",TEXT_ENVELOPER_BTN_SLASH:"ui-text-enveloper-btn-separator",INPUT_STYLE_PREFIX:"ui-text-enveloper-input-",INPUT_BLUR:"ui-text-enveloper-input-blur"},k={BACKSPACE:8,ENTER:13},l={NEW_VALUE:"newvalue",ADDED:"added",REMOVED:"removed",SELECT:"select",UNSELECT:"unselect",RESIZE:"resize",EXPAND:"expand",FOLD:"fold"},m=function(){var a=this;a.options={groupOnBlur:!0,label:null,link:"",description:"+ {0}",selectable:!1,input:!0,placeholder:null,labelPosition:null,selectedItems:null,items:null},a._ui={}},n=new g;m.prototype=n,m.classes=j,n._build=function(a){var b=this,c=b._ui,d=b.options;return a.classList.add(j.TEXT_ENVELOPER),b._setLabel(a,d.label),b._setLabelPosition(a,d.labelPosition),c.container.classList.add(j.CONTAINER),c.buttons=[],b._setInput(a,d.input),b._setPlaceholder(a,d.placeholder),a},n._setLabelPosition=function(a,c){var d,e=this,f=e._ui;"indent"===c?(d=b.createElement("div"),a.appendChild(d),f.container=d,a.classList.add(j.WITH_CONTAINER)):f.container=a,e.options.labelPosition=c},n._setLabel=function(a,c){var d=a.querySelector("."+j.TEXT_ENVELOPER_START),e=d?d.cloneNode(!0):null;e&&(a.removeChild(d),a.appendChild(e)),c&&(e=e||b.createElement("div"),e.innerText=c,e.classList.add(j.TEXT_ENVELOPER_START),a.appendChild(e)),this.options.label=c},n._init=function(a){var b=this;return b._btnActive=!1,b._isBlurred=!1,a},n._bindEvents=function(){e(this)},n.handleEvent=function(a){var b=this;switch(a.type){case"click":b._onClick(a);break;case"keyup":b._onKeyup(a);break;case"blur":b._onBlur(a);break;case"focus":b._onFocus(a)}},n._onFocus=function(){this.expandButtons()},n.expandButtons=function(){var a,b,c=this,d=c._ui;if(c._isBlurred){for(c._isBlurred=!1,c.remove(c._btnToRemoveIndex),d.inputContainer.classList.remove(j.INPUT_BLUR),a=d.buttons.length,b=0;a>b;b++)d.buttons[b].classList.remove(j.TEXT_ENVELOPER_BTN_BLUR);c.trigger(l.RESIZE),c.trigger(l.EXPAND)}},n._onClick=function(a){var b,c,d,e=this,f=a.target,g=f.classList,h=f.previousElementSibling,i=f.nextElementSibling,k=i&&i.nextElementSibling,m=h&&h.previousElementSibling;e._isBlurred?(e.expandButtons(),a.preventDefault(),a.stopPropagation()):e.options.selectable&&g.contains(j.TEXT_ENVELOPER_BTN)&&(b=h&&h.classList,c=i&&i.classList,g.contains(j.BTN_SELECTED)?(m&&!m.classList.contains(j.BTN_SELECTED)&&b.remove(j.SLASH_HIDDEN),k&&!k.classList.contains(j.BTN_SELECTED)&&c.remove(j.SLASH_HIDDEN),d=l.UNSELECT):(b&&b.add(j.SLASH_HIDDEN),c&&c.add(j.SLASH_HIDDEN),d=l.SELECT),g.toggle(j.BTN_SELECTED),e.trigger(d,{value:f.textContent,index:e._ui.buttons.indexOf(f)},!1),a.preventDefault(),a.stopPropagation())},n._getItems=function(){return this._ui.buttons.map(function(a){return a.textContent})},n._setItems=function(a,b){var c=this,d="string"==typeof b?b.split(","):b;d&&(this._ui.buttons.forEach(function(){c.remove(0)}),d.forEach(function(a){c.add(a)}))},n._getSelectedItems=function(){var a=[];return this._ui.buttons.forEach(function(b,c){b.classList.contains(j.TEXT_ENVELOPER_BTN_SELECTED)&&a.push({value:b.textContent,index:c})}),a},n._setSelectedItems=function(a,b){var c="string"==typeof b?b.split(","):b;c&&this._ui.buttons.forEach(function(a,b){a.classList.toggle(j.TEXT_ENVELOPER_BTN_SELECTED,-1!==c.indexOf(b))})},n._onBlur=function(){var a=this,b=a._ui.inputElement;b&&b.value&&(a.trigger(l.NEW_VALUE,{value:b.value},!1),b.value=""),a.foldButtons()},n.foldButtons=function(){var a,c,d,e,f=this,g=f._ui,h=g.buttons,i=h.length,k=h[0]?h[0].textContent:"";if(!f._isBlurred){for(a=0;i>a;a++)h[a].classList.add(j.TEXT_ENVELOPER_BTN_BLUR);g.inputContainer.classList.add(j.INPUT_BLUR),c=f._createButton(k,!1),f._btnToRemoveIndex=h.indexOf(c),i>1&&(d=b.createElement("span"),d.classList.add(j.TEXT_ENVELOPER_BTN_SLASH),e=b.createTextNode("+"+(i-1)),c.appendChild(d),c.appendChild(e)),f._isBlurred=!0,f.trigger(l.RESIZE),f.trigger(l.FOLD);
+}},n._onKeyup=function(a){var b=this,c=b._ui,d=c.inputElement,e=d.value,f=a.keyCode,g=c.buttons.length-1;f===k.ENTER?(b.trigger(l.NEW_VALUE,{value:e},!1),d.value="",b.trigger(l.RESIZE)):f===k.BACKSPACE?(""===e&&(b._btnActive?(b.remove(g),b._btnActive=!1):c.buttons.length&&(c.buttons[g].classList.add(j.TEXT_ENVELOPER_BTN_ACTIVE),b._btnActive=!0)),b.trigger(l.RESIZE)):b._btnActive&&(c.buttons[g].classList.remove(j.TEXT_ENVELOPER_BTN_ACTIVE),b._btnActive=!1)},n._createButton=function(a,d){var e=this,f=e._ui,g=b.createElement("div"),i=f.buttons;return d===c&&(d=!0),g.innerText=a,g.classList.add(j.TEXT_ENVELOPER_BTN),h.instanceWidget(g,"Button",{inline:d}),f.container.insertBefore(g,e._ui.inputContainer),i.push(g),e.trigger(l.ADDED,{value:a,index:i.length-1},!1),g},n._createSlash=function(){var a=this._ui,c=b.createElement("span");return c.classList.add(j.SLASH),a.container.insertBefore(c,a.inputContainer),c},n.add=function(a){var b=this,c=b._getItems(b.element);-1===c.indexOf(a)&&(b._createButton(a),b._createSlash())},n.remove=function(a){var b=this,c=b._ui,e=c.buttons,f=e.length,g=e[a].innerText,h=c.container,i=b._isBlurred?f-2:f-1;0>a||a>i?d.warn("You insert incorrect index, please check your index value"):b._isBlurred?f>2?e[f-1].textContent=e[0].textContent+" + "+(f-2):2===f&&(h.removeChild(e[f-1]),e.pop(),e[0].classList.remove(j.TEXT_ENVELOPER_BTN_BLUR)):(e[a].nextElementSibling.classList.contains(j.SLASH)&&h.removeChild(e[a].nextElementSibling),h.removeChild(e[a]),e.splice(a,1)),b.trigger(l.REMOVED,{value:g,index:a})},n.length=function(){return this._ui.buttons.length},n._setInput=function(a,c){var d,e,f,g=this,i=g._ui,k=i.container;c?(f=b.createElement("div"),d=b.createElement("input"),d.classList.add(j.TEXT_ENVELOPER_INPUT),f.appendChild(d),k.appendChild(f),h.instanceWidget(d,"TextInput",{clearBtn:!0}),i.inputElement=d,i.inputContainer=f,"string"==typeof c?f.classList.add(j.INPUT_STYLE_PREFIX+c):(e=a.querySelector("."+j.TEXT_ENVELOPER_TEXTLINE),e.parentElement.removeChild(e))):(f=i.inputContainer,f&&(k.removeChild(f),h.destroyWidget(i.inputElement,"TextInput"),i.inputContainer=null,i.inputElement=null)),g.options.input=c},n._setPlaceholder=function(a,b){var c=this._ui.inputElement;c&&c.setAttribute("placeholder",b||""),this.options.placeholder=b},n._destroy=function(){var a=this,b=a._ui;b.container.classList.remove(j.CONTAINER),a._setInput(a.element,!1),f(a),a._ui=null},n.getInput=function(){return this._ui.inputElement},d.widget.mobile.TextEnveloper=m,h.defineWidget("TextEnveloper","[data-role='textenveloper'], .ui-text-enveloper",["add","remove","length"],m,"mobile")}(a.document,d),function(a,b){function c(){var c,d=b.createElement("div"),e=b.createElement("body"),f=b.getElementsByTagName("html")[0],g=getComputedStyle(d);return d.classList.add("is-circle-test"),e.appendChild(d),f.insertBefore(e,f.firstChild),c="1px"===g.width,f.removeChild(e),"?circle"===a.location.search&&(c=!0),c}var e=!("undefined"==typeof a.tizen);d.support={cssTransitions:!0,mediaquery:!0,cssPseudoElement:!0,touchOverflow:!0,cssTransform3d:!0,boxShadow:!0,scrollTop:0,dynamicBaseTag:!0,cssPointerEvents:!1,boundingRect:!0,browser:{ie:!1,tizen:e},shape:{circle:e?a.matchMedia("(-tizen-geometric-shape: circle)").matches:c()},gradeA:function(){return!0},isCircleShape:c}}(a,a.document),function(a,b,c){function d(a,b,c,d){var e=d*n/180;return{x:a+c*p(e),y:b-c*o(e)}}function e(a,b,c,e,f){var g=d(a,b,c,f),h=d(a,b,c,e),i=180>=f-e?"0":"1",j=0;return["M",g.x,g.y,"A",c,c,0,i,j,h.x,h.y].join(" ")}function f(a,c){var d=b.createElementNS(q,"path");d.setAttribute("class",c.classes),d.setAttribute("fill","none"),d.setAttribute("stroke",c.color),d.setAttribute("stroke-width",c.width),d.setAttribute("d",e(c.x,c.y,c.r,c.referenceDegree+c.arcStart,c.referenceDegree+c.arcEnd)),d.setAttribute("data-initial-degree",c.referenceDegree),d.setAttribute("stroke-linecap",c.linecap),a.appendChild(d)}function g(a,b){var c=a.style,d=b.x+"px "+b.y+"px",e=b.referenceDegree+b.arcStart||b.degrees;a.classList&&a.classList.add(s.animated),c.webkitTransformOrigin=d,c.mozTransformOrigin=d,c.transformOrigin=d,d="rotate("+e+"deg)",c.webkitTransform=d,c.mozTransform=d,c.transform=d}function h(a,c){var e,f,g=b.createElementNS(q,"line");return g.setAttribute("class",c.classes),g.setAttribute("stroke",c.color),g.setAttribute("stroke-width",c.width),"out"===c.direction?(e=d(c.x,c.y,c.r,c.degrees),f=d(c.x,c.y,c.r-c.length,c.degrees)):(e=d(c.x,c.y,c.r-c.length,c.degrees),f=d(c.x,c.y,c.r,c.degrees)),g.setAttribute("x1",e.x),g.setAttribute("y1",e.y),g.setAttribute("x2",f.x),g.setAttribute("y2",f.y),a.appendChild(g),g}function i(a,c){var d=b.createElementNS(q,"text");d.setAttribute("x",c.x),d.setAttribute("y",c.y),d.setAttribute("text-anchor",c.position),d.setAttribute("fill",c.color),d.setAttribute("transform",c.transform),d.textContent=c.text,a.appendChild(d)}function j(a,c){var d=b.createElementNS(q,"circle");return d.setAttribute("stroke",c.color),d.setAttribute("stroke-width",c.width),d.setAttribute("cx",c.x),d.setAttribute("cy",c.y),d.setAttribute("r",c.r),d.setAttribute("fill",c.fill),a.appendChild(d),d}function k(a,b){var c;b.animation?g(a,b):a&&(c=parseInt(a.getAttribute("data-initial-degree"),10)||b.referenceDegree,a.setAttribute("data-initial-degree",c),a.setAttribute("d",e(b.x,b.y,b.r,c+b.arcStart,c+b.arcEnd)))}function l(a,b){var c,e;b.animation?g(a,b):a&&(c=d(b.x,b.y,b.r,b.degrees),e=d(b.x,b.y,b.r-b.length,b.degrees),a.setAttribute("x1",c.x),a.setAttribute("y1",c.y),a.setAttribute("x2",e.x),a.setAttribute("y2",e.y))}var m,n=Math.PI,o=Math.cos,p=Math.sin,q="http://www.w3.org/2000/svg",r=c.util.object,s={polar:"ui-polar",animated:"ui-animated"},t={x:180,y:180,r:170,arcStart:0,arcEnd:90,width:5,color:"black",animation:!1,linecap:"butt",referenceDegree:0},u={x:180,y:180,r:170,degrees:0,length:180,direction:"in",width:5,color:"black"},v={x:180,y:180,text:"Text",position:"middle",color:"white"},w={x:180,y:180,r:170,color:"white"};m={"default":{arc:t,radius:u,text:v},classes:s,polarToCartesian:d,createSVG:function(a){var c=b.createElementNS(q,"svg");return c.classList&&c.classList.add(s.polar),a&&a.appendChild(c),c},addArc:function(a,b){return a=a||this.createSVG(),b=r.merge({},t,b||{}),f(a,b),a},addRadius:function(a,b){return a=a||this.createSVG(),b=r.merge({},u,b||{}),h(a,b)},addText:function(a,b){return a=a||this.createSVG(),b=r.merge({},v,b||{}),i(a,b),a},updatePosition:function(a,b,c){var d,e=a&&a.querySelector("path"+b);e?(c=r.merge({},t,c||{}),k(e,c)):(d=a&&a.querySelector("line"+b),d&&l(d,c))},addCircle:function(a,b){var c=this;return a=a||c.createSVG(),b=r.merge({},w,b||{}),j(a,b),a}},c.util.polar=m}(a,a.document,d),function(a,b,c){function d(){ma&&(clearTimeout(ta),ma.classList.add(N.fadeIn),ta=setTimeout(function(){ma&&ma.classList.remove(N.fadeIn)},2e3))}function e(b){for(;b&&b!==a;){if(b===$)return!0;b=b.parentElement}return!1}function f(a){var b=a.touches,c=b[0];da=e(a.target),da&&1===b.length&&(R=ea?c.clientX:c.clientY,X=Date.now(),K.trigger($,P.SCROLL_BEFORE_START,{scrollLeft:ea?-S:0,scrollTop:ea?0:-S,fromAPI:ua}))}function g(a){var b=a.touches,c=b[0],e=ea?c.clientX:c.clientY,f=0,g=0;ua=!1,T=e-R,O||(S+T>0&&(T=-S),-Z>S+T&&(T=-Z-S)),ea?f=-(S+T):g=-(S+T),ca||K.trigger($,P.SCROLL_START,{scrollLeft:f,scrollTop:g,fromAPI:ua}),K.trigger($,P.SCROLL,{scrollLeft:f,scrollTop:g,inBounds:S+T>=-Z&&0>=S+T,fromAPI:ua}),d()}function h(a){var b=a.touches;da&&(1===b.length&&g(a),ca||(ca=!0),Ba(u))}function i(a){return xa?(a=ga(ha(xa.length-1,a),0),xa[a].position-xa[0].position):0}function j(a){var b,c,d=null,e=null;if(xa){if(a-=Aa/2,a=-a,xa[0].position>a)return 0;for(c=0,b=xa.length;b>c;c++)if(d=xa[c],e=xa[c+1],!e||d.position<a&&e.position>a)return c}return-1}function k(a){var b=Date.now()-X,c=null;a&&ba(T/b)>1?(V=ga(ha(fa(S+1e3*T/b),0),-Z),xa?(ya=j(S+1e3*T/b),c=xa[ya],c&&(V=-i(ya))):wa&&(V=wa*fa(V/wa)),ba(T/b)>1&&K.trigger($,P.SCROLL_FLICK,{scrollLeft:ea?-V:0,scrollTop:ea?0:-V,fromAPI:ua}),Ba(s)):(xa?(ya=j(S),c=xa[ya],c&&(V=-i(ya),Ba(s))):wa&&(V=wa*fa(S/wa),Ba(s)),ca=!1)}function l(a){O?a||(V=S>0?0:-Z,Ba(s)):(-Z>S&&(S=-Z),S>0&&(S=0))}function m(a){K.trigger($,P.SCROLL,a),K.trigger($,P.SCROLL_END,a)}function n(){var a,b=0,c=0;ca&&(S+=T,a=S>=-Z&&0>=S,k(a),l(a),ea?b=-S:c=-S,T=0,m({scrollLeft:b,scrollTop:c,inBounds:a,fromAPI:ua}),d(),da=!1,Ba(u))}function o(a){return xa?Math.abs(xa[za].position-xa[a].position):wa}function p(a){var b=a.getBoundingClientRect();return ea?b.width:b.height}function q(a){var b=a.detail&&a.detail.direction;(!$||p($))&&(za=ya,ca&&(T=0,ca=!1),"CW"===b?(ya++,xa&&ya>=xa.length&&(ya=xa.length-1),wa=-1*o(ya)):(ya--,xa&&0>ya&&(ya=0),wa=o(ya)),V+=wa,!xa&&wa&&(V=wa*fa(V/wa)),-Z>V&&(V=-Z),V>0&&(V=0),Ba(s),Ba(u),K.trigger($,P.SCROLL_START,{scrollLeft:ea?-V:0,scrollTop:ea?0:-V,fromAPI:!1}))}function r(){var a=V-S,b=ba(a);b>10?(S=fa(S+a/10),Ba(s)):b>2?(S=fa(S+a/2),Ba(s)):S=V,O||(-Z>S&&(S=-Z),S>0&&(S=0))}function s(){var a=0,b=0;$&&(r(),ea?a=-S:b=-S,K.trigger($,P.SCROLL,{scrollLeft:a,scrollTop:b,inBounds:S>=-Z&&0>=S,fromAPI:ua}),ca||K.trigger($,P.SCROLL_END,{scrollLeft:a,scrollTop:b,fromAPI:ua}),d())}function t(){qa?L.updatePosition(sa,"."+N.thumb,{arcStart:oa,arcEnd:oa+ra,r:Q}):na&&(ea?na.style.transform="translate("+oa+"px, 0)":na.style.transform="translate(0, "+oa+"px)")}function u(){var a=S+T+U;a!==W&&(W=a,oa=Z>-a?-a/Z*pa:pa,0>oa&&(oa=0),!va&&Y&&(Y.transform=ea?"translate("+W+"px, 0)":"translate(0, "+W+"px)"),t(),Ba(u))}function v(){R=0,S=0,oa=0,T=0,V=0,W=0,U=0,X=Date.now()}function w(d,e,g){var i,j,k,l;va=g,O=!1,wa=!1,$?c.warn("Scrolling exist on another element, first call disable method"):(ea="x"===e?1:0,ya=0,l=d.querySelector("div."+N.container),l?(_=l,_.style.transform=""):(_=a.createElement("div"),k=Array.prototype.slice.call(d.childNodes),k.forEach(function(a){(!c.support.shape.circle||M.matchesSelector(a,".ui-header:not(.ui-fixed), :not(.ui-footer)"))&&_.appendChild(a)}),d.insertBefore(_,d.firstElementChild),_.classList.add(N.container)),$=d,i=d.getBoundingClientRect(),j=_.getBoundingClientRect(),Z=fa(ea?j.width-i.width:j.height-i.height),Y=_.style,v(),aa=b.getComputedStyle(d).getPropertyValue("overflow"),d.style.overflow="hidden",a.addEventListener("touchstart",f,!1),a.addEventListener("touchmove",h,!1),a.addEventListener("touchend",n,!1),b.addEventListener("rotarydetent",q,!0))}function x(){B(),a.removeEventListener("touchstart",f,!1),a.removeEventListener("touchmove",h,!1),a.removeEventListener("touchend",n,!1),b.removeEventListener("rotarydetent",q,!0),$&&($.style.overflow=aa),Y=null,$=null,_=null,sa=null}function y(){var a=ea?0:90;ma.classList.add(N.circular),sa=L.createSVG(),L.addArc(sa,{arcStart:a-ia/2,arcEnd:a+ia/2,classes:N.path,width:10,r:Q,linecap:"round"}),L.addArc(sa,{referenceDegree:a-ia/2,arcStart:0,arcEnd:ra,classes:N.thumb,width:10,r:Q,linecap:"round"}),ma.appendChild(sa),$.parentElement.insertBefore(ma,$.nextSibling)}function z(b){var c,d,e,f=0,g=0;ma.classList.add(N.direction+"-"+(ea?"x":"y")),na=a.createElement("div"),e=na.style,na.classList.add(N.thumb),c=$.getBoundingClientRect(),d=_.getBoundingClientRect(),ea?(f=c.width-2*ka,b.width=f+"px",b.left=c.left+ka+"px",e.transform="translate3d("+oa+"px,0,0)",e.width=f/d.width*f+"px"):(g=c.height-2*ka,b.height=g+"px",b.top=c.top+ka+"px",e.transform="translate3d(0,"+oa+"px,0)",e.height=g/d.height*g+"px"),ma.appendChild(na),$.parentElement.insertBefore(ma,$.nextSibling),pa=ea?f-na.getBoundingClientRect().width:g-na.getBoundingClientRect().height}function A(){ma=a.createElement("div"),ma.classList.add(N.scrollbar),qa?y():z(ma.style)}function B(){ma&&(ma.parentElement.removeChild(ma),ma=null,na=null)}function C(a){V=a,ua=!0,K.trigger($,P.SCROLL_BEFORE_START,{scrollLeft:ea?-S:0,scrollTop:ea?0:-S,fromAPI:ua}),Ba(s),u()}function D(){return-S}function E(){return Z}function F(a,b){ya=a,U=b,S=-i(a),V=S,Ba(s),u()}function G(a){var b=$.getBoundingClientRect(),c=ea?"width":"height",d=b[c],e=ga(a-d,0);e!==Z&&(Z=e||Number.POSITIVE_INFINITY,ma&&(qa?(ra=ga(d/(Z+d)*ia,ja),pa=ia-ra,L.updatePosition(sa,"."+N.thumb,{arcStart:oa,arcEnd:oa+ra,r:Q})):(d-=2*ka,na.style[c]=d/(Z+d)*d+"px",pa=d-na.getBoundingClientRect()[c])))}function H(a){var b=a.length;xa=a,wa=null,b&&(Z=xa[b-1].position-xa[0].position+la)}function I(a){Aa=ea?$.getBoundingClientRect().height:$.getBoundingClientRect().width,Array.isArray(a)?H(a):(xa=null,wa=a,wa&&(Z=wa*fa(Z/wa)))}function J(a){return $===a}var K=c.event,L=c.util.polar,M=c.util.selectors,N={circular:"scrolling-circular",direction:"scrolling-direction",scrollbar:"scrolling-scrollbar",path:"scrolling-path",thumb:"scrolling-scrollthumb",fadeIn:"fade-in",container:"scrolling-container"},O=!1,P={SCROLL_BEFORE_START:"beforeScrollStart",SCROLL_START:"scrollStart",SCROLL_END:"scrollEnd",SCROLL_FLICK:"flick",SCROLL:"scroll"},Q=174,R=0,S=0,T=0,U=0,V=0,W=0,X=Date.now(),Y=null,Z=0,$=null,_=null,aa="",ba=Math.abs,ca=!1,da=!1,ea=0,fa=Math.round,ga=Math.max,ha=Math.min,ia=60,ja=6,ka=11,la=0,ma=null,na=null,oa=0,pa=0,qa=c.support.shape.circle,ra=ja,sa=null,ta=null,ua=!1,va=!1,wa=null,xa=null,ya=0,za=0,Aa=0,Ba=b.requestAnimationFrame||b.webkitRequestAnimationFrame;c.util.scrolling={getScrollPosition:D,getScrollPositionByIndex:i,enable:w,disable:x,enableScrollBar:A,disableScrollBar:B,scrollTo:C,setMaxScroll:G,getMaxScroll:E,setSnapSize:I,scrollToIndex:F,isElement:J,setBounceBack:function(a){O=a}}}(b,a,d),function(a,b){function d(a,b){for(var c=a._renderList,d=0,e=c.length;e>d;d+=4)"propset"===c[d]&&(c[d+1][c[d+2]]=c[d+3]);0===e&&b-a._lastRenderClearTimestamp>a._lastRenderClearTTL&&(a._lastRenderClearTimestamp=b,a._sizeMap.length=0,a._avgListItemSize=-1),c.length=0}function e(a,b){var c=a._scroll,d=q,e=a._ui.scrollview,f=c.lastPositionX,g=c.lastPositionY,h=e.scrollLeft,i=b&&b.detail&&b.detail.scrollTop||e.scrollTop;a._refreshScrollbar(),g>i&&(d=r),f>h&&(d=u),i>g&&(d=s),h>f&&(d=t),c.lastJumpY=Math.abs(i-g),c.lastJumpX=Math.abs(h-f),c.lastPositionX=h,c.lastPositionY=i,c.dir=d,c.clipHeight=e.clientHeight,c.clipWidth=e.clientWidth}function f(a,b){return parseInt(b===v?a.clientHeight:a.clientWidth,10)}function g(a,b){var c,d,e,g,h,i,j=a.element,k=a.options,m=a._scroll,n=k.dataLength,o=a._avgListItemSize,p=k.bufferSize,q=!1,r=D.call(j.children,l);for(c=k.orientation===v?m.clipHeight:m.clipWidth,-1===o&&(a._avgListItemSize=o=f(j,k.orientation)/p),e=Math.floor((p-Math.floor(c/o))/2),i=0>=b-e?0:b-e,i+p>=n&&(i=n-p,0>i&&(i=0),q=!0),d=b-i,a._loadData(i),x=!0,h=i*o,k.orientation===v?(q&&(h=a._ui.spacer.clientHeight),a._addToRenderList("propset",j.style,"margin-top",h+"px")):(q&&(h=a._ui.spacer.clientWidth),a._addToRenderList("propset",j.style,"margin-left",h+"px")),g=0;d>g;g+=1)h+=f(r[g],k.orientation);k.orientation===v?C.isElement(a._ui.scrollview)?C.scrollTo(h):a._ui.scrollview.scrollTop=h:a._ui.scrollview.scrollLeft=h,x=!1,a._currentIndex=i}function h(a){for(var b=a.firstElementChild;b;){if("LI"===b.tagName)return b;b=b.nextElementSibling}return null}function i(a,b,c,d,e,f,g){var i,j,k=D.call(b.children,l),m=0;if(f>0){for(j=g;j>0;j--)i=k.shift(),c.appendChild(i),a._updateListItem(i,e),b.appendChild(i),m+=d(i,e++);a._currentIndex+=g}else{for(j=g;j>0;j--)i=k.shift(),c.appendChild(i),a._updateListItem(i,e),b.insertBefore(i,h(b)),m-=d(i,e--);a._currentIndex-=g}return m}function j(a,b,c,d,e,f,g){var h,i=0===(2&d),j=1===(2&d),k=a._currentIndex;i&&(h=f+e,0>=k&&(a._currentIndex=k=0,h=0),k>=b-1&&(h=a._ui.spacer.clientHeight),0>h&&(h=0),a._addToRenderList("propset",c,"margin-top",h+"px")),j&&(h=g+e,0>=k&&(a._currentIndex=k=0,h=0),k>=b-1&&(h=a._ui.spacer.clientWidth),0>h&&(h=0),a._addToRenderList("propset",c,"margin-left",h+"px"))}function k(a,b){for(var c=0,d=a.length;--d>=0;)c+=a[d][b];return c}function l(a){return"LI"===a.tagName}function m(a,b,d,e){return a[e]===c&&(a[e]=b?d.clientWidth:d.clientHeight),a[e]}function n(a){var b,c,d,e,g=a.element,h=a._scroll,n=a.options,o=g.style,p=a._currentIndex,w=parseInt(n.bufferSize,10),x=n.dataLength,y=h.dir,z=h.lastPositionY,A=h.lastPositionX,B=parseInt(o.marginTop,10)||0,C=parseInt(o.marginLeft,10)||0,E=0,F=a._domBuffer,G=a._avgListItemSize,H=k(D.call(g.children,l),n.orientation===v?"clientHeight":"clientWidth"),I=a._sizeMap,J=0,K=0;switch(-1===G&&(a._avgListItemSize=G=f(g,n.orientation)/w),y){case q:break;case s:K=z-B,E=x-p-w;break;case r:K=B+H-(z+h.clipHeight),E=p;break;case u:K=A-C,E=x-p-w;break;case t:K=C+H-(A-h.clipWidth),E=p}K>0&&2>=H/K&&(b=K/G-(w-h.clipHeight/G)/5|0|0,b=Math.min(E,b),c=b/w|0,b%=w,d=y===s||y===u?1:-1,c>0&&(a._loadData(p+d*c*w),p=a._currentIndex,J+=d*c*w*G),e=p+(d>0?w:-1),J+=i(a,g,F,m.bind(null,I,2&y),e,d,b),j(a,x,o,y,J,B,C))}function o(a,b){var c=a._scroll;e(a,b),(c.lastJumpY>0||c.lastJumpX>0&&!x)&&(n(a),B.trigger(a.element,"vlistupdate"))}var p=b.widget.BaseWidget,q=-1,r=0,s=1,t=2,u=3,v="y",w="x",x=!1,y=b.util,z=y.requestAnimationFrame,A=y.selectors,B=b.event,C=b.util.scrolling,D=[].filter,E=function(){var b=this;return b._ui={scrollview:null,spacer:null,itemSize:0},b._scroll={direction:[0,0,0,0],dir:q,lastPositionX:0,lastPositionY:0,lastJumpX:0,lastJumpY:0,clipWidth:0,clipHeight:0},b.name="VirtualListview",b._currentIndex=0,b.options={bufferSize:100,dataLength:0,orientation:v,listItemUpdater:null,scrollElement:null,optimizedScrolling:!1},b._scrollEventBound=null,b._render=d.bind(null,this),b._renderList=[],b._sizeMap=[],b._domBuffer=a.createDocumentFragment(),b._lastRenderClearTimestamp=0,b._lastRenderClearTTL=1e4,b._avgListItemSize=-1,b},F=new p;E.classes={uiVirtualListContainer:"ui-virtual-list-container",spacer:"ui-virtual-list-spacer"},F._updateListItem=function(a,b){this.options.listItemUpdater(a,b)},F._setupScrollview=function(a,b){var c,d=A.getClosestByClass(a,"ui-scroller")||a.parentElement;return c=d.style,b===w?(c.overflowX="scroll",c.overflowY="hidden"):(c.overflowX="hidden",c.overflowY="scroll"),d},F._getScrollView=function(a,b){var c=null;return a.scrollElement&&(c="string"==typeof a.scrollElement?A.getClosestBySelector(b,"."+a.scrollElement):a.scrollElement),c||(c=this._setupScrollview(b,a.orientation)),c},F._build=function(b){var c,d,e,f=this,g=f._ui,h=E.classes,i=f.options,j=a.createElement("div");return b.style.position="relative",b.classList.add(h.uiVirtualListContainer),e=i.orientation.toLowerCase()===w?w:v,c=f._getScrollView(i,b),j.classList.add(h.spacer),d=j.style,d.display="block",d.position="static",e===w&&(d["float"]="left"),c.appendChild(j),g.spacer=j,g.scrollview=c,i.orientation=e,b},F._init=function(a){var c,d,e=this,f=e._ui,g=e.options,h=f.scrollview||e._getScrollView(g,a);g.dataLength<g.bufferSize&&(g.bufferSize=g.dataLength),g.bufferSize<1&&(g.bufferSize=1),c=a.getBoundingClientRect(),d=h.getBoundingClientRect(),e._initTopPosition=c.top-d.top,e._initLeftPosition=c.left-d.left,h.classList.add("ui-has-virtual-list"),f.spacer=f.spacer||h.querySelector("."+E.classes.spacer),f.scrollview=h,g.orientation=g.orientation.toLowerCase()===w?w:v,g.optimizedScrolling&&(C.enable(h,g.orientation),C.enableScrollBar()),b.util.rotaryScrolling&&b.util.rotaryScrolling.lock()},F._buildList=function(){var b,c,d=this,e=d.element,f=d.options,g="UL"===e.tagName||"OL"===e.tagName||"TAU-VIRTUALLISTVIEW"===e.tagName?"li":"div",h=f.bufferSize,i=d._domBuffer,j=f.orientation;for(c=0;h>c;++c)b=a.createElement(g),j===w&&(b.style["float"]="left"),d._updateListItem(b,c),i.appendChild(b);e.appendChild(i),this._refresh()},F._refresh=function(){this._refreshScrollbar()},F._loadData=function(a){var b=this,c=b.element.firstElementChild;if(b._currentIndex!==a){b._currentIndex=a;do b._updateListItem(c,a),++a,c=c.nextElementSibling;while(c)}},F._refreshScrollbar=function(){var a,b,c=this,d=c._currentIndex,e=c.element,f=c.options,g=c._ui,h=g.spacer.style;f.orientation===v?(a=parseFloat(e.clientHeight)||0,b=a/f.bufferSize*(f.dataLength-d),f.optimizedScrolling?C.setMaxScroll(b):c._addToRenderList("propset",h,"height",b-a+"px")):(a=parseFloat(e.clientWidth)||0,b=a/f.bufferSize*f.dataLength,f.optimizedScrolling?C.setMaxScroll(b):c._addToRenderList("propset",h,"width",a/f.bufferSize*(f.dataLength-1)-4/3*a+"px"))},F._addToRenderList=function(){var a=this,b=a._renderList;b.push.apply(b,arguments),z(a._render)},F._bindEvents=function(){var a=o.bind(null,this),b=this._ui.scrollview;b&&(b.addEventListener("scroll",a,!1),this._scrollEventBound=a)},F._destroy=function(){var a=this,b=a._ui.scrollview,c=a._ui.spacer,d=a.element,e=d.style;for(e.position="static",a.options.orientation===v?e.top="auto":e.left="auto",b&&(C.disable(b),b.removeEventListener("scroll",a._scrollEventBound,!1)),c.parentNode&&c.parentNode.removeChild(c);d.firstElementChild;)d.removeChild(d.firstElementChild)},F.scrollTo=function(a){var b=this;C.isElement(b._ui.scrollview)?C.scrollTo(a):b._ui.scrollview.scrollTop=a},F.scrollToIndex=function(a){0>a&&(a=0),a>=this.options.dataLength&&(a=this.options.dataLength-1),e(this),g(this,a)},F.draw=function(){this._buildList(),this.trigger("draw")},F.setListItemUpdater=function(a){this.options.listItemUpdater=a},E.prototype=F,b.widget.core.VirtualListview=E}(a.document,d),function(a,b,c){var d=c.widget.core.VirtualListview,e=c.engine,f=c.util,g=f.selectors,h=f.DOM.nsData,i=new d,j=i._init,k=i._refresh,l=i._updateListItem;i._init=function(a){var b=this;e.instanceWidget(a,"Listview"),null!==h(a,"row")&&c.warn("Row option in VirtualListview is deprecated and not supported. Use bufferSize option instead."),null!==h(a,"template")&&c.warn("Template option in VirtualListview is deprecated and not supported."),null!==h(a,"numItemData")&&c.warn("NumItemData option in VirtualListview is deprecated and not supported. Use dataLength option instead."),"function"!=typeof b.options.listItemUpdater&&c.warn(["ListItemUpdater in VirtualListview is not set.","Probably you use selector for automatic creation of this widget.","Selectors for this widget are deprecated and will be removed in future.","Use setListItemUpdater to set list item updater."].join(" ")),b._ui.listview=e.instanceWidget(a,"Listview"),j.call(b,a)},i._refresh=function(){this._ui.listview.refresh(),k.call(this)},i._setupScrollview=function(a){var b;return b=e.getBinding(g.getClosestByClass(a,"ui-scrollview-clip")),b.element},i._updateListItem=function(a,b){var d=this;"function"==typeof d.options.listItemUpdater?l.call(d,a,b):c.warn("List item updater must be a function. Using jQuery Template in VirtualListview is deprecated and is not supported")},i.create=function(){c.warn("VirtualListview.create() method is deprecated and no more supported. Use draw() method instead.")},d.prototype=i,c.widget.mobile.VirtualListview=d,c.engine.defineWidget("VirtualListview","[data-role='virtuallistview'],[data-role='virtuallist'], .ui-virtuallistview",["draw","setListItemUpdater","scrollTo","scrollToIndex","create"],d,"tizen")}(a,a.document,d),function(a,b){function d(a,b,c,d,e){var f=e._ui,g=f.edgeEffect||f.scrollview.querySelector("."+v.edgeEffect),h=g.style,i=q(p(a/8)-1,10);return"vertical"===b?(h.top="start"===c?"0":"auto",h.bottom="start"===c?"auto":"0"):(h.left="start"===c?"0":"auto",h.right="start"===c?"auto":"0"),e._edgeEffectGradientSize=i,h.boxShadow="0 0 0 "+i+"px "+u.replace("{1}",.5)+",0 0 0 "+2*i+"px "+u.replace("{1}",.4)+",0 0 0 "+3*i+"px "+u.replace("{1}",.3)+",0 0 0 "+4*i+"px "+u.replace("{1}",.2)+",0 0 0 "+5*i+"px "+u.replace("{1}",.1),0}function e(a){return l.getClosestByClass(a,"ui-scroller")||a.parentElement}function f(a,b){var c=null;return a.scrollElement&&(c="string"==typeof a.scrollElement?l.getClosestBySelector(b,"."+a.scrollElement):a.scrollElement),c||(c=e(b)),c}function g(a,b){return b.getAttribute("data-index")===""+a}function h(a,b,c){return c>a}function i(a,b){return-1===a.indexOf(b)}function j(a,b){var d,e,f,j=a.element,k=a._itemSize,l=a.options,m="vertical"===l.orientation?"scrollTop":"scrollLeft",n=b.detail&&b.detail[m],o=a._ui,p=o.scrollview.firstElementChild.style,q=0,t=l.dataLength,u=[],w=a._numberOfItems,x=0,y=l.infinite,z=0,A=0,B={scrollTop:0,scrollLeft:0},C=0,D=0;if(l.edgeEffect&&(b.detail&&!b.detail.inBounds?(C=0>n?n:n+a._containerSize-l.dataLength*a._itemSize,n=n-C+l.edgeEffect(C,l.orientation,0>n?"start":"end",n,a)):a._edgeEffectGradientSize>0?((o.edgeEffect||o.scrollview.querySelector("."+v.edgeEffect)).style.boxShadow="none",a._edgeEffectGradientSize=0):a._scrollviewWidget&&a._scrollviewWidget.hideBouncingEffect()),n!==c){if(a._scrollBegin=n,z=r(n/a._itemSize),z!==r(a._scrollBeginPrev/a._itemSize)&&z>=0){for(n<a._itemSize?(q=0,A=0):z>t-w&&!y?(q=t-w,A=k*(z-q)):(q=z-1,A=k),x=q;q+w>x;++x)u[x-q]=s.call(j.children,g.bind(null,x%t))[0];for(d=s.call(j.children,i.bind(null,u)),x=q+w-1;x>=q;--x)D=x%t,(x>=0&&t>x||y)&&(u[x-q]||(e=d.shift(),u[x-q]=e,e&&(a._updateListItem(e,D),x-q===w-1||q>D&&n>a._scrollBeginPrev?j.appendChild(e):(f=u.filter(h.bind(null,x-q))[0],f?j.insertBefore(e,f):j.insertBefore(e,j.firstElementChild)))));B[m]=A+n%a._itemSize}else n>=0?n<a._itemSize?B[m]=n%k:z>t-w&&!y?(q=t-w,A=k*(z-q),B[m]=A+n%k):B[m]=k+n%k:B[m]=n;p.webkitTransform="translate("+-B.scrollLeft+"px, "+-B.scrollTop+"px)",a._scrollBeginPrev=n,a._snapListviewWidget&&a._snapListviewWidget.refresh()}}var k=b.widget.BaseWidget,l=b.util.selectors,m=b.util.scrolling,n=b.support.shape.circle,o=function(){var a=this;a.options={dataLength:0,listItemUpdater:null,scrollElement:null,orientation:"vertical",snap:!1,edgeEffect:n?null:d,infinite:!1},a._ui={edgeEffect:null,scrollview:null},a._scrollBegin=0,a._elementsMap=[],a._itemSize=0,a._numberOfItems=5,a._edgeEffectGradientSize=0},p=Math.abs,q=Math.min,r=Math.floor,s=Array.prototype.filter,t=new k,u="rgba(61, 185, 204, {1})",v={uiVirtualListContainer:"ui-virtual-list-container",edgeEffect:"ui-virtual-list-edge-effect"};o.classes=v,t._build=function(a){var b,c,d=this,e=d._ui,g=o.classes,h=d.options;return a.classList.add(g.uiVirtualListContainer),c="horizontal"===h.orientation.toLowerCase()?"horizontal":"vertical",b=f(h,a),e.scrollview=b,h.orientation=c,a},t._buildList=function(){var c,e,f,g=this,h=g._ui,i=g.options,j=g._ui.scrollview,k="vertical"===i.orientation?"height":"width",n=g.element,o="UL"===n.tagName||"OL"===n.tagName?"li":"div",p=g._numberOfItems,q=l.getClosestBySelector(n,".ui-content").getBoundingClientRect(),r=null,s=[].reduce.call(j.children,function(a,b){return a+b.getBoundingClientRect()[k]},0),t=b.support.shape.circle;for(e=b.engine.getBinding(l.getClosestBySelector(n,".ui-page"),"Scrollview"),e&&(e.option("bouncingEffect",!1),g._scrollviewWidget=e,i.edgeEffect=function(a,b,c){e.showBouncingEffect(c)}),i.dataLength<p&&(p=i.dataLength),f=0;p>f;++f)c=a.createElement(o),g._updateListItem(c,f),n.appendChild(c),r=g.element.getBoundingClientRect(),r[k]<q[k]&&p++;i.snap&&t&&(g._snapListviewWidget=b.engine.instanceWidget(n,"SnapListview",i.snap)),r=g.element.getBoundingClientRect(),g._itemSize=p>0?Math.round(r[k]/p):0,g._numberOfItems=p,g._containerSize=q[k],g._numberOfVisibleElements=Math.ceil(q[k]/g._itemSize),m.enable(j,"horizontal"===i.orientation?"x":"y",!0),i.infinite?m.setMaxScroll(null):(m.enableScrollBar(),j.classList.contains("ui-scroller")?m.setMaxScroll((i.dataLength+1)*g._itemSize+s):m.setMaxScroll(i.dataLength*g._itemSize)),i.snap&&t&&m.setSnapSize(g._itemSize),i.edgeEffect===d&&(h.edgeEffect=a.createElement("div"),h.edgeEffect.classList.add(v.edgeEffect,"orientation-"+i.orientation),h.scrollview.appendChild(h.edgeEffect)),m.setBounceBack(!0)},t._updateListItem=function(a,b){a.setAttribute("data-index",b),this.options.listItemUpdater(a,b)},t._refresh=function(){var a=this;a._buildList(),a._snapListviewWidget&&a._snapListviewWidget.refresh(),a.trigger("draw")},t.draw=function(){this.refresh()},t.scrollTo=function(a){m.scrollTo(-a)},t.scrollToIndex=function(a){this.scrollTo(Math.floor(this._itemSize*a))},t._bindEvents=function(){var a=j.bind(null,this),b=this._ui.scrollview;b&&(b.addEventListener("scroll",a,!1),this._scrollEventBound=a)},t._destroy=function(){m.disable()},t.setListItemUpdater=function(a){this.options.listItemUpdater=a,this.refresh()},o.prototype=t,b.engine.defineWidget("VirtualListviewSimple","",["draw","setListItemUpdater","scrollTo","scrollToIndex"],o,"",!0),b.widget.core.VirtualListviewSimple=o}(a.document,d),function(a,b,d){var e=d.widget.mobile.VirtualListview,f=e.prototype,g=d.engine,h=d.util.DOM,i=d.util.object.merge,j="x",k="y",l={WRAP_BLOCK_Y:"ui-virtualgrid-wrapblock-y",WRAP_BLOCK_X:"ui-virtualgrid-wrapblock-x",ITEM:"virtualgrid-item"},m=function(){return this},n=new e;n._configure=function(){var a=this;"function"==typeof f._configure&&f._configure.apply(a,arguments),a.options=i({},a.options,{numItemData:0,direction:k,row:50,itemsPerLine:1,listItemUpdater:null,standalone:!1}),a._ui=i({},a._ui),a._currentIndex=0},n._build=function(a){return"function"==typeof f._build&&f._build.apply(this,arguments),this.options.direction===j&&(a.style.height="100%"),a},n._setLineSize=function(){var a,c,d,e,f=this,g=f.options,i=b.createElement("div"),j=f.element;j.appendChild(i),f._updateListItem(i,0),a=i.firstElementChild,c=a.firstElementChild,g.direction===k?(a.style.width="",a.style["float"]="none",d=h.getElementWidth(c,"outer",!0,!0),g.lineSize=a.offsetHeight,e=j.offsetWidth):(d=i.offsetHeight,e=g.standalone?f._ui.scrollview.element.offsetHeight:j.offsetHeight,g.lineSize=a.offsetWidth),j.removeChild(i),g.itemsPerLine=Math.max(Math.floor(e/d),1),g.rawNumItemData=g.numItemData,g.numItemData=Math.ceil(g.numItemData/g.itemsPerLine)},n._configureList=function(a){var b=this,c=b.options,d=a[0]||{};"function"!=typeof d.itemData||"function"!=typeof d.numItemData&&"number"!=typeof d.numItemData||("function"==typeof d.numItemData?c.numItemData=d.numItemData():c.numItemData=d.numItemData<=0?0:d.numItemData,b.itemData=d.itemData),c.direction=d.direction||c.direction,c.row=Math.max(20,c.row),b._setLineSize(),b._buildList(),c.standalone&&b._updateScrollInfo()},n._updateListItem=function(a,d){var e,f,h,i=this,j=i.options,m=j.listItemUpdater,n=j.direction,o=i.itemData,p=i._ui.$jqTmpl,q=j.itemsPerLine,r=j.rawNumItemData,s=100/q+"%",t=q*d,u=0;for(a.innerHTML="",f=b.createDocumentFragment(),h=t+u;q>u&&(r===c||r>h);)e=b.createElement("div"),e.style[n===k?"width":"height"]=s,e.classList.add(l.ITEM),"function"==typeof m?m(e,h):e.appendChild($.tmpl(p,o(h))[0]),f.appendChild(e),u++,h=t+u;a.appendChild(f),g.createWidgets(a),j.lineSize&&(a.style[n===k?"height":"width"]=j.lineSize+"px"),a.classList.add(n===k?l.WRAP_BLOCK_Y:l.WRAP_BLOCK_X)},m.classes=l,m.prototype=n,d.widget.mobile.VirtualGrid=m,g.defineWidget("VirtualGrid","[data-role=virtualgrid], .ui-virtualgrid",["create"],m,"mobile")}(a,a.document,d),function(a,d,e){var f=d.widget.mobile.BaseWidgetMobile,g=d.engine,h=d.util.object,i=function(){var a=this;a.action="",a.label=null,a.defaultHtml="",a.options=h.copy(i.prototype.options)},j={uiLoader:"ui-loader",uiLoaderPrefix:"ui-loader-",uiCorner:"ui-corner-all",uiIcon:"ui-icon",uiLoaderIcon:"ui-icon-loading",uiLoading:"ui-loading",uiTextOnly:"ui-loader-textonly"},k={pageLoadErrorMessageTheme:"e",pageLoadErrorMessage:"Error Loading Page"},l=new f;i.classes=j,i.properties=k,l.options={textVisible:!1,html:"",text:"loading"},l._build=function(a){var c=this.options,d=b.createElement("span"),e=b.createElement("h1"),f=a.classList,g=d.classList;return e.textContent=c.text,g.add(j.uiIcon),g.add(j.uiLoaderIcon),a.appendChild(d),a.appendChild(e),f.add(j.uiLoader),f.add(j.uiCorner),f.add(j.uiLoaderPrefix+"default"),this.defaultHtml=a.innerHTML,a},l._init=function(a){return this.defaultHtml=a.innerHTML,a},l.resetHtml=function(a){a=a||this.element,a.innerHTML=this.defaultHtml},l.show=function(a,d,f){var g,j,k=i.classes,l=this,m=l.element,n=m.classList,o={},p={};l.resetHtml(m),a!==c&&a.constructor===Object?(o=h.copy(l.options),p=h.merge(o,a),a=p.theme||e.mobile.loadingMessageTheme):(p=l.options,a=a||e.mobile.loadingMessageTheme||p.theme),j=d||e.mobile.loadingMessage||p.text,b.documentElement.classList.add(k.uiLoading),e.mobile.loadingMessage!==!1||p.html?(g=e.mobile.loadingMessageTextVisible!==c?e.mobile.loadingMessageTextVisible:p.textVisible,m.className="",n.add(k.uiLoader),
+n.add(k.uiCorner),n.add(k.uiBodyPrefix+a),n.add(k.uiLoaderPrefix+(g||d||a.text?"verbose":"default")),(p.textonly!==c&&p.textonly||f)&&n.add(k.uiTextOnly),p.html?m.innerHTML=p.html:m.getElementsByTagName("h1")[0].textContent=j):m.getElementsByTagName("h1")[0].innerHTML=""},l.hide=function(){var a=i.classes;b.documentElement.classList.remove(a.uiLoading)},i.prototype=l,d.widget.mobile.Loader=i,g.defineWidget("Loader","[data-role='loader'], .ui-loader",["show","hide","resetHtml"],i,"mobile")}(a.document,d,a.$),function(b,d){var e=d.widget.BaseWidget,f=d.util.selectors,g=d.util.DOM,h=d.event,i=d.history,j=d.event.gesture,k=d.widget.core.Page,l={CLOSED:"closed",OPENED:"opened",SLIDING:"sliding",SETTLING:"settling"},m={OPEN:"draweropen",CLOSE:"drawerclose"},n={WIDTH:240,HEIGHT:360,DURATION:300,POSITION:"left"},o=function(){var a=this;a.options={position:n.POSITION,width:n.WIDTH,height:n.HEIGHT,duration:n.DURATION,closeOnClick:!0,overlay:!0,drawerTarget:"."+k.classes.uiPage,enable:!0,dragEdge:1},a._pageSelector=null,a._isDrag=!1,a._state=l.CLOSED,a._settlingType=l.CLOSED,a._translatedX=0,a._translatedY=0,a._ui={},a._eventBoundElement=null,a._drawerOverlay=null},p={page:k.classes.uiPage,drawer:"ui-drawer",left:"ui-drawer-left",right:"ui-drawer-right",up:"ui-drawer-up",down:"ui-drawer-down",overlay:"ui-drawer-overlay",open:"ui-drawer-open",close:"ui-drawer-close"},q=new e;o.prototype=q,o.classes=p,q._unbindDragEvents=function(b,c){var d=b._ui.drawerOverlay;h.disableGesture(c),h.off(c,"drag dragstart dragend dragcancel swipe swipeleft swiperight swipe vmouseup",b,!1),h.prefixedFastOff(b.element,"transitionEnd",b,!1),h.off(a,"resize",b,!1),d&&h.off(d,"vclick",b,!1)},q._bindDragEvents=function(b,c){var d=b._ui.drawerOverlay;b._eventBoundElement=c,h.enableGesture(c,new j.Drag,new j.Swipe({orientation:"left"===b.options.position||"right"===b.options.position?j.Orientation.HORIZONTAL:j.Orientation.VERTICAL})),h.on(c,"drag dragstart dragend dragcancel swipe swipeleft swiperight swipeup swipedown vmouseup",b,!1),h.prefixedFastOn(b.element,"transitionEnd",b,!1),h.on(a,"resize",b,!1),d&&h.on(d,"vclick",b,!1)},q.handleEvent=function(a){var b=this;switch(a.type){case"drag":b._onDrag(a);break;case"dragstart":b._onDragStart(a);break;case"dragend":b._onDragEnd(a);break;case"dragcancel":b._onDragCancel(a);break;case"vmouseup":b._onMouseup(a);break;case"swipe":case"swipeleft":case"swiperight":case"swipeup":case"swipedown":b._onSwipe(a);break;case"vclick":b._onClick(a);break;case"transitionend":case"webkitTransitionEnd":case"mozTransitionEnd":case"oTransitionEnd":case"msTransitionEnd":b._onTransitionEnd(a);break;case"resize":b._onResize(a)}},q._onMouseup=function(){var a=this;a._state===l.SLIDING&&a.close()},q._onClick=function(){var a=this;a._state===l.OPENED&&a.close()},q._onResize=function(){var a=this;a._refresh()},q._onTransitionEnd=function(){var a=this,b=a.options.position,c=a._drawerOverlay;a._state===l.SETTLING&&(a._settlingType===l.OPENED?(a.trigger(m.OPEN,{position:b}),a._setActive(!0),a._state=l.OPENED):(a.close(),a.trigger(m.CLOSE,{position:b}),a._setActive(!1),a._state=l.CLOSED,c&&(c.style.visibility="hidden")))},q._onSwipe=function(a){var b,c=this,d=c.options;if(a.detail)switch(a.detail.direction){case"left":b="right";break;case"right":b="left";break;case"up":b="down";break;case"down":b="up"}else"swiperight"===a.type?b="left":"swipeleft"===a.type?b="right":"swipeup"===a.type?b="down":"swipedown"===a.type&&(b="up");d.enable&&c._isDrag&&d.position===b&&(c.open(),c._isDrag=!1)},q._onDragStart=function(a){var b=this;b._state!==l.OPENED&&(b.options.enable&&!b._isDrag&&b._state!==l.SETTLING&&b._checkSideEdge(a)?b._isDrag=!0:b.close())},q._onDrag=function(b){var c,d,e=this,f=b.detail.deltaX,g=b.detail.deltaY,h=e.options,i=e._translatedX,j=e._translatedY;if(h.enable&&e._isDrag&&e._state!==l.SETTLING)switch(h.position){case"left":c=-h.width+f+i,0>c&&e._translate(c,0,0);break;case"right":c=a.innerWidth+f-i,c>0&&c>a.innerWidth-h.width&&e._translate(c,0,0);break;case"up":d=-h.height+g+j,0>d&&e._translate(0,d,0);break;case"down":d=a.innerHeight+g-j,d>0&&d>a.innerHeight-h.height&&e._translate(0,d,0)}},q._onDragEnd=function(a){var b=this,c=b.options,d=a.detail;c.enable&&b._isDrag&&(("left"===c.position||"right"===c.position)&&(Math.abs(d.deltaX)>c.width/2?b.open():b._state!==l.SETTLING&&b.close()),("up"===c.position||"down"===c.position)&&(Math.abs(d.deltaY)>c.height/2?b.open():b._state!==l.SETTLING&&b.close())),b._isDrag=!1},q._onDragCancel=function(){var a=this;a.options.enable&&a._isDrag&&a.close(),a._isDrag=!1},q._translate=function(a,b,c){var d=this,e=d.element;d._state!==l.SETTLING&&(d._state=l.SLIDING),c&&g.setPrefixedStyle(e,"transition",g.getPrefixedValue("transform "+c/1e3+"s ease-out")),g.setPrefixedStyle(e,"transform","translate3d("+a+"px, "+b+"px, 0px)"),d.options.overlay&&d._setOverlay(a,b),c||d._onTransitionEnd()},q._setOverlayOpacity=function(a){this._ui.drawerOverlay.style.opacity=1-a},q._setOverlayVisibility=function(a){var b=this._ui.drawerOverlay.style;1>a?b.visibility="visible":b.visibility="hidden"},q._calcOverlay=function(b,c){var d,e=this.options,f=Math.abs(b),g=Math.abs(c);return"right"===e.position?d=f/a.innerWidth:"left"===e.position?d=f/e.width:"down"===e.position?d=g/a.innerHeight:"up"===e.position&&(d=g/e.height),d},q._setOverlay=function(a,b){var c=this,d=c._calcOverlay(a,b);c._setOverlayVisibility(d),c._setOverlayOpacity(d)},q._setActive=function(a){var b=this,c=d.router.Router.getInstance().getRoute("drawer");a?c.setActive(b):c.setActive(null)},q._build=function(a){var c,d=this,e=d._ui,g=d.options;return a.classList.add(p.drawer),a.style.top=0,c=f.getClosestBySelector(a,g.drawerTarget),c&&(c.appendChild(a),c.style.overflowX="hidden"),d.options.overlay&&(e.drawerOverlay=d._createOverlay(a),e.drawerOverlay.style.visibility="hidden"),e.placeholder||(e.placeholder=b.createComment(a.id+"-placeholder"),a.parentNode.insertBefore(e.placeholder,a)),e.targetElement=c,a},q._init=function(a){var b=this,c=b._ui;return c.drawerPage=f.getClosestByClass(a,p.page),c.drawerPage.style.overflowX="hidden",b._initLayout(),a},q._initLayout=function(){var b=this,c=b.options,d=b.element,e=d.style,f=b._ui,g=f.drawerOverlay?f.drawerOverlay.style:null;c.width=c.width||f.targetElement.offsetWidth,c.height=c.height||f.targetElement.offsetHeight,e.width=0!==c.width?c.width+"px":"100%",e.height=0!==c.height?c.height+"px":"100%",e.top="0",g&&(g.width=a.innerWidth+"px",g.height=a.innerHeight+"px",g.top=0),"right"===c.position?(d.classList.add(p.right),b._translate(a.innerWidth,0,0)):"left"===c.position?(d.classList.add(p.left),b._translate(-c.width,0,0)):"up"===c.position?(d.classList.add(p.up),b._translate(0,-a.innerHeight,0)):"down"===c.position&&(d.classList.add(p.down),b._translate(0,c.height,0)),b._state=l.CLOSED},q._translateRight=function(){var b=this,c=b.options;"right"===c.position&&(b._state===l.OPENED?b._translate(a.innerWidth-c.width,0,0):b._translate(a.innerWidth,0,0))},q._checkSideEdge=function(a){var b=this,c=a.detail,d=c.pointer.clientX-c.estimatedDeltaX,e=c.pointer.clientY-c.estimatedDeltaY,f=b.options,g=f.position,h=b._eventBoundElement,i=h.offsetWidth,j=h.offsetHeight,k=h.offsetLeft+i,l=h.offsetTop+j,m=i*f.dragEdge,n=j*f.dragEdge;return"left"===g&&d>0&&m>d||"right"===g&&d>k-m&&k>d||"up"===g&&e>0&&n>e||"down"===g&&e>l-n&&l>e},q._refresh=function(){var a=this;a._translateRight(),a._initLayout()},q._createOverlay=function(a){var c=b.createElement("div");return c.classList.add(p.overlay),a.parentNode.insertBefore(c,a),c},q._bindEvents=function(){var a=this,b=a._ui.targetElement;a._bindDragEvents(a,b)},q._unbindEvents=function(){var a=this,b=a._ui.targetElement;a._unbindDragEvents(a,b)},q._enable=function(){this._oneOption("enable",!0)},q._disable=function(){this._oneOption("enable",!1)},q.isOpen=function(){return this._state===l.OPENED},q.open=function(b){var d=this,e=d.options,f=d.element.classList,g=d._ui.drawerOverlay;d._state!==l.OPENED&&(d._state=l.SETTLING,d._settlingType=l.OPENED,b=b!==c?b:e.duration,g&&(g.style.visibility="visible"),f.remove(p.close),f.add(p.open),"left"===e.position?d._translate(0,0,b):"right"===e.position?d._translate(a.innerWidth-e.width,0,b):"up"===e.position?d._translate(0,0,b):"down"===e.position&&d._translate(0,a.innerHeight-e.height,b))},q.close=function(b,e){var f=this,g=b?b.reverse:!1,h=f.options,j=f.element.classList;if(f._state!==l.CLOSED){if(!g&&f._state===l.OPENED&&!d.getConfig("disableRouter"))return void i.back();f._state=l.SETTLING,f._settlingType=l.CLOSED,e=e!==c?e:h.duration,j.remove(p.open),j.add(p.close),"left"===h.position?f._translate(-h.width,0,e):"right"===h.position?f._translate(a.innerWidth,0,e):"up"===h.position?f._translate(0,-h.height,e):"down"===h.position&&f._translate(0,a.innerHeight,e)}},q.setDragHandler=function(a){var b=this;b.options.dragEdge=1,b._unbindDragEvents(b,b._eventBoundElement),b._bindDragEvents(b,a)},q.transition=function(a){var b=this,c=b.options;"left"===c.position?(b._translate(-c.width+a,0,c.duration),b._translatedX=a):"right"===c.position&&(b._translate(c.width-a,0,c.duration),b._translatedX=a),"up"===c.position?(b._translate(0,-c.height+a,c.duration),b._translatedY=a):"down"===c.position&&(b._translate(0,c.height-a,c.duration),b._translatedY=a)},q.getState=function(){return this._state},q._destroy=function(){var a=this,b=a._ui,c=b.drawerOverlay,d=b.placeholder,e=d.parentNode,f=a.element;e.insertBefore(f,d),e.removeChild(d),c&&c.removeEventListener("vclick",a._onClickBound,!1),a._unbindEvents()},o.STATE=l,d.widget.core.Drawer=o}(a.document,d),function(b,c){var d=c.widget.core.Drawer,e=c.engine,f=function(){d.call(this)},g=new d;f.prototype=g,g._configure=function(){var b=this;b.options.dragEdge=.05,b.options.width=a.screen.width>=960?360:.75*a.screen.width,b.options.height=a.screen.height},c.widget.mobile.Drawer=f,e.defineWidget("Drawer","[data-role='drawer'], .ui-drawer",["transition","setDragHandler","open","close","isOpen","getState"],f,"mobile")}(a.document,d),function(a,b){var c=b.engine,d=b.widget.core.OnOffSwitch,e=function(){d.call(this,arguments)},f=b.widget.core.BaseKeyboardSupport,g="input[data-role='toggleswitch'],select[data-role='toggleswitch'],select.ui-toggleswitch,input.ui-toggleswitch";e.prototype=new d,b.widget.mobile.ToggleSwitch=e,c.defineWidget("ToggleSwitch",g,[],e,"mobile"),f.registerActiveSelector(g)}(a.document,d),function(a,b){function d(a){var b=this,c=i.getClosestByClass(a.target,l.NAVIGATION_ITEM),d=c&&parseInt(c.getAttribute(k.POSITION),10),e=b._navigationStack,f=e[d],g=e.length-1-d;c&&setTimeout(function(){c.classList.contains(l.NAVIGATION_ACTIVE)||e[e.length-1]===f||(b.pop(g),b.trigger("navigate",{id:f,position:d}))},0)}var e=b.widget.mobile.BaseWidgetMobile,f=b.widget.core.BaseKeyboardSupport,g=b.engine,h=b.event,i=b.util.selectors,j=function(){var a=this;f.call(this),a._clickBound=null,a._ui={},a._navigationStack=[]},k={POSITION:"data-position"},l={NAVIGATION:"ui-navigation",NAVIGATION_CONTAINER:"ui-navigation-container",NAVIGATION_ITEM:"ui-navigation-item",NAVIGATION_ACTIVE:"ui-navigation-active",NAVIGATION_HIDE:"ui-navigator-hide",NAVIGATION_BACK:"ui-navigator-back",NAVIGATION_BACK_HIDE:"ui-navigator-back-hide",NAVIGATION_ACTIVE_ANIMATION:"ui-navigator-active-animation"},m=new e;j.prototype=m,j.classes=l,j.attributes=k,m._build=function(b){var c;return b.classList.add(l.NAVIGATION),c=a.createElement("ul"),c.classList.add(l.NAVIGATION_CONTAINER),this._ui.container=c,b.appendChild(c),b},m._bindEvents=function(a){var b=this;b._clickBound=d.bind(b),a.addEventListener("vclick",b._clickBound,!1)},m.create=function(){b.warn("Create method is deprecated because with 'create' method,it is hard to meet the newly changed Navigation function. To handle Navigation Bar, please utilize 'push' method with and 'panelChanger' component, instead.")},m.pop=function(a){var b=this,d=b._ui.container,e=b._navigationStack,f=d.lastChild,g=f&&f.classList,i=f&&f.previousElementSibling&&f.previousElementSibling.classList;a===c&&(a=1),g&&(g.add(l.NAVIGATION_HIDE),i&&(i.add(l.NAVIGATION_BACK),i.add(l.NAVIGATION_ACTIVE),h.one(f,"animationend, webkitAnimationEnd",function(){d.removeChild(d.lastChild),g.remove(l.NAVIGATION_BACK),a>1&&b.pop(a-1)})),e.pop())},m.push=function(b){var c,d,e,f=this,g=f.element,i=f._navigationStack,j=f._ui.container,m=j.childElementCount,n=j.lastElementChild,o=n&&n.classList,p=null;i.push(b),m>0&&(o.add(l.NAVIGATION_BACK_HIDE),h.one(n,"animationend webkitAnimationEnd",function(){n!==f._ui.container.lastElementChild&&(o.remove(l.NAVIGATION_BACK_HIDE),o.remove(l.NAVIGATION_ACTIVE))})),c=a.createElement("li"),c.setAttribute(k.POSITION,m),p=c.classList,p.add(l.NAVIGATION_ITEM),m>0&&(d=a.createElement("span"),d.classList.add("ui-arrow"),c.appendChild(d)),e=a.createElement("a"),e.classList.add("ui-text"),e.setAttribute("href","#"+b),e.innerHTML=b,c.appendChild(e),p.add(l.NAVIGATION_ACTIVE),p.add(l.NAVIGATION_ACTIVE_ANIMATION),h.one(c,"animationend webkitAnimationEnd",function(){p.remove(l.NAVIGATION_ACTIVE_ANIMATION)}),j.appendChild(c),j.offsetWidth>g.offsetWidth&&(g.scrollLeft=j.offsetWidth-g.offsetWidth)},m._destroy=function(a){var b=this;a.removeEventListener("vclick",b._clickBound,!1),a.removeChild(b._ui.container),b._clickBound=null,b._ui=null,b._navigationStack=null},f.registerActiveSelector(".ui-navigation .ui-text"),b.widget.mobile.Navigation=j,g.defineWidget("Navigation","[data-role='navigation'], .ui-navigation",["push","pop","create"],j,"mobile")}(a.document,d),function(a){a.widget.core.indexscrollbar=a.widget.core.indexscrollbar||{}}(d),function(a,b){function c(a,b){return this.element=a,this.options=d.merge(b,this._options,!1),this.container=this.options.container,f.call(self),this.indices={original:this.options.index,merged:[]},this._init(),this}var d=b.util.object,e=b.util.DOM,f=b.widget.core.BaseKeyboardSupport;c.prototype={_options:{container:null,offsetLeft:0,index:[],verticalCenter:!1,moreChar:"*",moreCharLineHeight:9,indexHeight:41,selectedClass:"ui-state-selected",ulClass:null,maxIndexLen:0},_init:function(){this.indices.original=this.options.index,this.indexLookupTable=[],this.indexElements=null,this.selectedIndex=-1,this.visiblity="hidden",this._setMaxIndexLen(),this._makeMergedIndices(),this._drawDOM(),this._appendToContainer(),this.options.verticalCenter&&this._adjustVerticalCenter(),this._setIndexCellInfo()},_clear:function(){for(;this.element.firstChild;)this.element.removeChild(this.element.firstChild);this.indices.merged.length=0,this.indexLookupTable.length=0,this.indexElements=null,this.selectedIndex=-1,this.visiblity=null},refresh:function(){this._clear(),this._init()},destroy:function(){this._clear()},show:function(){this.visibility="visible",this.element.style.visibility=this.visibility},hide:function(){this.visibility="hidden",this.element.style.visibility=this.visibility},isShown:function(){return"visible"===this.visibility},_setMaxIndexLen:function(){var a,b=this,c=b.options,d=b.container,e=c.indexHeight,f=d.offsetHeight;a=Math.floor(f/e),a>0&&a%2===0&&(a-=1),c.maxIndexLen=c.maxIndexLen>0?Math.min(a,c.maxIndexLen):a},_makeMergedIndices:function(){var a,b,c=this.indices.original,d=c.length,e=Math.min(this.options.maxIndexLen,d),f=d-e,g=parseInt(f/parseInt(e/2,10),10),h=f%parseInt(e/2,10),i=[],j=[],k=0;for(a=0,b=e;b>a;a++)i[a]=1,a%2&&(i[a]+=g+(h-->0?1:0)),k+=i[a],j.push({start:k-1,length:i[a]});this.indices.merged=j},_drawDOM:function(){var b,c,d,e,f,g,h=this.indices.original,i=this.indices.merged,j=i.length,k=this.options.indexHeight,l=this.options.moreChar,m=this.container.clientHeight-(j-1)*k,n=this.options.moreCharLineHeight;for(c=a.createDocumentFragment(),f=0;j>f;f++)g=i[f],b=1===g.length?h[g.start]:l,e=a.createElement("a"),d=a.createElement("li"),e.innerText=b.toUpperCase(),e.setAttribute("href","#"+b.toUpperCase()),d.appendChild(e),d.style.height=(f===j-1?m:k)+"px",d.style.lineHeight=b===l?k+n+"px":k+"px",c.appendChild(d);this.element.appendChild(c),this.options.ulClass&&this.element.classList.add(this.options.ulClass)},_adjustVerticalCenter:function(){var a=this.indices.merged.length,b=a*this.options.indexHeight,c=parseInt((this.container.offsetHeight-b)/2,10);this.element.style.paddingTop=c+"px"},_appendToContainer:function(){var b=this,c=b.options,d=b.element,e=b.container,f=d.style,g=a.createElement("div"),h=c.paddingBottom+"px";e.appendChild(d),f.left=c.offsetLeft+"px",c.paddingBottom&&(f.paddingBottom=h,g.classList.add("ui-indexscrollbar-margin"),g.style.height=h,e.appendChild(g))},setPaddingTop:function(a){var b=this.element.clientHeight,c=this.element.style.paddingTop,d=this.container.clientHeight;c=""===c?0:parseInt(c,10),b-=c,b>d&&(a-=a+b-d),this.element.style.paddingTop=a+"px",this._setIndexCellInfo()},getOffsetTopByIndex:function(a){var b=this.indexLookupTable[a].cellIndex,c=this.indexElements[b],d=c.offsetTop;return d},_setIndexCellInfo:function(){var a=this.element,b=this.indices.merged,c=e.getElementOffset(this.container).top,d=this.element.querySelectorAll("LI"),f=[];[].forEach.call(d,function(a,d){for(var e=b[d],g=e.start,h=g+e.length,i=c+a.offsetTop,j=a.offsetHeight/e.length;h>g;g++)f.push({cellIndex:d,top:i,range:j}),i+=j}),this.indexLookupTable=f,this.indexElements=a.children},getIndexByPosition:function(a){var b,c,d,e,f=this.indexLookupTable;if(f[0]&&(b=f[0],a<b.top))return 0;if(f[f.length-1]&&(b=f[f.length-1],a>=b.top+b.range))return f.length-1;for(c=0,d=f.length;d>c;c++)if(b=f[c],e=a-b.top,e>=0&&e<b.range)return c;return 0},getValueByIndex:function(a){return 0>a&&(a=0),this.indices.original[a]},select:function(a){var b,c;this.clearSelected(),this.selectedIndex!==a&&(this.selectedIndex=a,b=this.indexLookupTable[a].cellIndex,c=this.indexElements[b],c.classList.add(this.options.selectedClass))},clearSelected:function(){var a=this.element,b=this.options.selectedClass,c=a.querySelectorAll("."+b);[].forEach.call(c,function(a){a.classList.remove(b)}),this.selectedIndex=-1}},b.widget.core.indexscrollbar.IndexBar=c}(a.document,d),function(a,b){function c(a){a.preventDefault(),a.stopPropagation()}function d(a,b){return this.element=a,this.options=e.merge(b,this._options,!1),this.value=null,this._init(),this}var e=b.util.object,f=b.event;d.prototype={_options:{className:"ui-indexscrollbar-indicator",selectedClass:"ui-selected",alignTo:"container",container:null},_init:function(){var a=this,b=a.options,d=a.element;d.className=b.className,d.innerHTML="<span></span>",f.on(d,["touchstart","touchmove"],c,!1),b.referenceElement.parentNode.insertBefore(d,b.referenceElement),a.fitToContainer()},fitToContainer:function(a){var b=this,c=b.element,d=c.style,e=b.options,f=e.container,g=f.getBoundingClientRect();a=a||e.alignTo,d.width=g.width+"px","container"===a?d.height=g.height+"px":d.height=g.height+g.top+"px",d.top=("container"===a?g.top:0)+"px",d.left=g.left+"px"},setValue:function(a){var b="",c="";this.value=a,a=a.toUpperCase(),b=a.substr(a.length-1),c=a.substr(0,a.length-1),this.element.firstChild.innerHTML="<span>"+c+'</span><span class="ui-selected">'+b+"</span>"},show:function(){this.element.style.display="block"},hide:function(){this.element.style.display="none"},destroy:function(){for(var a=this.element;a.firstChild;)a.removeChild(a.firstChild);f.off(a,["touchstart","touchmove"],c,!1),this.element=null}},b.widget.core.indexscrollbar.IndexIndicator=d}(a.document,d),function(b,c){var d=function(){var a=this;a.indicator=null,a.indexBar1=null,a.indexBar2=null,a._ui={},a.index=null,a.touchAreaOffsetLeft=0,a.indexElements=null,a.selectEventTriggerTimeoutId=null,a.ulMarginTop=0,a.eventHandlers={}},e=c.widget.BaseWidget,f=c.event,g=c.util.selectors,h=c.util.object,i=c.util.DOM,j=c.widget.core.indexscrollbar.IndexBar,k=c.widget.core.indexscrollbar.IndexIndicator,l=c.widget.core.Page,m=c.engine.getWidgetDefinition("Page").selector,n={SELECT:"select"},o="vmousedown",p="vmousemove",q="vmouseup",r=!1,s=new e;d.prototype=s,h.merge(s,{widgetName:"IndexScrollbar",widgetClass:"ui-indexscrollbar",_configure:function(){this.options={moreChar:"*",indexScrollbarClass:"ui-indexscrollbar",selectedClass:"ui-state-selected",indicatorClass:"ui-indexscrollbar-indicator",delimiter:",",index:["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","1"],maxIndexLen:0,indexHeight:41,keepSelectEventDelay:50,container:null,supplementaryIndex:null,supplementaryIndexMargin:1,moreCharLineHeight:9,verticalCenter:!0,indicatorAlignTo:"container"}},_build:function(a){return a},_init:function(a){var b=this,c=b.options;return a.classList.add(c.indexScrollbarClass),b._ui.page=g.getClosestBySelector(a,m),b._setIndex(a,c.index),b._setMaxIndexLen(a,c.maxIndexLen),b._setInitialLayout(),b._createSubObjects(),b._updateLayout(),b._extended(!0),a},_refresh:function(){var a=this;a._isExtended()&&(a._unbindEvent(),a.indicator.hide(),a._extended(!1)),a._setIndex(a.element,a.options.index),a._updateLayout(),a.indexBar1.options.index=a.options.index,a.indexBar1.refresh(),a.indicator.fitToContainer(),a._bindEvents(),a._extended(!0)},_destroy:function(){var a=this;a.isBound()&&(a._unbindEvent(),a._extended(!1),a._destroySubObjects(),a.indicator=null,a.index=null,a.eventHandlers={})},_createSubObjects:function(){var a=this,c=a.options,d=a.element;a.indexBar1=new j(b.createElement("UL"),{container:d,offsetLeft:0,index:c.index,verticalCenter:c.verticalCenter,indexHeight:c.indexHeight,maxIndexLen:c.maxIndexLen,paddingBottom:c.paddingBottom,moreCharLineHeight:c.moreCharLineHeight}),"function"==typeof c.supplementaryIndex&&(a.indexBar2=new j(b.createElement("UL"),{container:d,offsetLeft:-d.clientWidth-c.supplementaryIndexMargin,index:[],indexHeight:c.indexHeight,ulClass:"ui-indexscrollbar-supplementary"}),a.indexBar2.hide()),a.indicator=new k(b.createElement("DIV"),{container:a._getContainer(),referenceElement:a.element,className:c.indicatorClass,alignTo:c.indicatorAlignTo})},_destroySubObjects:function(){var a,b,c,d={iBar1:this.indexBar1,iBar2:this.indexBar2,indicator:this.indicator};for(c in d)d.hasOwnProperty(c)&&(a=d[c],a&&(b=a.element,a.destroy(),b.parentNode.removeChild(b)))},_setInitialLayout:function(){var b=this.element,c=this._getContainer(),d=a.getComputedStyle(c).position,e=b.style;"absolute"!==d&&"relative"!==d&&(e.top=c.offsetTop+"px",e.height=c.offsetHeight+"px")},_setMaxIndexLen:function(a,b){var c=this,d=c.options,e=c._getContainer(),f=e.offsetHeight;0>=b&&(b=Math.floor(f/d.indexHeight)),b>0&&b%2===0&&(b-=1),d.maxIndexLen=b},_updateLayout:function(){var a=this;a._setInitialLayout(),a._draw(),a.touchAreaOffsetLeft=a.element.offsetLeft-10},_draw:function(){return this.indexBar1.show(),this},_removeIndicator:function(){var a=this.indicator,b=a.element.parentNode;b.removeChild(a.element),a.destroy(),this.indicator=null},_getEventReceiverByPosition:function(b){var c,d=a.innerWidth,e=this.element.clientWidth;return c=this.options.supplementaryIndex?b>=d-e&&d>=b?this.indexBar1:this.indexBar2:this.indexBar1},_updateIndicatorAndTriggerEvent:function(b){this.indicator.setValue(b),this.indicator.show(),this.selectEventTriggerTimeoutId&&a.clearTimeout(this.selectEventTriggerTimeoutId),this.selectEventTriggerTimeoutId=a.setTimeout(function(){this.trigger(n.SELECT,{index:b}),this.selectEventTriggerTimeoutId=null}.bind(this),this.options.keepSelectEventDelay)},_onTouchStartHandler:function(a){var c=a.touches||a._originalEvent&&a._originalEvent.touches,d=null,e=null,f=0,g=0;return r=!0,c&&c.length>1?(a.preventDefault(),void a.stopPropagation()):(d=this._getPositionFromEvent(a),e=this.indexBar1,f=e.getIndexByPosition(d.y),g=e.getValueByIndex(f),e.select(f),b.addEventListener(p,this.eventHandlers.touchMove),b.addEventListener(q,this.eventHandlers.touchEnd),b.addEventListener("touchcancel",this.eventHandlers.touchEnd),void this._updateIndicatorAndTriggerEvent(g))},_onTouchMoveHandler:function(a){var b,c,d,e=a._originalEvent&&a._originalEvent.touches,g=null,h=null,i=null;return e&&e.length>1||!r?(f.preventDefault(a),void f.stopPropagation(a)):(g=this._getPositionFromEvent(a),h=this.indexBar1,i=this.indexBar2,c=this._getEventReceiverByPosition(g.x),c===i&&(i.options.index=this.options.supplementaryIndex(h.getValueByIndex(h.selectedIndex)),i.refresh()),b=c.getIndexByPosition(g.y),d=c.getValueByIndex(b),c===i?d=h.getValueByIndex(h.selectedIndex)+d:i&&!i.isShown()&&i.setPaddingTop(h.getOffsetTopByIndex(h.selectedIndex)),c.select(b),c.show(),h===c&&i&&i.hide(),this._updateIndicatorAndTriggerEvent(d),f.preventDefault(a),void f.stopPropagation(a))},_onTouchEndHandler:function(a){var c=this,d=a._originalEvent&&a._originalEvent.touches;(d&&0===d.length||!d)&&(r=!1),c.indicator.hide(),c.indexBar1.clearSelected(),c.indexBar2&&(c.indexBar2.clearSelected(),c.indexBar2.hide()),b.removeEventListener(p,c.eventHandlers.touchMove),b.removeEventListener(q,c.eventHandlers.touchEnd),b.removeEventListener("touchcancel",c.eventHandlers.touchEnd)},_bindOnPageShow:function(){var a=this;a.eventHandlers.onPageShow=a.refresh.bind(a),a._ui.page&&a._ui.page.addEventListener(l.events.BEFORE_SHOW,a.eventHandlers.onPageShow,!1)},_unbindOnPageShow:function(){var a=this;a.eventHandlers.onPageShow&&a._ui.page&&a._ui.page.removeEventListener(l.events.BEFORE_SHOW,a.eventHandlers.onPageShow,!1)},_bindEvents:function(){var a=this;a._bindResizeEvent(),a._bindEventToTriggerSelectEvent(),a._bindOnPageShow()},_unbindEvent:function(){var a=this;a._unbindResizeEvent(),a._unbindEventToTriggerSelectEvent(),a._unbindOnPageShow()},_bindResizeEvent:function(){this.eventHandlers.onresize=function(){this.refresh()}.bind(this),a.addEventListener("resize",this.eventHandlers.onresize)},_unbindResizeEvent:function(){this.eventHandlers.onresize&&a.removeEventListener("resize",this.eventHandlers.onresize)},_bindEventToTriggerSelectEvent:function(){var a=this;a.eventHandlers.touchStart=a._onTouchStartHandler.bind(a),a.eventHandlers.touchEnd=a._onTouchEndHandler.bind(a),a.eventHandlers.touchMove=a._onTouchMoveHandler.bind(a),a.element.addEventListener(o,a.eventHandlers.touchStart)},_unbindEventToTriggerSelectEvent:function(){var a=this;a.element.removeEventListener(o,a.eventHandlers.touchStart)},_data:function(a,b){var c,d=this.element,e=d.__data;if(e||(e=d.__data={}),"object"==typeof a){for(c in a)a.hasOwnProperty(c)&&this._data(c,a[c]);return this}return"undefined"==typeof b?e[a]:(e[a]=b,this)},_isValidElement:function(a){return a.classList.contains(this.widgetClass)},_isExtended:function(){return!!this._data("extended")},_extended:function(a){return this._data("extended",a),this},_setIndex:function(a,b){var c=this.options;"string"==typeof b&&(b=b.split(c.delimiter)),c.index=b},_getOffset:function(a){var b=0,c=0;do c+=a.offsetTop,b+=a.offsetLeft,a=a.offsetParent;while(a);return{top:c,left:b}},_getContainer:function(){var a,c=this.options.container,d=this.element,e=d.parentNode;if(!c){for(;e&&e!==b.body;){if(a=i.getCSSProperty(e,"overflow-y"),"scroll"===a||"auto"===a&&e.scrollHeight>e.clientHeight)return e;e=e.parentNode}c=d.parentNode}return c||d.parentNode},_getPositionFromEvent:function(a){return-1!==a.type.search(/^touch/)?{x:a.touches[0].clientX,y:a.touches[0].clientY}:{x:a.clientX,y:a.clientY}},addEventListener:function(a,b){this.element.addEventListener(a,b)},removeEventListener:function(a,b){this.element.removeEventListener(a,b)}}),c.widget.core.IndexScrollbar=d}(a.document,d),function(){function a(a){var b,c,d=[];for(c=a.length,b=0;c>b;b++)d.push(a[b].textContent.trim());return d}var b=d.engine,c=d.util.selectors,e=d.widget.core.Page,f=d.widget.core.Scrollview,g=d.widget.core.IndexScrollbar,h=g.prototype,i=new g,j=function(){var a=this;a._ui={},g.call(a)},k={PAGE:e.classes.uiPage,CONTENT:e.classes.uiContent,SCROLLVIEW_CLIP:f.classes.clip,FLOATING_BUTTON_CONTAINER:"ui-floatingactions",GROUP_INDEX:"ui-group-index"},l={INDEX_HEIGHT:20,MORE_CHAR_LINEHEIGHT:4};j.classes=k,i._configure=function(b){var d=this,e=c.getClosestByClass(b,k.PAGE),f=e.querySelector("."+k.CONTENT),g=a(e.getElementsByClassName(k.GROUP_INDEX));h._configure.call(d),d.options.container||(d.options.container=f||b.parentNode),g.length&&(d.options.index=g),d.options.indexHeight=l.INDEX_HEIGHT,d.options.moreCharLineHeight=l.MORE_CHAR_LINEHEIGHT,d.options.verticalCenter=!1},i._init=function(a){var b=this;h._init.call(b,a),b._fitHeight()},i._setInitialLayout=function(){var a=this,b=a.element,c=a.options,d=c.container,e=b.style,f=d.parentElement.querySelector("."+k.FLOATING_BUTTON_CONTAINER);f&&(c.paddingBottom=d.offsetHeight-f.offsetTop+d.offsetTop),e.height=d.offsetHeight+"px",e.top=d.offsetTop+"px"},i._fitHeight=function(){var a,b=this,c=b.element,d=c.getElementsByTagName("ul")[0],e=d.lastChild;a=c.offsetHeight-d.offsetHeight,e&&(e.style.height=e.offsetHeight+a+"px")},j.prototype=i,d.widget.mobile.IndexScrollbar=j,b.defineWidget("IndexScrollbar","[data-role='indexscrollbar'], .ui-indexscrollbar",[],j,"mobile")}(),function(a,b,c){var d=c.widget.core.Button;c.widget.mobile.Button=d,c.engine.defineWidget("Button","button, [data-role='button'], .ui-btn, input[type='button']",[],d,"mobile",!0)}(a,a.document,d),function(b,c){var d=c.widget.BaseWidget,e=c.widget.core.Page.classes,f=c.widget.core.BaseKeyboardSupport,g=f.KEY_CODES,h=c.engine,i=c.event,j=c.util.selectors,k=new d,l=/matrix\((.*), (.*), (.*), (.*), (.*), (.*)\)/,m=19,n=function(){var a=this;f.call(a),a.element=null,a.options={},a._style=null,a._startX=0,a._currentX=0,a._hasSingle=!0,a._padding={},a._position={},a._scope={}},o="ui-floatingactions",p=["left-min","left-2nd-icon","left-1st-icon","center","right-1st-icon","right-2nd-icon","right-min"],q={WIDGET:o,TRANSITIONS:o+"-transitions",EXPAND_TO_LEFT:o+"-expand-to-left",EXPAND_TO_RIGHT:o+"-expand-to-right",PAGE_WITH_FLOATING_ACTIONS:"ui-page-floatingactions"};k._configure=function(){this.options={duration:300,position:"right-1st-icon"}},k._init=function(a){var b=this;return b._style=a.style,b.element.hasAttribute("tabindex")||b.element.setAttribute("tabindex","0"),b._hasSingle=a.children.length<=1,b._buildInsideButtons(),b._positionCalculation(),b._setScope(),b._updatePosition(),b._toggleParentClasses(),a},k._bindEvents=function(){var a=this,b=a.element;i.enableGesture(b,new i.gesture.Drag({blockVertical:!0})),i.on(b,"drag dragstart dragend dragcancel touchstart touchend vmousedown vmouseup keyup",a)},k._unbindEvents=function(){i.disableGesture(this.element),i.off(this.element,"drag dragstart dragend dragcancel touchstart touchend vmousedown vmouseup keyup",this)},k._refresh=function(){var a=this,b=a.element;a._hasSingle=b.children.length<=1,a._positionCalculation(),a._setScope(),a._updatePosition()},k._destroy=function(){var a=this;a.isBound()&&(a._unbindEvents(),a._style=null,a._position=null,a._scope=null,a._padding=null,a._toggleParentClasses(!0))},k._buildInsideButtons=function(){for(var a=0,b=this,d=b.element,e=d.children,f=e.length;f>a;a++)c.widget.Button(e[a])},k._positionCalculation=function(){var b,c,d=this,e=d.element,f=a.getComputedStyle(e),g=d._position,h=d._padding,i=e.offsetWidth;b=parseInt(f.paddingLeft,10),b=parseInt(f.paddingLeft,10),c=parseInt(f.paddingRight,10),g.min=-a.innerWidth+b,g.max=i-c,g.center=(g.max+g.min)/2,g.left=g.min+i-(b+c),g.leftOneButton=g.min+(g.left-g.min)/2,g.right=g.max-i+(c+b),g.rightOneButton=g.right+(g.max-g.right)/2,h.left=b,h.right=c,h.ratioInShow=m/(g.center-g.left),h.ratioInHide=m/(g.left-g.min)},k._setScope=function(){var a=this,b=a._position,c=a._scope,d=a._padding,e=a._hasSingle;c.min=b.min+d.left/2,c.leftOneButton=e?null:b.min+3*(b.left-b.min)/4,c.left=b.left+(b.center-b.left)/2,c.center=b.center+(b.right-b.center)/2,c.right=b.right+d.right/2,c.rightOneButton=e?null:b.right+3*(b.max-b.right)/4,c.max=b.max},k._start=function(b){var c=this,d=c.element;c._startX=b.detail.pointer.clientX,c._currentX=parseInt(a.getComputedStyle(d).webkitTransform.match(l)[5],10),d.classList.remove(q.TRANSITIONS),c._clearExpandWidget()},k._clearExpandWidget=function(){var a=this.element.classList;a.remove(q.EXPAND_TO_LEFT),
+a.remove(q.EXPAND_TO_RIGHT)},k._expandWidget=function(a){var b=this,c=b.element.classList;switch(a){case"left-min":case"left-1st-icon":case"left-2nd-icon":c.add(q.EXPAND_TO_LEFT),c.remove(q.EXPAND_TO_RIGHT);break;case"center":b._clearExpandWidget();break;case"right-min":case"right-1st-icon":case"right-2nd-icon":c.remove(q.EXPAND_TO_LEFT),c.add(q.EXPAND_TO_RIGHT)}},k._move=function(a){var b,c=this,d=c._style,e=a.detail.estimatedX-c._startX+c._currentX,f=c._position;e>=f.min&&e<=f.max&&(b="translate3d("+e+"px, 0, 0)",d.webkitTransform=b,d.transform=b)},k._setPosition=function(a,b){var d=this,e=d._hasSingle;e&&"left-2nd-icon"===b&&(b="left-1st-icon",c.warn("Cannot set 2nd icon when widget has 1 icon")),e&&"right-2nd-icon"===b&&(b="right-1st-icon",c.warn("Cannot set 2nd icon when widget has 1 icon")),d.options.position=b,d._updatePosition()},k._getPositionByName=function(a){var b=this._position;switch(a){case"left-min":return b.min;case"left-2nd-icon":return b.leftOneButton;case"left-1st-icon":return b.left;case"center":return b.center;case"right-1st-icon":return b.right;case"right-2nd-icon":return b.rightOneButton;case"right-min":return b.max;default:return b.max}},k._toggleParentClasses=function(a){var b=this,c=j.getClosestByClass(b.element,e.uiPage);c&&c.classList.toggle(q.PAGE_WITH_FLOATING_ACTIONS,!a)},k._updatePosition=function(){var a,b=this,c=b.element.style,d=b.options.position;b.element.classList.add(q.TRANSITIONS),a="translate3d("+b._getPositionByName(d)+"px, 0, 0)",c.webkitTransform=a,c.transform=a,b._expandWidget(d)},k._getPositionNameByPosition=function(a){var b=this,c=b._scope,d=b._hasSingle;return a<c.min?"left-min":!d&&a<c.leftOneButton?"left-2nd-icon":a<c.left?"left-1st-icon":a<c.center?"center":a<c.right?"right-1st-icon":!d&&a<c.rightOneButton?"right-2nd-icon":"right-min"},k._moveTo=function(a){var b=this;b.options.position=b._getPositionNameByPosition(a),b._updatePosition()},k._end=function(a){var b=this;b._moveTo(a.detail.estimatedX-b._startX+b._currentX)},k._moveOnLeft=function(){var a=Math.max(p.indexOf(this.options.position)-1,0);this.option("position",p[a])},k._moveOnRight=function(){var a=Math.min(p.indexOf(this.options.position)+1,p.length-1);this.option("position",p[a])},k._onkeyup=function(a){var b=a,c=this;switch(b.keyCode){case g.left:c._reposition&&c._moveOnLeft();break;case g.right:c._reposition&&c._moveOnRight();break;case g.enter:a.target===this.element&&c._toggleRepositionMode(!c._reposition);break;case g.escape:c._toggleRepositionMode(!1);break;default:return}},k._toggleRepositionMode=function(a){var b=this;a?(b.element.classList.add("ui-floatingactions-reposition"),b.disableFocusableElements(b.element)):(b.element.classList.remove("ui-floatingactions-reposition"),b.enableDisabledFocusableElements(b.element)),b._reposition=a},k._focus=function(a){a.hasAttribute("tabindex")||a.setAttribute("tabindex",0),a.classList.add("ui-focus"),a.focus()},k._blur=function(a){a.hasAttribute("tabindex")&&a.removeAttribute("tabindex",0),a.classList.remove("ui-focus")},k.handleEvent=function(a){var b=this;switch(a.type){case"dragstart":b._start(a);break;case"drag":b._move(a);break;case"dragend":case"dragcancel":b._end(a);break;case"keyup":b._onkeyup(a)}},k.onAttach=function(){this.refresh()},n.prototype=k,n.classes=q,c.widget.mobile.FloatingActions=n,h.defineWidget("FloatingActions","[data-role='floatingactions'], ."+o,[],n,"mobile")}(a.document,d),function(a,b){function d(a,b,c,d,e){var f,g,h,i,j,k,l=a,m=e._carouselItemByCount(l);return e._lastCurrentIndex!==q(a)&&(null!==e._lastCurrentIndex&&e._ui.items.length!==e._numberOfCarouselItems&&e._rollItems(q(a)-e._lastCurrentIndex,q(a)),e._lastCurrentIndex=q(a)),f=b-m,f<-e._carouselCenterIndex?f+=e._numberOfCarouselItems:f>e._carouselCenterIndex&&(f-=e._numberOfCarouselItems),g=0>f?-1:1,h=Math.abs(f),i=1-d.scaleFactor*h,j=1-d.moveFactor*h,k=1-(d.enabled?d.scaleFactor:1)*h,i=0>i?0:i,k=0>k?0:k,j=g*(u*(1-j))+c,{moveY:j,scale:i,opacity:k}}function e(a){var c=a._carouselItems,e=a.options,f=a._itemHeight,g=a._objectValue,h=(a._containerHeight-f)/2;c.forEach(function(b,c){var f=d(g.value,c,h,e,a);f.opacity>0?b.element.style.transform="translateY("+f.moveY+"px) scale("+f.scale+")":b.element.style.transform="translateY(-1000px)",b.element.style.opacity=f.opacity}),b.event.trigger(a.element,"spinstep",parseInt(g.value,10))}var f=a.document,g=b.widget.BaseWidget,h=b.widget.core.Page,i=b.widget.core.Appbar,j=b.widget.core.BaseKeyboardSupport,k=b.engine,l=b.event,m=l.gesture,n=b.util.selectors,o=Math.max,p=Math.min,q=Math.round,r=b.util.Animate,s=300,t=600,u=100,v=60,w=13,x=500,y=10,z=function(){var a=this;a.options={min:0,max:9,step:1,moduloValue:"enabled",shortPath:"enabled",duration:t,direction:"up",rollHeight:"custom",itemHeight:38,momentumLevel:0,momentumDuration:800,scaleFactor:.4,moveFactor:.4,loop:"enabled",labels:[],digits:0,value:0,dragTarget:"document",vibration:y,enabled:!1},a._ui={scrollableParent:null,page:null,appbar:null},a._carouselItems=[],a._numberOfCarouselItems=w,a.length=(a.options.max-a.options.min)/a.options.step+1,a._prevValue=null,a._overflowYBeforeDrag=null,a._lastCurrentIndex=null,a._currentCentralCarouseItem=0,a._count=0,a._dragTimeoutHandler=null,j.call(a)},A="ui-spin",B={SPIN:A,PREFIX:A+"-",ITEM:A+"-item",SELECTED:A+"-item-selected",NEXT:A+"-item-next",PREV:A+"-item-prev",ENABLED:"enabled",ENABLING:A+"-enabling",PLACEHOLDER:A+"-placeholder",CAROUSEL:A+"-carousel",CAROUSEL_ITEM:A+"-carousel-item"},C=new g;z.classes=B,z.timing=r.timing,C._fillCarouselByCount=function(a){var b,c,d,e,f,g,h=this;for(a=q(a),g=0;g<h._numberOfCarouselItems;g++)h._carouselItems[g].element.firstElementChild&&h._carouselItems[g].element.removeChild(h._carouselItems[g].element.firstElementChild);for(c=h._numberOfCarouselItems-h.length,0>=c?(c=0,e=0,f=h._numberOfCarouselItems-1):(e=Math.floor(c/2),d=c-e,f=h._numberOfCarouselItems-d-1,(f-e+1)%2===0&&f++),g=e;f>=g;g++)b=h._itemByCount(a+g-h._carouselCenterIndex),b&&h._carouselItems[h._carouselItemByCount(a+g-h._carouselCenterIndex)].element.appendChild(b)},C._rollItems=function(a,b){var c,d,e=this,f=a>0?1:-1,g=q((e._numberOfCarouselItems-e._ui.items.length)/2);0>g&&(g=0),a=Math.abs(a),1===a?(c=e._carouselItems[e._carouselItemByCount(b+f*(e._carouselCenterIndex-g))],d=e._itemByCount(b+f*(e._carouselCenterIndex-g)),c.element.firstElementChild&&c.element.removeChild(c.element.firstElementChild),d&&c.element.appendChild(d)):a>1&&e._fillCarouselByCount(b)},C._removeSelectedLayout=function(){var a=this,b=a._itemByCount(a._previousCount);b&&b.classList.remove(B.SELECTED)},C._addSelectedLayout=function(){var a=this,b=a._itemByCount(a._count);b&&b.classList.add(B.SELECTED)},C._show=function(){var a=this,c=new r({}),d=null,f={value:a._previousCount};a._removeSelectedLayout(),d={animation:[{object:f,property:"value",to:a._count}],animationConfig:{duration:a.options.enabled?a.options.duration:1,timing:z.timing.ease}},a.state=d,a._objectValue=f,a._animation=c,c.set(d.animation,d.animationConfig),c.tick(e.bind(null,a)),c.start(function(){a._addSelectedLayout(),a._prevValue=a.options.value,a.options.value=a._getValueByCount(a._count),b.event.trigger(a.element,"spinchange",{value:parseFloat(a.options.value),dValue:parseFloat(a.options.value)-parseFloat(a._prevValue)})})},C._modifyItems=function(){var a,b=this,c=b.options,e=0,g=[],h=Math.abs(c.max-c.min)/c.step+1,i=0,j="",k=null,l=0;for(b._ui.items=g;h>l;l++)k=f.createElement("div"),k.classList.add(B.ITEM),g.push(k);for(i=0;h>i;i++){if(k=g[i],j="",b.options.labels.length)j=b.options.labels[i];else if(j+=c.min+i*c.step,c.digits>0)for(;j.length<c.digits;)j="0"+j;k.innerHTML=j}"container"===c.rollHeight?e=b._containerHeight:"custom"===c.rollHeight?e=c.itemHeight:(k=g[0],e=k?k.getBoundingClientRect().height:b._containerHeight),b._itemHeight=e,a=(b._containerHeight-e)/2,b._carouselItems.forEach(function(e,f){var g=d(b._valueToCount(c.value),f,a,c,b);e.element.style.transform="translateY("+g.moveY+"px) scale("+g.scale+")",e.element.style.opacity=g.opacity})},C._setItemHeight=function(a,b){b="string"==typeof b?parseInt(b.replace("px").trim(),10):b,this.options.itemHeight=b},C._updateItems=function(){var a=this;a._removeSelectedLayout(),a._modifyItems(),a._addSelectedLayout()},C._refresh=function(){var a=this,b=getComputedStyle(a.element).height||0;a._containerHeight=parseInt(b,10),a._modifyItems(),a._fillCarouselByCount(a._count),a._show()},C._init=function(){var a=this,b=a.options;b.min=b.min!==c?parseFloat(b.min):0,b.max=b.max!==c?parseFloat(b.max):0,b.value=b.value!==c?parseFloat(b.value):0,b.step=b.step!==c?parseFloat(b.step,10):1,b.duration=b.duration!==c?parseInt(b.duration,10):0,b.labels=Array.isArray(b.labels)?b.labels:b.labels.split(","),a.length=(b.max-b.min)/b.step+1,a._count=a._valueToCount(b.value),a.dragTarget="self"===b.dragTarget?a.element:f,a._refresh()},C._buildCarousel=function(a){var b,c=this,d=f.createElement("div"),e=f.createDocumentFragment(),g=0;for(c._carouselItems=[],c._numberOfCarouselItems=a,c._carouselCenterIndex=Math.floor(a/2),d.classList.add(B.CAROUSEL,B.PREFIX+a);a>g;g++)b=f.createElement("div"),b.id="cel-"+g,b.classList.add(B.CAROUSEL_ITEM),c._carouselItems[g]={element:b},e.appendChild(b);return d.appendChild(e),d},C._build=function(a){var b=f.createElement("div"),c=null,d=this;return a.classList.add(B.SPIN),b.classList.add(B.PLACEHOLDER),a.appendChild(b),c=d._buildCarousel(d._numberOfCarouselItems),a.appendChild(c),d._ui.carousel=c,d._ui.placeholder=b,a},C._valueToCount=function(a){var b=this;return(a-b.options.min)/b.options.step||0},C._setValue=function(c){var d,e=this,f=e.options;c=a.parseFloat(c,10),e._ui.placeholder.textContent=c,isNaN(c)?b.warn("Spin: value is not a number"):((c<f.min||c>f.max)&&"disabled"===f.loop&&(c=p(o(c,f.min),f.max)),c!==f.value&&(e._previousCount=e._count,e._count=e._valueToCount(c),"enabled"===f.loop&&"enabled"===f.shortPath&&(d=e._count-e._previousCount,Math.abs(d)>e.length/2&&(0>d?e._count+=e.length:d>0&&(e._count-=e.length))),f.value=c,e.element.dataset.value=c,e._stopAnimation(),e._show()))},C._stopAnimation=function(){var a=this,b=a.state.animation[0];null!==b&&b.to!==b.current&&a._animation.stop()},C._carouselItemByCount=function(a){var b=this._carouselCenterIndex,c=(a+b)%this._numberOfCarouselItems;return 0>c&&(c+=this._numberOfCarouselItems),c},C._getValueByCount=function(a){var b,c,d=this,e=d.options;return"enabled"!==e.loop?b=a*e.step+e.min:a>=0?b=a%d.length*e.step+e.min:(c=a%d.length||0,0>c&&(c+=d.length),b=c*e.step+e.min),b},C._getValue=function(){var a=this,b=a.options,c=a._getValueByCount(a._count);return"enabled"!==a.options.loop&&(a._objectValue.value=p(o(c,b.min),b.max)),c},C._setMax=function(a,b){var d=this.options;d.max=b!==c?parseFloat(b):0,this.length=(d.max-d.min)/d.step+1},C._setMin=function(a,b){var d=this.options;d.min=b!==c?parseFloat(b):0,this.length=(d.max-d.min)/d.step+1},C._setStep=function(a,b){var d=this.options;d.step=b!==c?parseFloat(b):0,this.length=(d.max-d.min)/d.step+1},C._setLabels=function(a,b){var c=this;c.options.labels=b.split(","),c._refresh()},C._setModuloValue=function(a,b){this.options.moduloValue="enabled"===b?"enabled":"disabled"},C._setShortPath=function(a,b){this.options.shortPath="enabled"===b?"enabled":"disabled"},C._setLoop=function(a,b){this.options.loop="enabled"===b?"enabled":"disabled"},C._setDuration=function(b,c){this.options.duration=a.parseInt(c,10)},C._setEnabled=function(b,c){var d=this;return d.options.enabled="false"===c?!1:c,d.options.enabled?(b.classList.add(B.ENABLING),a.setTimeout(function(){b.classList.remove(B.ENABLING)},s),b.classList.add(B.ENABLED),l.on(d.dragTarget,"drag dragend dragstart",d),l.on(d.dragTarget,"vmousedown vmouseup",d)):(b.classList.add(B.ENABLING),a.setTimeout(function(){b.classList.remove(B.ENABLING),d.refresh()},s),b.classList.remove(B.ENABLED),l.off(d.dragTarget,"drag dragend dragstart",d),l.off(d.dragTarget,"vmousedown vmouseup",d),d._animation.stop()),this._prevValue=null,!0},C._setDirection=function(a,b){this.options.direction=["up","down"].indexOf(b)>-1?b:"up"},C._drag=function(c){var d,g=this,h=g.options;null===f.getElementById(g.element.id)?l.off(g.dragTarget,"drag dragend dragstart",g):h.enabled&&(d=q(g._count),g._objectValue.value=g._startDragCount-c.detail.deltaY/v,"enabled"!==h.loop&&(g._objectValue.value=p(o(g._objectValue.value,0),g.length-1)),e(g),h.vibration>0&&d!==q(g._count)&&"function"==typeof a.navigator.vibrate&&a.navigator.vibrate(h.vibration)),a.clearTimeout(g._dragTimeoutHandler),g._dragTimeoutHandler=a.setTimeout(function(){g._dragEnd({detail:{velocityY:c.velocityY,distance:c.distance,direction:c.direction}}),g._dragTimeoutHandler=null,b.event.gesture.Manager.getInstance().resetDetecting()},x)},C._dragStart=function(){var a=this;a._animation.pause(),a._startDragCount=a._count,a._previousCount=a._count,a._removeSelectedLayout()},C._dragEnd=function(b){var c=this,d=c._animation._animate.chain[0],e=0,f=c.options.duration;a.clearTimeout(c._dragTimeoutHandler),c.options.momentumLevel>0&&b.detail.velocityY>.7&&b.detail.distance?(e=c.options.momentumLevel*q(b.detail.distance/20),"up"===b.detail.direction&&(e=-e),c._count=q(c._objectValue.value)-e||0,"enabled"!==c.options.loop&&(c._count=p(o(c._count,0),c.length-1)),f=c.options.momentumDuration,d[0].timing=z.timing.easeOut):(c._count=q(c._objectValue.value)||0,"enabled"!==c.options.loop&&(c._count=p(o(c._count,0),c.length-1)),f=Math.abs(c._count-c._objectValue.value)*f),d[0].from=c._objectValue.value,d[0].to=c._count,d[0].duration=f,c._animation.start(c._animation._animate.callback)},C._vmouseDown=function(){var a=this,c=a._ui;c.scrollableParent=n.getScrollableParent(a.element),c.scrollableParent&&(a._overflowYBeforeDrag=c.scrollableParent.style.overflowY,c.scrollableParent.style.overflowY="hidden"),c.page=n.getClosestBySelector(a.element,h.selector),c.page&&(c.appbar=c.page.querySelector(i.selector),c.appbar&&b.widget.Appbar(c.appbar).lockExpanding(!0))},C._vmouseUp=function(){var a=this,c=a._ui;c.scrollableParent&&(c.scrollableParent.style.overflowY=a._overflowYBeforeDrag),c.appbar&&b.widget.Appbar(c.appbar).lockExpanding(!1)},C._itemIndexByValue=function(a){var b=this.options;return q((a-b.min)/b.step)},C._itemByCount=function(a){var b=this,c=b._getValueByCount(a),d=b._itemIndexByValue(c);return d>=0?b._ui.items[d]:null},C._click=function(a){var b=this,c=a.target,d=b._ui.items,e=b._count,f=d.indexOf(c);!b.element.classList.contains(B.ENABLING)&&f>-1&&(b._previousCount=e,c===b._itemByCount(e-1)?b._count--:c===b._itemByCount(e+1)&&b._count++,b._previousCount!==b._count&&b._show())},C.handleEvent=function(a){var b=this;switch(a.type){case"drag":b._drag(a);break;case"vmousedown":b._vmouseDown(a);break;case"vmouseup":b._vmouseUp(a);break;case"dragend":b._dragEnd(a);break;case"dragstart":b._dragStart(a);break;case"vclick":b._click(a);break;case"keyup":b._onKeyUp(a)}},C._bindEvents=function(){var a=this;l.enableGesture(a.dragTarget,new m.Drag({blockHorizontal:!0,threshold:7})),l.on(a.element,"vclick",a),l.on(f,"keyup",a,!0)},C._unbindEvents=function(){var a=this;l.disableGesture(a.dragTarget),l.off(a.dragTarget,"drag dragend dragstart",a),l.off(a.element,"vclick",a),l.off(f,"keyup",a,!0)},C._decreaseValue=function(){var a=this;a._setValue(a.options.value-(parseFloat(a.options.step)||1))},C._increaseValue=function(){var a=this;a._setValue(a.options.value+(parseFloat(a.options.step)||1))},C._focus=function(){this.element.classList.add("ui-focus")},C._blur=function(){this.element.classList.remove("ui-focus")},C._actionEnter=function(){var a=this;a.element.classList.add("ui-active"),a.saveKeyboardSupport(),a.enableKeyboardSupport()},C._actionEscape=function(){var a=this;a.element.classList.remove("ui-active"),a.disableKeyboardSupport(),a.restoreKeyboardSupport()},C._onKeyUp=function(a){var b=this,c=j.KEY_CODES;if(b._supportKeyboard)switch(a.keyCode){case c.escape:case c.left:case c.right:b._actionEscape();break;case c.enter:a.preventDefault(),a.stopImmediatePropagation(),b._actionEscape();break;case c.down:b._decreaseValue();break;case c.up:b._increaseValue()}},C._destroy=function(){var a=this,b=a.element,c=a._ui;a._unbindEvents(),c.items.forEach(function(a){a.parentNode&&a.parentNode.removeChild(a)}),a._carouselItems.forEach(function(a){a.element.parentNode.removeChild(a.element)}),b.removeChild(c.carousel),b.removeChild(c.placeholder),b.classList.remove(B.SPIN)},z.prototype=C,b.widget.core.Spin=z,k.defineWidget("Spin",".ui-spin",[],z,"core"),j.registerActiveSelector(".ui-spin")}(a,d),function(a,b){var c=b.widget.core.Spin,d=c.prototype,e=b.engine,f=b.util.object,g=f.copy(c.classes),h=function(){var a=this,b={scaleFactor:0,moveFactor:.5,itemHeight:54,dragTarget:"self"};c.call(a),a.options=a.options?f.fastMerge(a.options,b):b},i=new c;i._init=function(){var a=this;d._init.call(a),a.option("enabled",!0)},h.prototype=i,h.classes=g,h.timing=c.timing,b.widget.mobile.Spin=h,e.defineWidget("Spin",".ui-spin",[],h,"mobile",!0)}(a,d),function(a,b,d){function e(a,b){var c=b.toString().split(a).join("");return 0===c.length?a:c}var f=d.widget.mobile.BaseWidgetMobile,g=d.engine,h=d.event,i=d.util.selectors.getClosestByClass,j=d.widget.mobile.Spin,k="ui-time-picker",l={CONTAINER:k+"-container",HOUR_CONTAINER:k+"-container-hour",MINUTE_CONTAINER:k+"-container-minute",FORMAT_CONTAINER:k+"-container-format",ACTIVE_CONTAINER:k+"-container-active",TIME_INPUT:k+"-input",TIME_INPUT_ACTIVE:k+"-input-active"},m="."+k,n=function(){this.options={format:"12"},this._spins={hour:null,minute:null,format:null},this._ui={},this._previousInputValue=-1,this._inputValueState=!1},o=new f;n.classes=l,o._init=function(){var a=this,b=a.options;b.format=b.format!==c?b.format:"12",a._setValue(new Date),a.option("format",b.format),Object.keys(a._spins).forEach(function(b){a._spins[b].refresh()})},o._build=function(a){var b=this,c=b._buildTimePicker("hour"),d=b._buildTimePicker("minute"),e=b._buildFormat();return a.appendChild(c),a.appendChild(d),a.appendChild(e),a},o._buildTimePicker=function(a){var c,e=this,f=e._ui,g=b.createElement("div"),h=b.createElement("input"),i=b.createElement("div"),k={momentumLevel:1};return g.classList.add(j.classes.SPIN),i.classList.add(n.classes.CONTAINER),"hour"===a?("24"===e.options.format?(k.min=0,k.max=23):(k.min=1,k.max=12),i.classList.add(n.classes.HOUR_CONTAINER)):"minute"===a&&(k.min=0,k.max=59,k.digits=2,i.classList.add(n.classes.MINUTE_CONTAINER)),h.min=k.min,h.max=k.max,h.type="number",h.step="1",h.classList.add(n.classes.TIME_INPUT),g.appendChild(h),i.appendChild(g),f[a+"Spin"]=g,f[a+"Input"]=h,f[a+"Container"]=i,c=d.widget.Spin(g,k),e._spins[a]=c,i},o._buildFormat=function(){var a,c=this,e=b.createElement("div"),f=b.createElement("div"),g={min:0,max:1,labels:"AM,PM",loop:"false"};return e.classList.add(j.classes.SPIN),f.classList.add(n.classes.CONTAINER),f.classList.add(n.classes.FORMAT_CONTAINER),f.appendChild(e),a=d.widget.Spin(e,g),c._spins.format=a,f},o._setDateValue=function(a){var b,c,d=this,e=d._ui,f=d._spins;b=a.getHours(),c=a.getMinutes(),"12"===d.options.format&&(b>12?(b-=12,f.format.value(1)):f.format.value(0)),e.hourInput.setAttribute("value",b),e.hourInput.value=b,e.minuteInput.setAttribute("value",c),e.minuteInput.value=c,f.hour.value(b),f.minute.value(c)},o._setInputValue=function(a,b,c){var d=this,e=d._ui,f=d._spins;"hour"===a?(e.hourInput.setAttribute("value",b),e.hourInput.value=b,f.hour.value(b)):"minute"===a&&(e.minuteInput.setAttribute("value",b),e.minuteInput.value=b,f.minute.value(b)),d._previousInputValue=b,d._inputValueState=c},o._focusInput=function(a){var b=this,c=b._ui;"hour"===a?(b.element.classList.add(n.classes.TIME_INPUT_ACTIVE),c.hourContainer.classList.add(n.classes.ACTIVE_CONTAINER),c.minuteContainer.classList.remove(n.classes.ACTIVE_CONTAINER),c.hourInput.focus(),b._previousInputValue=c.hourInput.value):"minute"===a&&(b.element.classList.add(n.classes.TIME_INPUT_ACTIVE),c.minuteContainer.classList.add(n.classes.ACTIVE_CONTAINER),c.hourContainer.classList.remove(n.classes.ACTIVE_CONTAINER),c.minuteInput.focus(),b._previousInputValue=c.minuteInput.value),b._inputValueState=!1},o._setValue=function(a){var b=this;a instanceof Date&&b._setDateValue(a)},o._getValue=function(){var a=new Date(0),b=this,c=b._spins,d=parseInt(c.hour.value(),10);return"12"===b.options.format&&1===c.format.value()&&(d+=12),a.setHours(d),a.setMinutes(parseInt(c.minute.value(),10)),a},o._onClick=function(a){var b=this,c=b._ui,d=b.element,e=a.target,f=c.hourContainer,g=c.minuteContainer,h=i(e,n.classes.CONTAINER);h&&h.classList.contains(n.classes.HOUR_CONTAINER)&&i(e,j.classes.SELECTED)?b._focusInput("hour"):h&&h.classList.contains(n.classes.MINUTE_CONTAINER)&&i(e,j.classes.SELECTED)?b._focusInput("minute"):(d.classList.remove(n.classes.TIME_INPUT_ACTIVE),g.classList.remove(n.classes.ACTIVE_CONTAINER),f.classList.remove(n.classes.ACTIVE_CONTAINER))},o._onInputChange=function(a){var b,c=this,d=c._ui,f=c.options,g=a.target.value,h=i(a.target,n.classes.CONTAINER);if(h&&h.classList.contains(n.classes.HOUR_CONTAINER))if(c._inputValueState){if(b=parseInt(g,10),b>d.hourInput.max||b<d.hourInput.min)return void c._setInputValue("hour",c._previousInputValue,!0);c._setInputValue("hour",b,!1),c._focusInput("minute")}else b=parseInt(e(c._previousInputValue,g),10),c._setInputValue("hour",b,!0),("12"===f.format&&b>1||"24"===f.format&&b>2)&&c._focusInput("minute");else if(h&&h.classList.contains(n.classes.MINUTE_CONTAINER))if(c._inputValueState){if(b=parseInt(g,10),b>d.minuteInput.max||b<d.minuteInput.min)return void c._setInputValue("minute",c._previousInputValue,!1);c._setInputValue("minute",b,!1)}else b=parseInt(e(c._previousInputValue,g),10),c._setInputValue("minute",b,!0)},o._onSpinChange=function(a){var b=this,c=i(a.target,n.classes.CONTAINER);c&&c.classList.contains(n.classes.HOUR_CONTAINER)?b._setInputValue("hour",a.detail.value,!1):c&&c.classList.contains(n.classes.MINUTE_CONTAINER)&&b._setInputValue("minute",a.detail.value,!1)},o.handleEvent=function(a){var b=this;switch(a.type){case"click":b._onClick(a);break;case"input":b._onInputChange(a);break;case"spinchange":b._onSpinChange(a)}},o._bindEvents=function(){var a=this,c=a._ui;h.on(b,"click",a),h.on(c.hourInput,"input",a),h.on(c.minuteInput,"input",a),h.on(c.hourSpin,"spinchange",a),h.on(c.minuteSpin,"spinchange",a)},o._unbindEvents=function(){var a=this,c=a._ui;h.off(b,"click",a),h.off(c.hourInput,"input",a),h.off(c.minuteInput,"input",a),h.off(c.hourSpin,"spinchange",a),h.off(c.minuteSpin,"spinchange",a)},o._destory=function(){var a=this,b=a._spins;Object.keys(b).forEach(function(a){b[a]._destory()}),a._unbindEvents()},n.prototype=o,d.widget.mobile.TimePicker=n,g.defineWidget("TimePicker",m,[],n,"mobile")}(a,a.document,a.tau),function(a,b,d){var e=d.widget.mobile.BaseWidgetMobile,f=d.engine,g=d.event,h=d.util.selectors.getClosestByClass,i=d.widget.mobile.Spin,j="ui-date-picker",k={HEADER:j+"-header",CONTENT:j+"-content",CONTAINER:j+"-container",DAY_CONTAINER:j+"-container-day",MONTH_CONTAINER:j+"-container-month",YEAR_CONTAINER:j+"-container-year"},l=["January","February","March","April","May","June","July","August","September","October","November","December"],m=1900,n=2050,o="."+j,p=function(){this.options={view:"wheel"},this._spins={day:null,month:null,year:null},this._ui={header:null}},q=new e;p.classes=k,q._init=function(){var a=this;a._setValue(new Date),a._changeMonth(a._getDateValue("month")),Object.keys(a._spins).forEach(function(b){a._spins[b].refresh()})},q._buildDatePicker=function(a){var c,e=this,f=e._ui,g=b.createElement("div"),h=b.createElement("div"),j={momentumLevel:1};return g.classList.add(i.classes.SPIN),h.classList.add(p.classes.CONTAINER),"day"===a?(j={min:1,max:31,momentumLevel:1},h.classList.add(p.classes.DAY_CONTAINER)):"month"===a?(j={min:1,max:l.length,labels:l.map(function(a){return a.toUpperCase().substring(0,3)}).join(","),momentumLevel:1},h.classList.add(p.classes.MONTH_CONTAINER)):"year"===a&&(j={min:m,max:n,value:2020,momentumLevel:1},h.classList.add(p.classes.YEAR_CONTAINER)),h.appendChild(g),f[a+"Spin"]=g,c=d.widget.Spin(g,j),e._spins[a]=c,h},q._build=function(a){var c=this,d=c._ui,e=b.createElement("div"),f=b.createElement("div"),g=c._buildDatePicker("day"),h=c._buildDatePicker("month"),i=c._buildDatePicker("year");return e.classList.add(p.classes.HEADER),a.appendChild(e),d.header=e,f.classList.add(p.classes.CONTENT),f.appendChild(g),f.appendChild(h),f.appendChild(i),a.appendChild(f),a},q._getValue=function(){return this._value},q._getDateValue=function(a){var b=this._value;switch(a){case"day":return b.getDate();case"month":return b.getMonth()+1;case"year":return b.getFullYear();default:return b}},q._setValue=function(a){var b,c=this,d=c._spins;a instanceof Date&&(c._value=a,Object.keys(d).forEach(function(a){d[a].value(c._getDateValue(a))}),b=l[a.getMonth()]+" "+a.getFullYear(),c._ui.header.innerHTML=b)},q._changeDay=function(a){var b=this,c=b.value();c.setDate(a),b.value(c)},q._dayInMonth=function(a,b){return a===c&&(a=this._getDateValue("year")),b===c&&(b=this._getDateValue("month")),new Date(a,b,0).getDate()},q._changeMonth=function(a){var b,c=this,d=c._spins,e=c.value(),f=e.getDate();b=c._dayInMonth(e.getFullYear(),a),f>b&&(f=b),e.setDate(f),e.setMonth(a-1),d.day.option("max",b),d.day._prevValue=f,d.day._updateItems(),c.value(e)},q._changeYear=function(a){var b,c=this,d=c._spins,e=c.value(),f=e.getMonth(),g=e.getDate();b=c._dayInMonth(a,f+1),g>b&&(g=b),e.setFullYear(a),e.setDate(g),d.day.option("max",b),d.day._updateItems(),c.value(e)},q._onSpinChange=function(a){var b=this,c=h(a.target,p.classes.CONTAINER);c&&c.classList.contains(p.classes.DAY_CONTAINER)?b._changeDay(a.detail.value):c&&c.classList.contains(p.classes.MONTH_CONTAINER)?b._changeMonth(a.detail.value):c&&c.classList.contains(p.classes.YEAR_CONTAINER)&&b._changeYear(a.detail.value)},q.handleEvent=function(a){var b=this;"spinchange"===a.type&&b._onSpinChange(a)},q._bindEvents=function(){var a=this,b=a._ui;g.on(b.daySpin,"spinchange",a,!1),g.on(b.monthSpin,"spinchange",a,!1),g.on(b.yearSpin,"spinchange",a,!1)},q._unbindEvents=function(){var a=this,b=a._ui;g.off(b.daySpin,"spinchange",a,!1),g.off(b.monthSpin,"spinchange",a,!1),g.off(b.yearSpin,"spinchange",a,!1)},p.prototype=q,d.widget.mobile.DatePicker=p,f.defineWidget("DatePicker",o,[],p,"mobile")}(a,a.document,a.tau),function(a,b,d){function e(a,b){var c=b.toString().split(a).join("");return 0===c.length?a:c}var f=d.widget.mobile.BaseWidgetMobile,g=d.engine,h=d.event,i=d.util.selectors.getClosestByClass,j=d.widget.mobile.Spin,k="ui-datetime-picker-wheel",l={WIDGET:k,CONTAINER:k+"-container",HOUR_CONTAINER:k+"-container-hour",MINUTE_CONTAINER:k+"-container-minute",FORMAT_CONTAINER:k+"-container-format",DATE_CONTAINER:k+"-container-date",ACTIVE_CONTAINER:k+"-container-active",TIME_INPUT:k+"-input",TIME_INPUT_ACTIVE:k+"-input-active",SEPARATOR:k+"-container-separator"},m="."+k,n=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],o=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],p=function(){this.options={format:"12",value:(new Date).toUTCString()},this._spins={date:null,hour:null,minute:null,format:null},this._ui={},this._previousInputValue=-1,this._inputValueState=!1},q={SELECTED:"datetimepickerwheelselected",CHANGE:"datetimepickerwheelchange"},r=new f;p.classes=l,r._init=function(){var a=this,b=a.options;b.format=b.format!==c?b.format:"12",a._setValue(b.value),a.option("format",b.format),Object.keys(a._spins).forEach(function(b){a._spins[b].refresh()})},r._build=function(a){var c=this,d=c._buildDatePicker(),e=c._buildDateTimePickerWheel("hour"),f=c._buildDateTimePickerWheel("minute"),g=c._buildFormat(),h=b.createElement("div");return a.classList.add(l.WIDGET),h.classList.add(l.SEPARATOR),a.appendChild(d),a.appendChild(e),a.appendChild(h),a.appendChild(f),a.appendChild(g),a},r._buildDateTimePickerWheel=function(a){var c,e=this,f=e._ui,g=b.createElement("div"),h=b.createElement("input"),i=b.createElement("div"),k={momentumLevel:1};return g.classList.add(j.classes.SPIN),i.classList.add(l.CONTAINER),"hour"===a?("24"===e.options.format?(k.min=0,k.max=23):(k.min=1,k.max=12),i.classList.add(l.HOUR_CONTAINER)):"minute"===a&&(k.min=0,k.max=59,k.digits=2,i.classList.add(l.MINUTE_CONTAINER)),h.min=k.min,h.max=k.max,h.type="number",h.step="1",h.classList.add(l.TIME_INPUT),g.appendChild(h),i.appendChild(g),f[a+"Spin"]=g,f[a+"Input"]=h,f[a+"Container"]=i,c=d.widget.Spin(g,k),e._spins[a]=c,i},r._buildDatePicker=function(a){var c,e,f,g,h=this,i=h._ui,k=b.createElement("div"),m=b.createElement("div"),p={};for(a=a||new Date,g=a.getFullYear(),e=new Date(g.toString()),f=e,k.classList.add(j.classes.SPIN),m.classList.add(l.CONTAINER),m.classList.add(l.DATE_CONTAINER),p.labels=[];f.getFullYear()===g;)p.labels.push(n[f.getDay()]+", "+o[f.getMonth()]+" "+f.getDate()),f.setDate(f.getDate()+1);return p.min=0,p.max=p.labels.length-1,p.loop=!1,p.momentumLevel=1,m.appendChild(k),i.dateSpin=k,i.dateContainer=m,c=d.widget.Spin(k,p),h._spins.date=c,h._year=g,m},r._buildFormat=function(){var a,c=this,e=b.createElement("div"),f=b.createElement("div"),g={min:0,max:1,labels:"AM,PM",loop:"false"};return e.classList.add(j.classes.SPIN),f.classList.add(l.CONTAINER),f.classList.add(l.FORMAT_CONTAINER),f.appendChild(e),a=d.widget.Spin(e,g),c._spins.format=a,f},r._setDateValue=function(a){var b,c,d,e=this,f=e._ui,g=e._spins,h=864e5;b=a.getHours(),c=a.getMinutes(),"12"===e.options.format&&(b>12?(b-=12,g.format.value(1)):g.format.value(0)),f.hourInput.setAttribute("value",b),f.hourInput.value=b,f.minuteInput.setAttribute("value",c),f.minuteInput.value=c,d=new Date(a.getFullYear(),0,1),g.date.value(Math.floor((a-d)/h)),g.hour.value(b),g.minute.value(c),e.options.value=a},r._setInputValue=function(a,b,c){var d=this,e=d._ui,f=d._spins;"hour"===a?(e.hourInput.setAttribute("value",b),e.hourInput.value=b,f.hour.value(b)):"minute"===a&&(e.minuteInput.setAttribute("value",b),e.minuteInput.value=b,f.minute.value(b)),d._previousInputValue=b,d._inputValueState=c},r._focusInput=function(a){var b=this,c=b._ui;"hour"===a?(b.element.classList.add(l.TIME_INPUT_ACTIVE),c.hourContainer.classList.add(l.ACTIVE_CONTAINER),c.minuteContainer.classList.remove(l.ACTIVE_CONTAINER),c.hourInput.focus(),b._previousInputValue=c.hourInput.value):"minute"===a&&(b.element.classList.add(l.TIME_INPUT_ACTIVE),c.minuteContainer.classList.add(l.ACTIVE_CONTAINER),c.hourContainer.classList.remove(l.ACTIVE_CONTAINER),c.minuteInput.focus(),b._previousInputValue=c.minuteInput.value),b._inputValueState=!1},r._setValue=function(a){var b=this;"string"==typeof a&&(a=new Date(a)),a instanceof Date&&b._setDateValue(a)},r._getValue=function(){var a=this,b=new Date(a.options.value),c=a._spins,d=parseInt(c.hour.value(),10);return"12"===a.options.format&&1===c.format.value()&&(d+=12),b.setHours(d),b.setMinutes(parseInt(c.minute.value(),10)),b},r._onClick=function(a){var b=this,c=b._ui,d=b.element,e=a.target,f=c.hourContainer,g=c.minuteContainer,k=i(e,l.CONTAINER);k&&k.classList.contains(l.HOUR_CONTAINER)&&i(e,j.classes.SELECTED)?b._focusInput("hour"):k&&k.classList.contains(l.MINUTE_CONTAINER)&&i(e,j.classes.SELECTED)?b._focusInput("minute"):k&&k.classList.contains(l.DATE_CONTAINER)&&i(e,j.classes.SELECTED)?h.trigger(b.element,q.SELECTED,{datetime:b._getValue()}):(d.classList.remove(l.TIME_INPUT_ACTIVE),g.classList.remove(l.ACTIVE_CONTAINER),f.classList.remove(l.ACTIVE_CONTAINER))},r._onInputChange=function(a){var b,c=this,d=c._ui,f=c.options,g=a.target.value,h=i(a.target,l.CONTAINER);if(h&&h.classList.contains(l.HOUR_CONTAINER))if(c._inputValueState){if(b=parseInt(g,10),b>d.hourInput.max||b<d.hourInput.min)return void c._setInputValue("hour",c._previousInputValue,!0);c._setInputValue("hour",b,!1),c._focusInput("minute")}else b=parseInt(e(c._previousInputValue,g),10),c._setInputValue("hour",b,!0),("12"===f.format&&b>1||"24"===f.format&&b>2)&&c._focusInput("minute");else if(h&&h.classList.contains(l.MINUTE_CONTAINER))if(c._inputValueState){
+if(b=parseInt(g,10),b>d.minuteInput.max||b<d.minuteInput.min)return void c._setInputValue("minute",c._previousInputValue,!1);c._setInputValue("minute",b,!1)}else b=parseInt(e(c._previousInputValue,g),10),c._setInputValue("minute",b,!0)},r._onSpinChange=function(a){var b=this,c=i(a.target,l.CONTAINER);c&&c.classList.contains(l.HOUR_CONTAINER)?b._setInputValue("hour",a.detail.value,!1):c&&c.classList.contains(l.MINUTE_CONTAINER)?b._setInputValue("minute",a.detail.value,!1):c&&c.classList.contains(l.DATE_CONTAINER)&&b._setDate(new Date(b._year,0,a.detail.value+1)),d.event.trigger(b.element,"datetimepickerwheelchange",{date:b._getValue()})},r._setDate=function(a){var b=new Date(this.options.value);"string"==typeof a&&(a=new Date(a)),a instanceof Date&&(b.setFullYear(a.getFullYear()),b.setMonth(a.getMonth()),b.setDate(a.getDate()),this.options.value=b)},r.handleEvent=function(a){var b=this;switch(a.type){case"vclick":b._onClick(a);break;case"input":b._onInputChange(a);break;case"spinchange":b._onSpinChange(a)}},r._bindEvents=function(){var a=this,b=a._ui;h.on(a.element,"vclick",a),h.on(b.hourInput,"input",a),h.on(b.minuteInput,"input",a),h.on(b.hourSpin,"spinchange",a),h.on(b.minuteSpin,"spinchange",a),h.on(b.dateSpin,"spinchange",a)},r._unbindEvents=function(){var a=this,b=a._ui;h.off(a.element,"vclick",a),h.off(b.hourInput,"input",a),h.off(b.minuteInput,"input",a),h.off(b.hourSpin,"spinchange",a),h.off(b.minuteSpin,"spinchange",a),h.off(b.dateSpin,"spinchange",a)},r._destory=function(){var a=this,b=a._spins;Object.keys(b).forEach(function(a){b[a]._destory()}),a._unbindEvents()},p.prototype=r,d.widget.mobile.DateTimePickerWheel=p,g.defineWidget("DateTimePickerWheel",m,[],p,"mobile")}(a,a.document,a.tau),function(a,b){function d(a){var b=a.insertCell();return b.insertAdjacentHTML("afterbegin","<div></div>"),b.firstChild}var e=b.util.object,f=b.widget.core.BaseKeyboardSupport,g=b.engine,h=b.event,i=["MON","TUE","WED","THU","FRI","SAT","SUN"],j=["January","February","March","April","May","June","July","August","September","October","November","December"],k={WIDGET:"ui-calendar",PREV_MONTH_DAY:"ui-calendar-prev-month-day",NEXT_MONTH_DAY:"ui-calendar-next-month-day",CURRENT_MONTH_DAY:"ui-calendar-current-month-day",DISABLED:"ui-calendar-disabled",ARROW_DISABLED:"ui-calendar-disabled-arrow",SELECTION:"ui-calendar-selection",CONTROLLER:"ui-calendar-controller",ARROW:"ui-calendar-arrow",ARROW_RIGHT:"ui-calendar-right-arrow",ARROW_LEFT:"ui-calendar-left-arrow",ONE_WEEK:"ui-calendar-one-week",TOP_SPACE:"ui-calendar-top-space",SWITCH_VIEW:"ui-calendar-switch",CALENDAR_VIEW:"ui-calendar-view",FOCUS:"ui-focus"},l={pastSelection:!1,closeOnSelect:!1},m=function(){var a=this;a.options=e.merge({},l),a._value=new Date,a._dateData=a._value,a._todayYear=a._dateData.getFullYear(),a._todayMonth=a._dateData.getMonth()+1,a._defaultToday=a._dateData.getUTCDate(),a._selectDay=null,a._activeMonth=null,a._fixMonth=null,a._loadTodayFlag=!0,a._hours=a._dateData.getHours(),a._minutes=a._dateData.getMinutes(),a._seconds=a._dateData.getSeconds(),a._ui={"switch":null,leftArrow:null,rightArrow:null,calendarView:null},f.call(a)},n=b.widget.BaseWidget,o=new n;m.prototype=o,m.classes=k,o._init=function(a){var b=this;return b._ui.calendarView=a.querySelector("."+k.CALENDAR_VIEW),b._ui["switch"]=a.querySelector("."+k.SWITCH_VIEW),b._ui.leftArrow=a.querySelector("."+k.ARROW_LEFT),b._ui.rightArrow=a.querySelector("."+k.ARROW_RIGHT),b.options.pastSelection||b._ui.leftArrow.classList.add(k.ARROW_DISABLED),null===b._activeMonth&&(b._fixMonth=b._activeMonth=b._todayMonth),null===b._selectDay&&(b._selectDay=b._defaultToday),b._buildCalendar(b._ui.calendarView),a},o._buildCalendar=function(a){var c,e,f=this,g=f._ui,h=new Date(f._todayYear,f._todayMonth-1,0),i=new Date(f._todayYear,f._todayMonth,0),l=h.getDay(),m=h.getDate(),n=i.getDate(),o=Math.ceil(n/7)+1,p=7,q=1,r=1,s=a.insertRow(),t=null;for(s.style.height="7px",c=1;o+1>c;c++){for(e=a.insertRow();0!=l;)l-=1,p-=1,t=d(e),t.classList.add(k.PREV_MONTH_DAY),t.innerHTML=m-l,f._fixMonth!==f._todayMonth||f.options.pastSelection||t.classList.add(k.DISABLED),f.isKeyboardSupport&&b.getConfig("keyboardSupport")&&t.setAttribute("tabindex","0");for(;0!=p;)t=d(e),q>n?(t.classList.add(k.NEXT_MONTH_DAY),t.innerHTML=r,p-=1,r+=1):(t.innerHTML=q,t.classList.add(k.CURRENT_MONTH_DAY),q+=1,p-=1,f._defaultToday>parseInt(t.innerHTML,10)&&(f._fixMonth!==f._todayMonth||f.options.pastSelection||t.classList.add(k.DISABLED)),f._loadTodayFlag&&t.innerHTML===f._defaultToday.toLocaleString()?(t.classList.add(k.SELECTION),f._selectDay=t,f._activeMonth=f._todayMonth,f._loadTodayFlag=!1):f._activeMonth===f._todayMonth&&t.innerHTML===f._selectDay.innerHTML&&(t.classList.add(k.SELECTION),f._selectDay=t)),f.isKeyboardSupport&&b.getConfig("keyboardSupport")&&t.setAttribute("tabindex","0");p=7}f.options.pastSelection||g.leftArrow.classList.toggle(k.DISABLED,f._fixMonth==f._todayMonth),g["switch"].innerHTML=j[f._todayMonth-1]+" "+f._todayYear},o._deleteCalendar=function(a){for(;a.rows.length>2;)a.deleteRow(2)},o._onClick=function(a){var b=this,c=b._ui,d=a.target,e=d.classList;e.contains(k.DISABLED)||(d===c.rightArrow?b._moveMonth(1):d===c.leftArrow?b._moveMonth(-1):d===c["switch"]?h.trigger(b.element,"calendarswitch",{date:b._getValue()}):("TD"===d.tagName&&(d=d.querySelector("div"),e=d?d.classList:null),!e||e.contains(k.SELECTION)||e.contains(k.DISABLED)||(e.contains(k.PREV_MONTH_DAY)?(b._moveMonth(-1),b._selection(d.innerHTML),b.options.closeOnSelect&&h.trigger(b.element,"calendarswitch",{date:b._getValue()})):e.contains(k.NEXT_MONTH_DAY)&&(b._moveMonth(1),b._selection(d.innerHTML),b.options.closeOnSelect&&h.trigger(b.element,"calendarswitch",{date:b._getValue()})),e.contains(k.CURRENT_MONTH_DAY)&&(b._selection(d.innerHTML),b.options.closeOnSelect&&h.trigger(b.element,"calendarswitch",{date:b._getValue()})))))},o._setValue=function(a){var b=this;"string"==typeof a&&(a=new Date(a)),a instanceof Date&&(b._value=a,b._hours=a.getHours(),b._minutes=a.getMinutes(),b._seconds=a.getSeconds(),b._setMonth(a.getMonth()+1),b._selection(a.getDate()))},o._getValue=function(){return new Date(this._value)},o._moveMonth=function(a){var b=this;0!==a&&(b._todayMonth=b._todayMonth+a,0===b._todayMonth&&(b._todayMonth=12,b._todayYear=b._todayYear-1),13===b._todayMonth&&(b._todayMonth=1,b._todayYear=b._todayYear+1)),b._updateCalendar()},o._setYear=function(a){var b=this;b._todayYear!==a&&(b._todayYear=a,b._updateCalendar())},o._setMonth=function(a){var b=this;b._todayMonth!==a&&(b._todayMonth=a,b._updateCalendar())},o._updateCalendar=function(){var a=this,b=a._ui.calendarView;a._deleteCalendar(b),a._dateData=new Date(a._todayYear,a._todayMonth-1,0,a._hours,a._minutes,a._seconds),a._buildCalendar(b)},o._selection=function(a){var b,d,e=this;a!=c&&(d=a.toString(),b=e._ui.calendarView.querySelectorAll("div."+k.CURRENT_MONTH_DAY),b.forEach(function(a){a.innerHTML===d&&(e._selectDay.classList.remove(k.SELECTION),a.classList.add(k.SELECTION),e._selectDay=a,e._activeMonth=e._todayMonth)}),e._value=new Date(e._todayYear,e._todayMonth-1,a,e._hours,e._minutes,e._seconds))},o._unBindEvents=function(a){h.off(a,"vclick",this,!1)},o._bindEvents=function(a){h.on(a,"vclick",this,!1)},o.handleEvent=function(a){"vclick"===a.type?this._onClick(a):a.preventDefault()},o._setPastSelection=function(a,b){return this.options.pastSelection=b,!0},o._refresh=function(){var a=this,b=a._ui.calendarView;a._deleteCalendar(b),a._buildCalendar(b)},o._build=function(c){var d=a.createElement("div"),e=a.createElement("div"),f=a.createElement("div"),g=a.createElement("div"),h=a.createElement("table"),j=a.createElement("tr"),l=a.createElement("tr"),m=a.createElement("td"),n=a.createElement("td"),o=a.createElement("td"),p=a.createElement("td"),q=a.createElement("td"),r=a.createElement("td"),s=a.createElement("td");return c.classList.add(k.WIDGET),d.classList.add(k.CONTROLLER),e.classList.add(k.ARROW_LEFT),e.classList.add(k.ARROW),f.classList.add(k.ARROW_RIGHT),f.classList.add(k.ARROW),g.classList.add(k.SWITCH_VIEW),this.isKeyboardSupport&&b.getConfig("keyboardSupport")&&(e.setAttribute("tabindex","0"),f.setAttribute("tabindex","0"),g.setAttribute("tabindex","0")),d.appendChild(e),d.appendChild(f),d.appendChild(g),h.classList.add(k.CALENDAR_VIEW),j.classList.add(k.TOP_SPACE),l.classList.add(k.ONE_WEEK),m.innerHTML=i[0],l.appendChild(m),n.innerHTML=i[1],l.appendChild(n),o.innerHTML=i[2],l.appendChild(o),p.innerHTML=i[3],l.appendChild(p),q.innerHTML=i[4],l.appendChild(q),r.innerHTML=i[5],l.appendChild(r),s.innerHTML=i[6],s.classList.add("ui-sunday"),l.appendChild(s),h.appendChild(j),h.appendChild(l),c.appendChild(d),c.appendChild(h),this.isKeyboardSupport&&b.getConfig("keyboardSupport")&&(c.setAttribute("data-focus-lock","true"),c.setAttribute("tabindex","0")),c},o._focus=function(){this.element.classList.add(k.FOCUS)},o._blur=function(){this.element.classList.remove(k.FOCUS)},o._destroy=function(){var a=this;a.options=null,a._unBindEvents(a.element)},b.widget.mobile.Calendar=m,g.defineWidget("Calendar",".ui-calendar",[],m,"mobile"),f.registerActiveSelector(".ui-calendar, .ui-calendar-arrow, .ui-calendar-switch,.ui-calendar-current-month-day, .ui-calendar-prev-month-day, .ui-calendar-next-month-day")}(b,d),function(a,b,d){var e=d.widget.mobile.BaseWidgetMobile,f=d.engine,g=(d.event,"ui-datetime-picker"),h={CONTAINER:g+"-container",HIDDEN:g+"-hidden"},i="."+g,j=function(){var a=this;a.options={format:"12",view:"wheel",value:(new Date).toUTCString()},a._datetime=null,a._calendar=null,a._ui={datetime:null,calendar:null}},k={CHANGE:"datetimepickerchange"},l=new e;j.classes=h,l._init=function(){var a=this,b=a.options;b.format=b.format!==c?b.format:"12",a._setValue(b.value),a.option("format",b.format),a._setView(a.element,b.view)},l._build=function(a){var c=this,e=c._ui,f=b.createElement("div"),g=b.createElement("div");return a.appendChild(f),a.appendChild(g),c._datetime=d.widget.DateTimePickerWheel(f),c._calendar=d.widget.Calendar(g,{closeOnSelect:!0}),e.datetime=f,e.calendar=g,a},l._onDateTimeSelected=function(a){var b=this;a.target===b._ui.datetime&&(b._calendar.value(a.detail.datetime),b._setView(b.element,"calendar"))},l._onCalendarSwitch=function(a){var b=this;a.target===b._ui.calendar&&(b._datetime.value(a.detail.date),b._setView(b.element,"wheel"),d.event.trigger(b.element,k.CHANGE,{date:b._getValue()}))},l._setView=function(a,b){var c=this._ui;this.options.view=b,"wheel"===b?(c.calendar.classList.add(h.HIDDEN),c.datetime.classList.remove(h.HIDDEN)):"calendar"===b&&(c.datetime.classList.add(h.HIDDEN),c.calendar.classList.remove(h.HIDDEN))},l._setValue=function(a){var b=this;"string"==typeof a&&(a=new Date(a)),a instanceof Date&&(b._datetime.value(a),b._calendar.value(a),b.options.value=a)},l._getValue=function(){var a=this;return"wheel"===a.options.view?a._datetime.value():"calendar"===a.options.view?a._calendar.value():a.options.value},l._onDateTimeChange=function(a){var b=this;b.options.value=a.detail.datetime,d.event.trigger(b.element,k.CHANGE,{date:b._getValue()})},l._setFormat=function(a,b){var c=this;c.options.format=b,c._datetime.option("format",b)},l._getFormat=function(){return self._datetime.option("format")},l.handleEvent=function(a){var b=this;switch(a.type){case"datetimepickerwheelselected":b._onDateTimeSelected(a);break;case"calendarswitch":b._onCalendarSwitch(a);break;case"datetimepickerwheelchange":b._onDateTimeChange(a)}},l._bindEvents=function(){var a=this;a.element.addEventListener("datetimepickerwheelselected",this,!1),a.element.addEventListener("datetimepickerwheelchange",this,!1),a.element.addEventListener("calendarswitch",this,!1)},l._unbindEvents=function(){var a=this;a.element.removeEventListener("datetimepickerwheelselected",this,!1),a.element.removeEventListener("calendarswitch",this,!1)},l._destory=function(){var a=this,b=a._ui,c=a.element;a._unbindEvents(),a._calendar.destory(),a._datetime.destory(),c.removeChild(b.datetime),c.removeChild(b.calendar)},j.prototype=l,d.widget.mobile.DateTimePicker=j,f.defineWidget("DateTimePicker",i,[],j,"mobile")}(a,a.document,a.tau),function(a,b){var c=b.widget.mobile.BaseWidgetMobile,d=b.engine,e=b.event,f="ui-color-",g=/ui-color-[^\s]+/g,h=function(){var a=this;a.options={icon:"delete"},a._ui={text:null,button:null}},i={widget:"ui-chip",text:"ui-chip-text",button:"ui-chip-button"},j={BEFORE_REMOVE:"chipbeforeremove"},k={widget:"."+i.widget+", [data-role='chip']",text:"."+i.text,button:"."+i.button},l=new c;h.prototype=l,h.classes=i,h.events=j,l._onClick=function(){var a,b=this;a=e.trigger(b.element,j.BEFORE_REMOVE),a&&b.element.parentElement.removeChild(b.element),b.destroy()},l.handleEvent=function(a){"vclick"===a.type&&this._onClick(a)},l._build=function(b){var c,d,e=this,f=e._ui;return d=b.querySelector(k.button),d&&b.removeChild(d),c=b.querySelector(k.text)||b.querySelector("*:not("+k.button+")"),c?b.removeChild(c):(c=a.createElement("span"),c.className=i.text,c.innerHTML=b.textContent),b.textContent="",d||(d=a.createElement("button"),d.className=["ui-btn",i.button].join(" "),d.setAttribute("data-icon","minus"),d.setAttribute("data-style","flat")),b.appendChild(c),b.appendChild(d),f.text=c,f.button=d,b},l._updateButtonColor=function(){var a,b=this,c=b._ui.button,d=f+b.options.icon;a=c.className.match(g)||[],a.forEach(function(a){a!==d&&c.classList.remove(a)}),-1===a.indexOf(d)&&c.classList.add(d)},l._init=function(a){var c=this,d=c._ui;return d.text=d.text||a.querySelector(k.text),d.button=d.button||a.querySelector(k.button),b.widget.Button(d.button,{icon:c.options.icon}),c._updateButtonColor(),a},l._bindEvents=function(){var a=this,b=a._ui.button;e.on(b,"vclick",a,!1)},l._unbindEvents=function(){var a=this,b=a._ui.button;e.off(b,"vclick",a,!1)},l._destroy=function(){var b=this;b._unbindEvents(),b._ui=null,e.trigger(a,"destroyed",{widget:"Chip"})},b.widget.mobile.Chip=h,d.defineWidget("Chip",k.widget,[],h,"mobile")}(a.document,d),function(a,b,d){function e(a,b,c){var e,f=null,g=null;a.options.handler&&(f=a.ui.handle.style,d.support.shape.circle?(e=a._offsets,g="rotateZ("+(c/e.maxY*z-z/2||0)+"deg)"):g="translate3d("+(b||0)+"px, "+(c||0)+"px, 0px)",f.webkitTransform=g,f.mozTransform=g,f.msTransform=g,f.oTransform=g,f.transform=g)}function f(a){var b=a.getScrollPosition(),c=a._offsets,d=a.options.direction,f=C(B(b.x,a._availableOffsetX)/a._availableOffsetX*c.maxX),g=C(B(b.y,a._availableOffsetY)/a._availableOffsetY*c.maxY);isNaN(f)===!0&&(f=c.x),isNaN(g)===!0&&(g=c.y),e(a,"y"===d?0:f,"x"===d?0:g),c.x=f,c.y=g}function g(b){b._dragging===!1&&(f(b),b._hideTimer&&a.clearTimeout(b._hideTimer),b.ui.handler.classList.add(D.visible))}function h(b){b._dragging===!1&&(b._hideTimer&&a.clearTimeout(b._hideTimer),f(b))}function i(b){b._dragging===!1&&(f(b),b._hideTimer&&a.clearTimeout(b._hideTimer),b._hideTimer=a.setTimeout(function(){b.ui.handler.classList.remove(D.visible)},b.options.delay))}function j(b,c,d){var f=b._lastMouse,g=b._offsets,h=b.options.direction,i=f.x-c,j=f.y-d;f.x=c,f.y=d,g.x+=-i,g.y+=-j,g.x=A(0,g.x),g.y=A(0,g.y),g.x=B(g.maxX,g.x),g.y=B(g.maxY,g.y),e(b,"y"===h?0:g.x,"x"===h?0:g.y),b.scrollTo("y"===h?0:g.x/g.maxX*b._availableOffsetX,"x"===h?0:g.y/g.maxY*b._availableOffsetY),b._hideTimer&&a.clearTimeout(b._hideTimer)}function k(b,c){var d=b._lastMouse,e=c.touches,f=e&&e[0];b._hideTimer&&a.clearTimeout(b._hideTimer),b._dragging=!0,d.x=f?f.clientX:c.clientX,d.y=f?f.clientY:c.clientY,b.ui.handle.classList.add("ui-active"),"y"===b.options.direction?b.element.style.overflowY="hidden":b.element.style.overflowX="hidden",p.stopImmediatePropagation(c),p.preventDefault(c)}function l(a,b){var d=b.touches,e=d&&d[0],f=0,g=0;a._dragging&&(d===c||d.length<=1)&&(p.stopImmediatePropagation(b),p.preventDefault(b),f=e?e.clientX:b.clientX,g=e?e.clientY:b.clientY,j(a,f,g))}function m(b,c){var d=b.ui;b._dragging&&(b._dragging=!1,p.stopImmediatePropagation(c),p.preventDefault(c),"y"===b.options.direction?b.element.style.overflowY="auto":b.element.style.overflowX="auto",d.handle.classList.remove("ui-active"),b._hideTimer&&a.clearTimeout(b._hideTimer),b._hideTimer=a.setTimeout(function(){d.handler.classList.remove(D.visible)},b.options.delay))}var n=function(){var a=this;a.options={handler:!0,handlerTheme:"s",direction:"y",scroll:"y",delay:1500},a.ui={handler:null,thumb:null,track:null,handle:null,expander:null,page:null},a._callbacks={scrolstart:null,scrollupdate:null,scrollend:null,touchstart:null,touchmove:null,touchend:null,resize:null},a._dragging=!1,a._offsets={x:0,y:0,maxX:0,maxY:0},a._lastPointerEvents="",a._availableOffsetX=0,a._availableOffsetY=0,a._hideTimer=null,a._lastMouse={x:0,y:0}},o=d.engine,p=d.event,q=d.util.DOM,r=d.util.selectors,s=d.widget.core.Page.classes,t=d.widget.core.Scrollview,u=t.prototype,v=u._build,w=u._init,x=u._bindEvents,y=u._destroy,z=60,A=Math.max,B=Math.min,C=Math.floor,D={handler:"ui-handler",directionPrefix:"ui-handler-direction-",track:"ui-handler-track",handle:"ui-handler-handle",thumb:"ui-handler-thumb",expander:"ui-handler-expander",visible:"ui-handler-visible",themePrefix:"ui-handler-",scrollbarDisabled:"scrollbar-disabled",disabled:"disabled",hideNativeScrollbar:"ui-hide-scrollbar"},E=new t;n.classes=D,E._build=function(a){var c,d,e,f=b.createElement("div"),g=b.createElement("a"),h=b.createElement("span"),i=b.createElement("div"),j=b.createElement("span"),k=this.options,l=this.ui;return k.scroll="y"===k.direction?"y":"x",c=v.call(this,a),f.className=D.handler+" "+D.themePrefix+k.handlerTheme+" "+D.directionPrefix+k.direction,h.className=D.expander,g.className=D.handle,j.className=D.thumb,i.className=D.track,g.setAttribute("aria-label",("y"===k.direction?"Vertical":"Horizontal")+" handler, double tap and move to scroll"),h.appendChild(j),g.appendChild(h),i.appendChild(g),f.appendChild(i),c.appendChild(f),d=c.style,e=c.firstElementChild.style,a.classList.add(D.hideNativeScrollbar),"x"===k.direction&&(e.display="inline-block",e.minWidth="100%"),"y"===k.direction&&(e.display="block",d.minWidth="100%"),l.handler=f,l.handle=g,l.expander=h,l.track=i,l.thumb=j,c},E._init=function(a){var b=this,c=b.ui,d=c.page;w.call(b,a),null===c.handler&&(c.handler=a.querySelector("."+D.handler)),null===c.track&&(c.track=a.querySelector("."+D.track)),null===c.handle&&(c.handle=a.querySelector("."+D.handle)),null===c.thumb&&(c.thumb=a.querySelector("."+D.thumb)),null===d&&(d=r.getClosestByClass(a,s.uiPage)),c.page=d,b.enableHandler(!0)},E._refresh=function(){var a=this,b=a.element,c=a._offsets,d=a.ui,e=d.handle,f=e.style,g=d.track.getBoundingClientRect(),h=g.height,i=g.width,j=b.querySelector("."+t.classes.view),k=j.getBoundingClientRect(),l=k.height,m=k.width;"y"===a.options.direction?f.height=C(h/l*h)+"px":f.width=C(i/m*i)+"px",c.maxX=C(A(0,i-q.getElementWidth(e,"inner",!0))),c.maxY=C(A(0,h-q.getElementHeight(e,"inner",!0))),a._availableOffsetX=A(0,m-i),a._availableOffsetY=A(0,l-h)},E._bindEvents=function(c){var d=this,e=d._callbacks,f=d.ui;x.call(d,c),e.scrollstart=g.bind(null,d),e.scrollupdate=h.bind(null,d),e.scrollstop=i.bind(null,d),e.touchstart=k.bind(null,d),e.touchmove=l.bind(null,d),e.touchend=m.bind(null,d),e.resize=d._refresh.bind(d),c.addEventListener("scrollstart",e.scrollstart,!1),c.addEventListener("scrollupdate",e.scrollupdate,!1),c.addEventListener("scrollstop",e.scrollstop,!1),f.handle.addEventListener("vmousedown",e.touchstart,!1),f.page.addEventListener("pageshow",e.resize,!1),b.addEventListener("vmousemove",e.touchmove,!1),b.addEventListener("vmouseup",e.touchend,!1),a.addEventListener("throttledresize",e.resize,!1),b.addEventListener("touchcancel",e.touchend,!0)},E.enableHandler=function(a){var b=this,d=D.scrollbarDisabled,e=D.disabled,f=b.element,g=f.parentNode.classList,h=f.classList;return a!==c&&(b.options.handler=a,a?(g.add(d),h.remove(e),b._refresh()):(g.remove(d),h.add(e))),b.options.handler},E._setHandlerTheme=function(a){var b=this.element.classList,c=D.themePrefix,d=c+a;b.contains(d)===!1&&(b.remove(c+this.options.handlerTheme),b.add(d))},E._destroy=function(){var c=this,d=c.ui,e=c._callbacks,f=c.element;f.classList.remove(D.hideNativeScrollbar),f.removeEventListener("scrollstart",e.scrollstart,!1),f.removeEventListener("scroll",e.scrollupdate,!1),f.removeEventListener("scrollstop",e.scrollstop,!1),d.handle.removeEventListener("vmousedown",e.touchstart,!1),d.page.removeEventListener("pageshow",e.touchstart,!1),b.removeEventListener("vmousemove",e.touchmove,!1),b.removeEventListener("vmouseup",e.touchend,!1),b.removeEventListener("touchcancel",e.touchend,!0),a.removeEventListener("throttledresize",e.resize,!1),y.call(c)},n.prototype=E,d.widget.core.ScrollHandler=n,o.defineWidget("ScrollHandler","[data-role='content'][data-handler='true']:not([data-scroll='none']):not(.ui-scrollview-clip):not(.ui-scrolllistview),[data-handler='true'], .ui-scrollhandler",["enableHandler","scrollTo","ensureElementIsVisible","centerToElement","getScrollPosition","skipDragging","translateTo"],n,"tizen")}(a,a.document,d),function(b,c){function d(b){var c=this;j.on(b,"tabchange sectionchange",c,!1),a.addEventListener("resize",c,!1)}function e(b){var c=this;j.off(b,"tabchange sectionchange",c,!1),a.removeEventListener("resize",c,!1)}var f=c.widget.BaseWidget,g=c.engine,h=c.util.selectors,i=c.widget.core.Page,j=c.event,k=function(){var a=this;a._ui={},a._component={},a.options={changeDuration:200}},l={TABS:"ui-tabs",WITH_TITLE:"ui-tabs-with-title",TITLE:"ui-title",PAGE:i.classes.uiPage},m=new f;k.prototype=m,k.classes=l,m.handleEvent=function(a){var b=this;switch(a.type){case"tabchange":b._onTabChange(a);break;case"sectionchange":b._onSectionChange(a);break;case"resize":b._refresh()}},m._build=function(a){return a.classList.add(l.TABS),a.getElementsByClassName(l.TITLE).length&&a.classList.add(l.WITH_TITLE),a},m._initHeight=function(){var a,b=this;b.element.style.height||(a=c.widget.Page(b._ui.page),b.element.style.height=a.getContentHeight()+"px")},m._init=function(a){var b=this,d=b._ui;return d.page=h.getClosestByClass(a,l.PAGE),d.subtab=a.querySelector(c.widget.core.SubTab.selector),d.title=a.getElementsByClassName(l.TITLE)[0],d.sectionChanger=a.querySelector("[data-role='section-changer'], .ui-section-changer"),b._component.subtab=c.widget.SubTab(d.subtab),b._changed=!1,b._lastIndex=0,b._initHeight(),b._initSectionChanger(),a},m._initSectionChanger=function(){var b,c=this,d=c._ui,e=d.sectionChanger,f=d.subtab.offsetHeight,h=d.title;e&&(b=e.style,b.width=a.innerWidth+"px",b.height=c.element.offsetHeight-f-(h?h.offsetHeight:0)+"px",c._component.sectionChanger=g.instanceWidget(e,"SectionChanger"))},m._onTabChange=function(a){var b=this,c=a.detail.active,d=b._component.sectionChanger;b._changed?b._changed=!1:b._lastIndex!==c&&(b._changed=!0,d.setActiveSection(c,b.options.changeDuration,!1,!1)),b._lastIndex=c},m._onSectionChange=function(a){var b=this,c=a.detail.active,d=b._component.subtab;b._changed?b._changed=!1:b._lastIndex!==c&&(b._changed=!0,d.setActive(c)),b._lastIndex=c},m._bindEvents=function(){var a=this;d.call(a,a.element)},m._destroy=function(){var a=this;e.call(a,a.element),a._ui=null,a._component=null},m._refresh=function(){this._initSectionChanger()},m._setIndex=function(a){var b=this,d=b._ui.sectionChanger.getElementsByTagName("section").length;d>a&&!(0>a)?b._component.subtab.setActive(a):c.warn("You inserted the wrong index value")},m.setIndex=function(a){this._setIndex(a)},m._getIndex=function(){return this._lastIndex},m.getIndex=function(){return this._getIndex()},c.widget.core.Tabs=k,g.defineWidget("Tabs","[data-role='tabs'], .ui-tabs",["setIndex","getIndex"],k,"core")}(a.document,d),function(b,c){function d(a){for(var c;a!==b.body;){if(c=m.getCSSProperty(a,"overflow-y"),"scroll"===c||"auto"===c&&a.scrollHeight>a.clientHeight)return a;a=a.parentNode}return null}function e(a){a._setItemSize(),a._checkItemLabel(),a._setGridStyle(),a._refreshItemsInfo(),a._calculateListHeight(),a._inPopup.refresh()}function f(a){var b=a.target.classList;b.contains(z.ITEM)&&(b.add(z.ITEM_ACTIVE),a.target.style.animation="")}function g(a){a._setGridStyle()}var h=c.widget.BaseWidget,i=c.widget.core.BaseKeyboardSupport,j=c.engine,k=c.event,l=c.util.selectors,m=c.util.DOM,n=c.widget.core.Page.events,o=c.widget.mobile.Popup,p=c.widget.Popup,q=o.selector,r=o.events,s=".ui-gridview li:nth-child({index})",t=/matrix\((.*), (.*), (.*), (.*), (.*), (.*)\)/,u="data-role",v=300,w=16,x={PREV:0,NEXT:1},y={IN:"in",OUT:"out",NONE:"none"},z={GRIDLIST:"ui-gridview",ITEM:"ui-gridview-item",ITEM_ACTIVE:"ui-gridview-item-active",HELPER:"ui-gridview-helper",HOLDER:"ui-gridview-holder",IMAGE:"ui-gridview-image",LABEL:"ui-gridview-label",LABEL_IN:"ui-gridview-label-in",LABEL_OUT:"ui-gridview-label-out",HANDLER:"ui-gridview-handler",CHECKED:"ui-gridview-image-checked",ITEM_HAS_LABEL:"ui-gridview-item-has-label"},A={ANY_NOT_IMAGE:"*:not(."+z.IMAGE+")"},B=function(){var a=this;i.call(this),a.options={},a._direction=0,a._styleElement=null,a._inPopup=null,a._ui={listElements:[],listItems:[],helper:{},holder:{},scrollableParent:null,content:null},a._borderSize=w,a._refreshSizesCallback=e.bind(null,this)},C=new h;B.prototype=C,B.classes=z,C._configure=function(){this.options={cols:0,reorder:!1,label:y.NONE,minWidth:"auto",minCols:2,maxCols:5},this._direction=x.NEXT},C._build=function(a){return a.classList.add("ui-gridview-cols"),a},C._init=function(b){var c,e=this,f=e._ui;f.listElements=[].slice.call(e.element.getElementsByTagName("li")),e._setItemSize(),e._setLabel(b),e._checkItemLabel(),e._setReorder(b,e.options.reorder),e._calculateListHeight(),e._initCheckboxState(b),e._ui.content=l.getClosestByClass(b,"ui-content")||a,e._ui.scrollableParent=d(b)||e._ui.content,c=l.getClosestBySelector(b,q),c&&(e._inPopup=p(c))},C._onResize=function(){var a=this;a.options.cols=0,a.refresh()},C._onResizeTimeOut=function(){var b=this;clearTimeout(b._resizeTimeout),b._resizeTimeout=a.setTimeout(function(){b._onResize()},v)},C._bindEvents=function(){var b=this,c=b._getParentPage(b.element),d=this._inPopup;b._onSetGridStyle=g.bind(null,b),d&&k.on(d.element,r.transition_start,b._refreshSizesCallback),b.on("animationend webkitAnimationEnd",f),b.on("change",b),k.on(a,"resize",b,!0),k.on(c,n.SHOW,b._onSetGridStyle)},C._unbindEvents=function(){var a=this,b=a.element,c=a._getParentPage(b),d=a._inPopup;k.disableGesture(b),k.off(b,"drag dragstart dragend dragcancel dragprepare",a),k.off(b,"pinchin pinchout",a),d&&k.off(d.element,r.before_show,this._refreshSizesCallback),a.off("animationend webkitAnimationEnd",f),a.off("change",a),k.off(c,n.SHOW,a._onSetGridStyle)},C._refresh=function(){var b=this,c=b._ui,e=b.element;b._removeGridStyle(),c.listElements=[].slice.call(e.getElementsByTagName("li")),b._setItemSize(),b._setGridStyle(),b._setLabel(e),b._checkItemLabel(),b._setReorder(e,b.options.reorder),b._calculateListHeight(),b._ui.content=l.getClosestByClass(e,"ui-content")||a,b._ui.scrollableParent=d(e)||b._ui.content},C._destroy=function(){this._unbindEvents(),this._removeGridStyle(),this._inPopup=null},C.handleEvent=function(a){var b=this;switch(a.type){case"change":b._shadeCheckbox(a.target);break;case"dragprepare":if(a.detail.srcEvent.srcElement.classList.contains(z.HANDLER))break;a.preventDefault();break;case"dragstart":if(a.detail.srcEvent.srcElement.classList.contains(z.HANDLER)){b._start(a);break}a.preventDefault();break;case"drag":b._move(a);break;case"dragend":b._end(a);break;case"pinchin":b._in(a);break;case"pinchout":b._out(a);break;case"resize":b._onResizeTimeOut()}},C._start=function(b){var c,d=this,e=d.element,f=d._ui.helper,g=b.detail.srcEvent.srcElement.parentElement,h=a.getComputedStyle(g,null),i=g.style,j=h.getPropertyValue("webkit-transform")||h.getPropertyValue("transform")||"",k=j.match(t),l=0,m=0;d._refreshItemsInfo(),k.length>0&&(l=parseInt(k[6],10),m=parseInt(k[5],10)),g.classList.add(z.HELPER),c=d._createHolder(),e.insertBefore(c,g),e.appendChild(g),i.top=l+"px",i.left=m+"px",f.element=g,f.style=i,f.position={startTop:l,startLeft:m,moveTop:l,moveLeft:m},f.startX=b.detail.estimatedX,f.startY=b.detail.estimatedY,f.width=parseFloat(h.getPropertyValue("width"))||0,f.height=parseFloat(h.getPropertyValue("height"))||0,d._ui.holder=c,f.element=g,d._ui.helper=f},C._move=function(a){var b,c,d,e,f,g,h=this,i=h._ui,j=h.element,k=i.listItems,l=k.length,m=h._ui.helper,n=m.style,o=m.position,p=m.element,q=m.startX,r=m.startY,s=h._ui.scrollableParent;for(c=o.startTop+a.detail.estimatedY-r,b=o.startLeft+a.detail.estimatedX-q,e=j.offsetTop+c+p.offsetHeight-(s.offsetHeight+s.scrollTop),f=s.scrollTop-(j.offsetTop+c),g=p.offsetHeight/5,e>0&&p.offsetTop+p.offsetHeight<j.offsetHeight&&(s.scrollTop+=g,c+=g,o.startTop+=g),f>0&&p.offsetTop>0&&(s.scrollTop-=g,c-=g,o.startTop-=g),n.top=c+"px",n.left=b+"px",o.moveTop=c,o.moveLeft=b,d=0;l>d;d++)h._compareOverlapItem(k[d])&&(h._direction?j.insertBefore(i.holder,k[d].element.nextSibling):j.insertBefore(i.holder,k[d].element),h._refreshItemsInfo(),h._setItemMargin())},C._end=function(){var a=this,b=a.element,c=a._ui.helper,d=c.element,e=a._ui.holder;d.classList.remove(z.HELPER),c.style.top=0,c.style.left=0,b.insertBefore(d,e),b.removeChild(e),a._setItemMargin(),a._ui.helper={}},C._out=function(){var a=this,b=a.options,c=b.cols,d=b.minCols;c>d&&(a._minWidth=null,b.cols=c-1,a._refresh())},C._in=function(){var a=this,b=a.options,c=b.cols,d=b.maxCols;(null===d||d>c)&&(b.cols=c+1,a._minWidth=null,a._refresh())},C._compareOverlapItem=function(a){var b,c,d=this,e=d._ui.helper,f=e.position;return e.element===a.element?!1:(f.moveTop>a.top||f.moveTop===a.top&&f.moveLeft>a.left?d._direction=x.PREV:d._direction=x.NEXT,b=f.moveTop>a.top?a.top+a.height-f.moveTop:f.moveTop+e.height-a.top,c=f.moveLeft>a.left?a.left+a.width-f.moveLeft:f.moveLeft+e.width-a.left,0>=b||0>=c?!1:b*c>a.height*a.width/2?!0:!1)},C._calculateListHeight=function(){var b,c,d=this,e=d._ui.listElements,f=e.length&&a.getComputedStyle(e[0],null);c=Math.ceil(e.length/d.options.cols),b=parseFloat(f.getPropertyValue("height"))||0,"out"===d.element.getAttribute("data-label")?d.element.style.height=b*c+"px":d.element.style.height=(b+1)*c+1+"px"},C._initCheckboxState=function(a){var b=a.querySelectorAll("input[type=checkbox]"),c=0,d=this,e=b.length;for(c=0;e>c;c++)d._shadeCheckbox(b[c])},C._shadeCheckbox=function(a){a.parentElement.classList.toggle(z.CHECKED,a.checked)},C._refreshItemsInfo=function(){var b,c,d,e=this,f=e._ui.listElements,g=f.length,h=[],i=0,j=null,k=0,l="";for(d=0;g>d;d++)c=f[d],j=a.getComputedStyle(c,null),l=j.getPropertyValue("webkit-transform")||j.getPropertyValue("transform")||"",b=l.match(t),b&&b.length>0&&(i=parseInt(b[6],10),k=parseInt(b[5],10)),h.push({top:i,left:k,height:parseFloat(j.getPropertyValue("width"))||0,width:parseFloat(j.getPropertyValue("width"))||0,element:c});e._ui.listItems=h},C._createHolder=function(){var a=b.createElement("li"),c=a.classList;return c.add(z.ITEM),c.add(z.HOLDER),a},C._setItemMargin=function(){var a,b=this,c=b.options,d=[].slice.call(b.element.getElementsByTagName("li")),e=d.length,f=c.cols,g=null,h=b._borderSize;for(a=0;e>a;a++)g=d[a].style,f-1>a%f?g.marginRight=h+"px":g.marginRight="0",a>f-1?g.marginTop=h+"px":g.marginTop="0"},C._setItemSize=function(){var b,c,d,e,f=this,g=f.options,h=a.getComputedStyle(f.element,null),i=parseFloat(h.getPropertyValue("width"))||0,j=f._minWidth,k=f._ui.listElements,l=k.length,m=f._borderSize,n=null;for(j="auto"===g.minWidth?0:j?parseInt(j,10):null,f._minWidth=j,b=g.cols,0===b&&(e=a.getComputedStyle(f.element,":after").content,e=e.replace(/[^0-9]+/,""),e&&(b=parseInt(e.replace(/\"/g,""),10))),0===b&&j>0&&(b=j?Math.floor(i/j):b),0===b&&(b=g.minCols),g.cols=b,f._itemSize=(i-(b-1)*m)/b,f._itemHeight=f._itemSize,d=f._itemSize+"px",f._setItemMargin(),c=0;l>c;c++)n=k[c].style,n.width=d,n.height=d;for(c=0;l>c;c++)k[c].querySelector("*:not(img)")&&k[c].classList.add(z.ITEM_HAS_LABEL)},C._checkItemLabel=function(){var a,b=this,c=b._ui.listElements,d=c.length;for(a=0;d>a;a++)c[a].querySelector(A.ANY_NOT_IMAGE)&&c[a].classList.add(z.ITEM_HAS_LABEL);
+},C._getParentPage=function(a){for(;a&&a!==b.body;){if("page"===a.getAttribute(u)||a.classList.contains("ui-page")===!0)return a;a=a.parentNode}return b.body},C._setReorder=function(a,d){var e,f,g=this,h=g.options,i=g._getParentPage(a);k.disableGesture(a),d?(k.enableGesture(a,new k.gesture.Drag({blockVertical:!1})),k.on(a,"drag dragstart dragend dragcancel dragprepare",g,!0),k.off(a,"pinchin pinchout",g),a.classList.add("ui-gridview-reorder"),g._ui.listElements.forEach(function(a){var c=null;a.querySelector("."+z.HANDLER)||(c=b.createElement("div"),c.classList.add(z.HANDLER),a.appendChild(c))}),i&&(e=i.querySelector(c.widget.core.Appbar.selector),e&&(f=c.widget.Appbar(e),f.lockExpanding(!0)))):(k.enableGesture(a,new k.gesture.Pinch),k.off(a,"drag dragstart dragend dragcancel dragprepare",g,!0),k.on(a,"pinchin pinchout",g),a.classList.remove("ui-gridview-reorder"),i&&(e=i.querySelector(c.widget.core.Appbar.selector),e&&(f=c.widget.Appbar(e),f.lockExpanding(!1)))),h.reorder=d},C._setGridStyle=function(){var a,c,d,e,f=this,g=f._ui.listElements,h=g.length,i=f.options,j=i.cols,k=[],l=0;for(c=b.createElement("style"),c.type="text/css",a=Math.ceil(h/j),d=0;a>d;d++)for(e=0;j>e&&h>l;e++)g[l].style.animation="grid_show_item cubic-bezier(0.25, 0.46, 0.45, 1.00) 350ms "+17*l+"ms",k.push(f._getTransformStyle(e,d,++l));c.textContent=k.join("\n"),c.id="GridView",b.head.appendChild(c),f._styleElement=c},C._setCols=function(a,b){var c=this,d=c.options;return"auto"===b?d.cols=0:d.cols=parseInt(b,10),!0},C._getCols=function(){var a=this,b=a.options;return 0===b.cols?"auto":b.cols},C._getTransformStyle=function(a,b,c){var d,e,f=this._itemSize+this._borderSize,g=a*f+"px",h=b*this._itemHeight+Math.max(b-1,0)*this._borderSize+"px";return d="{ -webkit-transform: translate3d("+g+", "+h+", 0); transform: translate3d("+g+", "+h+", 0) }",e=s.replace("{index}",c)+d},C._removeGridStyle=function(){var a=this._styleElement;a&&(a.parentNode.removeChild(a),this._styleElement=null)},C.addItem=function(b){var c,d,e,f=this,g=f._ui.listElements,h=f._styleElement,i=h.textContent,j=f.element,k=f.options.cols,l=g.length&&a.getComputedStyle(g[0],null);b.classList.add(z.ITEM),b.style.width=(parseFloat(l.getPropertyValue("width"))||0)+"px",j.appendChild(b),g.push(b),e=g.length,d=Math.floor((e-1)/k),c=(e-1)%k,h.textContent=i.concat("\n"+f._getTransformStyle(c,d,e))},C.removeItem=function(a){var b,c=this,d=c.element,e=c._ui.listElements,f=c._styleElement,g=f.textContent.split("\n");b=e.indexOf(a),b>-1&&(e.splice(b,1),d.removeChild(a),g.pop(),f.textContent=g.join("\n"))},C._setLabel=function(a,b){var c,d=this,e=d.options;c=b||e.label,a.classList.remove(z.LABEL_IN),a.classList.remove(z.LABEL_OUT),c===y.IN?a.classList.add(z.LABEL_IN):c===y.OUT&&a.classList.add(z.LABEL_OUT),e.label=c},i.registerActiveSelector("."+z.GRIDLIST+" li."+z.ITEM),c.widget.mobile.GridView=B,j.defineWidget("GridView","ul.ui-gridview, ul[data-role='gridview']",[],B,"mobile")}(a.document,d),function(a){a.addEventListener("beforerouterinit",function(){d.autoInitializePage!==c&&d.setConfig("autoInitializePage",d.autoInitializePage)},!1),a.addEventListener("routerinit",function(b){var e=b.detail,f=d.util.object,g=e.getRoute("page"),h=e.getRoute("popup"),i=d.history,j=i.back.bind(e),k=d.widget.core.Page.classes,l=k.uiPageActive;d.changePage=e.open.bind(e),a.addEventListener("pageshow",function(){d.activePage=a.querySelector("."+l)}),d.firstPage=g.getFirstElement(),d.getActivePage=g.getActiveElement.bind(g),d.back=j,d.initializePage=e.init.bind(e),d.pageContainer=e.container,d.openPopup=function(a,b){var d;d=a&&a.length!==c&&"object"==typeof a?a[0]:a,b=f.merge({},b,{rel:"popup"}),e.open(d,b)},d.closePopup=h.close.bind(h,null)},!1)}(a.document),function(a){function b(b,c){var d=g.stripQueryParams(b).replace("#",""),e=a.getElementById(d);return e&&j.matchesSelector(e,c)?b===d?h.setNSData(e,"url","#"+d):h.setNSData(e,"url",b):e=null,e}var c,e,f=d.util,g=f.path,h=f.DOM,i=f.object,j=f.selectors,k=d.history,l=d.engine,m={};m.orderNumber=1,m.defaults={transition:"none"},m.filter=l.getWidgetDefinition("Page").selector.replace(/(\s*)/g,""),m.firstPage=null,m._originalBaseHref="",m._originalLocationHref="",m.option=function(){var a=i.merge({},m.defaults);return a.transition=d.getConfig("pageTransition",a.transition),a},m.init=function(){var b=[].slice.call(a.querySelectorAll(this.filter));b.forEach(function(a){h.getNSData(a,"url")||h.setNSData(a,"url",a.id&&"#"+a.id||location.pathname+location.search)})},m.open=function(b,c){var d,e,f=a.title;d=b!==this.getFirstElement()||c.dataUrl?h.getNSData(b,"url"):g.documentUrl.hrefNoHash,!d&&c.href&&(d=c.href,h.setNSData(b,"url",d)),f=h.getNSData(b,"title")||j.getChildrenBySelector(b,".ui-header > .ui-title").textContent||f,h.getNSData(b,"title")||h.setNSData(b,"title",f),d&&!c.fromHashChange&&(!g.isPath(d)&&d.indexOf("#")<0&&(d=g.makeUrlAbsolute("#"+d,g.documentUrl.hrefNoHash)),e=i.merge({},c,{url:d}),c.volatileRecord&&k.enableVolatileMode(),k.replace(e,f,d),k.disableVolatileMode()),this._setBase(d),a.title=f,this.active=!0,this.getContainer().change(b,c)},m.find=function(a){var c,e=this,f=d.router.Router.getInstance(),h=e._createDataUrl(a),i=e.getFirstElement(),j=f.getContainer(),k="[data-url='"+h+"']",l=/,/gm;return/#/.test(a)&&g.isPath(h)?null:(k+=e.filter.replace(l,",[data-url='"+h+"']"),c=j.element.querySelector(k),c||!h||g.isPath(h)||(c=b(h,e.filter)),!c&&g.isFirstPageUrl(h,e.getFirstElement())&&i&&(c=i),c)},m.parse=function(a,b){var c,d=this,e=d._createDataUrl(b);return d._setBase(b),c=a.querySelector(d.filter),c&&(h.setNSData(c,"url",e),h.setNSData(c,"external",!0)),c},m.onHashChange=function(){return null},m._createDataUrl=function(a){return g.convertUrlToDataUrl(a,!0)},m.onOpenFailed=function(){this._setBase(g.parseLocation().hrefNoSearch)},m._getBaseElement=function(){return e||(e=a.querySelector("head")),c||(c=a.querySelector("base"),c?(this._originalBaseHref=c.href,this._originalLocationHref=g.documentUrl.hrefNoHash):(c=a.createElement("base"),c.href=g.documentBase.hrefNoHash,e.appendChild(c))),c},m._setBase=function(a){var b=this._getBaseElement(),c=b.href,d="";this._originalBaseHref&&(this._originalLocationHref!==g.parseUrl(a).hrefNoSearch?(d=g.parseUrl(a).hrefNoSearch.replace(this._originalLocationHref,""),g.documentBase=g.parseUrl(g.makeUrlAbsolute(d,g.documentBase.href))):a=this._originalBaseHref),g.isPath(a)&&(a=g.makeUrlAbsolute(a,g.documentBase),g.parseUrl(c).hrefNoSearch!==g.parseUrl(a).hrefNoSearch&&(b.href=a,g.documentBase=g.parseUrl(g.makeUrlAbsolute(a,g.documentUrl.href))))},m.getContainer=function(){return d.router.Router.getInstance().getContainer()},m.getActive=function(){return this.getContainer().getActivePage()},m.getActiveElement=function(){return this.getActive().element},m.getFirstElement=function(){return this.firstPage},m.setFirstElement=function(a){this.firstPage=a},d.router.route.page=m}(a.document),function(){var a,b=d.util.object,c={volatileRecord:!0,orderNumber:2},e=d.router.route.page,f=e,g=e.option,h=function(){};h.prototype=f,a=new h,a.option=function(){return b.merge({},g.call(e),c)},d.router.route.maintab=a}(),function(a,b,c){function d(a,c){var d,e=/^#/;return a=a.replace(e,""),d=b.getElementById(a),d&&i.matchesSelector(d,c)?j.setNSData(d,"url","#"+a):d=null,d}var e=c.widget.core.Popup,f=c.util,g={defaults:{transition:"none",container:null,volatileRecord:!0},filter:"."+e.classes.popup,activePopup:null,events:{POPUP_HIDE:"popuphide"},_path:c.util.path,_history:c.history},h=c.engine,i=c.util.selectors,j=c.util.DOM,k=c.util.object,l="popup=true",m=/([&|\?]popup=true)/;g.orderNumber=100,g.option=function(){var a=k.merge({},g.defaults);return a.transition=c.getConfig("popupTransition",a.transition),a},g.setActive=function(a,b){var c,d=g._path.getLocation(),e=d.replace(m,"");this.activePopup=a,a?b&&!b.fromHashChange&&b.history&&(c=g._path.addHashSearchParams(e,l),g._history.replace(b,"",c),this.active=!0):d!==e&&(this.active=!1,g._history.back())},g.open=function(a,d,e){var i,k,l=this,m=c.router.Router.getInstance(),n=l.events,o=function(){b.removeEventListener(n.POPUP_HIDE,o,!1),a.parentNode.removeChild(a),l.activePopup=null},p=function(){var c,f=d["position-to"];f&&(d.positionTo=f),e&&(c=e.touches?e.touches[0]:e,d.x=c.clientX,d.y=c.clientY),b.removeEventListener(n.POPUP_HIDE,p,!1),i=h.instanceWidget(a,"Popup",d),i.open(d),l.activePopup=i,l.active=i.options.history},q=m.container.getActivePage();j.getNSData(a,"external")===!0&&(k=d.container?q.element.querySelector(d.container):q.element,a.parentNode!==k&&(a=f.importEvaluateAndAppendElement(a,k)),b.addEventListener(g.events.POPUP_HIDE,o,!1)),l.hasActive()?(b.addEventListener(n.POPUP_HIDE,p,!1),l.close()||p()):p()},g.close=function(a,b){var d,f=g._path.getLocation(),i=f.replace(m,"");return b=b||{},!a||a instanceof e||(a=h.instanceWidget(a,"Popup",b)),a=a||this.activePopup,a?(d=a.options,d.history&&f!==i?(d.transition=b.transition||d.transition,d.ext=b.ext||d.ext,d.dismissible||c.router.Router.getInstance().unlock(),g._history.back()):a.close(b),!0):!1},g.onHashChange=function(a,b){var c=this.activePopup;return c&&(c.close(b),this.active)?(this.active=!1,!0):!1},g.onOpenFailed=function(){return null},g.find=function(a){var b,e=this,f=e._createDataUrl(a),h=c.router.Router.getInstance().getContainer().getActivePage();return b=h.element.querySelector("[data-url='"+f+"']"+e.filter),b||!f||g._path.isPath(f)||(b=d(f,e.filter)),b},g.parse=function(a,b){var c,d=this,e=d._createDataUrl(b);return c=a.querySelector(d.filter),c&&(j.setNSData(c,"url",e),j.setNSData(c,"external",!0)),c},g._createDataUrl=function(a){return g._path.convertUrlToDataUrl(a)},g.hasActive=function(){return this.active},g.getActive=function(){return this.activePopup},g.getActiveElement=function(){var a=this.getActive();return a&&a.element},c.router.route.popup=g}(a,a.document,d),function(){var a=d.widget.core.Drawer,b=d.router.Router,c=d.util.path,e=d.history,f=d.engine,g={},h="drawer=true",i=/([&|\?]drawer=true)/;g.orderNumber=1e3,g.defaults={transition:"none"},g.filter="."+a.classes.drawer,g.option=function(){return null},g.open=function(a){var b=f.instanceWidget(a,"Drawer");b.open()},g.find=function(a){var d,e=c.convertUrlToDataUrl(a),f=b.getInstance().getContainer().getActivePage();return d=f.element.querySelector("#"+e)},g.parse=function(){return null},g.setActive=function(a){var b,d=c.getLocation(),f=d.replace(i,"");this._activeDrawer=a,a?(b=c.addHashSearchParams(f,h),e.replace({},"",b),this.active=!0):d!==f&&e.back()},g.onHashChange=function(a,b,c){var d=this,e=d._activeDrawer,f=c.stateUrl;return e&&f.search(h)>0&&a.search(h)<0?(e.close(b),this.active=!1,!0):!1},d.router.route.drawer=g}(),function(b,c){var d=c.widget.core.PanelChanger,e=c.util.selectors,f=c.util.cookie,g=c.history,h=c.engine,i={PANEL_CHANGER:d.classes.PANEL_CHANGER},j={REVERSE:"slide-reverse"},k={};k.orderNumber=10,k.option=function(){return null},k.setActive=function(a){var b=this,c=e.getClosestByClass(a,i.PANEL_CHANGER),d=h.instanceWidget(c,"PanelChanger");b.active=!0,b._panelChangerElement=c,b._panelChangerComponent=d},k.onHashChange=function(a,b,c){var e=this,h=d["default"].STORAGE_NAME,i=JSON.parse(f.readFromCookie(h)||"[]"),k=e._panelChangerComponent,l=i[i.length-1];return e.active&&k?e._panelChangerElement.querySelector("#"+l).classList.contains(d.classes.PRE_IN)||0===i.length?(g.replace(c,c.stateTitle,c.stateUrl),!0):(i.pop(),k.options.manageHistory&&i.length>0?(g.replace(c,c.stateTitle,c.stateUrl),f.writeToCookie(h,JSON.stringify(i)),k.changePanel("#"+i.pop(),j.REVERSE,"back"),!0):(e.active=!1,!1)):!1},k.tauback=function(a){var b=this,c=d["default"].STORAGE_NAME,e=JSON.parse(f.readFromCookie(c)||"[]"),g=b._panelChangerComponent;g&&(e.pop(),g.options&&g.options.manageHistory&&e.length>0&&(f.writeToCookie(c,JSON.stringify(e)),g.changePanel("#"+e.pop(),j.REVERSE,"back"),a.stopPropagation()))},a.addEventListener("tauback",k.tauback.bind(k),!1),c.router.route.panel=k}(a.document,d),function(){var a,b=d.util.object,c=d.util.path,e=d.util.DOM,f={volatileRecord:!0,orderNumber:2,templateEngine:"webclip"},g=function(){this.filter=".ui-card",this.options=f},h=g.prototype;g.prototype=h,h.option=function(){return b.merge({},f)},h.find=function(){return null},h._createDataUrl=function(a){return c.convertUrlToDataUrl(a,!0)},h.parse=function(a,b){var c,f=this,g=f._createDataUrl(b);return c=d.util.selectors.getClosestBySelector(a,f.filter)||a.querySelector(f.filter),c&&(e.setNSData(c,"url",g),e.setNSData(c,"external",!0)),c},h.open=function(a,b){var d=e.getNSData(a,"url"),f=b.card;!d&&b.href&&(d=b.href,e.setNSData(a,"url",d)),d&&!b.fromHashChange&&!c.isPath(d)&&d.indexOf("#")<0&&(d=c.makeUrlAbsolute("#"+d,c.documentUrl.hrefNoHash)),f&&(f._url=d,f.changeContent(a,b))},a=new g,d.router.route.card=a}(),function(){function a(a,b,c){var d,e=c.target,f={};4===e.readyState&&(f.success=200===e.status||0===e.status&&e.responseXML,d=e.responseXML,b.fullDocument||(d=d.body.firstChild),a(f,d))}function b(b,c,d,e){var g,h=c,i=a.bind(null,e,d);d&&(h=f.addSearchParams(c,d)),g=new XMLHttpRequest,g.responseType="document",g.overrideMimeType("text/html"),g.open("GET",h),g.addEventListener("error",i),g.addEventListener("load",i),g.send()}var c=d.template,e=d.util,f=e.path;c.register("html",b)}(),function(a){a.getConfig("autorun",!0)===!0&&a.engine.run()}(d),function(a,b){var c="ui-theme-",d="light",e={setTheme:function(d){var e=a.body.classList,f=[].slice.call(e);f.forEach(function(a){a.startsWith(c)&&e.remove(a)}),d&&(e.add(c+d),b.event.trigger(a,"themechange",{theme:d}))},getTheme:function(){var b=a.body.classList,e=[].slice.call(b);return e=e.filter(function(a){return a.startsWith(c)}),e.length?e[0].replace(c,""):d}};b.theme=e}(a.document,d),d.info.profile="mobile"}(window,window.document);
\ No newline at end of file
+++ /dev/null
-/*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd
- *
- * Licensed under the Flora License, Version 1.1 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://floralicense.org/license/
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-/********************************
- * Tizen Changeable Less Header *
- *******************************/
-/****************************
- * Tizen nine-patch images *
- ****************************/
-/****************************
- * Tizen Common Less Header *
- ****************************/
-:root {
- --text-secondary-color: #909090;
- --primary-color: #0381fe;
- --control-background: #e6e6e6;
- --textual-background: #FCFCFC;
- --color-white: #fafafa;
- --surface: #FCFCFC;
- --accent-badge: #F56A0D;
- --on-background: #858585;
- --border-surface: #e6e6e6;
- --button-background: rgba(0, 0, 0, 0);
- --button-background-flat: transparent;
- --button-text-font-size: 17px;
- --button-contained-text-font-size: 17px;
- --button-contained-list-text-font-size: 15px;
- --btn-add-color: #00b149;
- --btn-delete-color: #ff3d00;
- --checkbox-image-checked: rgba(0, 0, 0, 0.3);
- --slider-bg-color: rgba(3, 129, 254, 0.3);
- --slider-bg-disabled-color: rgba(102, 102, 102, 0.15);
- --slider-value-color: #0381fe;
- --slider-handler-color: #0381fe;
- --btn-toast-background: rgba(71, 71, 71, 0.9);
- --btn-toast-text-color: #0381fe;
- --toast-background: rgba(102, 102, 102, 0.95);
- --toast-text-color: #FFFFFF;
- --progress-circle-second-color: #06b485;
- --on-off-switch-off-button-border: #8f8f8f;
- --on-off-switch-on-disabled-track-background: rgba(143, 143, 143, 0.4);
- --on-off-switch-off-track-background: transparent;
- --on-off-switch-off-disabled-track-border: rgba(143, 143, 143, 0.4);
-}
-body,
-body.ui-theme-light,
-body.ui-theme-default {
- --primary-color: #0381fe;
- --primary-dark-color: #0072de;
- --primary-color-20p: rgba(3, 129, 254, 0.2);
- --primary-color-30p: rgba(3, 129, 254, 0.3);
- --control-active-color: #3e91ff;
- --control-active-disabled-color: rgba(62, 145, 255, 0.4);
- --control-inactive-color: #8f8f8f;
- --text-color: #252525;
- --text-secondary-color: #909090;
- --color-white: #fafafa;
- --color-black: #000000;
- --ripple-color: rgba(0, 0, 0, 0.1);
- --overlay: rgba(0, 0, 0, 0.45);
- --background-color: #F2F2F2;
- --background-area-color: #fcfcfc;
- --expandable-text-color: #666666;
- --popup-background: #fcfcfc;
- --popup-text: #505050;
- --popup-text-secondary-color: #8f8f8f;
- --popup-footer-divider-color: #e6e6e6;
- --popup-scroll-divider-color: #d4d4d4;
- --icon-color: #3b3b3b;
- --appbar-main-text-color: #252525;
- --appbar-subtitle-color: #636363;
- --appbar-miltiline-title-color: #252525;
- --tab-text-color: #858585;
- --tab-text-color-dim: rgba(133, 133, 133, 0.4);
- --bottom-bar-color: #F2F2F2;
- --button-icon-color: #252525;
- --bottom-button-icon-color: #454545;
- --sub-tab-bg-color: #F2F2F2;
- --sub-tab-text-color: #858585;
- --sub-tab-active-text-color: #252525;
- --sub-tab-border-color: rgba(113, 113, 113, 0.8);
- --progress-bar-color: #0381fe;
- --progress-bar-bg-color: rgba(3, 129, 254, 0.3);
- --button-text-color-disabled: rgba(3, 129, 254, 0.4);
- --checkbox-favorite-color: #f5ab00;
- --ripple-button-flat-color: rgba(0, 0, 0, 0.1);
- --slider-handler-disabled-color: #d2d2d2;
- --slider-scale-dot: #9c9c9c;
- --slider-level-bar-bg-color: rgba(151, 151, 151, 0.3);
- --button-background-contained: rgba(0, 0, 0, 0.06);
- --on-off-switch-off-disabled-button-border: #d0d0d0;
- --on-off-switch-on-disabled-button-border: #d0d0d0;
- --on-off-switch-on-disabled-button-background: #fafafa;
- --on-off-switch-divider-color: #c4c4c4;
- --master-on-off-off-color: #fafafa;
- --master-on-off-on-color: rgba(62, 145, 255, 0.8);
- --chip-background-color: #e5e5e5;
- --chip-border-color: rgba(37, 37, 37, 0.2);
- --chip-btn-background-color: #f2f2f2;
- --chip-btn-border-color: rgba(37, 37, 37, 0.3);
- --text-input-invalid-color: #b00020;
- --dropdown-menu-options-border: 0.25px solid #cccccc;
- --dropdown-menu-options-background: #fcfcfc;
- --dropdown-menu-options-color: #000000;
- --dropdown-menu-options-color-dim: rgba(0, 0, 0, 0.4);
- --content-area-line-color: #d6d6d6;
- --list-item-selected-color: rgba(3, 129, 254, 0.08);
- --divider-color: #e6e6e6;
- --divider-opacity: 100%;
- --subheader-divider-color: #979797;
- --grid-border-color: rgba(0, 0, 0, 0.12);
- --grid-label-color: #252525;
- --grid-label-secondary-color: #666666;
- --expander-color: #747474;
- --reorder-color: #747474;
- --holder-reoder-background: #fcfcfc;
- --holder-reoder-border: #0072de;
- --spin-item-opacity: 0.1;
- --grid-selection-color: rgba(0, 0, 0, 0.3);
- --calendar-weekend-day-color: #c95151;
- --calendar-weekend-color: #d77e7e;
- --calendar-text-color: #454545;
- --calendar-arrow-color: #8e8e8e;
- --calendar-select-text-color: #fafafa;
- --date-picker-header-text-color: #454545;
- --text-input-disabled: #bebebe;
- --text-input-label-inactive: #8c8c8c;
- --text-input-underline-inactive: #8c8c8c;
- --text-input-underline-active: var(--primary-color);
- --icon-control-color: var(--color-white);
- --progress-background-color: #cccccc;
- --on-off-switch-track-off: #8f8f8f;
- --more-options-background-color: var(--popup-background);
- --more-options-background-stroke: #cccccc;
- --more-options-pressed-color: rgba(0, 0, 0, 0.1);
- --button-text-contained-dim-color: rgba(37, 37, 37, 0.4);
-}
-body.ui-theme-dark {
- --primary-color: #0381fe;
- --primary-dark-color: #3e91ff;
- --primary-color-20p: rgba(3, 129, 254, 0.2);
- --primary-color-30p: rgba(3, 129, 254, 0.3);
- --control-active-color: #3e91ff;
- --control-active-disabled-color: rgba(62, 145, 255, 0.4);
- --control-inactive-color: #8f8f8f;
- --text-color: #fafafa;
- --text-secondary-color: #999999;
- --color-white: #fafafa;
- --color-black: #080808;
- --ripple-color: rgba(255, 255, 255, 0.2);
- --overlay: rgba(0, 0, 0, 0.65);
- --background-color: #080808;
- --background-area-color: #252525;
- --expandable-text-color: #9c9c9c;
- --popup-background: #252525;
- --popup-text: #e5e5e5;
- --popup-text-secondary-color: #999999;
- --popup-footer-divider-color: rgba(230, 230, 230, 0.2);
- --popup-scroll-divider-color: rgba(212, 212, 212, 0.18);
- --icon-color: #d9d9d9;
- --appbar-main-text-color: #fafafa;
- --appbar-subtitle-color: #9c9c9c;
- --appbar-miltiline-title-color: #e5e5e5;
- --tab-text-color: #a8a9a9;
- --tab-text-color-dim: rgba(168, 169, 169, 0.4);
- --bottom-bar-color: #010101;
- --button-icon-color: #fafafa;
- --bottom-button-icon-color: #cccccc;
- --sub-tab-bg-color: #010101;
- --sub-tab-text-color: #999999;
- --sub-tab-active-text-color: #FFFFFF;
- --sub-tab-border-color: rgba(255, 255, 255, 0.6);
- --progress-bar-color: #0381fe;
- --progress-bar-bg-color: rgba(3, 129, 254, 0.3);
- --button-text-color-disabled: rgba(3, 129, 254, 0.4);
- --checkbox-favorite-color: #f5ab00;
- --ripple-button-flat-color: rgba(255, 255, 255, 0.2);
- --slider-handler-disabled-color: #545454;
- --slider-scale-dot: #808080;
- --slider-level-bar-bg-color: rgba(151, 151, 151, 0.3);
- --button-background-contained: rgba(250, 250, 250, 0.17);
- --on-off-switch-off-disabled-button-border: #3b3b3b;
- --on-off-switch-on-disabled-button-border: #3b3b3b;
- --on-off-switch-on-disabled-button-background: #858585;
- --on-off-switch-divider-color: rgba(212, 212, 212, 0.15);
- --master-on-off-off-color: rgba(250, 250, 250, 0.17);
- --master-on-off-on-color: rgba(62, 145, 255, 0.4);
- --chip-background-color: #252525;
- --chip-border-color: rgba(250, 250, 250, 0.2);
- --chip-btn-background-color: #f2f2f2;
- --chip-btn-border-color: rgba(37, 37, 37, 0.3);
- --text-input-invalid-color: #ff6666;
- --dropdown-menu-options-border: 0.75px solid #525252;
- --dropdown-menu-options-background: #3d3d3d;
- --dropdown-menu-options-color: #fafafa;
- --dropdown-menu-options-color-dim: rgba(250, 250, 250, 0.4);
- --content-area-line-color: #d6d6d6;
- --list-item-selected-color: rgba(250, 250, 250, 0.1);
- --divider-color: #d4d4d4;
- --divider-opacity: 15%;
- --subheader-divider-color: #fafafa;
- --grid-border-color: rgba(250, 250, 250, 0.25);
- --grid-label-color: #fafafa;
- --grid-label-secondary-color: #999999;
- --expander-color: #808080;
- --reorder-color: #808080;
- --holder-reoder-background: #252525;
- --holder-reoder-border: #3e91ff;
- --spin-item-opacity: 0.2;
- --grid-selection-color: rgba(0, 0, 0, 0.3);
- --calendar-weekend-day-color: #c95151;
- --calendar-weekend-color: #993d3d;
- --calendar-text-color: #cccccc;
- --calendar-arrow-color: #737373;
- --calendar-select-text-color: #000000;
- --date-picker-header-text-color: #cccccc;
- --surface: #3d3d3d;
- --text-input-disabled: #454545;
- --text-input-label-inactive: #737373;
- --text-input-underline-inactive: #737373;
- --text-input-underline-active: var(--primary-color);
- --icon-control-color: var(--surface);
- --progress-background-color: #252525;
- --more-options-background-color: #3d3d3d;
- --more-options-background-stroke: #525252;
- --more-options-pressed-color: rgba(255, 255, 255, 0.2);
- --button-text-contained-dim-color: rgba(250, 250, 250, 0.4);
-}
-@font-face {
- font-family: Roboto-Light;
- src: url(fonts/Roboto-Light.ttf);
-}
-@font-face {
- font-family: Roboto-Regular;
- src: url(fonts/Roboto-Regular.ttf);
-}
-@font-face {
- font-family: Roboto-Medium;
- src: url(fonts/Roboto-Medium.ttf);
-}
-.tau-info-theme {
- position: absolute;
- top: -999px;
- left: -999px;
-}
-.ui-appbar,
-header {
- position: relative;
- width: 100%;
- box-sizing: border-box;
- background: var(--background-color);
- overflow: hidden;
- border: none;
- height: 56px;
- margin-bottom: 12px;
- font-family: Roboto-Regular;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: column;
- -ms-flex-direction: column;
- flex-direction: column;
-}
-.ui-appbar:not(.ui-appbar-dragging),
-header:not(.ui-appbar-dragging) {
- transition: height 100ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
-}
-.ui-appbar:not(.ui-appbar-dragging) .ui-appbar-controls-container,
-header:not(.ui-appbar-dragging) .ui-appbar-controls-container,
-.ui-appbar:not(.ui-appbar-dragging) .ui-appbar-expanded-title-container,
-header:not(.ui-appbar-dragging) .ui-appbar-expanded-title-container {
- padding-top: 0px;
- transition: opacity 100ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
-}
-.ui-appbar:not(.ui-appbar-dragging).ui-appbar-animation-fast,
-header:not(.ui-appbar-dragging).ui-appbar-animation-fast {
- transition-duration: 10ms;
-}
-.ui-appbar:not(.ui-appbar-dragging).ui-appbar-animation-fast .ui-appbar-controls-container,
-header:not(.ui-appbar-dragging).ui-appbar-animation-fast .ui-appbar-controls-container,
-.ui-appbar:not(.ui-appbar-dragging).ui-appbar-animation-fast .ui-appbar-expanded-title-container,
-header:not(.ui-appbar-dragging).ui-appbar-animation-fast .ui-appbar-expanded-title-container {
- transition-duration: 10ms;
-}
-.ui-appbar .ui-btn,
-header .ui-btn {
- padding: 0;
-}
-.ui-appbar .ui-btn.ui-btn-flat,
-header .ui-btn.ui-btn-flat {
- font-size: 18px;
- font-family: Roboto-Medium;
- color: var(--appbar-main-text-color);
-}
-.ui-appbar .ui-btn.ui-btn-flat::before,
-header .ui-btn.ui-btn-flat::before {
- height: 48px;
- border-radius: 24px;
-}
-.ui-appbar .ui-btn.ui-btn-icon,
-header .ui-btn.ui-btn-icon {
- background-color: transparent;
- position: relative;
- width: 24px;
- height: 24px;
- min-height: 24px;
- margin-right: 8px;
-}
-.ui-appbar .ui-btn.ui-btn-icon::before,
-header .ui-btn.ui-btn-icon::before {
- width: 48px;
- height: 48px;
-}
-.ui-appbar .ui-btn.ui-btn-icon::after,
-header .ui-btn.ui-btn-icon::after {
- width: 24px;
- height: 24px;
-}
-.ui-appbar .ui-btn.ui-btn-icon-back::after,
-header .ui-btn.ui-btn-icon-back::after {
- -webkit-mask-image: url("images/1_App_bar/tw_ic_ab_back_mtrl.svg");
- mask-image: url("images/1_App_bar/tw_ic_ab_back_mtrl.svg");
-}
-.ui-appbar .ui-btn.ui-btn-icon-more::after,
-header .ui-btn.ui-btn-icon-more::after {
- -webkit-mask-image: url("images/1_App_bar/tw_ic_ab_more_mtrl.svg");
- mask-image: url("images/1_App_bar/tw_ic_ab_more_mtrl.svg");
-}
-.ui-appbar .ui-btn.ui-btn-icon-search::after,
-header .ui-btn.ui-btn-icon-search::after {
- -webkit-mask-image: url("images/1_App_bar/tw_ic_ab_search_mtrl.svg");
- mask-image: url("images/1_App_bar/tw_ic_ab_search_mtrl.svg");
-}
-.ui-appbar .ui-btn.ui-btn-icon-add::after,
-header .ui-btn.ui-btn-icon-add::after {
- -webkit-mask-image: url("images/1_App_bar/tw_ic_ab_add_mtrl.svg");
- mask-image: url("images/1_App_bar/tw_ic_ab_add_mtrl.svg");
-}
-.ui-appbar .ui-btn.ui-btn-icon.ui-btn-flat,
-header .ui-btn.ui-btn-icon.ui-btn-flat {
- min-height: 24px;
- display: block;
- margin-top: auto;
- margin-bottom: auto;
-}
-.ui-appbar .ui-btn.ui-btn-icon.ui-btn-flat::after,
-header .ui-btn.ui-btn-icon.ui-btn-flat::after {
- -webkit-mask-size: 100%;
- mask-size: 100%;
- width: 24px;
- height: 24px;
-}
-.ui-appbar .ui-btn.ui-btn-icon.ui-btn-flat::before,
-header .ui-btn.ui-btn-icon.ui-btn-flat::before {
- background-color: transparent;
- width: 48px;
- height: 48px;
-}
-.ui-appbar .ui-btn.ui-btn-icon.ui-btn-icon-back,
-header .ui-btn.ui-btn-icon.ui-btn-icon-back {
- margin-left: 20px;
- margin-right: 12px;
-}
-.ui-appbar .ui-appbar-controls-container,
-header .ui-appbar-controls-container {
- -webkit-flex: 0 0 56px;
- -ms-flex: 0 0 56px;
- flex: 0 0 56px;
- width: 100%;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: row;
- -ms-flex-direction: row;
- flex-direction: row;
- -webkit-align-items: flex-start;
- -ms-flex-align: start;
- align-items: flex-start;
- position: absolute;
- bottom: 0;
-}
-.ui-appbar .ui-appbar-controls-container .ui-appbar-left-icons-container,
-header .ui-appbar-controls-container .ui-appbar-left-icons-container {
- -webkit-flex-shrink: 0;
- -ms-flex-negative: 0;
- flex-shrink: 0;
- min-width: 24px;
- margin-top: auto;
- margin-bottom: auto;
-}
-.ui-appbar .ui-appbar-controls-container .ui-appbar-title-container,
-header .ui-appbar-controls-container .ui-appbar-title-container {
- height: 56px;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- margin: auto 0;
- overflow: hidden;
- -webkit-flex-direction: column;
- -ms-flex-direction: column;
- flex-direction: column;
- -webkit-justify-content: center;
- -ms-flex-pack: center;
- justify-content: center;
- -webkit-align-items: flex-start;
- -ms-flex-align: start;
- align-items: flex-start;
-}
-.ui-appbar .ui-appbar-controls-container .ui-appbar-title-container .ui-appbar-title,
-header .ui-appbar-controls-container .ui-appbar-title-container .ui-appbar-title {
- max-width: 100%;
- overflow: hidden;
- white-space: nowrap;
- text-overflow: ellipsis;
- font-size: 19px;
- color: var(--appbar-main-text-color);
-}
-.ui-appbar .ui-appbar-controls-container .ui-appbar-title-container.ui-appbar-has-subtitle .ui-appbar-subtitle,
-header .ui-appbar-controls-container .ui-appbar-title-container.ui-appbar-has-subtitle .ui-appbar-subtitle {
- font-size: 13px;
- color: var(--appbar-subtitle-color);
-}
-.ui-appbar .ui-appbar-controls-container .ui-appbar-title-container.ui-appbar-has-multiline .ui-appbar-title,
-header .ui-appbar-controls-container .ui-appbar-title-container.ui-appbar-has-multiline .ui-appbar-title {
- font-size: 17px;
- color: var(--appbar-miltiline-title-color);
-}
-.ui-appbar .ui-appbar-controls-container .ui-appbar-action-buttons-container,
-header .ui-appbar-controls-container .ui-appbar-action-buttons-container {
- height: 100%;
- -webkit-flex-shrink: 0;
- -ms-flex-negative: 0;
- flex-shrink: 0;
- margin-left: auto;
- min-width: 24px;
- margin-top: auto;
- margin-bottom: auto;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: row;
- -ms-flex-direction: row;
- flex-direction: row;
- -webkit-justify-content: flex-end;
- -ms-flex-pack: end;
- justify-content: flex-end;
-}
-.ui-appbar .ui-appbar-controls-container .ui-appbar-action-buttons-container .ui-btn,
-header .ui-appbar-controls-container .ui-appbar-action-buttons-container .ui-btn {
- margin-right: 12px;
- margin-left: 12px;
-}
-.ui-appbar .ui-appbar-controls-container .ui-appbar-action-buttons-container .ui-btn:last-child,
-header .ui-appbar-controls-container .ui-appbar-action-buttons-container .ui-btn:last-child {
- margin-right: 20px;
- margin-left: 15px;
-}
-.ui-appbar .ui-appbar-controls-container .ui-appbar-action-buttons-container .ui-btn + .ui-btn-icon,
-header .ui-appbar-controls-container .ui-appbar-action-buttons-container .ui-btn + .ui-btn-icon {
- margin-left: 3px;
-}
-.ui-appbar .ui-appbar-expanded-title-container,
-header .ui-appbar-expanded-title-container {
- -webkit-flex: 1 1 auto;
- -ms-flex: 1 1 auto;
- flex: 1 1 auto;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: column;
- -ms-flex-direction: column;
- flex-direction: column;
- -webkit-justify-content: center;
- -ms-flex-pack: center;
- justify-content: center;
- -webkit-align-items: center;
- -ms-flex-align: center;
- align-items: center;
- opacity: 0;
- height: 0;
-}
-.ui-appbar .ui-appbar-expanded-title-container .ui-appbar-title,
-header .ui-appbar-expanded-title-container .ui-appbar-title {
- line-height: 54px;
- font-size: 38px;
- font-family: Roboto-Light;
- margin-left: 24px;
- margin-right: 24px;
- text-align: center;
-}
-.ui-appbar .ui-appbar-expanded-title-container .ui-appbar-subtitle,
-header .ui-appbar-expanded-title-container .ui-appbar-subtitle {
- line-height: 20px;
- font-size: 15px;
- text-align: center;
-}
-.ui-appbar h1,
-header h1,
-.ui-appbar h2,
-header h2,
-.ui-appbar h3,
-header h3,
-.ui-appbar h4,
-header h4,
-.ui-appbar h5,
-header h5,
-.ui-appbar h6,
-header h6 {
- margin: 0;
- padding: 0;
- border: 0;
- outline: 0;
- font-weight: inherit;
- font-style: inherit;
- font-size: 100%;
- font-family: inherit;
- vertical-align: baseline;
-}
-.ui-appbar.ui-appbar-expanded,
-header.ui-appbar-expanded {
- height: calc(39.67% - 12px);
-}
-.ui-appbar.ui-appbar-expanded .ui-appbar-expanded-title-container,
-header.ui-appbar-expanded .ui-appbar-expanded-title-container {
- opacity: 1;
-}
-.ui-appbar.ui-appbar-dragging .ui-appbar-expanded-title-container,
-header.ui-appbar-dragging .ui-appbar-expanded-title-container {
- overflow: hidden;
-}
-.ui-appbar .ui-label-select-all,
-header .ui-label-select-all {
- font-family: Roboto-Regular;
- font-size: 12px;
- width: 32px;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: column;
- -ms-flex-direction: column;
- flex-direction: column;
- -webkit-align-items: center;
- -ms-flex-align: center;
- align-items: center;
- padding-top: 10px;
- line-height: 14px;
- margin-left: 18px;
- margin-right: 18px;
-}
-.ui-appbar .ui-label-select-all input[type="checkbox"].ui-checkbox,
-header .ui-label-select-all input[type="checkbox"].ui-checkbox {
- margin: 0 0 -3px 0;
-}
-.ui-appbar .ui-appbar-container,
-header .ui-appbar-container {
- height: 70px;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-align-items: center;
- -ms-flex-align: center;
- align-items: center;
- -webkit-order: 10;
- -ms-flex-order: 10;
- order: 10;
- background-color: var(--background-area-color);
- border-radius: 26px;
- overflow: hidden;
- box-sizing: border-box;
- box-shadow: 0 0 0 0.25px var(--content-area-line-color) inset;
-}
-.ui-appbar .ui-appbar-container > :first-child,
-header .ui-appbar-container > :first-child {
- margin-left: 24px;
-}
-.ui-appbar .ui-appbar-container .ui-title,
-header .ui-appbar-container .ui-title {
- font-size: 18px;
- -webkit-flex: 1;
- -ms-flex: 1;
- flex: 1;
-}
-.ui-appbar .ui-appbar-container .ui-icon,
-header .ui-appbar-container .ui-icon {
- width: 21px;
- height: 21px;
- overflow: hidden;
- margin-right: 22px;
-}
-.ui-appbar .ui-appbar-container .ui-icon img,
-header .ui-appbar-container .ui-icon img {
- width: 100%;
-}
-.ui-appbar .ui-appbar-container .ui-btn.ui-btn-icon.ui-btn-icon-only,
-header .ui-appbar-container .ui-btn.ui-btn-icon.ui-btn-icon-only {
- height: 48px;
- max-width: 48px;
-}
-@media all and (min-height: 580px) and (orientation: landscape) {
- .ui-appbar.ui-appbar-expanded {
- height: calc(30% - 12px);
- }
-}
-@media all and (min-height: 960px) {
- .ui-appbar.ui-appbar-expanded {
- height: calc(25% - 12px);
- }
-}
-.ui-card {
- border-radius: 26px;
- overflow: hidden;
- box-sizing: border-box;
- margin-bottom: 10px;
-}
-.ui-card.ui-card-service {
- background-color: var(--background-area-color);
- border-radius: 26px;
- overflow: hidden;
- box-sizing: border-box;
- box-shadow: 0 0 0 0.25px var(--content-area-line-color) inset;
-}
-.ui-card.ui-card-service *::-webkit-scrollbar {
- display: none;
-}
-.ui-card.ui-card-service .ui-subheader-text {
- color: #7b7b7b;
-}
-.ui-card.ui-card-service .ui-content-subheader {
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-align-items: center;
- -ms-flex-align: center;
- align-items: center;
-}
-.ui-card.ui-card-service .ui-content-subheader::after {
- content: "";
- display: -webkit-inline-flex;
- display: -ms-inline-flexbox;
- display: inline-flex;
- width: calc(100% - 20px);
- border-bottom: 1px solid var(--subheader-divider-color);
- height: 0;
- -webkit-align-items: center;
- -ms-flex-align: center;
- align-items: center;
- margin-right: 20px;
- margin-left: 10px;
-}
-.ui-card.ui-card-service .ui-content-thumbnail {
- width: 100%;
-}
-.ui-card.ui-card-service .ui-content .ui-title.ui-title-medium {
- font-size: 18px;
- font-family: Roboto-Medium;
-}
-.ui-card.ui-card-service .ui-content.ui-scrollview-clip {
- border-radius: 0;
-}
-.ui-card.ui-card-service .ui-listview li .ui-li-icon {
- width: 58px;
- height: 58px;
-}
-.ui-card.ui-card-service .ui-listview li .ui-li-icon img {
- width: 58px;
- height: 58px;
-}
-.ui-card.ui-card-service .ui-listview li .ui-li-text {
- padding: 25px 0 23px;
-}
-.ui-card.ui-card-service .ui-listview li .ui-li-text-title {
- font-size: 16px;
-}
-.ui-card.ui-card-service .ui-listview li .ui-li-text-sub {
- font-size: 12px;
-}
-.ui-card .ui-header {
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- height: 46px;
- padding: 0 20px;
-}
-.ui-card .ui-header .ui-title {
- margin-top: 24px;
- margin-bottom: 3px;
- font-size: 15px;
- color: var(--text-color);
- -webkit-order: 1;
- -ms-flex-order: 1;
- order: 1;
- display: inline-block;
- -webkit-flex: 1;
- -ms-flex: 1;
- flex: 1;
-}
-.ui-card .ui-header .ui-icon {
- margin-right: 10px;
- margin-top: 20px;
- width: 26px;
- height: 26px;
- -webkit-order: 0;
- -ms-flex-order: 0;
- order: 0;
- display: inline-block;
-}
-.ui-card .ui-header .ui-icon img {
- width: 100%;
- height: 100%;
-}
-.ui-card .ui-header .ui-controls {
- -webkit-order: 2;
- -ms-flex-order: 2;
- order: 2;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- margin-top: 20px;
- height: 26px;
-}
-.ui-card .ui-header .ui-controls .ui-btn {
- width: 26px;
- height: 26px;
- background-color: transparent;
- min-height: 26px;
- padding: 0;
- display: inline-block;
-}
-.ui-card .ui-header .ui-controls .ui-btn ~ .ui-btn {
- margin-left: 14px;
-}
-.ui-card .ui-header .ui-controls .ui-btn::before {
- height: 26px;
-}
-.ui-card .ui-header .ui-controls .ui-btn::after {
- background-color: var(--background-area-color);
- height: 26px;
- width: 26px;
-}
-.ui-card .ui-content,
-.ui-card .ui-content.ui-scrollview-clip {
- padding: 10px 20px;
-}
-.ui-card .ui-content.ui-tabs,
-.ui-card .ui-content.ui-scrollview-clip.ui-tabs {
- padding: 0;
-}
-.ui-card .ui-content .ui-section-changer .ui-content,
-.ui-card .ui-content.ui-scrollview-clip .ui-section-changer .ui-content {
- padding: 0;
-}
-.ui-card .ui-content .ui-title,
-.ui-card .ui-content.ui-scrollview-clip .ui-title {
- font-size: 16px;
-}
-.ui-card .ui-content .ui-description,
-.ui-card .ui-content.ui-scrollview-clip .ui-description {
- font-size: 14px;
-}
-.ui-card .ui-content video,
-.ui-card .ui-content.ui-scrollview-clip video {
- border-radius: 26px;
-}
-.ui-card .ui-content .ui-btn,
-.ui-card .ui-content.ui-scrollview-clip .ui-btn {
- width: 86px;
- padding: 0;
-}
-.ui-card .ui-content .ui-btn .ui-btn-content,
-.ui-card .ui-content.ui-scrollview-clip .ui-btn .ui-btn-content {
- width: 86px;
- -webkit-align-items: center;
- -ms-flex-align: center;
- align-items: center;
-}
-.ui-card .ui-content .ui-btn .ui-btn-content img,
-.ui-card .ui-content.ui-scrollview-clip .ui-btn .ui-btn-content img {
- border-radius: 15px;
- width: 80px;
- height: 80px;
- margin-bottom: 8px;
-}
-.ui-card .ui-content .ui-btn .ui-btn-content .ui-title,
-.ui-card .ui-content.ui-scrollview-clip .ui-btn .ui-btn-content .ui-title {
- font-size: 14px;
- color: var(--text-color);
- line-height: 16px;
-}
-.ui-card .ui-content .ui-btn .ui-btn-content .ui-subtitle,
-.ui-card .ui-content.ui-scrollview-clip .ui-btn .ui-btn-content .ui-subtitle {
- font-size: 12px;
- color: var(--text-secondary-color);
- line-height: 14px;
-}
-.ui-card .ui-container-item img {
- border-radius: 16px;
- width: 188px;
- height: 126px;
- margin-bottom: 17px;
-}
-.ui-card .ui-container-item .ui-title {
- font-family: Roboto-Medium;
- color: var(--text-color);
- font-size: 16px;
- line-height: 19px;
- text-align: left;
- white-space: normal;
- margin-bottom: 6px;
-}
-.ui-card .ui-container-item .ui-subtitle {
- font-family: Roboto-Regular;
- color: var(--text-secondary-color);
- font-size: 14px;
- line-height: 16px;
- text-align: left;
- white-space: normal;
-}
-.ui-card .ui-footer {
- height: 63px;
- -webkit-justify-content: flex-end;
- -ms-flex-pack: end;
- justify-content: flex-end;
- padding: 0 20px;
-}
-.ui-card .ui-footer .ui-btn {
- display: inline-block;
- width: auto;
- height: 43px;
- color: var(--color-white);
- font-size: 14px;
- background-color: var(--primary-dark-color);
-}
-.ui-card .ui-sub-tab {
- background-color: transparent;
-}
-.ui-card.ui-card-ads {
- background-color: var(--background-area-color);
- min-height: 200px;
-}
-.ui-card.ui-card-ads .ui-content {
- padding: 0;
- border-radius: 0;
-}
-.ui-card.ui-card-ads .ui-content .ui-scrollview-view {
- overflow: hidden;
-}
-.ui-card.ui-card-ads .ui-content video,
-.ui-card.ui-card-ads .ui-content img {
- border-radius: 0;
- width: 100%;
-}
-.ui-card.ui-card-ads .ui-content .ui-title {
- font-family: Roboto-Medium;
- color: var(--text-color);
- font-size: 16px;
- white-space: normal;
- margin: 0 20px;
-}
-.ui-card.ui-card-ads .ui-content .ui-title:last-child {
- margin-top: 15px;
-}
-.ui-card.ui-card-ads .ui-content .ui-subtitle {
- font-family: Roboto-Regular;
- color: var(--text-secondary-color);
- font-size: 14px;
- white-space: normal;
- margin: 0 20px;
-}
-.ui-card.ui-card-ads .ui-content .ui-banner {
- position: relative;
- width: 100%;
- height: 150px;
- overflow: hidden;
-}
-.ui-card.ui-card-ads .ui-content .ui-banner img {
- width: 100%;
- position: absolute;
-}
-.ui-card.ui-card-ads .ui-footer .ui-title {
- font-family: Roboto-Medium;
- color: var(--text-color);
- font-size: 16px;
- white-space: normal;
- margin: 0 20px 0 0;
- -webkit-flex: 1;
- -ms-flex: 1;
- flex: 1;
- text-align: left;
-}
-.LESSui-footer {
- box-sizing: border-box;
- padding: 12px 24px;
- text-align: center;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-align-items: center;
- -ms-flex-align: center;
- align-items: center;
- -webkit-flex-shrink: 0;
- -ms-flex-negative: 0;
- flex-shrink: 0;
- -webkit-flex-grow: 0;
- -ms-flex-positive: 0;
- flex-grow: 0;
-}
-.LESSui-footer .ui-btn:not(.ui-btn-contained) {
- height: 52px;
- line-height: 52px;
- margin: 0 auto;
- max-width: 248px;
-}
-.LESSui-footer .ui-btn.ui-btn-contained:not(.ui-btn-inline) {
- -webkit-flex: 1;
- -ms-flex: 1;
- flex: 1;
-}
-.LESSui-footer .ui-btn:not(.ui-btn-circle):not(.ui-btn-nobg):not(.ui-floatingactions-item):not(.ui-btn-welcome):not(.ui-btn-contained) {
- background-color: var(--button-background);
-}
-.LESSui-footer .ui-btn:not(.ui-btn-circle):not(.ui-btn-nobg):not(.ui-floatingactions-item):not(.ui-btn-welcome):not(.ui-btn-contained).ui-btn-active::before {
- background-color: var(--ripple-color);
-}
-.LESSui-footer .ui-btn:not(.ui-btn-circle):not(.ui-btn-nobg):not(.ui-floatingactions-item):not(.ui-btn-welcome):not(.ui-btn-contained).ui-state-disabled {
- background-color: var(--button-background);
-}
-.LESSui-footer .ui-btn ~ .ui-btn {
- margin-left: 16px;
-}
-.LESSui-footer .ui-btn.ui-btn-contained ~ .ui-btn.ui-btn-contained {
- margin-left: 8px;
-}
-.LESSui-footer.ui-grid-col-1 .ui-btn.ui-inline,
-.LESSui-footer.ui-grid-col-2 .ui-btn.ui-inline,
-.LESSui-footer.ui-grid-col-3 .ui-btn.ui-inline {
- display: block;
- width: 100%;
-}
-.LESSui-footer.ui-bottom-button {
- height: 56px;
- padding-left: 24px;
- padding-right: 24px;
-}
-.ui-footer {
- width: 100%;
- box-sizing: border-box;
- padding: 12px 24px;
- text-align: center;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-align-items: center;
- -ms-flex-align: center;
- align-items: center;
- -webkit-flex-shrink: 0;
- -ms-flex-negative: 0;
- flex-shrink: 0;
- -webkit-flex-grow: 0;
- -ms-flex-positive: 0;
- flex-grow: 0;
-}
-.ui-footer .ui-btn:not(.ui-btn-contained) {
- height: 52px;
- line-height: 52px;
- margin: 0 auto;
- max-width: 248px;
-}
-.ui-footer .ui-btn.ui-btn-contained:not(.ui-btn-inline) {
- -webkit-flex: 1;
- -ms-flex: 1;
- flex: 1;
-}
-.ui-footer .ui-btn:not(.ui-btn-circle):not(.ui-btn-nobg):not(.ui-floatingactions-item):not(.ui-btn-welcome):not(.ui-btn-contained) {
- background-color: var(--button-background);
-}
-.ui-footer .ui-btn:not(.ui-btn-circle):not(.ui-btn-nobg):not(.ui-floatingactions-item):not(.ui-btn-welcome):not(.ui-btn-contained).ui-btn-active::before {
- background-color: var(--ripple-color);
-}
-.ui-footer .ui-btn:not(.ui-btn-circle):not(.ui-btn-nobg):not(.ui-floatingactions-item):not(.ui-btn-welcome):not(.ui-btn-contained).ui-state-disabled {
- background-color: var(--button-background);
-}
-.ui-footer .ui-btn ~ .ui-btn {
- margin-left: 16px;
-}
-.ui-footer .ui-btn.ui-btn-contained ~ .ui-btn.ui-btn-contained {
- margin-left: 8px;
-}
-.ui-footer.ui-grid-col-1 .ui-btn.ui-inline,
-.ui-footer.ui-grid-col-2 .ui-btn.ui-inline,
-.ui-footer.ui-grid-col-3 .ui-btn.ui-inline {
- display: block;
- width: 100%;
-}
-.ui-footer.ui-bottom-button {
- height: 56px;
- padding-left: 24px;
- padding-right: 24px;
-}
-.ui-page:not(.ui-page-flex) .ui-footer {
- position: fixed;
- bottom: 0;
-}
-.ui-page.ui-page-flex .ui-footer {
- overflow: visible;
-}
-.ui-page-container,
-.ui-page-container body {
- height: 100%;
- font-size: 22px;
-}
-@media all and (max-width: 359px) {
- .ui-page-container,
- .ui-page-container body {
- font-size: 19px;
- }
-}
-.ui-page-container fieldset,
-.ui-page {
- padding: 0;
- margin: 0;
-}
-.ui-page-container a img,
-.ui-page-container fieldset {
- border: 0;
-}
-.ui-page-container {
- margin: 0;
- overflow-x: hidden;
- -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
-}
-[data-role=page],
-[data-role=dialog],
-.ui-page {
- top: 0;
- left: 0;
- width: 100%;
- position: absolute;
- display: none;
- border: 0;
-}
-[data-role=page].ui-page-build,
-[data-role=dialog].ui-page-build,
-.ui-page.ui-page-build {
- display: block;
- visibility: hidden;
-}
-[data-role=page].ui-pre-in,
-[data-role=dialog].ui-pre-in,
-.ui-page.ui-pre-in {
- z-index: 100;
-}
-[data-role=page].ui-pre-in,
-[data-role=dialog].ui-pre-in,
-.ui-page.ui-pre-in,
-[data-role=page].ui-page-active,
-[data-role=dialog].ui-page-active,
-.ui-page.ui-page-active {
- display: block;
- overflow: hidden;
-}
-[data-role=page].ui-pre-in.ui-page-flex,
-[data-role=dialog].ui-pre-in.ui-page-flex,
-.ui-page.ui-pre-in.ui-page-flex,
-[data-role=page].ui-page-active.ui-page-flex,
-[data-role=dialog].ui-page-active.ui-page-flex,
-.ui-page.ui-page-active.ui-page-flex {
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: column;
- -ms-flex-direction: column;
- flex-direction: column;
- -webkit-align-content: stretch;
- -ms-flex-line-pack: stretch;
- align-content: stretch;
-}
-[data-role=page].ui-pre-in.ui-page-flex .ui-header,
-[data-role=dialog].ui-pre-in.ui-page-flex .ui-header,
-.ui-page.ui-pre-in.ui-page-flex .ui-header,
-[data-role=page].ui-page-active.ui-page-flex .ui-header,
-[data-role=dialog].ui-page-active.ui-page-flex .ui-header,
-.ui-page.ui-page-active.ui-page-flex .ui-header {
- position: relative;
-}
-[data-role=page].ui-pre-in.ui-page-flex .ui-content,
-[data-role=dialog].ui-pre-in.ui-page-flex .ui-content,
-.ui-page.ui-pre-in.ui-page-flex .ui-content,
-[data-role=page].ui-page-active.ui-page-flex .ui-content,
-[data-role=dialog].ui-page-active.ui-page-flex .ui-content,
-.ui-page.ui-page-active.ui-page-flex .ui-content {
- -webkit-flex: 1;
- -ms-flex: 1;
- flex: 1;
-}
-.ui-page-container,
-.ui-page-container .ui-page {
- color: var(--text-color);
- background-image: none;
- background-color: var(--background-color);
-}
-.ui-page-container.ui-page-light,
-.ui-page-container .ui-page.ui-page-light {
- background-image: none;
-}
-.ui-page.ui-mobile-touch-overflow,
-.ui-mobile-touch-overflow.ui-native-fixed .ui-content {
- overflow: auto;
- height: 100%;
- -webkit-overflow-scrolling: touch;
-}
-.ui-page.ui-mobile-touch-overflow,
-.ui-page.ui-mobile-touch-overflow * {
- transform: rotateY(0);
- -ms-transform: rotateY(0);
- -moz-transform: rotateY(0);
- -webkit-transform: rotateY(0);
- -o-transform: rotateY(0);
-}
-.ui-page.ui-mobile-pre-transition {
- display: block;
-}
-.ui-blocker {
- width: 100%;
- height: 100%;
- z-index: 2147483647;
-}
-.ui-mobile-rendering > * {
- visibility: hidden;
-}
-.ui-bar,
-.ui-body {
- position: relative;
- padding: .4em 15px;
- overflow: hidden;
- display: block;
- clear: both;
-}
-.ui-bar {
- font-size: 16px;
- margin: 0;
-}
-.ui-bar h1,
-.ui-bar h2,
-.ui-bar h3,
-.ui-bar h4,
-.ui-bar h5,
-.ui-bar h6 {
- margin: 0;
- padding: 0;
- font-size: 16px;
- display: inline-block;
-}
-.ui-content {
- border-width: 0;
- overflow-y: visible;
- overflow-x: hidden;
- -webkit-flex-shrink: 1;
- -ms-flex-negative: 1;
- flex-shrink: 1;
- border-radius: 26px;
-}
-.ui-content.ui-content-padding,
-.ui-content.ui-content-padding.ui-scrollview-clip {
- padding-left: 12px;
- padding-right: 12px;
-}
-.ui-content.ui-content-under-popup {
- pointer-events: none;
-}
-.ui-content .ui-content-area {
- background-color: var(--background-area-color);
- border-radius: 26px;
- overflow: hidden;
- box-sizing: border-box;
- box-shadow: 0 0 0 0.25px var(--content-area-line-color) inset;
- margin: auto auto 16px auto;
-}
-@media (min-width: 673px) and (min-height: 411px) {
- .ui-content .ui-content-area {
- width: 90%;
- }
-}
-@media (min-width: 960px) {
- .ui-content .ui-content-area {
- width: 75%;
- }
-}
-.ui-content .ui-content-area-disabled-top-rounding {
- border-top-left-radius: 0;
- border-top-right-radius: 0;
- -webkit-mask-box-image-width: 0 26px 26px;
- mask-border-width: 0 26px 26px;
-}
-.ui-content .ui-content-area ~ .ui-content-subheader {
- margin-top: -16px;
-}
-.ui-content .ui-content-subheader {
- color: var(--text-secondary-color);
- font-family: Roboto-Medium;
- font-size: 14px;
- padding-bottom: 7px;
- padding-top: 13px;
- margin-left: 24px;
- line-height: 16px;
-}
-body.ui-theme-dark .ui-content-area {
- box-shadow: unset;
-}
-.ui-page-fullscreen .ui-content {
- padding: 0;
-}
-.ui-mobile-touch-overflow.ui-native-fixed .ui-content {
- padding-top: 2.5em;
- padding-bottom: 3em;
- top: 0;
- bottom: 0;
- height: auto;
- position: absolute;
-}
-.ui-mobile-touch-overflow.ui-native-fullscreen .ui-content {
- padding-top: 0;
- padding-bottom: 0;
-}
-.ui-native-bars-hidden {
- display: none;
-}
-.ui-screen-hidden {
- display: none;
-}
-.ui-icon {
- width: 18px;
- height: 18px;
-}
-.ui-fullscreen img {
- max-width: 100%;
-}
-.ui-nojs {
- position: absolute;
- left: -9999px;
-}
-.scrolling-scrollbar {
- position: absolute;
- pointer-events: none;
-}
-.scrolling-scrollbar .scrolling-scrollthumb {
- background-color: #71cbd9;
- position: absolute;
-}
-.scrolling-scrollbar.scrolling-direction-y {
- right: 11px;
- width: 10px;
-}
-.scrolling-scrollbar.scrolling-direction-y .scrolling-scrollthumb {
- width: 10px;
- min-height: 44px;
- top: 0;
- left: 50%;
- margin-left: -5px;
-}
-.scrolling-scrollbar.scrolling-direction-x {
- bottom: 11px;
- height: 10px;
-}
-.scrolling-scrollbar.scrolling-direction-x .scrolling-scrollthumb {
- height: 10px;
- min-width: 37px;
- left: 0;
- top: 50%;
- margin-top: -5px;
-}
-input[type="checkbox"].ui-checkbox:not(.ui-toggle-switch) {
- position: relative;
- height: 32px;
- width: 32px;
- box-sizing: border-box;
- outline: none;
- -webkit-appearance: none;
- margin: 0 18px;
-}
-@-webkit-keyframes checkbox-in {
- from {
- -webkit-mask-position: 0 0;
- mask-position: 0 0;
- }
- to {
- -webkit-mask-position: 100% 0;
- mask-position: 100% 0;
- }
-}
-@keyframes checkbox-in {
- from {
- -webkit-mask-position: 0 0;
- mask-position: 0 0;
- }
- to {
- -webkit-mask-position: 100% 0;
- mask-position: 100% 0;
- }
-}
-@-webkit-keyframes checkbox-out {
- from {
- -webkit-mask-position: 100% 0;
- mask-position: 100% 0;
- }
- to {
- -webkit-mask-position: 0 0;
- mask-position: 0 0;
- }
-}
-@keyframes checkbox-out {
- from {
- -webkit-mask-position: 100% 0;
- mask-position: 100% 0;
- }
- to {
- -webkit-mask-position: 0 0;
- mask-position: 0 0;
- }
-}
-input[type="checkbox"].ui-checkbox::before {
- content: "";
- position: absolute;
- left: 0;
- top: 0;
- width: 32px;
- height: 32px;
- background-color: var(--ripple-color);
- border-radius: 100%;
- opacity: 0;
-}
-input[type="checkbox"].ui-checkbox::after {
- content: "";
- position: absolute;
- bottom: 0;
- opacity: 0.8;
- background-color: var(--control-inactive-color);
- -webkit-animation-duration: 250ms;
- animation-duration: 250ms;
- -webkit-animation-fill-mode: both;
- animation-fill-mode: both;
- -webkit-animation-timing-function: steps(26);
- animation-timing-function: steps(26);
- width: 100%;
- height: 100%;
- -webkit-mask-image: url("images/3_Controllers/Checkbox/sprites/sem_checkedtextview_check_to_on_mtrl_sprites.svg");
- mask-image: url("images/3_Controllers/Checkbox/sprites/sem_checkedtextview_check_to_on_mtrl_sprites.svg");
- -webkit-mask-size: auto 100%;
- mask-size: auto 100%;
- -webkit-mask-repeat: no-repeat;
- mask-repeat: no-repeat;
- -webkit-mask-position: 0 0;
- mask-position: 0 0;
-}
-input[type="checkbox"].ui-checkbox.ui-checkbox-backward-animation::after {
- -webkit-animation-name: checkbox-out;
- animation-name: checkbox-out;
-}
-input[type="checkbox"].ui-checkbox:checked::after {
- background-color: var(--control-active-color);
- -webkit-animation-name: checkbox-in;
- animation-name: checkbox-in;
-}
-input[type="checkbox"].ui-checkbox:active::before {
- opacity: 1;
-}
-input[type="checkbox"].ui-checkbox:disabled {
- opacity: 0.4;
-}
-input[type="checkbox"].ui-checkbox.ui-checkbox-focus {
- outline: 2px solid var(--primary-color);
-}
-@-webkit-keyframes radio-in {
- from {
- -webkit-mask-position: 0 0;
- mask-position: 0 0;
- }
- to {
- -webkit-mask-position: 100% 0;
- mask-position: 100% 0;
- }
-}
-@keyframes radio-in {
- from {
- -webkit-mask-position: 0 0;
- mask-position: 0 0;
- }
- to {
- -webkit-mask-position: 100% 0;
- mask-position: 100% 0;
- }
-}
-@-webkit-keyframes radio-out {
- from {
- -webkit-mask-position: 100% 0;
- mask-position: 100% 0;
- }
- to {
- -webkit-mask-position: 0 0;
- mask-position: 0 0;
- }
-}
-@keyframes radio-out {
- from {
- -webkit-mask-position: 100% 0;
- mask-position: 100% 0;
- }
- to {
- -webkit-mask-position: 0 0;
- mask-position: 0 0;
- }
-}
-input[type="radio"].ui-radio {
- position: relative;
- height: 32px;
- width: 32px;
- box-sizing: border-box;
- outline: none;
- -webkit-appearance: none;
- margin: 0 18px;
-}
-input[type="radio"].ui-radio::before {
- content: "";
- position: absolute;
- left: 0;
- top: 0;
- width: 32px;
- height: 32px;
- background-color: var(--ripple-color);
- border-radius: 100%;
- opacity: 0;
-}
-input[type="radio"].ui-radio::after {
- content: "";
- position: absolute;
- bottom: 0;
- opacity: 0.8;
- background-color: var(--control-inactive-color);
- -webkit-animation-fill-mode: forwards;
- animation-fill-mode: forwards;
- -webkit-animation-duration: 250ms;
- animation-duration: 250ms;
- -webkit-animation-timing-function: steps(26);
- animation-timing-function: steps(26);
- width: 100%;
- height: 100%;
- -webkit-mask-image: url("images/3_Controllers/Radio/sprites/sem_btn_radio_to_on_mtrl_sprites.svg");
- mask-image: url("images/3_Controllers/Radio/sprites/sem_btn_radio_to_on_mtrl_sprites.svg");
- -webkit-mask-size: auto 100%;
- mask-size: auto 100%;
- -webkit-mask-repeat: no-repeat;
- mask-repeat: no-repeat;
- -webkit-mask-position: 0 0;
- mask-position: 0 0;
-}
-input[type="radio"].ui-radio.ui-radio-backward-animation::after {
- -webkit-animation-name: radio-out;
- animation-name: radio-out;
-}
-input[type="radio"].ui-radio:checked::after {
- background-color: var(--control-active-color);
- -webkit-animation-name: radio-in;
- animation-name: radio-in;
-}
-input[type="radio"].ui-radio:active::before {
- opacity: 1;
-}
-input[type="radio"].ui-radio:disabled {
- opacity: 0.4;
-}
-@-webkit-keyframes EXPAND {
- 0% {
- opacity: 1;
- -webkit-transform: translate(-50%, -50%) scale(1);
- -ms-transform: translate(-50%, -50%) scale(1);
- transform: translate(-50%, -50%) scale(1);
- }
- 50% {
- opacity: 1;
- -webkit-transform: translate(-50%, -50%) scale(1.3);
- -ms-transform: translate(-50%, -50%) scale(1.3);
- transform: translate(-50%, -50%) scale(1.3);
- }
- 100% {
- opacity: 0;
- -webkit-transform: translate(-50%, -50%) scale(1.3);
- -ms-transform: translate(-50%, -50%) scale(1.3);
- transform: translate(-50%, -50%) scale(1.3);
- }
-}
-@keyframes EXPAND {
- 0% {
- opacity: 1;
- -webkit-transform: translate(-50%, -50%) scale(1);
- -ms-transform: translate(-50%, -50%) scale(1);
- transform: translate(-50%, -50%) scale(1);
- }
- 50% {
- opacity: 1;
- -webkit-transform: translate(-50%, -50%) scale(1.3);
- -ms-transform: translate(-50%, -50%) scale(1.3);
- transform: translate(-50%, -50%) scale(1.3);
- }
- 100% {
- opacity: 0;
- -webkit-transform: translate(-50%, -50%) scale(1.3);
- -ms-transform: translate(-50%, -50%) scale(1.3);
- transform: translate(-50%, -50%) scale(1.3);
- }
-}
-.ui-text-input-container {
- width: 100%;
-}
-textarea.ui-text-input {
- resize: none;
- overflow: hidden;
- white-space: normal;
- transition: height 200ms linear;
-}
-.ui-group-index + .ui-li-static input.ui-text-input,
-.ui-group-index + .ui-li-static textarea.ui-text-input {
- padding: 0 13px 0 5px;
-}
-.ui-group-index + .ui-li-static input.ui-text-input + .ui-text-input-textline,
-.ui-group-index + .ui-li-static textarea.ui-text-input + .ui-text-input-textline {
- margin: 5.5px 8px 10px 0px;
-}
-.ui-group-index + .ui-li-static input.ui-text-input ~ .ui-text-input-clear,
-.ui-group-index + .ui-li-static textarea.ui-text-input ~ .ui-text-input-clear {
- right: 0;
-}
-.ui-group-index + .ui-li-static input.ui-text-input:focus.ui-text-input-clear-active,
-.ui-group-index + .ui-li-static textarea.ui-text-input:focus.ui-text-input-clear-active {
- padding-right: 40px;
-}
-.ui-li-static input.ui-text-input + .ui-text-input-textline,
-.ui-li-static textarea.ui-text-input + .ui-text-input-textline {
- position: absolute;
- width: calc(100% - 32px);
-}
-.ui-li-static input.ui-text-input + .ui-text-input-textline + .ui-text-input-error-message,
-.ui-li-static textarea.ui-text-input + .ui-text-input-textline + .ui-text-input-error-message {
- margin: 8px 0 0 0;
-}
-.ui-li-flex input.ui-text-input,
-.ui-li-flex textarea.ui-text-input {
- padding: 0 5px;
-}
-.ui-li-flex input.ui-text-input + .ui-text-input-textline,
-.ui-li-flex textarea.ui-text-input + .ui-text-input-textline {
- margin: 5.5px 0 -6px 0;
-}
-.ui-li-flex input.ui-text-input ~ .ui-text-input-clear,
-.ui-li-flex textarea.ui-text-input ~ .ui-text-input-clear {
- top: 0;
- margin-top: -35px;
- margin-bottom: -6px;
- right: 0;
-}
-.ui-popup textarea.ui-text-input {
- min-height: 27px;
- padding: 0;
-}
-.ui-popup textarea.ui-text-input + .ui-text-input-textline {
- margin-left: 0;
- margin-right: 0;
- margin-bottom: 5.5px;
-}
-input.ui-text-input,
-textarea.ui-text-input {
- border: 0;
- -webkit-appearance: none;
- -moz-appearance: none;
- appearance: none;
- box-sizing: border-box;
- display: block;
- width: 100%;
- line-height: 26px;
- font-family: Roboto-Regular;
- -webkit-text-fill-color: transparent;
- font-size: 19px;
- background-color: transparent;
- border: none;
- caret-color: var(--primary-color);
- margin: 8px 0 8px 0;
-}
-input.ui-text-input.ui-text-input-disabled,
-textarea.ui-text-input.ui-text-input-disabled,
-input.ui-text-input:disabled,
-textarea.ui-text-input:disabled {
- text-shadow: 0 0 0 var(--text-input-disabled);
-}
-input.ui-text-input.ui-text-input-disabled::-webkit-input-placeholder,
-textarea.ui-text-input.ui-text-input-disabled::-webkit-input-placeholder,
-input.ui-text-input:disabled::-webkit-input-placeholder,
-textarea.ui-text-input:disabled::-webkit-input-placeholder {
- text-shadow: 0 0 0 var(--text-input-disabled);
-}
-input.ui-text-input:not([disabled]),
-textarea.ui-text-input:not([disabled]) {
- text-shadow: 0 0 0 var(--text-color);
-}
-input.ui-text-input:not([disabled])::-webkit-input-placeholder,
-textarea.ui-text-input:not([disabled])::-webkit-input-placeholder {
- text-shadow: 0 0 0 var(--text-input-underline-inactive);
-}
-input.ui-text-input + .ui-text-input-textline,
-textarea.ui-text-input + .ui-text-input-textline {
- height: 1px;
- background: var(--text-input-underline-inactive);
- box-sizing: border-box;
- display: block;
-}
-input.ui-text-input + .ui-text-input-textline + .ui-text-input-error-message,
-textarea.ui-text-input + .ui-text-input-textline + .ui-text-input-error-message {
- display: none;
- color: var(--text-input-invalid-color);
- font-size: 12px;
-}
-input.ui-text-input:focus,
-textarea.ui-text-input:focus {
- outline: none;
-}
-input.ui-text-input:focus.ui-text-input-clear-active,
-textarea.ui-text-input:focus.ui-text-input-clear-active {
- padding-right: 11px;
-}
-input.ui-text-input:focus + .ui-text-input-textline,
-textarea.ui-text-input:focus + .ui-text-input-textline {
- height: 2px;
- background: var(--primary-color);
-}
-input.ui-text-input:invalid + .ui-text-input-textline,
-textarea.ui-text-input:invalid + .ui-text-input-textline {
- background: var(--text-input-invalid-color);
-}
-input.ui-text-input:invalid + .ui-text-input-textline + .ui-text-input-error-message,
-textarea.ui-text-input:invalid + .ui-text-input-textline + .ui-text-input-error-message {
- display: block;
-}
-input.ui-text-input ~ .ui-text-input-clear,
-textarea.ui-text-input ~ .ui-text-input-clear {
- display: block;
- float: right;
- top: -33.5px;
- box-sizing: border-box;
- margin-right: -8.5px;
- margin-left: 8.5px;
- position: relative;
- width: 40px;
- height: 40px;
-}
-input.ui-text-input ~ .ui-text-input-clear.ui-btn.ui-btn-icon.ui-btn-nobg::after,
-textarea.ui-text-input ~ .ui-text-input-clear.ui-btn.ui-btn-icon.ui-btn-nobg::after {
- -webkit-mask-image: url("images/controls/core_button_icon_clear.png");
- mask-image: url("images/controls/core_button_icon_clear.png");
- width: 40px;
- height: 40px;
-}
-input.ui-text-input ~ .ui-text-input-clear-hidden,
-textarea.ui-text-input ~ .ui-text-input-clear-hidden {
- visibility: hidden;
-}
-input.ui-text-input.ui-text-input-widget-focused,
-textarea.ui-text-input.ui-text-input-widget-focused {
- background-color: var(--textual-background);
-}
-/*special case of buttons and text-inputs:
-- wrapper is added
-- animation for buttons on white background
-*/
-.ui-textinput-box-with-right-button {
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-wrap: nowrap;
- -ms-flex-wrap: nowrap;
- -o-flex-wrap: nowrap;
- flex-wrap: nowrap;
- -webkit-align-items: center;
- -moz-align-items: center;
- -ms-align-items: center;
- -o-align-items: center;
- -ms-flex-align: center;
- align-items: center;
- height: 40px;
-}
-.ui-textinput-box-with-right-button > * {
- height: 33.5px;
- margin-top: 3.5px;
- -webkit-flex-grow: 1;
- -ms-flex-positive: 1;
- flex-grow: 1;
-}
-.ui-textinput-box-with-right-button button.ui-btn:not(.ui-btn-circle):not(.ui-btn-nobg):not(.ui-floatingactions-item),
-.ui-textinput-box-with-right-button a.ui-btn:not(.ui-btn-circle):not(.ui-btn-nobg):not(.ui-floatingactions-item),
-.ui-textinput-box-with-right-button button .ui-btn.ui-btn-nobg,
-.ui-textinput-box-with-right-button a .ui-btn.ui-btn-nobg {
- max-width: 64px;
- min-width: 40px;
- -ms-flex-basis: auto;
- -o-flex-basis: auto;
- -webkit-flex-basis: auto;
- -ms-flex-preferred-size: auto;
- flex-basis: auto;
- -webkit-order: 1;
- -moz-order: 1;
- -ms-order: 1;
- -o-order: 1;
- -ms-flex-order: 1;
- order: 1;
- width: auto;
- box-sizing: content-box;
- margin: 0 10px 0 0;
- height: 40px;
- min-height: 40px;
- max-height: 40px;
- padding: 0 6px;
- background-color: transparent;
- overflow-x: visible;
- overflow-y: visible;
- color: #52c7d9;
- -webkit-mask-box-image-source: none;
- -webkit-align-self: flex-start;
- -ms-align-self: flex-start;
- -o-align-self: flex-start;
- -ms-flex-item-align: start;
- align-self: flex-start;
-}
-.ui-textinput-box-with-right-button button.ui-btn:not(.ui-btn-circle):not(.ui-btn-nobg):not(.ui-floatingactions-item)::after,
-.ui-textinput-box-with-right-button a.ui-btn:not(.ui-btn-circle):not(.ui-btn-nobg):not(.ui-floatingactions-item)::after,
-.ui-textinput-box-with-right-button button .ui-btn.ui-btn-nobg::after,
-.ui-textinput-box-with-right-button a .ui-btn.ui-btn-nobg::after {
- background-color: #52c7d9;
-}
-.ui-textinput-box-with-right-button button.ui-btn:not(.ui-btn-circle):not(.ui-btn-nobg):not(.ui-floatingactions-item)::before,
-.ui-textinput-box-with-right-button a.ui-btn:not(.ui-btn-circle):not(.ui-btn-nobg):not(.ui-floatingactions-item)::before,
-.ui-textinput-box-with-right-button button .ui-btn.ui-btn-nobg::before,
-.ui-textinput-box-with-right-button a .ui-btn.ui-btn-nobg::before {
- background-color: var(--ripple-color);
- opacity: 0;
-}
-.ui-textinput-box-with-right-button button.ui-btn:not(.ui-btn-circle):not(.ui-btn-nobg):not(.ui-floatingactions-item).ui-btn-active::before,
-.ui-textinput-box-with-right-button a.ui-btn:not(.ui-btn-circle):not(.ui-btn-nobg):not(.ui-floatingactions-item).ui-btn-active::before,
-.ui-textinput-box-with-right-button button .ui-btn.ui-btn-nobg.ui-btn-active::before,
-.ui-textinput-box-with-right-button a .ui-btn.ui-btn-nobg.ui-btn-active::before {
- -webkit-animation: EXPAND 200ms;
- animation: EXPAND 200ms;
- -webkit-animation-fill-mode: both;
- animation-fill-mode: both;
- opacity: 0;
-}
-.ui-textinput-box-with-right-button button.ui-btn:not(.ui-btn-circle):not(.ui-btn-nobg):not(.ui-floatingactions-item).ui-btn-icon,
-.ui-textinput-box-with-right-button a.ui-btn:not(.ui-btn-circle):not(.ui-btn-nobg):not(.ui-floatingactions-item).ui-btn-icon,
-.ui-textinput-box-with-right-button button .ui-btn.ui-btn-nobg.ui-btn-icon,
-.ui-textinput-box-with-right-button a .ui-btn.ui-btn-nobg.ui-btn-icon {
- padding: 0 8.5px;
- margin-right: 0;
-}
-.ui-textinput-box-with-right-button button.ui-btn:not(.ui-btn-circle):not(.ui-btn-nobg):not(.ui-floatingactions-item).ui-btn-icon::before,
-.ui-textinput-box-with-right-button a.ui-btn:not(.ui-btn-circle):not(.ui-btn-nobg):not(.ui-floatingactions-item).ui-btn-icon::before,
-.ui-textinput-box-with-right-button button .ui-btn.ui-btn-nobg.ui-btn-icon::before,
-.ui-textinput-box-with-right-button a .ui-btn.ui-btn-nobg.ui-btn-icon::before {
- border-radius: 20px;
- width: 40px;
-}
-.ui-textinput-box-with-right-button button.ui-btn:not(.ui-btn-circle):not(.ui-btn-nobg):not(.ui-floatingactions-item).ui-btn-icon::after,
-.ui-textinput-box-with-right-button a.ui-btn:not(.ui-btn-circle):not(.ui-btn-nobg):not(.ui-floatingactions-item).ui-btn-icon::after,
-.ui-textinput-box-with-right-button button .ui-btn.ui-btn-nobg.ui-btn-icon::after,
-.ui-textinput-box-with-right-button a .ui-btn.ui-btn-nobg.ui-btn-icon::after {
- -webkit-mask-size: 40px, 40px;
- -moz-mask-size: 40px, 40px;
- -ms-mask-size: 40px, 40px;
- -o-mask-size: 40px, 40px;
- mask-size: 40px, 40px;
- -webkit-mask-repeat: none;
- -moz-mask-repeat: none;
- -ms-mask-repeat: none;
- -o-mask-repeat: none;
- mask-repeat: none;
- -webkit-mask-position: center center;
- -moz-mask-position: center center;
- -ms-mask-position: center center;
- -o-mask-position: center center;
- mask-position: center center;
-}
-.ui-textinput-box-with-right-button button.ui-btn:not(.ui-btn-circle):not(.ui-btn-nobg):not(.ui-floatingactions-item).ui-btn-text-light::before,
-.ui-textinput-box-with-right-button a.ui-btn:not(.ui-btn-circle):not(.ui-btn-nobg):not(.ui-floatingactions-item).ui-btn-text-light::before,
-.ui-textinput-box-with-right-button button .ui-btn.ui-btn-nobg.ui-btn-text-light::before,
-.ui-textinput-box-with-right-button a .ui-btn.ui-btn-nobg.ui-btn-text-light::before {
- border-radius: 5px;
- width: 58px;
- height: 32.5px;
-}
-.ui-textinput-box-with-right-button input.ui-text-input ~ .ui-text-input-clear {
- right: 5px;
- left: 5px;
-}
-.ui-textinput-box-with-right-button input.ui-text-input:focus.ui-text-input-clear-active {
- padding-right: 20px;
- margin-right: -15px;
-}
-.ui-listview li.ui-textinput-box-with-right-button {
- padding-right: 0;
-}
-.ui-controlgroup .ui-radio > .ui-btn {
- background: var(--background-color);
-}
-.ui-controlgroup .ui-btn-inner.ui-corner-left {
- border-radius: 0;
- background-clip: padding-box;
-}
-.ui-controlgroup .ui-btn-inner.ui-corner-right.ui-controlgroup-last {
- border-radius: 0;
- background-clip: padding-box;
-}
-.ui-controlgroup .ui-radio-on .ui-btn-inner {
- color: #3b7796;
-}
-.ui-controlgroup .ui-radio-off .ui-btn-inner {
- color: #c7c7c7;
-}
-.ui-controlgroup.ui-controlgroup-horizontal .ui-radio-on .ui-btn-inner {
- color: #fafafa;
-}
-.ui-page {
- border-top: none;
- background: var(--background-color);
- color: var(--text-color);
- font-weight: normal;
- font-family: Roboto-Regular;
-}
-.ui-page .ui-link-inherit {
- color: #fff;
-}
-.ui-page .ui-link {
- color: #2489CE;
- font-weight: bold;
-}
-.ui-page .ui-link:hover {
- color: #2489CE;
-}
-.ui-page .ui-link:active {
- color: #2489CE;
-}
-.ui-page .ui-link:visited {
- color: #2489CE;
-}
-a.ui-link-inherit {
- text-decoration: none !important;
-}
-.ui-btn-active {
- color: var(--primary-color);
- cursor: pointer;
- text-decoration: none;
- background: var(--on-background);
- outline: none;
-}
-.ui-btn-active a.ui-link-inherit {
- color: var(--primary-color);
-}
-.ui-corner-tl {
- border-top-left-radius: 0.3em;
-}
-.ui-corner-tr {
- border-top-right-radius: 0.3em;
-}
-.ui-corner-bl {
- border-bottom-left-radius: 0.3em;
-}
-.ui-corner-br {
- border-bottom-right-radius: 0.3em;
-}
-.ui-corner-top {
- border-top-left-radius: 0.3em;
- border-top-right-radius: 0.3em;
-}
-.ui-corner-bottom {
- border-bottom-left-radius: 0.3em;
- border-bottom-right-radius: 0.3em;
-}
-.ui-corner-right {
- border-top-right-radius: 0.3em;
- border-bottom-right-radius: 0.3em;
-}
-.ui-corner-left {
- border-top-left-radius: 0.3em;
- border-bottom-left-radius: 0.3em;
-}
-.ui-corner-none {
- border-radius: 0;
-}
-.ui-btn .ui-icon.ui-icon-naviframe-edit,
-.ui-btn .ui-icon.ui-icon-naviframe-plus,
-.ui-btn .ui-icon.ui-icon-naviframe-delete,
-.ui-btn .ui-icon.ui-icon-naviframe-search,
-.ui-btn .ui-icon.ui-icon-naviframe-selectall,
-.ui-btn .ui-icon.ui-icon-naviframe-drawer {
- -webkit-mask-size: 100%;
- -moz-mask-size: 100%;
- -ms-mask-size: 100%;
- -o-mask-size: 100%;
- mask-size: 100%;
-}
-.ui-popup.ui-ctxpopup {
- width: auto;
- padding: 0;
- background-color: transparent;
- margin-top: 0;
- max-width: 100%;
-}
-.ui-popup.ui-ctxpopup .ui-popup-content {
- width: auto;
- padding: 0;
- overflow: hidden;
-}
-.ui-popup.ui-ctxpopup .ui-popup-content > ul {
- overflow: auto;
-}
-.ui-popup.ui-ctxpopup .ui-popup-content > ul::-webkit-scrollbar {
- height: 4px;
-}
-.ui-popup.ui-ctxpopup .ui-popup-content > ul::-webkit-scrollbar-thumb {
- background-color: var(--primary-color);
- border-radius: 1.5px;
- border-bottom: 1px solid #fff;
-}
-.ui-popup.ui-ctxpopup .ui-popup-content > ul::-webkit-scrollbar-button {
- width: 2px;
- height: 4px;
- background-color: transparent;
-}
-.ui-popup.ui-ctxpopup .ui-popup-wrapper {
- background-color: var(--more-options-background-color);
- border: 1px solid var(--more-options-stroke-color);
- border-radius: 5px;
- box-shadow: none;
- overflow: auto;
- margin-left: 16px;
- margin-right: 16px;
- width: auto;
-}
-.ui-popup.ui-ctxpopup :focus {
- outline: none;
-}
-.ui-popup.ui-ctxpopup.slideup.in {
- -webkit-transform: translate3d(0, 0, 0);
- -ms-transform: translate3d(0, 0, 0);
- transform: translate3d(0, 0, 0);
- -webkit-animation: slideupfadeinfrombottom 250ms;
- animation: slideupfadeinfrombottom 250ms;
-}
-.ui-popup.ui-ctxpopup.slideup.out {
- -webkit-transform: translate3d(0, 5%, 0);
- -ms-transform: translate3d(0, 5%, 0);
- transform: translate3d(0, 5%, 0);
- -webkit-animation: slideupfadeouttobottom 200ms;
- animation: slideupfadeouttobottom 200ms;
-}
-.ui-popup.ui-ctxpopup .ui-listview {
- margin: 0;
- border: none;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
-}
-.ui-popup.ui-ctxpopup .ui-listview li {
- -webkit-flex: 1 0 auto;
- -moz-flex: 1 0 auto;
- -ms-flex: 1 0 auto;
- -o-flex: 1 0 auto;
- flex: 1 0 auto;
-}
-.ui-popup.ui-ctxpopup .ui-listview .ui-li-anchor a {
- font-size: 15px;
- line-height: 20.5px;
- padding: 0 16px;
- min-height: 36px;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: column;
- -moz-flex-direction: column;
- -ms-flex-direction: column;
- -o-flex-direction: column;
- flex-direction: column;
- -webkit-align-items: center;
- -moz-align-items: center;
- -ms-align-items: center;
- -o-align-items: center;
- -ms-flex-align: center;
- align-items: center;
- -webkit-justify-content: center;
- -moz-justify-content: center;
- -ms-justify-content: center;
- -o-justify-content: center;
- -ms-flex-pack: center;
- justify-content: center;
-}
-.ui-popup.ui-ctxpopup.ui-ctxpopup-vertical .ui-listview {
- -webkit-flex-direction: column;
- -moz-flex-direction: column;
- -ms-flex-direction: column;
- -o-flex-direction: column;
- flex-direction: column;
-}
-.ui-popup.ui-ctxpopup.ui-ctxpopup-vertical .ui-listview .ui-li-anchor a {
- height: 40px;
- -webkit-flex-direction: row;
- -moz-flex-direction: row;
- -ms-flex-direction: row;
- -o-flex-direction: row;
- flex-direction: row;
- -webkit-align-items: center;
- -moz-align-items: center;
- -ms-align-items: center;
- -o-align-items: center;
- -ms-flex-align: center;
- align-items: center;
- -webkit-justify-content: flex-start;
- -moz-justify-content: flex-start;
- -ms-justify-content: flex-start;
- -o-justify-content: flex-start;
- -ms-flex-pack: start;
- justify-content: flex-start;
- text-align: left;
- padding-top: 0;
- padding-bottom: 0;
-}
-.ui-popup.ui-ctxpopup .ui-listview li {
- color: var(--text-color);
- font-size: 15px;
- border-top: 0;
- border-bottom: 0;
- border-right: 0;
- border-left: 1px solid var(--more-options-background-color);
-}
-.ui-popup.ui-ctxpopup .ui-listview li:first-of-type {
- border-left-width: 0;
-}
-.ui-popup.ui-ctxpopup .ui-listview li.ui-li-anchor > a {
- box-sizing: border-box;
- padding-top: 7.5px;
- padding-bottom: 7.5px;
-}
-.ui-popup.ui-ctxpopup .ui-listview li.ui-li-anchor.ui-li-active {
- background-color: var(--more-options-pressed-color);
-}
-.ui-popup.ui-ctxpopup.ui-ctxpopup-basic .ui-li-anchor {
- padding: 0 16px;
- height: 36px;
-}
-.ui-popup.ui-ctxpopup.ui-ctxpopup-basic .ui-li-anchor > a {
- padding: 0;
- margin: 0;
-}
-.ui-popup.ui-ctxpopup.ui-ctxpopup-icons .ui-li-anchor {
- padding: 0;
- height: 40px;
- width: 53px;
-}
-.ui-popup.ui-ctxpopup.ui-ctxpopup-icons .ui-li-anchor > a {
- padding: 0;
- margin: 0;
-}
-.ui-popup.ui-ctxpopup.ui-ctxpopup-icons .ui-li-anchor > a > span {
- padding: 0;
- margin: 0;
-}
-.ui-popup.ui-ctxpopup.ui-ctxpopup-icons-text .ui-li-anchor {
- padding: 0 16px;
- height: 59px;
-}
-.ui-popup.ui-ctxpopup.ui-ctxpopup-icons-text .ui-li-anchor > a {
- padding: 0;
- margin: 0;
- font-size: 13px;
- line-height: 20px;
-}
-.ui-popup.ui-ctxpopup.ui-ctxpopup-icons-text .ui-li-anchor > a > span {
- padding: 0;
- margin: 0 0 2px 0;
-}
-.ui-popup.ui-ctxpopup.ui-ctxpopup-vertical .ui-listview li {
- border-top: 1px solid var(--more-options-background-color);
- border-bottom: 0;
- border-right: 0;
- border-left: 0;
-}
-.ui-popup.ui-ctxpopup.ui-ctxpopup-vertical .ui-listview li:first-of-type {
- border-top-width: 0;
-}
-.ui-popup.ui-ctxpopup.ui-ctxpopup-vertical .ui-listview li.ui-li-anchor {
- padding: 0 12px;
- height: 40px;
-}
-.ui-popup.ui-ctxpopup.ui-ctxpopup-vertical .ui-listview li.ui-li-anchor > a {
- margin: 0;
- padding: 0;
- overflow: visible;
-}
-.ui-popup.ui-ctxpopup.ui-ctxpopup-vertical .ui-icon {
- display: inline-block;
- vertical-align: middle;
- margin-top: 0;
- margin-bottom: 0;
- margin-right: 10px;
- margin-left: -2px;
-}
-.ui-popup.ui-ctxpopup .ui-icon {
- width: 20px;
- height: 20px;
- display: block;
- vertical-align: middle;
- margin: 2px auto;
-}
-.ui-text-ellipsis {
- white-space: nowrap;
- text-overflow: ellipsis;
- -o-text-overflow: ellipsis;
- overflow: hidden !important;
-}
-/* Popup Toast and smallpopup will be integrated */
-/* Popup Toast */
-.ui-popup.ui-popup-toast {
- background-color: transparent;
- margin: 0 auto;
- position: relative;
- bottom: 0;
- width: 100%;
-}
-.ui-popup.ui-popup-toast .ui-popup-content {
- margin: auto;
- margin-bottom: 64px;
- width: -webkit-fit-content;
- width: fit-content;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-align-items: center;
- -ms-flex-align: center;
- align-items: center;
- -webkit-justify-content: space-between;
- -ms-flex-pack: justify;
- justify-content: space-between;
- border-radius: 22px;
- background-color: var(--toast-background);
- padding: 12px 20px;
- line-height: 20px;
- color: var(--toast-text-color);
- font-size: 16px;
- font-family: Roboto-Regular;
-}
-@media all and (max-width: 479px) {
- .ui-popup.ui-popup-toast .ui-popup-content {
- max-width: 84%;
- }
- .ui-popup.ui-popup-toast .ui-popup-content.ui-popup-toast-has-button {
- width: 84%;
- }
-}
-@media all and (min-width: 480px) and (max-width: 959px) {
- .ui-popup.ui-popup-toast .ui-popup-content {
- max-width: 68%;
- }
- .ui-popup.ui-popup-toast .ui-popup-content.ui-popup-toast-has-button {
- width: 68%;
- }
-}
-@media all and (min-width: 960px) and (max-width: 1919px) {
- .ui-popup.ui-popup-toast .ui-popup-content {
- max-width: 37.5%;
- }
- .ui-popup.ui-popup-toast .ui-popup-content.ui-popup-toast-has-button {
- width: 37.5%;
- }
-}
-.ui-popup.ui-popup-toast .ui-popup-content.ui-popup-toast-has-button {
- text-align: left;
- min-height: 44px;
- padding: 0px 20px;
- background-color: var(--btn-toast-background);
-}
-.ui-popup.ui-popup-toast .ui-popup-content.ui-popup-toast-has-button .ui-btn {
- padding: 4px 0 4px 20px;
- margin: 0;
- width: -webkit-fit-content;
- width: fit-content;
- color: var(--btn-toast-text-color);
- font-size: 18px;
- font-family: Roboto-Medium;
- background-color: transparent;
- line-height: 36px;
- overflow: visible;
-}
-.ui-popup.ui-popup-toast .ui-popup-content.ui-popup-toast-has-button .ui-btn:not(.ui-btn-circle):not(.ui-btn-nobg):not(.ui-floatingactions-item) {
- background-color: transparent;
- border: none;
- border-radius: 0;
- padding-right: 20px;
- margin-right: -20px;
-}
-.ui-popup.ui-popup-toast .ui-popup-content.ui-popup-toast-has-button .ui-btn:not(.ui-btn-circle):not(.ui-btn-nobg):not(.ui-floatingactions-item)::before {
- background-color: var(--ripple-color);
-}
-.ui-popup.ui-popup-toast .ui-popup-content.ui-popup-toast-has-button .ui-btn:not(.ui-btn-circle):not(.ui-btn-nobg):not(.ui-floatingactions-item).ui-btn-active {
- background-color: transparent;
-}
-.ui-popup.ui-popup-toast.ui-popup-toast-multiline .ui-popup-content {
- display: block;
- padding: 12px 20px;
-}
-.ui-popup.ui-popup-toast.ui-popup-toast-multiline .ui-popup-content.ui-popup-toast-has-button {
- padding-top: 9px;
- padding-bottom: 4px;
-}
-.ui-popup.ui-popup-toast.ui-popup-toast-multiline .ui-popup-content.ui-popup-toast-has-button .ui-btn {
- margin-left: auto;
- padding-top: 5px;
- padding-bottom: 0;
-}
-/* smallpopup */
-@-webkit-keyframes ui-smallpopup-show {
- from {
- display: none;
- opacity: 0;
- -webkit-transform: scaleY(0);
- -ms-transform: scaleY(0);
- transform: scaleY(0);
- }
- to {
- display: block;
- opacity: 1;
- -webkit-transform: scaleY(1);
- -ms-transform: scaleY(1);
- transform: scaleY(1);
- }
-}
-@keyframes ui-smallpopup-show {
- from {
- display: none;
- opacity: 0;
- -webkit-transform: scaleY(0);
- -ms-transform: scaleY(0);
- transform: scaleY(0);
- }
- to {
- display: block;
- opacity: 1;
- -webkit-transform: scaleY(1);
- -ms-transform: scaleY(1);
- transform: scaleY(1);
- }
-}
-.ui-smallpopup {
- position: fixed;
- display: none;
- margin-bottom: 32px;
- max-width: 236px;
- z-index: 1100;
- vertical-align: middle;
- font-size: 16px;
- word-break: break-all;
-}
-.ui-smallpopup::before {
- position: absolute;
- content: '';
- width: 100%;
- height: 100%;
-}
-.ui-smallpopup.fix {
- display: block;
-}
-.ui-smallpopup.show {
- display: block;
- -webkit-animation: ui-smallpopup-show 500ms 1 ease;
- animation: ui-smallpopup-show 500ms 1 ease;
-}
-.ui-smallpopup.hide {
- display: none;
-}
-.ui-smallpopup-text-bg {
- position: relative;
- padding: 3.5px 12px 5px 12px;
- line-height: 18.5px;
- margin: 0;
- color: var(--toast-text-color);
- font-size: 16px;
-}
-.ui-popup {
- display: none;
- position: absolute;
- left: 0;
- margin-bottom: 16px;
- margin-top: 32px;
- z-index: 1201 !important;
- background-color: var(--popup-background);
- border-radius: 26px;
-}
-@media (max-width: 479px) {
- .ui-popup {
- width: 100%;
- }
-}
-@media (min-width: 480px) and (max-width: 672px) {
- .ui-popup {
- width: 63%;
- }
-}
-@media (min-width: 673px) and (max-width: 985px) {
- .ui-popup {
- width: 55%;
- }
-}
-@media (min-width: 986px) {
- .ui-popup {
- width: 35%;
- }
-}
-.ui-popup .ui-popup-wrapper {
- width: 100%;
-}
-.ui-popup.ui-popup-active {
- display: block;
-}
-.ui-popup.in {
- display: block;
-}
-.ui-popup.ui-build {
- display: block;
- visibility: hidden;
-}
-.ui-popup .ui-popup-header {
- width: 100%;
- text-align: left;
- background-color: var(--popup-background);
- position: -webkit-sticky;
- position: sticky;
- font-size: 20px;
- color: var(--text-color);
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- font-family: Roboto-Medium;
-}
-.ui-popup .ui-popup-header::after {
- content: "";
- position: absolute;
- left: 24px;
- width: calc(100% - 48px);
- height: 0.75px;
- stroke-width: 0.5;
- visibility: hidden;
- background-color: var(--popup-scroll-divider-color);
-}
-@media (orientation: portrait) {
- .ui-popup .ui-popup-header::after {
- top: 68px;
- }
-}
-@media (orientation: landscape) {
- .ui-popup .ui-popup-header::after {
- top: 45px;
- }
-}
-.ui-popup .ui-popup-header.topDivider::after {
- visibility: visible;
-}
-.ui-popup .ui-popup-header.ui-popup-header-has-subtitle {
- padding: 9.75px 16px;
- line-height: 28.5px;
- font-size: 20px;
- color: T1212;
-}
-.ui-popup .ui-popup-header .ui-popup-subtitle {
- line-height: 19px;
-}
-@media (orientation: portrait) {
- .ui-popup .ui-popup-header {
- padding: 26px 24px 19px 24px;
- }
-}
-@media (orientation: landscape) {
- .ui-popup .ui-popup-header {
- padding: 14px 24px 8px 24px;
- }
-}
-.ui-popup .ui-popup-content {
- width: 100%;
- background-color: var(--popup-background);
- color: var(--popup-text);
- text-align: left;
- font-size: 16px;
- overflow: auto;
- -webkit-overflow-scrolling: touch;
- -moz-overflow-scrolling: touch;
- -o-overflow-scrolling: touch;
- -ms-overflow-scrolling: touch;
- overflow-scrolling: touch;
- line-height: 23px;
-}
-.ui-popup .ui-popup-content img {
- display: block;
- margin: 0 auto;
- padding-bottom: 12px;
-}
-.ui-popup .ui-popup-content.ui-date-picker-calendar {
- padding-left: 16px;
- padding-right: 16px;
-}
-.ui-popup .ui-popup-content .ui-popup-body-text {
- margin-top: 8px;
-}
-.ui-popup .ui-popup-content .ui-popup-body-checkbox {
- margin-top: 8px;
- height: 32px;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
-}
-.ui-popup .ui-popup-content .ui-popup-body-checkbox input[type="Checkbox"] {
- margin: 0 12px 0 -4px;
-}
-.ui-popup .ui-popup-content .ui-popup-body-checkbox span {
- margin-top: 5px;
-}
-.ui-popup .ui-popup-content ul .ui-li-has-checkbox .ui-li-text span {
- font-size: 18px;
-}
-.ui-popup .ui-popup-content ul .ui-li-has-checkbox input {
- margin-left: 18px;
- margin-right: 18px;
-}
-.ui-popup .ui-popup-content .ui-popup-container-text {
- width: 100%;
- height: 19px;
- line-height: 19px;
- color: var(--popup-text-color);
- font-size: 14px;
- font-family: Roboto-Regular;
-}
-.ui-popup .ui-popup-content .ui-popup-container-text .text-left {
- float: left;
-}
-.ui-popup .ui-popup-content .ui-popup-container-text .text-right {
- float: right;
-}
-@media (orientation: portrait) {
- .ui-popup .ui-popup-content {
- padding: 0 24px 0 24px;
- margin-bottom: 24px;
- }
-}
-@media (orientation: landscape) {
- .ui-popup .ui-popup-content {
- padding: 0 24px 0 24px;
- margin-bottom: 11px;
- }
-}
-.ui-popup .ui-popup-content.ui-popup-has-time-picker,
-.ui-popup .ui-popup-content.ui-popup-has-date-picker {
- padding-left: unset;
- padding-right: unset;
-}
-.ui-popup .ui-popup-footer {
- background-color: var(--popup-background);
- position: -webkit-sticky;
- position: sticky;
- box-sizing: border-box;
- padding: 12px 24px;
- text-align: center;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-align-items: center;
- -ms-flex-align: center;
- align-items: center;
- -webkit-flex-shrink: 0;
- -ms-flex-negative: 0;
- flex-shrink: 0;
- -webkit-flex-grow: 0;
- -ms-flex-positive: 0;
- flex-grow: 0;
- width: 100%;
-}
-.ui-popup .ui-popup-footer::before {
- content: "";
- position: absolute;
- left: 24px;
- width: calc(100% - 48px);
- height: 0.75px;
- stroke-width: 0.5;
- visibility: hidden;
- background-color: var(--popup-scroll-divider-color);
-}
-@media (orientation: portrait) {
- .ui-popup .ui-popup-footer::before {
- bottom: 80px;
- }
-}
-@media (orientation: landscape) {
- .ui-popup .ui-popup-footer::before {
- bottom: 50px;
- }
-}
-.ui-popup .ui-popup-footer.bottomDivider::before {
- visibility: visible;
-}
-.ui-popup .ui-popup-footer .ui-btn {
- height: 36px;
- margin: 0 auto;
- max-width: 248px;
-}
-.ui-popup .ui-popup-footer .ui-btn.ui-btn-flat {
- font-size: 16px;
-}
-.ui-popup .ui-popup-footer div.ui-li-divider::after {
- content: "";
- position: absolute;
- width: 1px;
- height: 16px;
- top: 10px;
- background-color: var(--popup-footer-divider-color);
-}
-.ui-popup .ui-popup-footer .ui-popup-stack .ui-btn {
- margin-bottom: 16px;
-}
-.ui-popup .ui-popup-footer .ui-popup-stack .ui-btn:nth-last-child(1) {
- margin-bottom: 0;
-}
-.ui-popup .ui-popup-footer .ui-li-action {
- width: 50%;
-}
-@media (orientation: portrait) {
- .ui-popup .ui-popup-footer {
- padding: 0px 24px 20px 24px;
- }
-}
-@media (orientation: landscape) {
- .ui-popup .ui-popup-footer {
- padding: 0px 24px 4px 24px;
- }
-}
-.ui-popup .ui-listview {
- margin-left: -24px;
-}
-@media (orientation: portrait) {
- .ui-popup .ui-popup-notitle {
- margin-top: 26px;
- }
-}
-@media (orientation: landscape) {
- .ui-popup .ui-popup-notitle {
- margin-top: 14px;
- }
-}
-.ui-popup .ui-popup-2level-description {
- height: auto;
- margin-top: 8px;
- margin-left: 8px;
- color: var(--popup-text-secondary-color);
-}
-.ui-popup .ui-popup-2level-description span {
- padding-right: 12px;
-}
-.ui-popup .ui-listview li.ui-li-flex.ui-li-multilines .ui-li-area-a {
- margin-top: 14px;
- margin-bottom: 14px;
-}
-.ui-popup .ui-popup-header,
-.ui-popup .ui-popup-content,
-.ui-popup .ui-popup-footer {
- box-sizing: border-box;
-}
-.ui-popup.ui-popup-listview {
- background-image: url("images/page/core_theme_bg_01.png");
- background-repeat: no-repeat;
- background-size: 100% 100%;
- overflow: hidden;
- background-color: transparent;
-}
-.ui-popup.ui-popup-listview .ui-popup-header {
- padding-top: 8px;
- padding-bottom: 8px;
-}
-.ui-popup.ui-popup-listview .ui-popup-content {
- padding: 0;
- background-color: transparent;
- position: relative;
-}
-.ui-popup.ui-popup-listview .ui-listview {
- position: relative;
- overflow: hidden;
- -webkit-transform: translate3d(0, 0, 0);
- transform: translate3d(0, 0, 0);
-}
-.ui-popup.ui-popup-listview .ui-listview::before {
- content: "";
- background-color: var(--overlay);
- width: 100%;
- height: 100%;
- display: block;
- position: absolute;
- top: 0;
- z-index: 1;
- pointer-events: none;
-}
-.ui-popup.ui-popup-moremenu {
- max-height: 420px;
- overflow: hidden;
-}
-@media (orientation: landscape) {
- .ui-popup.ui-popup-moremenu {
- max-height: 300px;
- width: 360px;
- }
-}
-.ui-popup-overlay {
- display: none;
- background-color: var(--overlay);
- background-repeat: no-repeat;
- background-size: 100% 100%;
- position: absolute;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- z-index: 1200;
-}
-.ui-popup-overlay.ui-popup-overlay-shown {
- display: block;
-}
-.ui-popup.ui-popup-activity .ui-popup-content {
- text-align: right;
-}
-@media (orientation: landscape) {
- .ui-popup.ui-popup-activity .ui-popup-content {
- width: 100%;
- }
-}
-@-webkit-keyframes popup-activity {
- from {
- -webkit-transform: rotate(0deg);
- -ms-transform: rotate(0deg);
- transform: rotate(0deg);
- }
- to {
- -webkit-transform: rotate(360deg);
- -ms-transform: rotate(360deg);
- transform: rotate(360deg);
- }
-}
-@keyframes popup-activity {
- from {
- -webkit-transform: rotate(0deg);
- -ms-transform: rotate(0deg);
- transform: rotate(0deg);
- }
- to {
- -webkit-transform: rotate(360deg);
- -ms-transform: rotate(360deg);
- transform: rotate(360deg);
- }
-}
-@media (orientation: landscape) {
- .ui-popup.ui-popup-activity {
- width: 100%;
- }
-}
-.ui-popup.ui-popup-activity.ui-popup-activity-small .ui-popup-content {
- text-align: right;
- height: 39px;
- padding: 8px 16px;
- font-size: 20px;
- color: T120L1;
-}
-.ui-popup.ui-popup-activity.ui-popup-activity-small .ui-popup-content::after {
- content: "";
- width: 22px;
- height: 22px;
- margin-left: 16px;
- background-color: W157E1;
- -webkit-mask-image: url("images/core_activity_indicator_a.svg"), url("images/core_activity_indicator_b.svg"), url("images/core_activity_indicator_c.svg");
- mask-image: url("images/core_activity_indicator_a.svg"), url("images/core_activity_indicator_b.svg"), url("images/core_activity_indicator_c.svg");
- -webkit-mask-size: 100% 100%, 100% 100%, 100% 100%;
- mask-size: 100% 100%, 100% 100%, 100% 100%;
- float: right;
- -webkit-animation-name: popup-activity;
- animation-name: popup-activity;
- -webkit-animation-duration: 1s;
- animation-duration: 1s;
- -webkit-animation-timing-function: linear;
- animation-timing-function: linear;
- -webkit-animation-iteration-count: infinite;
- animation-iteration-count: infinite;
-}
-.ui-popup.ui-popup-activity.ui-popup-activity-medium .ui-popup-content {
- text-align: left;
- height: 60px;
- padding: 16px 16px;
- font-size: 20px;
- color: T120L2;
-}
-.ui-popup.ui-popup-activity.ui-popup-activity-medium .ui-popup-content::before {
- content: "";
- width: 28px;
- height: 28px;
- margin-right: 16px;
- background-color: W157E1;
- float: left;
- -webkit-mask-image: url("images/core_activity_indicator_a.svg"), url("images/core_activity_indicator_b.svg"), url("images/core_activity_indicator_c.svg");
- mask-image: url("images/core_activity_indicator_a.svg"), url("images/core_activity_indicator_b.svg"), url("images/core_activity_indicator_c.svg");
- -webkit-mask-size: 100% 100%, 100% 100%, 100% 100%;
- mask-size: 100% 100%, 100% 100%, 100% 100%;
- -webkit-animation-name: popup-activity;
- animation-name: popup-activity;
- -webkit-animation-duration: 1s;
- animation-duration: 1s;
- -webkit-animation-timing-function: linear;
- animation-timing-function: linear;
- -webkit-animation-iteration-count: infinite;
- animation-iteration-count: infinite;
-}
-.ui-popup.ui-popup-activity.ui-popup-activity-large .ui-popup-content {
- text-align: center;
- height: 0;
- background-color: W157E1;
- -webkit-mask-image: url("images/core_activity_indicator_c.svg");
- mask-image: url("images/core_activity_indicator_c.svg");
- -webkit-mask-size: 100% 100%;
- mask-size: 100% 100%;
-}
-.ui-popup:not(.ui-ctxpopup).slideup.out {
- -webkit-animation: popupslideouttobottom 400ms ease-out;
- animation: popupslideouttobottom 400ms ease-out;
-}
-.ui-popup:not(.ui-ctxpopup).slideup.in {
- -webkit-animation: popupslideinfrombottom 400ms ease-out;
- animation: popupslideinfrombottom 400ms ease-out;
-}
-.ui-popup.slideup.in:not(.ui-ctxpopup) .ui-popup-wrapper {
- -webkit-transform: translateY(100%);
- -ms-transform: translateY(100%);
- transform: translateY(100%);
- -webkit-animation: popupwrapperslideinfrombottom 350ms ease-out 50ms;
- animation: popupwrapperslideinfrombottom 350ms ease-out 50ms;
-}
-.ui-popup.slideup.out:not(.ui-ctxpopup) .ui-popup-wrapper {
- -webkit-transform: translateY(25px);
- -ms-transform: translateY(25px);
- transform: translateY(25px);
- -webkit-animation: popupwrapperslideouttobottom 4000ms ease-out;
- animation: popupwrapperslideouttobottom 4000ms ease-out;
-}
-.ui-popup-overlay.slideup.in:not(.ui-ctxpopup-overlay) {
- -webkit-animation: popupoverlayfadein 400ms ease-out;
- animation: popupoverlayfadein 400ms ease-out;
-}
-.ui-popup-overlay.slideup.out:not(.ui-ctxpopup-overlay) {
- -webkit-animation: popupoverlayfadeout 400ms ease-out;
- animation: popupoverlayfadeout 400ms ease-out;
-}
-@-webkit-keyframes popupslideouttobottom {
- from {
- -webkit-transform: translateY(0%);
- -ms-transform: translateY(0%);
- transform: translateY(0%);
- }
- to {
- -webkit-transform: translateY(100%);
- -ms-transform: translateY(100%);
- transform: translateY(100%);
- }
-}
-@keyframes popupslideouttobottom {
- from {
- -webkit-transform: translateY(0%);
- -ms-transform: translateY(0%);
- transform: translateY(0%);
- }
- to {
- -webkit-transform: translateY(100%);
- -ms-transform: translateY(100%);
- transform: translateY(100%);
- }
-}
-@-webkit-keyframes popupslideinfrombottom {
- from {
- -webkit-transform: translateY(100%);
- -ms-transform: translateY(100%);
- transform: translateY(100%);
- }
- to {
- -webkit-transform: translateY(0%);
- -ms-transform: translateY(0%);
- transform: translateY(0%);
- }
-}
-@keyframes popupslideinfrombottom {
- from {
- -webkit-transform: translateY(100%);
- -ms-transform: translateY(100%);
- transform: translateY(100%);
- }
- to {
- -webkit-transform: translateY(0%);
- -ms-transform: translateY(0%);
- transform: translateY(0%);
- }
-}
-@-webkit-keyframes popupwrapperslideinfrombottom {
- from {
- -webkit-transform: translateY(25px);
- -ms-transform: translateY(25px);
- transform: translateY(25px);
- }
- to {
- -webkit-transform: translateY(0%);
- -ms-transform: translateY(0%);
- transform: translateY(0%);
- }
-}
-@keyframes popupwrapperslideinfrombottom {
- from {
- -webkit-transform: translateY(25px);
- -ms-transform: translateY(25px);
- transform: translateY(25px);
- }
- to {
- -webkit-transform: translateY(0%);
- -ms-transform: translateY(0%);
- transform: translateY(0%);
- }
-}
-@-webkit-keyframes popupwrapperslideouttobottom {
- from {
- -webkit-transform: translateY(0%);
- -ms-transform: translateY(0%);
- transform: translateY(0%);
- }
- to {
- -webkit-transform: translateY(25px);
- -ms-transform: translateY(25px);
- transform: translateY(25px);
- }
-}
-@keyframes popupwrapperslideouttobottom {
- from {
- -webkit-transform: translateY(0%);
- -ms-transform: translateY(0%);
- transform: translateY(0%);
- }
- to {
- -webkit-transform: translateY(25px);
- -ms-transform: translateY(25px);
- transform: translateY(25px);
- }
-}
-@-webkit-keyframes popupoverlayfadein {
- from {
- opacity: 0;
- }
- to {
- opacity: 1;
- }
-}
-@keyframes popupoverlayfadein {
- from {
- opacity: 0;
- }
- to {
- opacity: 1;
- }
-}
-@-webkit-keyframes popupoverlayfadeout {
- from {
- opacity: 1;
- }
- to {
- opacity: 0;
- }
-}
-@keyframes popupoverlayfadeout {
- from {
- opacity: 1;
- }
- to {
- opacity: 0;
- }
-}
-.ui-scrollview-clip {
- display: block;
- position: relative;
- z-index: 100;
- overflow-x: hidden;
- overflow-y: visible;
-}
-.ui-scrollview-clip[data-scroll="x"] {
- -webkit-scroll-snap-type: x mandatory;
- -ms-scroll-snap-type: x mandatory;
- scroll-snap-type: x mandatory;
-}
-.ui-scrollview-clip[data-scroll="x"] .ui-scrollview-view {
- overflow: initial;
-}
-.ui-scrollview-view {
- overflow: hidden;
- min-height: 100%;
- min-width: 100%;
- box-sizing: border-box;
-}
-.ui-scrolllistview .ui-li-divider {
- z-index: 10;
-}
-.ui-scrollbar {
- position: absolute;
- overflow: hidden;
- opacity: 0;
-}
-.ui-scrollbar-visible {
- opacity: 1;
-}
-.ui-scrollbar-y {
- top: 0;
- right: 1px;
- bottom: 0;
- width: 4px;
-}
-.ui-scrollbar-x {
- right: 1px;
- bottom: 1px;
- left: 1px;
- height: 4px;
-}
-.ui-scrollbar-track {
- position: relative;
- width: 100%;
- height: 100%;
-}
-.ui-scrollbar-thumb {
- position: absolute;
- top: 0;
- left: 0;
- background-color: var(--primary-color);
-}
-.ui-scrollbar-y .ui-scrollbar-thumb {
- width: 2.5px;
- height: 100%;
- border-radius: 1px;
- -o-box-shadow: 0.5px 0.5px 2px #080808;
- -ms-box-shadow: 0.5px 0.5px 2px #080808;
- box-shadow: 0.5px 0.5px 2px #080808;
-}
-.ui-scrollbar-x .ui-scrollbar-thumb {
- width: 100%;
- height: 2.5px;
- border-radius: 1px;
-}
-.ui-scroll-jump-top-bg {
- position: absolute;
- top: 4.5px;
- right: 6.5px;
- width: 18.5px;
- height: 18.5px;
-}
-.ui-scroll-jump-left-bg {
- position: absolute;
- bottom: 4.5px;
- left: 6.5px;
- width: 18.5px;
- height: 18.5px;
-}
-.ui-overflow-indicator-top,
-.ui-overflow-indicator-bottom {
- position: absolute;
- display: none;
- width: 100%;
- height: 14.5px;
- opacity: 1;
- background-repeat: no-repeat;
- background-size: 100% 100%;
-}
-.ui-overflow-indicator-top {
- top: 0;
-}
-.ui-overflow-indicator-bottom {
- bottom: 0;
-}
-.ui-overflow-effect-bottom {
- position: absolute;
- display: none;
- bottom: 0;
- width: 100%;
-}
-.ui-overflow-top {
- opacity: 1;
-}
-.ui-overflow-top.ui-overflow-top-hide {
- height: 0 !important;
-}
-.ui-overflow-bottom {
- opacity: 1;
-}
-.ui-overflow-bottom.ui-overflow-bottom-hide {
- height: 0 !important;
-}
-/*
- * padding here set to zero - otherwise the list scrolls underneith the top heading and can be seen above it
- */
-.ui-content.ui-scrollview-clip {
- padding: 0;
-}
-.ui-content.ui-scrollview-clip > div.ui-scrollview-view {
- margin: 0;
-}
-/*
- * this seems to effect how far the top divider is place wrt to the scrollview
- * without this, it is placed too high, so it is clipped in half
- */
-.ui-content.ui-scrollview-clip > .ui-listview.ui-scrollview-view {
- margin: 0;
-}
-/*
- * Section for scroll handler to hide native scrollbar
- */
-.ui-content.ui-scrollview-clip.ui-hide-scrollbar::-webkit-scrollbar {
- display: none;
-}
-.ui-slider {
- position: relative;
- box-sizing: border-box;
- height: 32px;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: column;
- -ms-flex-direction: column;
- flex-direction: column;
- -webkit-justify-content: space-around;
- -ms-flex-pack: distribute;
- justify-content: space-around;
-}
-.ui-slider .ui-slider-bar {
- background-color: var(--slider-bg-color);
- height: 3px;
- border-radius: 1.5px;
- overflow: hidden;
-}
-.ui-slider .ui-slider-bar .ui-slider-value {
- height: 100%;
- background-color: var(--slider-handler-color);
-}
-.ui-slider:focus {
- outline: none;
-}
-.ui-slider .ui-slider-handler-track {
- position: absolute;
- width: 100%;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
-}
-.ui-slider .ui-slider-handler-track .ui-slider-before-space {
- height: 1px;
-}
-.ui-slider .ui-slider-handler-track .ui-slider-after-space {
- height: 1px;
-}
-.ui-slider .ui-slider-handler {
- width: 17px;
- height: 17px;
- min-width: 17px;
- min-height: 17px;
- background-color: var(--slider-value-color);
- position: relative;
- border-radius: 50%;
- pointer-events: none;
- z-index: 9;
-}
-.ui-slider .ui-slider-handler::before {
- content: "";
- width: 32px;
- height: 32px;
- opacity: 0;
- position: absolute;
- left: -5px;
- top: -5px;
- border-radius: 100%;
- background-color: var(--ripple-color);
-}
-.ui-slider.ui-slider-active .ui-slider-handler {
- min-width: 22px;
- min-height: 22px;
-}
-.ui-slider.ui-slider-active .ui-slider-handler::before {
- opacity: 1;
-}
-.ui-slider.ui-disabled .ui-slider-bar {
- background-color: var(--slider-bg-disabled-color);
-}
-.ui-slider.ui-disabled .ui-slider-bar .ui-slider-value {
- background-color: var(--slider-handler-disabled-color);
-}
-.ui-slider.ui-disabled .ui-slider-handler {
- background-color: var(--slider-handler-disabled-color);
-}
-.ui-slider.ui-slider-level-bar {
- margin-left: 5px;
- margin-right: 5px;
- height: 32px;
-}
-.ui-slider.ui-slider-level-bar .ui-slider-bar {
- background-color: var(--slider-level-bar-bg-color);
-}
-.ui-slider.ui-slider-level-bar .ui-slider-bar .ui-slider-value {
- display: none;
-}
-.ui-slider.ui-slider-level-bar .ui-slider-bar::before {
- display: none;
- border-image: none;
-}
-.ui-slider.ui-slider-level-bar input {
- width: 100%;
-}
-.ui-slider.ui-slider-level-bar .ui-slider-scale {
- position: absolute;
- width: 100%;
- height: 7px;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-justify-content: space-between;
- -ms-flex-pack: justify;
- justify-content: space-between;
- pointer-events: none;
-}
-.ui-slider.ui-slider-level-bar .ui-slider-scale .ui-slider-scale-dot {
- width: 7px;
- height: 7px;
- border-radius: 100%;
- background-color: var(--slider-scale-dot);
-}
-.ui-slider.ui-slider-level-bar .ui-slider-handler-track {
- width: calc(100% + 10px);
- left: -5px;
-}
-.ui-slider-label {
- font-size: 12px;
- color: var(--text-secondary-color);
-}
-.ui-slider-label-min {
- position: absolute;
- left: 0;
- bottom: -2px;
-}
-.ui-slider-label-max {
- position: absolute;
- right: 0;
- bottom: -2px;
-}
-.ui-slider.ui-slider-has-labels {
- height: 50px;
-}
-input[data-tau-built="Slider"] {
- opacity: 0;
- display: block;
- width: 100%;
- position: absolute;
- margin: 0;
-}
-/*new button type like*/
-tau-toggleswitch {
- display: block;
-}
-.ui-toggle-container {
- position: relative;
- width: 36px;
- height: 36px;
-}
-.ui-toggle-container .ui-switch-handler {
- position: absolute;
- width: 100%;
- height: 100%;
- top: 0;
- left: 0;
- background-color: transparent;
- pointer-events: none;
- -webkit-backface-visibility: hidden;
- backface-visibility: hidden;
- -webkit-perspective: 1000px;
- perspective: 1000px;
-}
-.ui-toggle-container .ui-switch-handler:before,
-.ui-toggle-container .ui-switch-handler:after {
- content: "";
- position: absolute;
- height: 100%;
- width: 100%;
- -webkit-mask-position: center center;
- mask-position: center center;
- -webkit-mask-size: 100%;
- mask-size: 100%;
-}
-.ui-toggle-container .ui-switch-handler:before {
- background-color: W015L1i;
- -webkit-mask-image: url("images/controls/core_toggle_icon_off.svg");
- mask-image: url("images/controls/core_toggle_icon_off.svg");
- -webkit-transform: scale(1);
- -ms-transform: scale(1);
- transform: scale(1);
- transition: 250ms ease-out 50ms;
-}
-.ui-toggle-container .ui-switch-handler:after {
- background-color: W015L1i;
- -webkit-mask-image: url("images/controls/core_toggle_icon_on.svg");
- mask-image: url("images/controls/core_toggle_icon_on.svg");
- -webkit-transform: scale(0);
- -ms-transform: scale(0);
- transform: scale(0);
- transition: 100ms ease-out;
-}
-.ui-toggle-container input[type="checkbox"].ui-toggle-switch {
- width: 36px;
- height: 36px;
- border-radius: 50%;
- background-color: W015L1E1;
- /*@color_toggle_bg;*/
- -webkit-appearance: none;
- -moz-appearance: none;
- appearance: none;
- outline: 0;
- margin: 0;
- -webkit-backface-visibility: hidden;
- backface-visibility: hidden;
- -webkit-perspective: 1000px;
- perspective: 1000px;
- transition: background-color 150ms;
-}
-.ui-toggle-container input[type="checkbox"].ui-toggle-switch::before {
- content: none;
-}
-.ui-toggle-container input[type="checkbox"].ui-toggle-switch:checked {
- background-color: var(--color-white);
-}
-.ui-toggle-container input[type="checkbox"].ui-toggle-switch:checked ~ .ui-switch-handler::before {
- -webkit-transform: scale(0);
- -ms-transform: scale(0);
- transform: scale(0);
- transition: 100ms ease-out;
-}
-.ui-toggle-container input[type="checkbox"].ui-toggle-switch:checked ~ .ui-switch-handler::after {
- -webkit-transform: scale(1);
- -ms-transform: scale(1);
- transform: scale(1);
- transition: 250ms ease-out 50ms;
-}
-.ui-toggle-container input[type="checkbox"].ui-toggle-switch:disabled {
- background-color: W015L1D;
-}
-.ui-toggle-switch-focus {
- outline: 2px solid var(--primary-color);
-}
-@-webkit-keyframes move-to-off {
- to {
- -webkit-transform: translateX(0);
- transform: translateX(0);
- }
-}
-@keyframes move-to-off {
- to {
- -webkit-transform: translateX(0);
- transform: translateX(0);
- }
-}
-@-webkit-keyframes move-to-on {
- to {
- -webkit-transform: translateX(17px);
- transform: translateX(17px);
- }
-}
-@keyframes move-to-on {
- to {
- -webkit-transform: translateX(17px);
- transform: translateX(17px);
- }
-}
-.ui-on-off-switch-container {
- position: relative;
- display: inline-block;
- width: 43px;
- height: 27px;
- max-width: 43px;
- max-height: 27px;
- min-width: 43px;
- min-height: 27px;
- overflow: hidden;
-}
-.ui-on-off-switch-input {
- position: absolute;
- width: 37px;
- height: 18.5px;
- border-radius: 9.25px;
- -webkit-appearance: none;
- display: block;
- margin: 4.25px 3px;
- border: 1px solid var(--on-off-switch-off-button-border);
- background-color: var(--on-off-switch-off-track-background);
- outline: none;
- box-sizing: border-box;
-}
-.ui-on-off-switch-input:active ~ .ui-on-off-switch-button::before {
- opacity: 1;
-}
-.ui-on-off-switch-input:disabled {
- border-color: var(--on-off-switch-off-disabled-track-border);
-}
-.ui-on-off-switch-input:disabled ~ .ui-on-off-switch-button {
- border-color: var(--on-off-switch-off-disabled-button-border);
- background-color: var(--on-off-switch-on-disabled-button-background);
-}
-.ui-on-off-switch-button {
- width: 22px;
- height: 22px;
- border-radius: 100%;
- margin: 2.5px 2px;
- box-sizing: border-box;
- border: 1px solid var(--on-off-switch-off-button-border);
- background-color: var(--color-white);
- position: absolute;
- top: 0;
- left: 0;
- pointer-events: none;
- z-index: 1;
- transition: -webkit-transform cubic-bezier(0.6, 0.6, 0.8, 1.49) 250ms;
- transition: transform cubic-bezier(0.6, 0.6, 0.8, 1.49) 250ms;
- transition: transform cubic-bezier(0.6, 0.6, 0.8, 1.49) 250ms, -webkit-transform cubic-bezier(0.6, 0.6, 0.8, 1.49) 250ms;
- -webkit-transform: translate3d(0, 0, 0);
- transform: translate3d(0, 0, 0);
-}
-.ui-on-off-switch-button::before {
- content: "";
- width: 27px;
- height: 27px;
- opacity: 0;
- position: absolute;
- left: -3px;
- top: -3px;
- border-radius: 100%;
- background-color: var(--ripple-color);
-}
-.ui-on-off-switch-button-on-drag {
- transition: none;
-}
-.ui-on-off-switch-button-on-drag::before {
- opacity: 1;
-}
-.ui-on-off-switch-button-move-to-off {
- -webkit-animation: move-to-off 100ms ease-in-out 0s 1 normal both;
- animation: move-to-off 100ms ease-in-out 0s 1 normal both;
- transition: none;
-}
-.ui-on-off-switch-button-move-to-on {
- -webkit-animation: move-to-on 100ms ease-in-out 0s 1 normal both;
- animation: move-to-on 100ms ease-in-out 0s 1 normal both;
- transition: none;
-}
-.ui-on-off-switch-input:checked {
- background-color: var(--primary-color);
- border-color: var(--primary-color);
- width: 37px;
- height: 18.5px;
- margin: 4.25px 3px;
-}
-.ui-on-off-switch-input:checked:disabled {
- background-color: var(--on-off-switch-on-disabled-track-background);
- border-color: transparent;
-}
-.ui-on-off-switch-input:checked:disabled ~ .ui-on-off-switch-button {
- border-color: var(--on-off-switch-on-disabled-button-border);
-}
-.ui-on-off-switch-input:checked ~ .ui-on-off-switch-button {
- border-color: var(--primary-color);
- -webkit-transform: translate3d(17px, 0, 0);
- transform: translate3d(17px, 0, 0);
-}
-.ui-master-on-off-switch {
- font-family: Roboto-Regular;
- font-size: 18px;
- margin-left: 0;
- margin-right: 0;
- margin-bottom: 20px;
- height: 64px;
- position: relative;
-}
-.ui-master-on-off-switch .ui-on-off-label {
- background-color: var(--master-on-off-off-color);
- position: absolute;
- left: 0;
- right: 0;
- width: 100%;
- height: 100%;
- border-radius: 26px;
- box-sizing: border-box;
- padding-left: 24px;
- padding-right: 24px;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-align-items: center;
- -ms-flex-align: center;
- align-items: center;
-}
-.ui-master-on-off-switch .ui-on-off-label::before {
- content: "";
- width: 100%;
- height: 64px;
- opacity: 0;
- position: absolute;
- left: 0;
- top: 0;
- border-radius: 26px;
- background-color: var(--ripple-color);
-}
-.ui-master-on-off-switch .ui-on-off-label-active::before {
- opacity: 1;
-}
-.ui-master-on-off-switch .ui-on-off-label span {
- -webkit-flex: 1;
- -ms-flex: 1;
- flex: 1;
-}
-.ui-master-on-off-switch .ui-on-off-label-on {
- color: var(--color-white);
- background-color: var(--master-on-off-on-color);
-}
-.ui-master-on-off-switch .ui-on-off-switch-input:active ~ .ui-on-off-switch-button::before {
- opacity: 0;
-}
-.ui-sub-tab {
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- width: calc(100% - 48px);
- height: 56px;
- margin-left: 24px;
- margin-right: 24px;
- background-color: var(--sub-tab-bg-color);
-}
-.ui-sub-tab a {
- font-family: Roboto-Regular;
- font-size: 15px;
- line-height: 22px;
- padding-left: 12px;
- padding-right: 12px;
- color: var(--sub-tab-text-color);
- border-radius: 18px;
- box-sizing: border-box;
- border: 0 solid var(--sub-tab-border-color);
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- position: relative;
- -webkit-justify-content: center;
- -ms-flex-pack: center;
- justify-content: center;
- -webkit-align-items: center;
- -ms-flex-align: center;
- align-items: center;
- width: 100%;
- min-height: 36px;
- text-decoration: none;
-}
-.ui-sub-tab a span {
- position: relative;
- -webkit-order: 1;
- -ms-flex-order: 1;
- order: 1;
- height: 100%;
- overflow-x: hidden;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-justify-content: flex-start;
- -ms-flex-pack: start;
- justify-content: flex-start;
- -webkit-align-items: center;
- -ms-flex-align: center;
- align-items: center;
-}
-.ui-sub-tab a.ui-tab-active {
- font-family: Roboto-Medium;
- color: var(--sub-tab-active-text-color);
- border-width: 1px;
-}
-.ui-sub-tab a.ui-sub-tab-inactive-text-overflow span {
- display: inline-block;
- overflow-x: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
-}
-.ui-sub-tab a::before {
- content: "";
- width: 100%;
- height: 100%;
- top: 0;
- left: 0;
- position: absolute;
- opacity: 0;
- background-color: var(--ripple-color);
- border-radius: 26px;
-}
-.ui-sub-tab a.ui-btn-active {
- background-color: inherit;
-}
-.ui-sub-tab a.ui-btn-active::before {
- -webkit-animation: animation_opacity_in linear 100ms,
- animation_opacity_out linear 400ms 100ms;
- animation: animation_opacity_in linear 100ms,
- animation_opacity_out linear 400ms 100ms;
-}
-.ui-sub-tab ul {
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- margin: 0;
- padding: 0;
- list-style: none;
- position: relative;
- height: 100%;
- white-space: nowrap;
- font-size: 0;
-}
-.ui-sub-tab li {
- text-align: center;
- margin: auto 0;
-}
-.ui-sub-tab:not(.ui-sub-tab-static) ul li {
- min-width: 105px;
-}
-.ui-sub-tab:not(.ui-sub-tab-static).ui-sub-tab-landscape ul li {
- min-width: 135px;
-}
-.ui-main-tab {
- display: none;
- width: calc(100% - 32px);
- height: 60px;
- margin-left: 16px;
- margin-right: 16px;
- background-color: var(--bottom-bar-color);
- position: fixed;
- bottom: 0;
-}
-.ui-main-tab-visible {
- display: block;
-}
-.ui-main-tab a {
- font-family: Roboto-Regular;
- font-size: 15px;
- line-height: 22px;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-justify-content: center;
- -ms-flex-pack: center;
- justify-content: center;
- -webkit-align-items: center;
- -ms-flex-align: center;
- align-items: center;
- position: relative;
- left: 0;
- top: 0;
- height: 100%;
- text-decoration: none;
- color: var(--tab-text-color);
- padding-left: 10px;
- padding-right: 10px;
-}
-.ui-main-tab a > span,
-.ui-main-tab a > div {
- position: relative;
- -webkit-order: 1;
- -ms-flex-order: 1;
- order: 1;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-justify-content: flex-start;
- -ms-flex-pack: start;
- justify-content: flex-start;
- -webkit-align-items: center;
- -ms-flex-align: center;
- align-items: center;
- padding-bottom: 4px;
- overflow: hidden;
-}
-.ui-main-tab a > span::before,
-.ui-main-tab a > div::before {
- content: "";
- position: absolute;
- width: 100%;
- height: 4px;
- border-bottom: 2.5px dotted var(--primary-dark-color);
- bottom: 0.75px;
- box-sizing: border-box;
- opacity: 0;
-}
-.ui-main-tab a.ui-tab-active {
- color: var(--primary-dark-color);
- font-family: Roboto-Medium;
-}
-.ui-main-tab a.ui-tab-active > span::before,
-.ui-main-tab a.ui-tab-active > div::before {
- opacity: 1;
-}
-.ui-main-tab a:disabled {
- color: var(--tab-text-color-dim);
-}
-.ui-main-tab a::before {
- content: "";
- width: 100%;
- height: 43px;
- top: 8.5px;
- border-radius: 26px;
- left: 0;
- position: absolute;
- opacity: 0;
- background-color: var(--ripple-color);
-}
-.ui-main-tab a.ui-btn-active {
- background-color: transparent;
-}
-.ui-main-tab a.ui-btn-active::before {
- opacity: 1;
-}
-.ui-main-tab ul {
- margin: 0;
- padding: 0;
- list-style: none;
- position: relative;
- height: 100%;
- white-space: nowrap;
- font-size: 0;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
-}
-.ui-main-tab li {
- text-align: center;
- display: block;
- position: relative;
- overflow: hidden;
- height: 100%;
- -webkit-flex: 1;
- -ms-flex: 1;
- flex: 1;
-}
-.ui-main-tab .ui-li-active a::before {
- opacity: 1;
-}
-.ui-main-tab .ui-tabs-badge {
- position: absolute;
- border-radius: 25px;
- min-width: 12px;
- background-color: var(--accent-badge);
- color: var(--color-white);
- top: 1px;
- right: 7px;
- text-align: center;
- padding: 3.5px 7.5px;
- font-family: Roboto-Medium;
- font-size: 11px;
-}
-.ui-marquee-content::after {
- content: attr(title);
- text-indent: 75px;
- position: absolute;
- display: none;
-}
-.ui-marquee-content.ui-visible {
- padding-right: 75px;
-}
-.ui-marquee-content.ui-visible::after {
- display: inline;
-}
-.ui-footer {
- padding: 0;
- z-index: 100;
-}
-.ui-footer .ui-bottom-bar {
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- width: 100%;
- min-height: 56px;
- background-color: var(--bottom-bar-color);
- padding: 0 24px;
-}
-.ui-footer .ui-bottom-bar .ui-btn {
- font-family: Roboto-Medium;
- font-size: 18px;
- text-align: center;
- line-height: 18px;
- max-width: 100%;
- height: 56px;
-}
-.ui-footer .ui-bottom-bar .ui-btn.ui-btn ~ .ui-btn {
- margin-left: 0;
-}
-.ui-footer .ui-bottom-bar .ui-btn.ui-btn-icon {
- font-family: Roboto-Regular;
- font-size: 12px;
- line-height: normal;
- max-width: 100%;
-}
-.ui-footer .ui-bottom-bar .ui-btn.ui-btn-icon-top ~ .ui-btn-icon-top {
- margin-left: 10px;
-}
-.ui-footer .ui-bottom-bar .ui-btn.ui-btn-text {
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-justify-content: center;
- -ms-flex-pack: center;
- justify-content: center;
- -webkit-align-items: center;
- -ms-flex-align: center;
- align-items: center;
-}
-.ui-footer .ui-bottom-bar.ui-bottom-bar-icons {
- padding: 0 10px;
-}
-.ui-footer .ui-bottom-bar.ui-hidden {
- display: none;
-}
-@media all and (min-width: 673px) and (min-height: 411px) {
- .ui-footer .ui-bottom-bar {
- margin: 0 auto;
- width: 75%;
- min-width: 625px;
- }
- .ui-footer .ui-bottom-bar.ui-bottom-bar-icons {
- min-width: 653px;
- }
-}
-.ui-tokentextarea {
- display: table;
- outline: none;
- position: relative;
- background-color: W010;
- margin-left: -7.5px;
- margin-right: -7.5px;
-}
-.ui-tokentextarea .ui-tokentextarea-input-area {
- height: 26.5px;
-}
-.ui-tokentextarea .ui-tokentextarea-input-area .ui-text-line {
- display: none;
-}
-.ui-scrollview-view > .ui-tokentextarea {
- margin-left: -4px;
- margin-right: -4px;
-}
-.ui-tokentextarea .ui-tokentextarea-label {
- display: inline-block;
- text-align: center;
- position: relative;
- margin-left: 6.5px;
- margin-right: 3px;
- padding: 11.5px 0;
- color: T059L2;
- font-size: 15px;
-}
-.ui-tokentextarea .ui-tokentextarea-input.ui-input-text {
- height: 26.5px;
- outline: none;
- position: relative;
- border: 0;
- padding: 0;
- color: T059L1;
- background-color: W010;
- text-align: left;
- font-size: 15px;
-}
-.ui-tokentextarea-input-visible {
- display: inline-block;
-}
-.ui-tokentextarea-input-invisible {
- display: none;
-}
-.ui-tokentextarea div {
- display: inline-block;
- text-align: center;
- cursor: pointer;
- position: relative;
- padding: .2em .5em;
- font-size: 15px;
- color: T020;
- text-overflow: ellipsis;
- white-space: nowrap;
- margin: 4px 1px;
-}
-.ui-tokentextarea-block {
- -webkit-mask-box-image-repeat: repeat;
- -moz-mask-box-image-repeat: repeat;
- -ms-mask-box-image-repeat: repeat;
- -o-mask-box-image-repeat: repeat;
- mask-box-image-repeat: repeat;
- -webkit-mask-box-image-width: auto;
- -moz-mask-box-image-width: auto;
- -ms-mask-box-image-width: auto;
- -o-mask-box-image-width: auto;
- mask-box-image-width: auto;
- -webkit-mask-box-image-source: url('images/nine-patch/core_button_bg.png');
- -webkit-mask-box-image-slice: 37 38 36 38 fill;
- -moz-mask-box-image-slice: 37 38 36 38 fill;
- -ms-mask-box-image-slice: 37 38 36 38 fill;
- -o-mask-box-image-slice: 37 38 36 38 fill;
- mask-box-image-slice: 37 38 36 38 fill;
- background-color: var(--button-background);
- background-color: W012;
- margin-left: 7.5px;
- margin-top: 6px;
-}
-.ui-tokentextarea-sblock {
- -webkit-mask-box-image-repeat: repeat;
- -moz-mask-box-image-repeat: repeat;
- -ms-mask-box-image-repeat: repeat;
- -o-mask-box-image-repeat: repeat;
- mask-box-image-repeat: repeat;
- -webkit-mask-box-image-width: auto;
- -moz-mask-box-image-width: auto;
- -ms-mask-box-image-width: auto;
- -o-mask-box-image-width: auto;
- mask-box-image-width: auto;
- -webkit-mask-box-image-source: url('images/nine-patch/core_button_bg.png');
- -webkit-mask-box-image-slice: 37 38 36 38 fill;
- -moz-mask-box-image-slice: 37 38 36 38 fill;
- -ms-mask-box-image-slice: 37 38 36 38 fill;
- -o-mask-box-image-slice: 37 38 36 38 fill;
- mask-box-image-slice: 37 38 36 38 fill;
- background-color: var(--on-background);
- background-color: W012P;
- color: T020;
- margin-left: 7.5px;
- margin-top: 6px;
-}
-.ui-tokentextarea .ui-tokentextarea-desclabel {
- display: inline-block;
- outline: none;
- position: relative;
- border: 0;
- color: T059L2;
- text-align: left;
- font-size: 15px;
- margin-left: 1.5px;
-}
-.ui-tokentextarea-link-base {
- position: absolute;
- right: 0;
- bottom: 2px;
- margin-right: 4.5px;
-}
-.ui-triangle-container {
- position: relative;
-}
-.ui-triangle-container .ui-triangle {
- position: absolute;
- border-style: solid;
- border-color: transparent;
- border-width: 10;
-}
-.ui-triangle-container .ui-triangle-top {
- top: 0;
- border-top-width: 0;
- border-left-color: transparent;
- border-right-color: transparent;
- margin-left: -10;
-}
-.ui-triangle-container .ui-triangle-bottom {
- bottom: 0;
- border-bottom-width: 0;
- border-left-color: transparent;
- border-right-color: transparent;
- margin-left: -10;
-}
-.ui-triangle-container .ui-triangle-left {
- left: 0;
- margin-top: -10;
- border-left-width: 0;
- border-left-color: transparent;
- border-right-color: transparent;
-}
-.ui-triangle-container .ui-triangle-right {
- right: 0;
- margin-top: -10;
- border-right-width: 0;
- border-left-color: transparent;
- border-right-color: transparent;
-}
-.ui-triangle-container-top {
- height: 10;
- top: 0;
- margin-top: -10;
-}
-.ui-triangle-container-bottom {
- height: 10;
- bottom: 0;
- margin-bottom: -10;
-}
-.ui-triangle-container-left {
- width: 10;
-}
-.ui-triangle-container-right {
- width: 10;
-}
-.ui-virtualgrid {
- overflow: hidden;
- position: absolute;
-}
-.ui-virtualgrid-wrapblock {
- position: absolute;
- left: 0;
-}
-.ui-virtualgrid-wrapblock-x {
- float: left;
- overflow: hidden;
-}
-.ui-virtualgrid-wrapblock-y {
- float: left;
- overflow: hidden;
-}
-.ui-scrollbar-thumb-x {
- width: 1.5rem !important;
-}
-.ui-scrollbar-thumb-y {
- height: 1.5rem !important;
-}
-.ui-virtualgrid-overflow-indicator-x-top {
- position: absolute;
- display: block;
- left: 0;
- top: 0;
- width: 56%;
- height: 100%;
- opacity: 0;
- background-repeat: no-repeat;
- background-size: 100% 100%;
- background-image: url('images/00_grid_overscrolling_left.png');
- pointer-events: none;
-}
-.ui-virtualgrid-overflow-indicator-x-bottom {
- position: absolute;
- display: block;
- right: 0;
- bottom: 0;
- width: 56%;
- height: 100%;
- opacity: 0;
- background-repeat: no-repeat;
- background-size: 100% 100%;
- background-image: url('images/00_grid_overscrolling_right.png');
- pointer-events: none;
-}
-.ui-virtualgrid-overflow-indicator-y-top {
- position: absolute;
- display: block;
- top: 0;
- width: 100%;
- height: 32%;
- opacity: 0;
- background-repeat: no-repeat;
- background-size: 100% 100%;
- background-image: url('images/00_grid_overscrolling_top.png');
- pointer-events: none;
-}
-.ui-virtualgrid-overflow-indicator-y-bottom {
- position: absolute;
- display: block;
- bottom: 0;
- width: 100%;
- height: 32%;
- opacity: 0;
- background-repeat: no-repeat;
- background-size: 100% 100%;
- background-image: url(images/00_grid_overscrolling_bottom.png);
- pointer-events: none;
-}
-.ui-content.ui-virtualgrid-content {
- padding: 0;
-}
-.ui-virtualgrid {
- margin: 4px -4px 0 0;
-}
-.ui-virtualgrid .ui-li-static {
- padding: 0;
- border: none;
- width: 100%;
-}
-.ui-virtualgrid .grid-icon {
- width: 26.25px;
- margin: 0 4px 4px 0;
- display: block;
- overflow: hidden;
-}
-.ui-virtualgrid .grid-icon.ui-btn-icon-top .ui-btn-inner.ui-btn-hastxt {
- padding-top: 15.75px;
-}
-.ui-virtualgrid .grid-icon.ui-btn .ui-icon {
- width: 106px;
- height: 106px;
- -webkit-mask-size: 106px 106px;
- -moz-mask-size: 106px 106px;
- -ms-mask-size: 106px 106px;
- -o-mask-size: 106px 106px;
- mask-size: 106px 106px;
- margin-left: -53px;
- background-size: 106px 106px;
-}
-.ui-virtualgrid .grid-icon:not(.ui-focus) {
- background-color: #1b403d;
-}
-.ui-virtualgrid .grid-thumbnail {
- width: 38px;
- margin: 0 4px 4px 0;
- display: block;
- overflow: hidden;
-}
-.ui-virtualgrid .grid-thumbnail.ui-btn .ui-btn-inner {
- margin: 0;
- padding: 0;
-}
-.ui-virtualgrid .grid-thumbnail.ui-btn .ui-btn-inner .ui-btn-text {
- display: block;
-}
-.ui-virtualgrid .grid-thumbnail .grid-thumbnail-info {
- left: 2.625px;
- right: 2.625px;
- top: 1px;
- position: absolute;
- color: #c8c8c8;
- font-size: 2.75px;
- text-align: right;
- z-index: 3;
-}
-.ui-virtualgrid .grid-thumbnail .grid-thumbnail-pic {
- z-index: 2;
- width: 38px;
- height: 38px;
- overflow: hidden;
- background-color: #1a465f;
- position: relative;
-}
-.ui-virtualgrid .grid-thumbnail .grid-thumbnail-pic img {
- width: 25px;
- height: 25px;
- position: absolute;
- top: 19px;
- left: 19px;
- margin: -12.5px;
-}
-.ui-virtualgrid .grid-thumbnail .grid-thumbnail-pic-full {
- width: 38px;
- height: 38px;
- overflow: hidden;
- position: relative;
- z-index: 2;
- box-sizing: border-box;
-}
-.ui-virtualgrid .grid-thumbnail .grid-thumbnail-pic-full img {
- width: 38px;
- height: 38px;
- position: absolute;
- top: 19px;
- left: 19px;
- margin: -19px;
-}
-.ui-virtualgrid .grid-thumbnail .grid-thumbnail-contents {
- background: #21240d;
- padding: 1.875px 2.5px;
- font-size: 6.5px;
- overflow: hidden;
- text-overflow: ellipsis;
- color: #d3d3d3;
- z-index: 2;
-}
-.ui-virtualgrid .grid-thumbnail .grid-thumbnail-contents .grid-thumbnail-content {
- overflow: hidden;
- text-overflow: ellipsis;
- height: 3.875px;
- line-height: 6.5px;
- min-height: 6.5px;
- display: block;
-}
-.ui-virtualgrid .grid-thumbnail .grid-thumbnail-contents .grid-thumbnail-subtext {
- overflow: hidden;
- text-overflow: ellipsis;
- color: #808080;
- font-size: 2.75px;
- margin-top: -0.75px;
- display: block;
-}
-.ui-virtualgrid .grid-thumbnail.ui-btn.ui-focus .grid-thumbnail-pic {
- border: solid #458fff;
- border-top-width: 1px;
- border-left-width: 1px;
- border-right-width: 1px;
-}
-.ui-virtualgrid .grid-thumbnail.ui-btn.ui-focus .grid-thumbnail-pic img {
- top: 18px;
- left: 18px;
- margin: -12.5px;
-}
-.ui-virtualgrid .grid-thumbnail.ui-btn.ui-focus .grid-thumbnail-pic-full {
- border: solid #458fff;
- border-top-width: 1px;
- border-left-width: 1px;
- border-right-width: 1px;
-}
-.ui-virtualgrid .grid-thumbnail.ui-btn.ui-focus .grid-thumbnail-pic-full img {
- top: 18px;
- left: 18px;
- margin: -19px;
-}
-.ui-virtualgrid .grid-thumbnail.ui-btn.ui-focus .grid-thumbnail-contents {
- background: #458fff;
-}
-.ui-virtualgrid .grid-thumbnail.ui-btn.ui-focus .grid-thumbnail-contents .grid-thumbnail-content,
-.ui-virtualgrid .grid-thumbnail.ui-btn.ui-focus .grid-thumbnail-contents .grid-thumbnail-subtext {
- color: #ffffff;
-}
-.ui-virtualgrid .grid-thumbnail.ui-btn.ui-selected .ui-btn-inner {
- border: solid #ffa955 1.25px;
-}
-.ui-virtualgrid .grid-thumbnail.ui-btn.ui-selected .ui-btn-text {
- margin: -1.25px;
-}
-.ui-mobile-viewport-transitioning,
-.ui-mobile-viewport-transitioning .ui-page {
- width: 100%;
- height: 100%;
- overflow: hidden;
-}
-.in {
- -webkit-animation-timing-function: ease-out;
- animation-timing-function: ease-out;
- -webkit-animation-duration: 350ms;
- animation-duration: 350ms;
-}
-.out {
- -webkit-animation-timing-function: ease-in;
- animation-timing-function: ease-in;
- -webkit-animation-duration: 225ms;
- animation-duration: 225ms;
-}
-@-webkit-keyframes fadein {
- from {
- opacity: 0;
- }
- to {
- opacity: 1;
- }
-}
-@keyframes fadein {
- from {
- opacity: 0;
- }
- to {
- opacity: 1;
- }
-}
-@-webkit-keyframes fadeout {
- from {
- opacity: 1;
- }
- to {
- opacity: 0;
- }
-}
-@keyframes fadeout {
- from {
- opacity: 1;
- }
- to {
- opacity: 0;
- }
-}
-.fade.out {
- opacity: 0;
- -webkit-animation-duration: 125ms;
- animation-duration: 125ms;
- -webkit-animation-name: fadeout;
- animation-name: fadeout;
-}
-.fade.in {
- opacity: 1;
- -webkit-animation-duration: 225ms;
- animation-duration: 225ms;
- -webkit-animation-name: fadein;
- animation-name: fadein;
-}
-.viewport-flip {
- position: absolute;
- -webkit-perspective: 1000;
- -ms-perspective: 1000;
- -o-perspective: 1000;
- perspective: 1000;
-}
-.flip {
- backface-visiblity: hidden;
- -webkit-transform: translate3d(0, 0, 0);
- -ms-transform: translate3d(0, 0, 0);
- transform: translate3d(0, 0, 0);
-}
-.flip.out {
- -webkit-transform: rotateY(-90 def) scale(0.9);
- transform: rotateY(-90 def) scale(0.9);
- -webkit-animation-name: flipouttoleft;
- animation-name: flipouttoleft;
- -webkit-animation-duration: 175ms;
- animation-duration: 175ms;
-}
-.flip.out.ui-ctxpopup-container {
- border: 2px solid var(--more-options-stroke-color);
- border-radius: 5px;
- box-shadow: none;
-}
-.flip.in {
- -webkit-animation-name: flipintoright;
- animation-name: flipintoright;
- -webkit-animation-duration: 225ms;
- animation-duration: 225ms;
-}
-.flip.in.ui-ctxpopup-container {
- border: 2px solid var(--more-options-stroke-color);
- border-radius: 5px;
- box-shadow: none;
-}
-.ui-popup.flip.out,
-.flip.out.reverse {
- -webkit-transform: rotateY(90deg) scale(0.9);
- transform: rotateY(90deg) scale(0.9);
- -webkit-animation-name: flipouttoright;
- animation-name: flipouttoright;
-}
-.flip.in.reverse {
- -webkit-animation-name: flipintoleft;
- animation-name: flipintoleft;
-}
-@-webkit-keyframes flipouttoleft {
- from {
- -webkit-transform: rotateY(-90deg) scale(0.9);
- transform: rotateY(-90deg) scale(0.9);
- }
- to {
- -webkit-transform: rotateY(0);
- transform: rotateY(0);
- }
- from {
- -webkit-transform: rotateY(-90deg) scale(0.9);
- transform: rotateY(-90deg) scale(0.9);
- }
- to {
- -webkit-transform: rotateY(0);
- transform: rotateY(0);
- }
-}
-@keyframes flipouttoleft {
- from {
- -webkit-transform: rotateY(-90deg) scale(0.9);
- transform: rotateY(-90deg) scale(0.9);
- }
- to {
- -webkit-transform: rotateY(0);
- transform: rotateY(0);
- }
- from {
- -webkit-transform: rotateY(-90deg) scale(0.9);
- transform: rotateY(-90deg) scale(0.9);
- }
- to {
- -webkit-transform: rotateY(0);
- transform: rotateY(0);
- }
-}
-@-webkit-keyframes flipouttoright {
- from {
- -webkit-transform: rotateY(0);
- transform: rotateY(0);
- }
- to {
- -webkit-transform: rotateY(90deg) scale(0.9);
- transform: rotateY(90deg) scale(0.9);
- }
- from {
- -webkit-transform: rotateY(0);
- transform: rotateY(0);
- }
- to {
- -webkit-transform: rotateY(90deg) scale(0.9);
- transform: rotateY(90deg) scale(0.9);
- }
-}
-@keyframes flipouttoright {
- from {
- -webkit-transform: rotateY(0);
- transform: rotateY(0);
- }
- to {
- -webkit-transform: rotateY(90deg) scale(0.9);
- transform: rotateY(90deg) scale(0.9);
- }
- from {
- -webkit-transform: rotateY(0);
- transform: rotateY(0);
- }
- to {
- -webkit-transform: rotateY(90deg) scale(0.9);
- transform: rotateY(90deg) scale(0.9);
- }
-}
-@-webkit-keyframes flipintoleft {
- from {
- -webkit-transform: rotateY(-90deg) scale(0.9);
- transform: rotateY(-90deg) scale(0.9);
- }
- to {
- -webkit-transform: rotateY(0);
- transform: rotateY(0);
- }
- from {
- -webkit-transform: rotateY(-90deg) scale(0.9);
- transform: rotateY(-90deg) scale(0.9);
- }
- to {
- -webkit-transform: rotateY(0);
- transform: rotateY(0);
- }
-}
-@keyframes flipintoleft {
- from {
- -webkit-transform: rotateY(-90deg) scale(0.9);
- transform: rotateY(-90deg) scale(0.9);
- }
- to {
- -webkit-transform: rotateY(0);
- transform: rotateY(0);
- }
- from {
- -webkit-transform: rotateY(-90deg) scale(0.9);
- transform: rotateY(-90deg) scale(0.9);
- }
- to {
- -webkit-transform: rotateY(0);
- transform: rotateY(0);
- }
-}
-@-webkit-keyframes flipintoright {
- from {
- -webkit-transform: rotateY(90deg) scale(0.9);
- transform: rotateY(90deg) scale(0.9);
- }
- to {
- -webkit-transform: rotateY(0);
- transform: rotateY(0);
- }
- from {
- -webkit-transform: rotateY(90deg) scale(0.9);
- transform: rotateY(90deg) scale(0.9);
- }
- to {
- -webkit-transform: rotateY(0);
- transform: rotateY(0);
- }
-}
-@keyframes flipintoright {
- from {
- -webkit-transform: rotateY(90deg) scale(0.9);
- transform: rotateY(90deg) scale(0.9);
- }
- to {
- -webkit-transform: rotateY(0);
- transform: rotateY(0);
- }
- from {
- -webkit-transform: rotateY(90deg) scale(0.9);
- transform: rotateY(90deg) scale(0.9);
- }
- to {
- -webkit-transform: rotateY(0);
- transform: rotateY(0);
- }
-}
-.flow {
- box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
- -webkit-transform-origin: 50% 50%;
- -ms-transform-origin: 50% 50%;
- transform-origin: 50% 50%;
-}
-.ui-dialog.flow {
- box-shadow: none;
-}
-.flow.out {
- -webkit-animation: flowouttoleft ease 350ms;
- animation: flowouttoleft ease 350ms;
- -webkit-transform: translate3d(-100%, 0, 0) scale(0.7);
- transform: translate3d(-100%, 0, 0) scale(0.7);
-}
-.flow.in {
- -webkit-animation: flowinfromright ease 350ms;
- animation: flowinfromright ease 350ms;
- -webkit-transform: translate3d(0, 0, 0) scale(1);
- transform: translate3d(0, 0, 0) scale(1);
-}
-.ui-popup.flow.out,
-.flow.out.reverse {
- -webkit-transform: translate3d(100%, 0, 0);
- -ms-transform: translate3d(100%, 0, 0);
- transform: translate3d(100%, 0, 0);
- -webkit-animation-name: flowouttoright;
- animation-name: flowouttoright;
-}
-.flow.in.reverse {
- -webkit-animation-name: flowinfromleft;
- animation-name: flowinfromleft;
-}
-@-webkit-keyframes flowouttoleft {
- 0% {
- -webkit-transform: translate3d(0, 0, 0) scale(1);
- transform: translate3d(0, 0, 0) scale(1);
- }
- 60%,
- 70% {
- -webkit-transform: translate3d(0, 0, 0) scale(0.7);
- transform: translate3d(0, 0, 0) scale(0.7);
- }
- 100% {
- -webkit-transform: translate3d(-100%, 0, 0) scale(0.7);
- transform: translate3d(-100%, 0, 0) scale(0.7);
- }
-}
-@keyframes flowouttoleft {
- 0% {
- -webkit-transform: translate3d(0, 0, 0) scale(1);
- transform: translate3d(0, 0, 0) scale(1);
- }
- 60%,
- 70% {
- -webkit-transform: translate3d(0, 0, 0) scale(0.7);
- transform: translate3d(0, 0, 0) scale(0.7);
- }
- 100% {
- -webkit-transform: translate3d(-100%, 0, 0) scale(0.7);
- transform: translate3d(-100%, 0, 0) scale(0.7);
- }
-}
-@-webkit-keyframes flowouttoright {
- 0% {
- -webkit-transform: translate3d(0, 0, 0) scale(1);
- transform: translate3d(0, 0, 0) scale(1);
- }
- 60%,
- 70% {
- -webkit-transform: translate3d(0, 0, 0) scale(0.7);
- transform: translate3d(0, 0, 0) scale(0.7);
- }
- 100% {
- -webkit-transform: translate3d(100%, 0, 0) scale(0.7);
- transform: translate3d(100%, 0, 0) scale(0.7);
- }
-}
-@keyframes flowouttoright {
- 0% {
- -webkit-transform: translate3d(0, 0, 0) scale(1);
- transform: translate3d(0, 0, 0) scale(1);
- }
- 60%,
- 70% {
- -webkit-transform: translate3d(0, 0, 0) scale(0.7);
- transform: translate3d(0, 0, 0) scale(0.7);
- }
- 100% {
- -webkit-transform: translate3d(100%, 0, 0) scale(0.7);
- transform: translate3d(100%, 0, 0) scale(0.7);
- }
-}
-@-webkit-keyframes flowinfromleft {
- 0% {
- -webkit-transform: translate3d(-100%, 0, 0) scale(0.7);
- transform: translate3d(-100%, 0, 0) scale(0.7);
- }
- 30%,
- 40% {
- -webkit-transform: translate3d(0, 0, 0) scale(0.7);
- transform: translate3d(0, 0, 0) scale(0.7);
- }
- 100% {
- -webkit-transform: translate3d(0, 0, 0) scale(1);
- transform: translate3d(0, 0, 0) scale(1);
- }
-}
-@keyframes flowinfromleft {
- 0% {
- -webkit-transform: translate3d(-100%, 0, 0) scale(0.7);
- transform: translate3d(-100%, 0, 0) scale(0.7);
- }
- 30%,
- 40% {
- -webkit-transform: translate3d(0, 0, 0) scale(0.7);
- transform: translate3d(0, 0, 0) scale(0.7);
- }
- 100% {
- -webkit-transform: translate3d(0, 0, 0) scale(1);
- transform: translate3d(0, 0, 0) scale(1);
- }
-}
-@-webkit-keyframes flowinfromright {
- 0% {
- -webkit-transform: translate3d(100%, 0, 0) scale(0.7);
- transform: translate3d(100%, 0, 0) scale(0.7);
- }
- 30%,
- 40% {
- -webkit-transform: translate3d(0, 0, 0) scale(0.7);
- transform: translate3d(0, 0, 0) scale(0.7);
- }
- 100% {
- -webkit-transform: translate3d(0, 0, 0) scale(1);
- transform: translate3d(0, 0, 0) scale(1);
- }
-}
-@keyframes flowinfromright {
- 0% {
- -webkit-transform: translate3d(100%, 0, 0) scale(0.7);
- transform: translate3d(100%, 0, 0) scale(0.7);
- }
- 30%,
- 40% {
- -webkit-transform: translate3d(0, 0, 0) scale(0.7);
- transform: translate3d(0, 0, 0) scale(0.7);
- }
- 100% {
- -webkit-transform: translate3d(0, 0, 0) scale(1);
- transform: translate3d(0, 0, 0) scale(1);
- }
-}
-.pop {
- -webkit-transform-origin: 50% 50%;
- -ms-transform-origin: 50% 50%;
- transform-origin: 50% 50%;
-}
-.pop.in {
- -webkit-transform: scale(1);
- -ms-transform: scale(1);
- transform: scale(1);
- opacity: 1;
- -webkit-animation: popin 350ms;
- animation: popin 350ms;
-}
-.pop.in.ui-ctxpopup-container {
- border: 2px solid var(--more-options-stroke-color);
- border-radius: 5px;
- box-shadow: none;
-}
-.pop.out {
- -webkit-animation: fadeout 100ms;
- animation: fadeout 100ms;
-}
-.pop.out.ui-ctxpopup-container {
- border: 2px solid var(--more-options-stroke-color);
- border-radius: 5px;
- box-shadow: none;
-}
-.pop.in.reverse {
- -webkit-animation-name: fadein;
- animation-name: fadein;
-}
-.ui-popup.pop.out,
-.pop.out.reverse {
- -webkit-transform: scale(0.8);
- -ms-transform: scale(0.8);
- transform: scale(0.8);
- -webkit-animation-name: popout;
- animation-name: popout;
-}
-@-webkit-keyframes popin {
- from {
- -webkit-transform: scale(0.8);
- -ms-transform: scale(0.8);
- transform: scale(0.8);
- opacity: 0;
- }
- to {
- -webkit-transform: scale(1);
- -ms-transform: scale(1);
- transform: scale(1);
- opacity: 1;
- }
-}
-@keyframes popin {
- from {
- -webkit-transform: scale(0.8);
- -ms-transform: scale(0.8);
- transform: scale(0.8);
- opacity: 0;
- }
- to {
- -webkit-transform: scale(1);
- -ms-transform: scale(1);
- transform: scale(1);
- opacity: 1;
- }
-}
-@-webkit-keyframes popout {
- from {
- -webkit-transform: scale(1);
- -ms-transform: scale(1);
- transform: scale(1);
- opacity: 1;
- }
- to {
- -webkit-transform: scale(0.8);
- -ms-transform: scale(0.8);
- transform: scale(0.8);
- opacity: 0;
- }
-}
-@keyframes popout {
- from {
- -webkit-transform: scale(1);
- -ms-transform: scale(1);
- transform: scale(1);
- opacity: 1;
- }
- to {
- -webkit-transform: scale(0.8);
- -ms-transform: scale(0.8);
- transform: scale(0.8);
- opacity: 0;
- }
-}
-.slide.out,
-.slide.in {
- -webkit-animation-timing-function: ease-out;
- animation-timing-function: ease-out;
- -webkit-animation-duration: 350ms;
- animation-duration: 350ms;
-}
-.slide.out {
- -webkit-transform: translate3d(-100%, 0, 0);
- -ms-transform: translate3d(-100%, 0, 0);
- transform: translate3d(-100%, 0, 0);
- -webkit-animation-name: slideouttoleft;
- animation-name: slideouttoleft;
-}
-.slide.in {
- -webkit-transform: translate3d(0, 0, 0);
- -ms-transform: translate3d(0, 0, 0);
- transform: translate3d(0, 0, 0);
- -webkit-animation-name: slideinfromright;
- animation-name: slideinfromright;
-}
-.ui-popup.slide.out,
-.slide.out.reverse {
- -webkit-transform: translate3d(100%, 0, 0);
- -ms-transform: translate3d(100%, 0, 0);
- transform: translate3d(100%, 0, 0);
- -webkit-animation-name: slideouttoright;
- animation-name: slideouttoright;
-}
-.slide.in.reverse {
- -webkit-transform: translate3d(0, 0, 0);
- -ms-transform: translate3d(0, 0, 0);
- transform: translate3d(0, 0, 0);
- -webkit-animation-name: slideinfromleft;
- animation-name: slideinfromleft;
-}
-@-webkit-keyframes slideinfromright {
- from {
- -webkit-transform: translate3d(100%, 0, 0);
- -ms-transform: translate3d(100%, 0, 0);
- transform: translate3d(100%, 0, 0);
- }
- to {
- -webkit-transform: translate3d(0, 0, 0);
- -ms-transform: translate3d(0, 0, 0);
- transform: translate3d(0, 0, 0);
- }
-}
-@keyframes slideinfromright {
- from {
- -webkit-transform: translate3d(100%, 0, 0);
- -ms-transform: translate3d(100%, 0, 0);
- transform: translate3d(100%, 0, 0);
- }
- to {
- -webkit-transform: translate3d(0, 0, 0);
- -ms-transform: translate3d(0, 0, 0);
- transform: translate3d(0, 0, 0);
- }
-}
-@-webkit-keyframes slideinfromleft {
- from {
- -webkit-transform: translate3d(-100%, 0, 0);
- -ms-transform: translate3d(-100%, 0, 0);
- transform: translate3d(-100%, 0, 0);
- }
- to {
- -webkit-transform: translate3d(0, 0, 0);
- -ms-transform: translate3d(0, 0, 0);
- transform: translate3d(0, 0, 0);
- }
-}
-@keyframes slideinfromleft {
- from {
- -webkit-transform: translate3d(-100%, 0, 0);
- -ms-transform: translate3d(-100%, 0, 0);
- transform: translate3d(-100%, 0, 0);
- }
- to {
- -webkit-transform: translate3d(0, 0, 0);
- -ms-transform: translate3d(0, 0, 0);
- transform: translate3d(0, 0, 0);
- }
-}
-@-webkit-keyframes slideouttoleft {
- from {
- -webkit-transform: translate3d(0, 0, 0);
- -ms-transform: translate3d(0, 0, 0);
- transform: translate3d(0, 0, 0);
- }
- to {
- -webkit-transform: translate3d(-100%, 0, 0);
- -ms-transform: translate3d(-100%, 0, 0);
- transform: translate3d(-100%, 0, 0);
- }
-}
-@keyframes slideouttoleft {
- from {
- -webkit-transform: translate3d(0, 0, 0);
- -ms-transform: translate3d(0, 0, 0);
- transform: translate3d(0, 0, 0);
- }
- to {
- -webkit-transform: translate3d(-100%, 0, 0);
- -ms-transform: translate3d(-100%, 0, 0);
- transform: translate3d(-100%, 0, 0);
- }
-}
-@-webkit-keyframes slideouttoright {
- from {
- -webkit-transform: translate3d(0, 0, 0);
- -ms-transform: translate3d(0, 0, 0);
- transform: translate3d(0, 0, 0);
- }
- to {
- -webkit-transform: translate3d(100%, 0, 0);
- -ms-transform: translate3d(100%, 0, 0);
- transform: translate3d(100%, 0, 0);
- }
-}
-@keyframes slideouttoright {
- from {
- -webkit-transform: translate3d(0, 0, 0);
- -ms-transform: translate3d(0, 0, 0);
- transform: translate3d(0, 0, 0);
- }
- to {
- -webkit-transform: translate3d(100%, 0, 0);
- -ms-transform: translate3d(100%, 0, 0);
- transform: translate3d(100%, 0, 0);
- }
-}
-.slidedown.out {
- -webkit-animation: fadeout 100ms;
- animation: fadeout 100ms;
-}
-.slidedown.in {
- -webkit-transform: translate3d(0, 0, 0);
- -ms-transform: translate3d(0, 0, 0);
- transform: translate3d(0, 0, 0);
- -webkit-animation: slideinfromtop 250ms;
- animation: slideinfromtop 250ms;
-}
-.slidedown.in.reverse {
- -webkit-animation: fade 150ms;
- animation: fade 150ms;
-}
-.ui-popup.slidedown.out,
-.slidedown.out.reverse {
- -webkit-transform: translate3d(0, -100%, 0);
- -ms-transform: translate3d(0, -100%, 0);
- transform: translate3d(0, -100%, 0);
- -webkit-animation: slideouttotop 200ms;
- animation: slideouttotop 200ms;
-}
-@-webkit-keyframes slideinfromtop {
- from {
- -webkit-transform: translate3d(0, -100%, 0);
- -ms-transform: translate3d(0, -100%, 0);
- transform: translate3d(0, -100%, 0);
- }
- to {
- -webkit-transform: translate3d(0, 0, 0);
- -ms-transform: translate3d(0, 0, 0);
- transform: translate3d(0, 0, 0);
- }
-}
-@keyframes slideinfromtop {
- from {
- -webkit-transform: translate3d(0, -100%, 0);
- -ms-transform: translate3d(0, -100%, 0);
- transform: translate3d(0, -100%, 0);
- }
- to {
- -webkit-transform: translate3d(0, 0, 0);
- -ms-transform: translate3d(0, 0, 0);
- transform: translate3d(0, 0, 0);
- }
-}
-@-webkit-keyframes slideouttotop {
- from {
- -webkit-transform: translate3d(0, 0, 0);
- -ms-transform: translate3d(0, 0, 0);
- transform: translate3d(0, 0, 0);
- }
- to {
- -webkit-transform: translate3d(0, -100%, 0);
- -ms-transform: translate3d(0, -100%, 0);
- transform: translate3d(0, -100%, 0);
- }
-}
-@keyframes slideouttotop {
- from {
- -webkit-transform: translate3d(0, 0, 0);
- -ms-transform: translate3d(0, 0, 0);
- transform: translate3d(0, 0, 0);
- }
- to {
- -webkit-transform: translate3d(0, -100%, 0);
- -ms-transform: translate3d(0, -100%, 0);
- transform: translate3d(0, -100%, 0);
- }
-}
-.slideupfade.out {
- -webkit-animation: fadeout 100ms;
- animation: fadeout 100ms;
-}
-.slideupfade.in {
- -webkit-transform: translate3d(0, 0, 0);
- -ms-transform: translate3d(0, 0, 0);
- transform: translate3d(0, 0, 0);
- -webkit-animation: slideupfadeinfrombottom 250ms;
- animation: slideupfadeinfrombottom 250ms;
-}
-.slideupfade.in.reverse {
- -webkit-animation: fadein 150ms;
- animation: fadein 150ms;
-}
-.ui-popup.slideupfade.out,
-.slideupfade.out.reverse {
- -webkit-transform: translate3d(0, 5%, 0);
- -ms-transform: translate3d(0, 5%, 0);
- transform: translate3d(0, 5%, 0);
- -webkit-animation: slideupfadeouttobottom 200ms;
- animation: slideupfadeouttobottom 200ms;
-}
-@-webkit-keyframes slideupfadeinfrombottom {
- from {
- opacity: 0;
- -webkit-transform: translate3d(0, 5%, 0);
- -ms-transform: translate3d(0, 5%, 0);
- transform: translate3d(0, 5%, 0);
- }
- to {
- opacity: 1;
- -webkit-transform: translate3d(0, 0, 0);
- -ms-transform: translate3d(0, 0, 0);
- transform: translate3d(0, 0, 0);
- }
-}
-@keyframes slideupfadeinfrombottom {
- from {
- opacity: 0;
- -webkit-transform: translate3d(0, 5%, 0);
- -ms-transform: translate3d(0, 5%, 0);
- transform: translate3d(0, 5%, 0);
- }
- to {
- opacity: 1;
- -webkit-transform: translate3d(0, 0, 0);
- -ms-transform: translate3d(0, 0, 0);
- transform: translate3d(0, 0, 0);
- }
-}
-@-webkit-keyframes slideupfadeouttobottom {
- from {
- opacity: 1;
- -webkit-transform: translate3d(0, 0, 0);
- -ms-transform: translate3d(0, 0, 0);
- transform: translate3d(0, 0, 0);
- }
- to {
- opacity: 0;
- -webkit-transform: translate3d(0, 5%, 0);
- -ms-transform: translate3d(0, 5%, 0);
- transform: translate3d(0, 5%, 0);
- }
-}
-@keyframes slideupfadeouttobottom {
- from {
- opacity: 1;
- -webkit-transform: translate3d(0, 0, 0);
- -ms-transform: translate3d(0, 0, 0);
- transform: translate3d(0, 0, 0);
- }
- to {
- opacity: 0;
- -webkit-transform: translate3d(0, 5%, 0);
- -ms-transform: translate3d(0, 5%, 0);
- transform: translate3d(0, 5%, 0);
- }
-}
-.slidedownfade.out {
- -webkit-animation: fadeout 100ms;
- animation: fadeout 100ms;
-}
-.slidedownfade.in {
- -webkit-transform: translate3d(0, 0, 0);
- -ms-transform: translate3d(0, 0, 0);
- transform: translate3d(0, 0, 0);
- -webkit-animation: slidedownfadeinfromtop 250ms;
- animation: slidedownfadeinfromtop 250ms;
-}
-.slidedownfade.in.reverse {
- -webkit-animation: fadein 150ms;
- animation: fadein 150ms;
-}
-.ui-popup.slidedownfade.out,
-.slidedownfade.out.reverse {
- -webkit-transform: translate3d(0, -5%, 0);
- -ms-transform: translate3d(0, -5%, 0);
- transform: translate3d(0, -5%, 0);
- -webkit-animation: slidedownfadeouttotop 200ms;
- animation: slidedownfadeouttotop 200ms;
-}
-@-webkit-keyframes slidedownfadeinfromtop {
- from {
- opacity: 1;
- -webkit-transform: translate3d(0, 0, 0);
- -ms-transform: translate3d(0, 0, 0);
- transform: translate3d(0, 0, 0);
- }
- to {
- opacity: 0;
- -webkit-transform: translate3d(0, -5%, 0);
- -ms-transform: translate3d(0, -5%, 0);
- transform: translate3d(0, -5%, 0);
- }
-}
-@keyframes slidedownfadeinfromtop {
- from {
- opacity: 1;
- -webkit-transform: translate3d(0, 0, 0);
- -ms-transform: translate3d(0, 0, 0);
- transform: translate3d(0, 0, 0);
- }
- to {
- opacity: 0;
- -webkit-transform: translate3d(0, -5%, 0);
- -ms-transform: translate3d(0, -5%, 0);
- transform: translate3d(0, -5%, 0);
- }
-}
-@-webkit-keyframes slidedownfadeouttotop {
- from {
- opacity: 1;
- -webkit-transform: translate3d(0, 0, 0);
- -ms-transform: translate3d(0, 0, 0);
- transform: translate3d(0, 0, 0);
- }
- to {
- opacity: 0;
- -webkit-transform: translate3d(0, -5%, 0);
- -ms-transform: translate3d(0, -5%, 0);
- transform: translate3d(0, -5%, 0);
- }
-}
-@keyframes slidedownfadeouttotop {
- from {
- opacity: 1;
- -webkit-transform: translate3d(0, 0, 0);
- -ms-transform: translate3d(0, 0, 0);
- transform: translate3d(0, 0, 0);
- }
- to {
- opacity: 0;
- -webkit-transform: translate3d(0, -5%, 0);
- -ms-transform: translate3d(0, -5%, 0);
- transform: translate3d(0, -5%, 0);
- }
-}
-.slidefade.out {
- -webkit-transform: translate3d(-100%, 0, 0);
- -ms-transform: translate3d(-100%, 0, 0);
- transform: translate3d(-100%, 0, 0);
- -webkit-animation: slideouttoleft 225ms;
- animation: slideouttoleft 225ms;
-}
-.slidefade.in {
- -webkit-transform: translate3d(0, 0, 0);
- -ms-transform: translate3d(0, 0, 0);
- transform: translate3d(0, 0, 0);
- -webkit-animation: fadein 200ms;
- animation: fadein 200ms;
-}
-.ui-popup.slidefade.out,
-.slidefade.out.reverse {
- -webkit-transform: translate3d(100%, 0, 0);
- -ms-transform: translate3d(100%, 0, 0);
- transform: translate3d(100%, 0, 0);
- -webkit-animation: slideouttoright 200ms;
- animation: slideouttoright 200ms;
-}
-.slidefade.in.reverse {
- -webkit-transform: translate3d(0, 0, 0);
- -ms-transform: translate3d(0, 0, 0);
- transform: translate3d(0, 0, 0);
- -webkit-animation: fadein 200ms;
- animation: fadein 200ms;
-}
-.viewport-turn {
- -webkit-perspective: 1000;
- -ms-perspective: 1000;
- -o-perspective: 1000;
- perspective: 1000;
- position: absolute;
-}
-.turn {
- backface-visiblity: hidden;
- -webkit-transform: translate3d(0, 0, 0);
- -ms-transform: translate3d(0, 0, 0);
- transform: translate3d(0, 0, 0);
-}
-.turn.out {
- -webkit-transform: rotateY(-90deg) scale(0.9);
- transform: rotateY(-90deg) scale(0.9);
- -webkit-animation: flipouttoleft 125ms;
- animation: flipouttoleft 125ms;
-}
-.turn.in {
- -webkit-animation: flipintoright 250ms;
- animation: flipintoright 250ms;
-}
-.ui-popup.turn.out,
-.turn.out.reverse {
- -webkit-transform: rotateY(90deg) scale(0.9);
- transform: rotateY(90deg) scale(0.9);
- -webkit-animation-name: flipouttoright;
- animation-name: flipouttoright;
-}
-.turn.in.reverse {
- -webkit-animation-name: flipintoleft;
- animation-name: flipintoleft;
-}
-@-webkit-keyframes flipouttoleft {
- from {
- -webkit-transform: rotateY(0);
- transform: rotateY(0);
- }
- to {
- -webkit-transform: rotateY(-90deg) scale(0.9);
- transform: rotateY(-90deg) scale(0.9);
- }
- from {
- -webkit-transform: rotateY(0);
- transform: rotateY(0);
- }
- to {
- -webkit-transform: rotateY(-90deg) scale(0.9);
- transform: rotateY(-90deg) scale(0.9);
- }
-}
-@keyframes flipouttoleft {
- from {
- -webkit-transform: rotateY(0);
- transform: rotateY(0);
- }
- to {
- -webkit-transform: rotateY(-90deg) scale(0.9);
- transform: rotateY(-90deg) scale(0.9);
- }
- from {
- -webkit-transform: rotateY(0);
- transform: rotateY(0);
- }
- to {
- -webkit-transform: rotateY(-90deg) scale(0.9);
- transform: rotateY(-90deg) scale(0.9);
- }
-}
-@-webkit-keyframes flipouttoright {
- from {
- -webkit-transform: rotateY(0);
- transform: rotateY(0);
- }
- to {
- -webkit-transform: rotateY(90deg) scale(0.9);
- transform: rotateY(90deg) scale(0.9);
- }
- from {
- -webkit-transform: rotateY(0);
- transform: rotateY(0);
- }
- to {
- -webkit-transform: rotateY(90deg) scale(0.9);
- transform: rotateY(90deg) scale(0.9);
- }
-}
-@keyframes flipouttoright {
- from {
- -webkit-transform: rotateY(0);
- transform: rotateY(0);
- }
- to {
- -webkit-transform: rotateY(90deg) scale(0.9);
- transform: rotateY(90deg) scale(0.9);
- }
- from {
- -webkit-transform: rotateY(0);
- transform: rotateY(0);
- }
- to {
- -webkit-transform: rotateY(90deg) scale(0.9);
- transform: rotateY(90deg) scale(0.9);
- }
-}
-@-webkit-keyframes flipintoleft {
- from {
- -webkit-transform: rotateY(-90deg) scale(0.9);
- transform: rotateY(-90deg) scale(0.9);
- }
- to {
- -webkit-transform: rotateY(0);
- transform: rotateY(0);
- }
- from {
- -webkit-transform: rotateY(-90deg) scale(0.9);
- transform: rotateY(-90deg) scale(0.9);
- }
- to {
- -webkit-transform: rotateY(0);
- transform: rotateY(0);
- }
-}
-@keyframes flipintoleft {
- from {
- -webkit-transform: rotateY(-90deg) scale(0.9);
- transform: rotateY(-90deg) scale(0.9);
- }
- to {
- -webkit-transform: rotateY(0);
- transform: rotateY(0);
- }
- from {
- -webkit-transform: rotateY(-90deg) scale(0.9);
- transform: rotateY(-90deg) scale(0.9);
- }
- to {
- -webkit-transform: rotateY(0);
- transform: rotateY(0);
- }
-}
-@-webkit-keyframes flipintoright {
- from {
- -webkit-transform: rotateY(90deg) scale(0.9);
- transform: rotateY(90deg) scale(0.9);
- }
- to {
- -webkit-transform: rotateY(0);
- transform: rotateY(0);
- }
- from {
- -webkit-transform: rotateY(90deg) scale(0.9);
- transform: rotateY(90deg) scale(0.9);
- }
- to {
- -webkit-transform: rotateY(0);
- transform: rotateY(0);
- }
-}
-@keyframes flipintoright {
- from {
- -webkit-transform: rotateY(90deg) scale(0.9);
- transform: rotateY(90deg) scale(0.9);
- }
- to {
- -webkit-transform: rotateY(0);
- transform: rotateY(0);
- }
- from {
- -webkit-transform: rotateY(90deg) scale(0.9);
- transform: rotateY(90deg) scale(0.9);
- }
- to {
- -webkit-transform: rotateY(0);
- transform: rotateY(0);
- }
-}
-.depth {
- -webkit-transform-origin: 50% 50%;
- -ms-transform-origin: 50% 50%;
- transform-origin: 50% 50%;
-}
-.depth.out {
- opacity: 0;
- -webkit-animation: depthout 250ms ease;
- animation: depthout 250ms ease;
-}
-.depth.in {
- -webkit-transform: scale(1);
- -ms-transform: scale(1);
- transform: scale(1);
- opacity: 1;
- -webkit-animation: depthin 350ms ease;
- animation: depthin 350ms ease;
-}
-.depth.in.reverse {
- -webkit-animation-name: depthinreverse;
- animation-name: depthinreverse;
-}
-.ui-popup.depth.out,
-.depth.out.reverse {
- -webkit-transform: scale(0.9);
- -ms-transform: scale(0.9);
- transform: scale(0.9);
- -webkit-animation-name: depthoutreverse;
- animation-name: depthoutreverse;
-}
-@-webkit-keyframes depthout {
- from {
- -webkit-transform: scale(1);
- -ms-transform: scale(1);
- transform: scale(1);
- opacity: 1;
- }
- to {
- -webkit-transform: scale(1.1);
- -ms-transform: scale(1.1);
- transform: scale(1.1);
- opacity: 0;
- }
-}
-@keyframes depthout {
- from {
- -webkit-transform: scale(1);
- -ms-transform: scale(1);
- transform: scale(1);
- opacity: 1;
- }
- to {
- -webkit-transform: scale(1.1);
- -ms-transform: scale(1.1);
- transform: scale(1.1);
- opacity: 0;
- }
-}
-@-webkit-keyframes depthin {
- 0% {
- -webkit-transform: scale(0.9);
- -ms-transform: scale(0.9);
- transform: scale(0.9);
- opacity: 0;
- }
- 30% {
- -webkit-transform: scale(0.9);
- -ms-transform: scale(0.9);
- transform: scale(0.9);
- opacity: 0;
- }
- 100% {
- -webkit-transform: scale(1);
- -ms-transform: scale(1);
- transform: scale(1);
- opacity: 1;
- }
-}
-@keyframes depthin {
- 0% {
- -webkit-transform: scale(0.9);
- -ms-transform: scale(0.9);
- transform: scale(0.9);
- opacity: 0;
- }
- 30% {
- -webkit-transform: scale(0.9);
- -ms-transform: scale(0.9);
- transform: scale(0.9);
- opacity: 0;
- }
- 100% {
- -webkit-transform: scale(1);
- -ms-transform: scale(1);
- transform: scale(1);
- opacity: 1;
- }
-}
-@-webkit-keyframes depthinreverse {
- 0% {
- -webkit-transform: scale(1.1);
- -ms-transform: scale(1.1);
- transform: scale(1.1);
- opacity: 0;
- }
- 30% {
- -webkit-transform: scale(1.1);
- -ms-transform: scale(1.1);
- transform: scale(1.1);
- opacity: 0;
- }
- 100% {
- -webkit-transform: scale(1);
- -ms-transform: scale(1);
- transform: scale(1);
- opacity: 1;
- }
-}
-@keyframes depthinreverse {
- 0% {
- -webkit-transform: scale(1.1);
- -ms-transform: scale(1.1);
- transform: scale(1.1);
- opacity: 0;
- }
- 30% {
- -webkit-transform: scale(1.1);
- -ms-transform: scale(1.1);
- transform: scale(1.1);
- opacity: 0;
- }
- 100% {
- -webkit-transform: scale(1);
- -ms-transform: scale(1);
- transform: scale(1);
- opacity: 1;
- }
-}
-@-webkit-keyframes depthoutreverse {
- from {
- -webkit-transform: scale(1);
- -ms-transform: scale(1);
- transform: scale(1);
- opacity: 1;
- }
- to {
- -webkit-transform: scale(0.9);
- -ms-transform: scale(0.9);
- transform: scale(0.9);
- opacity: 0;
- }
-}
-@keyframes depthoutreverse {
- from {
- -webkit-transform: scale(1);
- -ms-transform: scale(1);
- transform: scale(1);
- opacity: 1;
- }
- to {
- -webkit-transform: scale(0.9);
- -ms-transform: scale(0.9);
- transform: scale(0.9);
- opacity: 0;
- }
-}
-.ui-mobile-viewport-transitioning,
-.ui-mobile-viewport-transitioning .ui-page {
- width: 100%;
- height: 100%;
- overflow: hidden;
-}
-/* slide */
-.ui-page.slide.out,
-.ui-page.slide.in {
- -webkit-animation-timing-function: ease-out;
- animation-timing-function: ease-out;
- -webkit-animation-duration: 400ms;
- animation-duration: 400ms;
-}
-.ui-page.slide.out {
- -webkit-animation-name: pageslideouttoleft;
- animation-name: pageslideouttoleft;
-}
-.ui-page.slide.in {
- -webkit-animation-name: pageslideinfromright;
- animation-name: pageslideinfromright;
-}
-.ui-page.slide.out.reverse {
- -webkit-animation-name: pageslideouttoright;
- animation-name: pageslideouttoright;
- z-index: 2000;
-}
-.ui-page.slide.in.reverse {
- -webkit-animation-name: pageslideinfromleft;
- animation-name: pageslideinfromleft;
-}
-.ui-page.slide.in.reverse::after,
-.ui-page.slide.out:not(.reverse)::after {
- content: "";
- background-image: url("images/page/core_theme_bg_01.png");
- background-repeat: no-repeat;
- background-size: 100% 100%;
- position: absolute;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- z-index: 2000;
- opacity: 0;
-}
-.ui-page.slide.in.reverse::after {
- -webkit-animation: pagebgslideinreverse 400ms ease-out;
- animation: pagebgslideinreverse 400ms ease-out;
-}
-.ui-page.slide.out:not(.reverse)::after {
- -webkit-animation: pagebgslideout 400ms ease-out;
- animation: pagebgslideout 400ms ease-out;
-}
-@-webkit-keyframes pageslideouttoleft {
- from {
- -webkit-transform: translate3d(0, 0, 0);
- -ms-transform: translate3d(0, 0, 0);
- transform: translate3d(0, 0, 0);
- }
- to {
- -webkit-transform: translate3d(-25%, 0, 0);
- -ms-transform: translate3d(-25%, 0, 0);
- transform: translate3d(-25%, 0, 0);
- }
-}
-@keyframes pageslideouttoleft {
- from {
- -webkit-transform: translate3d(0, 0, 0);
- -ms-transform: translate3d(0, 0, 0);
- transform: translate3d(0, 0, 0);
- }
- to {
- -webkit-transform: translate3d(-25%, 0, 0);
- -ms-transform: translate3d(-25%, 0, 0);
- transform: translate3d(-25%, 0, 0);
- }
-}
-@-webkit-keyframes pageslideinfromright {
- from {
- -webkit-transform: translate3d(100%, 0, 0);
- -ms-transform: translate3d(100%, 0, 0);
- transform: translate3d(100%, 0, 0);
- }
- to {
- -webkit-transform: translate3d(0, 0, 0);
- -ms-transform: translate3d(0, 0, 0);
- transform: translate3d(0, 0, 0);
- }
-}
-@keyframes pageslideinfromright {
- from {
- -webkit-transform: translate3d(100%, 0, 0);
- -ms-transform: translate3d(100%, 0, 0);
- transform: translate3d(100%, 0, 0);
- }
- to {
- -webkit-transform: translate3d(0, 0, 0);
- -ms-transform: translate3d(0, 0, 0);
- transform: translate3d(0, 0, 0);
- }
-}
-@-webkit-keyframes pageslideouttoright {
- from {
- -webkit-transform: translate3d(0, 0, 0);
- -ms-transform: translate3d(0, 0, 0);
- transform: translate3d(0, 0, 0);
- }
- to {
- -webkit-transform: translate3d(100%, 0, 0);
- -ms-transform: translate3d(100%, 0, 0);
- transform: translate3d(100%, 0, 0);
- }
-}
-@keyframes pageslideouttoright {
- from {
- -webkit-transform: translate3d(0, 0, 0);
- -ms-transform: translate3d(0, 0, 0);
- transform: translate3d(0, 0, 0);
- }
- to {
- -webkit-transform: translate3d(100%, 0, 0);
- -ms-transform: translate3d(100%, 0, 0);
- transform: translate3d(100%, 0, 0);
- }
-}
-@-webkit-keyframes pageslideinfromleft {
- from {
- -webkit-transform: translate3d(-25%, 0, 0);
- -ms-transform: translate3d(-25%, 0, 0);
- transform: translate3d(-25%, 0, 0);
- }
- to {
- -webkit-transform: translate3d(0, 0, 0);
- -ms-transform: translate3d(0, 0, 0);
- transform: translate3d(0, 0, 0);
- }
-}
-@keyframes pageslideinfromleft {
- from {
- -webkit-transform: translate3d(-25%, 0, 0);
- -ms-transform: translate3d(-25%, 0, 0);
- transform: translate3d(-25%, 0, 0);
- }
- to {
- -webkit-transform: translate3d(0, 0, 0);
- -ms-transform: translate3d(0, 0, 0);
- transform: translate3d(0, 0, 0);
- }
-}
-@-webkit-keyframes pagebgslideinreverse {
- from {
- opacity: .5;
- }
- to {
- opacity: 0;
- }
-}
-@keyframes pagebgslideinreverse {
- from {
- opacity: .5;
- }
- to {
- opacity: 0;
- }
-}
-@-webkit-keyframes pagebgslideout {
- from {
- opacity: 0;
- }
- to {
- opacity: .5;
- }
-}
-@keyframes pagebgslideout {
- from {
- opacity: 0;
- }
- to {
- opacity: .5;
- }
-}
-/* slide up */
-.ui-page.slideup.out {
- -webkit-animation-name: fadeout;
- animation-name: fadeout;
- -webkit-animation-duration: 250ms;
- animation-duration: 250ms;
-}
-.ui-page.slideup.in {
- -webkit-transform: translate3d(0, 0, 0);
- -ms-transform: translate3d(0, 0, 0);
- transform: translate3d(0, 0, 0);
- -webkit-animation-name: pageslideinfrombottom;
- animation-name: pageslideinfrombottom;
- -webkit-animation-duration: 200ms;
- animation-duration: 200ms;
-}
-.ui-page.slideup.in.reverse {
- -webkit-animation-name: fadein;
- animation-name: fadein;
- -webkit-animation-duration: 250ms;
- animation-duration: 250ms;
-}
-.ui-page.slideup.out.reverse {
- -webkit-transform: translate3d(0, 100%, 0);
- -ms-transform: translate3d(0, 100%, 0);
- transform: translate3d(0, 100%, 0);
- -webkit-animation-name: pageslideouttobottom;
- animation-name: pageslideouttobottom;
- -webkit-animation-duration: 200ms;
- animation-duration: 200ms;
-}
-@-webkit-keyframes pageslideinfrombottom {
- from {
- -webkit-transform: translate3d(0, 100%, 0);
- }
- to {
- -webkit-transform: translate3d(0, 0, 0);
- }
-}
-@-webkit-keyframes pageslideouttobottom {
- from {
- -webkit-transform: translate3d(0, 0, 0);
- }
- to {
- -webkit-transform: translate3d(0, 100%, 0);
- }
-}
-/*** less definitions ***/
-ul.ui-virtual-list-container > ul.position_absolute {
- position: absolute;
-}
-.ui-listview.ui-virtual-list-container .ui-li {
- position: relative;
-}
-.ui-virtual-list-edge-effect {
- pointer-events: none;
- width: 100%;
- height: 0;
- position: absolute;
- top: 0;
- left: 0;
- box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
-}
-.ui-virtual-list-edge-effect.orientation-horizontal {
- height: 100%;
- width: 0;
-}
-.ui-grid-a,
-.ui-grid-b,
-.ui-grid-c,
-.ui-grid-d {
- overflow: hidden;
-}
-.ui-block-a,
-.ui-block-b,
-.ui-block-c,
-.ui-block-d,
-.ui-block-e {
- margin: 0;
- padding: 0;
- border: 0;
- float: left;
- min-height: 1px;
-}
-.ui-grid-solo .ui-block-a {
- width: 100%;
- float: none;
-}
-.ui-grid-a .ui-block-a,
-.ui-grid-a .ui-block-b {
- width: 50%;
-}
-.ui-grid-a .ui-block-a {
- clear: left;
-}
-.ui-grid-b .ui-block-a,
-.ui-grid-b .ui-block-b,
-.ui-grid-b .ui-block-c {
- width: 33.333%;
-}
-.ui-grid-b .ui-block-a {
- clear: left;
-}
-.ui-grid-c .ui-block-a,
-.ui-grid-c .ui-block-b,
-.ui-grid-c .ui-block-c,
-.ui-grid-c .ui-block-d {
- width: 25%;
-}
-.ui-grid-c .ui-block-a {
- clear: left;
-}
-.ui-grid-d .ui-block-a,
-.ui-grid-d .ui-block-b,
-.ui-grid-d .ui-block-c,
-.ui-grid-d .ui-block-d,
-.ui-grid-d .ui-block-e {
- width: 20%;
-}
-.ui-grid-d .ui-block-a {
- clear: left;
-}
-.ui-navbar {
- overflow: hidden;
-}
-.ui-navbar ul,
-.ui-navbar-expanded ul {
- list-style: none;
- padding: 0;
- margin: 0;
- position: relative;
- display: block;
- border: 0;
-}
-.ui-navbar-collapsed ul {
- float: left;
- width: 75%;
- margin-right: -2px;
-}
-.ui-navbar-collapsed .ui-navbar-toggle {
- float: left;
- width: 25%;
-}
-.ui-navbar .ui-navbar-truncate {
- position: absolute;
- left: -9999px;
- top: -9999px;
-}
-.ui-navbar li .ui-btn,
-.ui-navbar .ui-navbar-toggle .ui-btn {
- display: block;
- text-align: center;
- margin: 0;
- border-right-width: 0;
-}
-.ui-navbar li .ui-btn {
- margin-right: -1px;
-}
-.ui-navbar li .ui-btn:last-child {
- margin-right: 0;
-}
-.ui-header .ui-navbar .ui-btn,
-.ui-footer .ui-navbar .ui-btn {
- border-top-width: 0;
-}
-.ui-navbar .ui-btn-inner {
- padding-left: 2px;
- padding-right: 2px;
-}
-.ui-navbar-noicons .ui-btn-inner {
- padding-top: .8em;
- padding-bottom: .9em;
-}
-.ui-navbar-expanded .ui-btn {
- margin: 0;
- font-size: 14px;
-}
-.ui-navbar-expanded .ui-btn-inner {
- padding-left: 5px;
- padding-right: 5px;
-}
-.ui-navbar-expanded .ui-btn-icon-top .ui-btn-inner {
- padding: 45px 5px 15px;
- text-align: center;
-}
-.ui-navbar-expanded .ui-btn-icon-top .ui-icon {
- top: 15px;
-}
-.ui-navbar-expanded .ui-btn-icon-bottom .ui-btn-inner {
- padding: 15px 5px 45px;
- text-align: center;
-}
-.ui-navbar-expanded .ui-btn-icon-bottom .ui-icon {
- bottom: 15px;
-}
-.ui-navbar-expanded .ui-btn-inner {
- min-height: 2.5em;
-}
-.ui-navbar-expanded .ui-navbar-noicons .ui-btn-inner {
- padding-top: 1.8em;
- padding-bottom: 1.9em;
-}
-.ui-select {
- display: block;
- position: relative;
-}
-.ui-select select {
- position: absolute;
- left: -9999px;
- top: -9999px;
-}
-.ui-select .ui-btn {
- overflow: hidden;
-}
-.ui-select .ui-btn select {
- cursor: pointer;
- -webkit-appearance: button;
- left: 0;
- top: 0;
- width: 100%;
- min-height: 100%;
- height: 3em;
- max-height: 100%;
- opacity: 0;
- -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
- filter: alpha(opacity=0);
- z-index: 2;
-}
-.ui-select .ui-btn select.ui-select-nativeonly {
- opacity: 1;
- text-indent: 0;
-}
-.ui-select .ui-btn-icon-right .ui-btn-inner {
- padding-right: 45px;
-}
-.ui-select .ui-btn-icon-right .ui-icon {
- right: 15px;
-}
-label.ui-select {
- font-size: 16px;
- line-height: 1.4;
- font-weight: normal;
- margin: 0 0 .3em;
- display: block;
-}
-.ui-select .ui-btn-text,
-.ui-selectmenu .ui-btn-text {
- display: block;
- min-height: 1em;
-}
-.ui-select .ui-btn-text {
- text-overflow: ellipsis;
- overflow: hidden;
-}
-.ui-selectmenu .ui-listview {
- margin: 0;
-}
-.ui-selectmenu .ui-btn.ui-li-divider {
- cursor: default;
-}
-.ui-selectmenu-hidden {
- top: -9999px;
- left: -9999px;
- visibility: hidden;
-}
-.ui-selectmenu-screen {
- position: absolute;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- z-index: 99;
-}
-.ui-selectmenu-list .ui-li .ui-icon {
- display: none;
-}
-.ui-selectmenu-list .ui-li .ui-icon {
- display: block;
-}
-.ui-li.ui-selectmenu-placeholder {
- display: none;
-}
-.ui-selectmenu .ui-header .ui-title {
- margin: .6em 46px .8em;
-}
-@media all and (min-width: 450px) {
- label.ui-select {
- vertical-align: top;
- display: inline-block;
- width: 20%;
- margin: 0 2% 0 0;
- }
- .ui-select {
- width: 60%;
- display: inline-block;
- }
-}
-.ui-selectmenu .ui-header h1::after {
- content: '.';
- visibility: hidden;
-}
-.ui-selectmenu .ui-header .ui-btn-icon_only .ui-btn-text {
- position: absolute;
- left: -9999px;
-}
-.ui-selectmenu .ui-header .ui-btn-icon_only .ui-icon {
- margin: auto;
-}
-.ui-page.ui-empty-state .ui-header {
- background-color: var(--background-color);
-}
-.ui-page.ui-empty-state .ui-content {
- position: relative;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-align-items: center;
- -ms-flex-align: center;
- align-items: center;
- -webkit-justify-content: center;
- -ms-flex-pack: center;
- justify-content: center;
- -webkit-flex-direction: column;
- -ms-flex-direction: column;
- flex-direction: column;
- height: 100%;
- background-color: var(--background-color);
-}
-.ui-page.ui-empty-state .ui-content::before {
- content: '';
- display: block;
- position: absolute;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- -webkit-mask-image: url('images/00_page_empty_bg.png');
- mask-image: url('images/00_page_empty_bg.png');
- -webkit-mask-size: 100% auto;
- mask-size: 100% auto;
- -webkit-mask-repeat: no-repeat;
- mask-repeat: no-repeat;
- background-color: var(--background-color);
-}
-.ui-page.ui-empty-state .ui-content .ui-scrollview-view {
- padding-left: 16px;
- padding-right: 16px;
- text-align: center;
- font-size: 16px;
- color: var(--text-color);
- line-height: 21.5px;
- min-height: 286px;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-justify-content: center;
- -ms-flex-pack: center;
- justify-content: center;
- -webkit-flex-direction: column;
- -ms-flex-direction: column;
- flex-direction: column;
-}
-.ui-page.ui-empty-state .ui-content .ui-scrollview-view h1,
-.ui-page.ui-empty-state .ui-content .ui-scrollview-view h2,
-.ui-page.ui-empty-state .ui-content .ui-scrollview-view h3,
-.ui-page.ui-empty-state .ui-content .ui-scrollview-view h4,
-.ui-page.ui-empty-state .ui-content .ui-scrollview-view h5,
-.ui-page.ui-empty-state .ui-content .ui-scrollview-view h6 {
- margin: 0;
- margin-bottom: 27px;
- line-height: 27px;
- font-size: 20px;
- font-weight: lighter;
- color: T0222L1;
-}
-@media only screen and (orientation: landscape) {
- .ui-page.ui-empty-state .ui-content:before {
- -webkit-mask-image: url('images/00_page_empty_bg_h.png');
- mask-image: url('images/00_page_empty_bg_h.png');
- -webkit-mask-size: 100% 100px;
- mask-size: 100% 100px;
- }
-}
-.ui-listview.ui-listview-empty-state-show {
- height: 100%;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: column;
- -ms-flex-direction: column;
- flex-direction: column;
-}
-.ui-listview.ui-listview-empty-state-show .ui-li-empty-state {
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
-}
-.ui-listview.ui-listview-empty-state-show .ui-li-static {
- height: 27px;
-}
-.ui-listview .ui-li-empty-state {
- width: 100%;
- display: none;
- -webkit-flex-direction: column;
- -ms-flex-direction: column;
- flex-direction: column;
- position: relative;
- -webkit-align-content: center;
- -ms-flex-line-pack: center;
- align-content: center;
- -webkit-align-items: center;
- -ms-flex-align: center;
- align-items: center;
- -webkit-justify-content: center;
- -ms-flex-pack: center;
- justify-content: center;
- -webkit-align-self: center;
- -ms-flex-item-align: center;
- -ms-grid-row-align: center;
- align-self: center;
- -webkit-flex: 1;
- -ms-flex: 1;
- flex: 1;
- box-sizing: border-box;
- padding: 0 0 42px 0;
-}
-.ui-empty-state-content {
- pointer-events: none;
- padding-left: 16px;
- padding-right: 16px;
- text-align: center;
- font-size: 16px;
- color: T0222L4;
- line-height: 21.5px;
- height: 286px;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-justify-content: center;
- -ms-flex-pack: center;
- justify-content: center;
- -webkit-flex-direction: column;
- -ms-flex-direction: column;
- flex-direction: column;
-}
-.ui-empty-state-content h1,
-.ui-empty-state-content h2,
-.ui-empty-state-content h3,
-.ui-empty-state-content h4,
-.ui-empty-state-content h5,
-.ui-empty-state-content h6 {
- margin: 0;
- margin-bottom: 27px;
- line-height: 27px;
- font-size: 20px;
- font-weight: lighter;
- color: T0222L3;
-}
-.ui-page-floatingactions .ui-listview .ui-li-empty-state {
- padding: 0 0 94px 0;
-}
-input[type="search"]::-webkit-search-decoration,
-input[type="search"]::-webkit-search-cancel-button {
- -webkit-appearance: none;
- appearance: none;
-}
-input[type="search"][disabled] {
- background-color: transparent;
-}
-.ui-search-input {
- font-size: 20px;
- overflow: hidden;
- background-color: transparent;
- text-shadow: 0 0 0 var(--text-color);
- color: var(--text-input-inactive);
- -webkit-text-fill-color: transparent;
-}
-.ui-search-input:focus {
- text-shadow: 0 0 0 var(--text-color);
- border-color: var(--text-input-underline-active);
-}
-.ui-search-input.ui-state-disabled {
- text-shadow: 0 0 0 var(--text-input-disabled);
- border-bottom: 2px solid var(--text-input-disabled);
-}
-.ui-search-input.ui-state-disabled::-webkit-input-placeholder {
- color: var(--text-input-label-inactive);
- text-shadow: none;
- -webkit-text-fill-color: initial;
-}
-.ui-header-searchbar {
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-align-items: center;
- -ms-flex-align: center;
- align-items: center;
- padding: 0 8.5px 0 5px;
- box-sizing: border-box;
- overflow: initial;
-}
-.ui-header-searchbar > .ui-search-input,
-.ui-header-searchbar > input {
- border: 0;
- outline: 0;
- overflow: hidden;
- border-bottom: 1px solid;
- border-bottom-color: var(--text-input-underline-active);
- font-size: 20px;
- color: var(--primary-color);
- background-color: transparent;
- -webkit-text-fill-color: transparent;
- height: 40px;
- text-shadow: 0 0 0 var(--text-color);
- box-sizing: border-box;
- -webkit-flex-grow: 1;
- -ms-flex-positive: 1;
- flex-grow: 1;
- padding: 2px 5px 0 5px;
- margin-right: 7.5px;
-}
-.ui-header-searchbar > .ui-search-input.ui-text-input-clear-active:focus,
-.ui-header-searchbar > input.ui-text-input-clear-active:focus,
-.ui-header-searchbar > .ui-search-input.ui-text-input-clear-active:active,
-.ui-header-searchbar > input.ui-text-input-clear-active:active {
- text-shadow: 0 0 0 var(--text-color);
- padding: 2px 41px 0 5px;
-}
-.ui-header-searchbar > .ui-search-input[disabled],
-.ui-header-searchbar > input[disabled],
-.ui-header-searchbar > .ui-search-input.ui-state-disabled,
-.ui-header-searchbar > input.ui-state-disabled {
- text-shadow: 0 0 0 var(--text-input-disabled);
-}
-.ui-header-searchbar > .ui-search-input[disabled]::-webkit-input-placeholder,
-.ui-header-searchbar > input[disabled]::-webkit-input-placeholder,
-.ui-header-searchbar > .ui-search-input.ui-state-disabled::-webkit-input-placeholder,
-.ui-header-searchbar > input.ui-state-disabled::-webkit-input-placeholder {
- text-shadow: var(--text-input-label-inactive);
-}
-.ui-header-searchbar > .ui-search-input::-webkit-input-placeholder,
-.ui-header-searchbar > input::-webkit-input-placeholder {
- text-shadow: 0 0 0 var(--primary-color);
-}
-.ui-header-searchbar > .ui-search-input ~ .ui-text-input-clear.ui-btn.ui-btn-icon,
-.ui-header-searchbar > input ~ .ui-text-input-clear.ui-btn.ui-btn-icon {
- top: 7.5px;
- position: absolute;
- right: 8.5px;
- margin: 0;
-}
-.ui-header-searchbar > .ui-search-input ~ .ui-text-input-clear.ui-btn.ui-btn-icon::after,
-.ui-header-searchbar > input ~ .ui-text-input-clear.ui-btn.ui-btn-icon::after {
- background-color: var(--text-color);
-}
-.ui-header-searchbar > .ui-search-input + .ui-btn.ui-btn-icon + .ui-text-input-clear.ui-btn.ui-btn-icon,
-.ui-header-searchbar > input + .ui-btn.ui-btn-icon + .ui-text-input-clear.ui-btn.ui-btn-icon {
- right: 49.5px;
-}
-.ui-header-searchbar > .ui-search-input ~ .ui-btn-nobg::before,
-.ui-header-searchbar > input ~ .ui-btn-nobg::before {
- background-color: var(--ripple-color);
-}
-.ui-header-searchbar .ui-header-btn-right ~ .ui-text-input-clear.ui-btn.ui-btn-icon {
- right: 49.5px;
-}
-.ui-header-searchbar > .ui-btn:not(.ui-btn-nobg),
-.ui-header-searchbar .ui-header-btn-left.btn-icon-back,
-.ui-header-searchbar .ui-header-btn-icon.ui-header-btn-right {
- -webkit-flex-shrink: 0;
- -ms-flex-negative: 0;
- flex-shrink: 0;
- -webkit-flex-grow: 0;
- -ms-flex-positive: 0;
- flex-grow: 0;
- position: relative;
-}
-.ui-header-searchbar > .ui-btn.ui-btn-icon:not(.ui-text-input-clear):not(.btn-icon-back)::after {
- -webkit-mask-size: 25px 25px;
- mask-size: 25px 25px;
-}
-.ui-header-searchbar > .ui-header-btn-right {
- -webkit-order: 2;
- -ms-flex-order: 2;
- order: 2;
- position: relative;
-}
-.ui-handler {
- position: fixed;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- overflow: hidden;
- opacity: 0;
- transition: opacity 400ms ease-out;
- height: 100%;
- top: 0;
- right: 0;
-}
-.ui-handler .ui-handler-track {
- -webkit-user-select: none;
- -ms-user-select: none;
- -o-user-select: none;
- user-select: none;
- position: relative;
- width: 100%;
- height: 100%;
- display: block;
-}
-.ui-handler .ui-handler-track .ui-handler-handle {
- -webkit-user-select: none;
- -ms-user-select: none;
- -o-user-select: none;
- user-select: none;
- position: absolute;
- display: block;
- background-color: transparent;
-}
-.ui-handler .ui-handler-track .ui-handler-handle .ui-handler-expander {
- width: 100%;
- height: 100%;
- float: right;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-align-items: center;
- -moz-align-items: center;
- -ms-align-items: center;
- -o-align-items: center;
- -ms-flex-align: center;
- align-items: center;
- background-color: var(--primary-color);
- border-radius: 2.5px;
- transition-property: width border-width border-radius;
- transition-duration: 100ms;
-}
-.ui-handler .ui-handler-track .ui-handler-handle.ui-active .ui-handler-thumb:before {
- content: "";
- position: absolute;
- top: 0;
- left: 0;
- width: 16px;
- height: 16px;
- -webkit-mask-size: 100%;
- -moz-mask-size: 100%;
- -ms-mask-size: 100%;
- -o-mask-size: 100%;
- mask-size: 100%;
- background-color: var(--icon-color);
-}
-.ui-handler .ui-handler-track .ui-handler-handle.ui-active .ui-handler-thumb:after {
- content: "";
- position: absolute;
- top: 0;
- left: 0;
- width: 16px;
- height: 16px;
- -webkit-mask-size: 100%;
- -moz-mask-size: 100%;
- -ms-mask-size: 100%;
- -o-mask-size: 100%;
- mask-size: 100%;
- background-color: var(--icon-color);
-}
-.ui-handler.ui-handler-direction-x {
- right: 5px;
- bottom: 0px;
- left: 5px;
- height: 19px;
- top: auto;
-}
-.ui-handler.ui-handler-direction-x .ui-handler-handle {
- min-width: 22px;
- height: 16px;
- margin-bottom: 3px;
- top: auto;
- bottom: 0;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-align-items: flex-end;
- -moz-align-items: flex-end;
- -ms-align-items: flex-end;
- -o-align-items: flex-end;
- -ms-flex-align: end;
- align-items: flex-end;
-}
-.ui-handler.ui-handler-direction-x .ui-handler-handle .ui-handler-expander {
- height: 5px;
- width: 100%;
- -webkit-justify-content: center;
- -moz-justify-content: center;
- -ms-justify-content: center;
- -o-justify-content: center;
- -ms-flex-pack: center;
- justify-content: center;
-}
-.ui-handler.ui-handler-direction-x .ui-handler-track .ui-handler-handle.ui-active {
- min-width: 41px;
- margin-bottom: 3px;
- border-radius: 8px;
- -webkit-flex-direction: row;
- -moz-flex-direction: row;
- -ms-flex-direction: row;
- -o-flex-direction: row;
- flex-direction: row;
-}
-.ui-handler.ui-handler-direction-x .ui-handler-track .ui-handler-handle.ui-active .ui-handler-expander {
- height: 16px;
- border-radius: 8px;
-}
-.ui-handler.ui-handler-direction-x .ui-handler-thumb:before {
- -webkit-mask-image: url("images/core_index_scroll_handler_h_01.png");
- mask-image: url("images/core_index_scroll_handler_h_01.png");
-}
-.ui-handler.ui-handler-direction-x .ui-handler-thumb:after {
- -webkit-mask-image: url("images/core_index_scroll_handler_h_02.png");
- mask-image: url("images/core_index_scroll_handler_h_02.png");
-}
-.ui-handler.ui-handler-direction-y {
- top: 0;
- right: 0;
- bottom: 0;
- width: 19px;
- -webkit-flex-direction: column;
- -moz-flex-direction: column;
- -ms-flex-direction: column;
- -o-flex-direction: column;
- flex-direction: column;
-}
-.ui-handler.ui-handler-direction-y:before {
- content: "";
- width: 100%;
- height: 55px;
- background-color: transparent;
-}
-.ui-handler.ui-handler-direction-y .ui-handler-handle {
- width: 16px;
- margin-right: 3px;
- min-height: 22px;
- left: auto;
- right: 0;
-}
-.ui-handler.ui-handler-direction-y .ui-handler-handle .ui-handler-expander {
- width: 5px;
- height: 100%;
-}
-.ui-handler.ui-handler-direction-y .ui-handler-track {
- margin: 5px 0;
- background-color: transparent;
- -webkit-flex: 1;
- -moz-flex: 1;
- -ms-flex: 1;
- -o-flex: 1;
- flex: 1;
-}
-.ui-handler.ui-handler-direction-y .ui-handler-track .ui-handler-handle.ui-active {
- width: 16px;
- margin-right: 3px;
- min-height: 41px;
- -webkit-flex-direction: column;
- -moz-flex-direction: column;
- -ms-flex-direction: column;
- -o-flex-direction: column;
- flex-direction: column;
-}
-.ui-handler.ui-handler-direction-y .ui-handler-track .ui-handler-handle.ui-active .ui-handler-expander {
- border-radius: 8px;
- width: 16px;
-}
-.ui-handler.ui-handler-direction-y .ui-handler-thumb:before {
- -webkit-mask-image: url("images/core_index_scroll_handler_v_01.png");
- mask-image: url("images/core_index_scroll_handler_v_01.png");
-}
-.ui-handler.ui-handler-direction-y .ui-handler-thumb:after {
- -webkit-mask-image: url("images/core_index_scroll_handler_v_02.png");
- mask-image: url("images/core_index_scroll_handler_v_02.png");
-}
-.ui-handler.disabled {
- display: none;
-}
-.ui-handler .ui-handler-thumb {
- width: 16px;
- height: 16px;
- position: relative;
-}
-.ui-handler-visible {
- opacity: 1;
-}
-.scrollbar-disabled {
- overflow: hidden !important;
-}
-.scrollbar-disabled .ui-scrollview-clip {
- width: 105%;
-}
-.scrollbar-disabled .ui-scrollview-clip[data-direction="x"] {
- width: 100%;
- height: 105%;
-}
-.ui-container {
- white-space: nowrap;
- padding-bottom: 10px;
-}
-.ui-container > * {
- scroll-snap-align: center;
-}
-.ui-container .ui-container-item {
- display: inline-block;
- margin-left: 3px;
- margin-right: 3px;
- width: 188px;
-}
-.ui-container .ui-container-item:last-child {
- padding-right: 20px;
-}
-.ui-container.ui-container-middle .ui-favorite.ui-btn {
- width: 103px;
-}
-.ui-container.ui-container-middle .ui-favorite.ui-btn .ui-btn-content {
- width: 103px;
-}
-.ui-container.ui-container-middle .ui-favorite.ui-btn .ui-btn-content img {
- width: 100px;
- height: 100px;
-}
-.ui-container.ui-container-middle .ui-favorite.ui-btn .ui-btn-content .ui-title,
-.ui-container.ui-container-middle .ui-favorite.ui-btn .ui-btn-content .ui-subtitle {
- font-family: Roboto-Medium;
- width: 100%;
- text-align: left;
- text-overflow: ellipsis;
- color: #7b7b7b;
-}
-.ui-drawer {
- position: absolute;
- background-color: var(--background-color);
- z-index: 1201;
- box-sizing: border-box;
- overflow-x: hidden;
- overflow-y: scroll;
-}
-.ui-drawer-header {
- height: 56px;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
-}
-.ui-drawer-title {
- font-size: 19px;
- color: var(--appbar-main-text-color);
- -webkit-align-self: center;
- -ms-flex-item-align: center;
- -ms-grid-row-align: center;
- align-self: center;
- margin-left: 20px;
-}
-.ui-drawer .ui-listview {
- margin: 0;
- position: absolute;
- z-index: 2000;
- width: 100%;
- height: 100%;
-}
-.ui-drawer .ui-listview .ui-drawer-sub-list > .ui-btn-inner .ui-btn-text .ui-link-inherit {
- padding-left: 13px;
-}
-.ui-drawer-overlay {
- position: absolute;
- background-color: var(--overlay);
- z-index: 1200;
-}
-.ui-header .ui-btn.ui-drawer-button.ui-btn-icon-only {
- position: absolute;
- top: 0;
- left: 0;
- width: 27px;
- height: 36px;
-}
-.ui-header .ui-btn.ui-drawer-button.ui-btn-icon-only::after {
- width: 27px;
- height: 36px;
- -webkit-mask-size: 100%;
- mask-size: 100%;
- margin-top: 0;
- top: 0;
- left: 0;
-}
-.ui-dropdownmenu-overlay {
- opacity: 0;
- position: absolute;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- z-index: 1200;
-}
-.ui-dropdownmenu {
- box-sizing: border-box;
- width: 100%;
- display: block;
- position: relative;
-}
-.ui-dropdownmenu:focus {
- outline: none;
-}
-.ui-dropdownmenu:active {
- outline: none;
-}
-.ui-dropdownmenu:active .ui-dropdownmenu-placeholder {
- background-color: W021L1P;
-}
-.ui-dropdownmenu::before {
- content: "";
- opacity: 0;
- width: 90%;
- height: 26px;
- background-color: var(--ripple-color);
- position: absolute;
- top: 17px;
- left: 5%;
- transition-property: width, height, top, left;
- transition-duration: 0.2s;
- transition-timing-function: ease;
-}
-.ui-dropdownmenu:active::before {
- content: "";
- opacity: 1;
- width: 94%;
- height: 40px;
- background-color: var(--ripple-color);
- position: absolute;
- top: 10px;
- left: 3%;
-}
-.ui-dropdownmenu .ui-dropdownmenu-placeholder {
- box-sizing: border-box;
- text-align: left;
- width: 100%;
- display: inline-block;
- vertical-align: middle;
- position: relative;
- height: 100%;
- line-height: 60px;
- white-space: nowrap;
- padding: 0 26px 0 16px;
- overflow: hidden;
- text-overflow: ellipsis;
- font-size: 17px;
- text-indent: 5px;
- background-color: W021L1;
-}
-.ui-dropdownmenu .ui-dropdownmenu-placeholder::after {
- content: "";
- position: absolute;
- width: calc(100% - 32px);
- height: 1px;
- bottom: 9px;
- right: 16px;
- background-color: F057;
-}
-.ui-dropdownmenu select {
- width: 100%;
- display: none;
-}
-.ui-dropdownmenu.ui-focus {
- background-color: var(--ripple-color);
-}
-.ui-dropdownmenu-inline {
- width: auto;
- display: inline-block;
-}
-.ui-dropdownmenu-disabled {
- opacity: 1;
-}
-.ui-dropdownmenu-disabled .ui-dropdownmenu-placeholder {
- color: var(--dropdown-menu-options-color-dim);
-}
-.ui-dropdownmenu-force-display {
- display: block !important;
-}
-.ui-dropdownmenu-native select {
- display: block;
- top: 0;
- left: 0;
- position: absolute;
- height: 100%;
- outline: 0;
- opacity: 0;
- border: 0;
- margin: 0;
-}
-.ui-dropdownmenu-overlay-hidden {
- display: none;
-}
-@-webkit-keyframes open-to-bottom {
- from {
- opacity: .5;
- -webkit-transform: translate3d(0, -100%, 0);
- -ms-transform: translate3d(0, -100%, 0);
- transform: translate3d(0, -100%, 0);
- }
- to {
- opacity: 1;
- -webkit-transform: translate3d(0, 0, 0);
- -ms-transform: translate3d(0, 0, 0);
- transform: translate3d(0, 0, 0);
- }
-}
-@-webkit-keyframes open-to-top {
- from {
- opacity: .5;
- -webkit-transform: translate3d(0, 100%, 0);
- -ms-transform: translate3d(0, 100%, 0);
- transform: translate3d(0, 100%, 0);
- }
- to {
- opacity: 1;
- -webkit-transform: translate3d(0, 0, 0);
- -ms-transform: translate3d(0, 0, 0);
- transform: translate3d(0, 0, 0);
- }
-}
-@-webkit-keyframes close-to-bottom {
- from {
- opacity: 1;
- -webkit-transform: translate3d(0, 0, 0);
- -ms-transform: translate3d(0, 0, 0);
- transform: translate3d(0, 0, 0);
- }
- to {
- opacity: 0;
- -webkit-transform: translate3d(0, 100%, 0);
- -ms-transform: translate3d(0, 100%, 0);
- transform: translate3d(0, 100%, 0);
- }
-}
-@-webkit-keyframes close-to-top {
- from {
- opacity: 1;
- -webkit-transform: translate3d(0, 0, 0);
- -ms-transform: translate3d(0, 0, 0);
- transform: translate3d(0, 0, 0);
- }
- to {
- opacity: 0;
- -webkit-transform: translate3d(0, -100%, 0);
- -ms-transform: translate3d(0, -100%, 0);
- transform: translate3d(0, -100%, 0);
- }
-}
-.ui-dropdownmenu-options-wrapper {
- position: absolute;
- visibility: hidden;
- top: -5000px;
- overflow: hidden;
- z-index: 1201;
- min-width: 168px;
- max-width: 100vw;
- padding: 3px;
-}
-.ui-dropdownmenu-options-wrapper.ui-dropdownmenu-options-vertical-margins {
- margin-top: 3px;
- margin-bottom: 3px;
-}
-.ui-dropdownmenu-options-wrapper.ui-dropdownmenu-active {
- visibility: visible;
- overflow-y: auto;
-}
-.ui-dropdownmenu-options-wrapper.ui-dropdownmenu-options-opening.ui-dropdownmenu-options-top .ui-dropdownmenu-options {
- -webkit-animation: open-to-top 300ms;
- animation: open-to-top 300ms;
-}
-.ui-dropdownmenu-options-wrapper.ui-dropdownmenu-options-opening.ui-dropdownmenu-options-bottom .ui-dropdownmenu-options {
- -webkit-animation: open-to-bottom 300ms;
- animation: open-to-bottom 300ms;
-}
-.ui-dropdownmenu-options-wrapper.ui-dropdownmenu-options-closing.ui-dropdownmenu-options-top .ui-dropdownmenu-options {
- -webkit-animation: close-to-bottom 300ms;
- animation: close-to-bottom 300ms;
-}
-.ui-dropdownmenu-options-wrapper.ui-dropdownmenu-options-closing.ui-dropdownmenu-options-bottom .ui-dropdownmenu-options {
- -webkit-animation: close-to-top 300ms;
- animation: close-to-top 300ms;
-}
-.ui-dropdownmenu-options-wrapper .ui-dropdownmenu-options {
- box-sizing: border-box;
- list-style: none;
- padding: 0;
- margin: 0;
- max-height: calc(100vh - 6px);
- overflow-y: auto;
- background-color: var(--dropdown-menu-options-background);
- border-radius: 26px;
- box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.35);
- border: var(--dropdown-menu-options-border);
-}
-.ui-dropdownmenu-options-wrapper .ui-dropdownmenu-options:focus {
- outline: none;
-}
-.ui-dropdownmenu-options-wrapper .ui-dropdownmenu-options .ui-dropdownmenu-disabled {
- color: var(--dropdown-menu-options-color-dim);
-}
-.ui-dropdownmenu-options-wrapper .ui-dropdownmenu-options .ui-dropdownmenu-selected {
- color: var(--primary-dark-color);
- font-family: Roboto-Medium;
-}
-.ui-dropdownmenu-options-wrapper .ui-dropdownmenu-options .ui-dropdownmenu-selected::after {
- width: 20px;
- height: 20px;
- margin-left: 16px;
- margin-right: 24px;
- content: '';
- position: absolute;
- -webkit-mask-image: url('images/1_App_bar/tw_ic_ab_back_mtrl.svg');
- mask-image: url('images/1_App_bar/tw_ic_ab_back_mtrl.svg');
- -webkit-mask-size: 100%, 0;
- mask-size: 100%, 0;
- -webkit-mask-position: center;
- mask-position: center;
- -webkit-mask-repeat: no-repeat;
- mask-repeat: no-repeat;
- right: 0;
- -webkit-transform: translateY(-50%);
- -ms-transform: translateY(-50%);
- transform: translateY(-50%);
- top: 50%;
- background-color: var(--primary-dark-color);
-}
-.ui-dropdownmenu-options-wrapper .ui-dropdownmenu-options li {
- padding: 15px 60px 15px 24px;
- font-size: 17px;
- font-family: Roboto-Regular;
- display: block;
- position: relative;
- overflow: hidden;
- text-overflow: ellipsis;
- color: var(--dropdown-menu-options-color);
-}
-.ui-dropdownmenu-options-wrapper .ui-dropdownmenu-options li.ui-dropdown-two-lines {
- max-height: 2em;
- line-height: 1.4em;
-}
-.ui-dropdownmenu-options-wrapper .ui-dropdownmenu-options li:not(.ui-dropdown-two-lines) {
- white-space: nowrap;
- height: 20px;
-}
-.ui-dropdownmenu-options-wrapper .ui-dropdownmenu-options li:focus,
-.ui-dropdownmenu-options-wrapper .ui-dropdownmenu-options li:active {
- outline: none;
-}
-.ui-dropdownmenu-options-wrapper .ui-dropdownmenu-options li::before {
- content: "";
- position: absolute;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- background-color: var(--ripple-color);
- opacity: 0;
-}
-.ui-dropdownmenu-options-wrapper .ui-dropdownmenu-options li:active::before {
- opacity: 1;
-}
-.ui-dropdownmenu-active::-webkit-scrollbar {
- display: none;
-}
-.ui-listview li.ui-li-static.ui-li-has-dropdownmenu {
- padding: 0;
-}
-.ui-listview li.ui-li-static.ui-li-has-dropdownmenu .ui-dropdownmenu-placeholder {
- line-height: 60px;
-}
-.ui-li-static.ui-li-has-dropdownmenu {
- height: 60px;
-}
-.ui-appbar .ui-dropdownmenu-placeholder {
- line-height: 56px;
-}
-.ui-appbar-expanded .ui-dropdownmenu-placeholder {
- line-height: 59px;
-}
-.ui-panel-changer {
- position: relative;
- display: block;
- width: 100%;
- left: 0;
-}
-.ui-panel {
- position: absolute;
- height: 100%;
- width: 100%;
-}
-.ui-panel.ui-panel-active {
- display: block;
-}
-.ui-panel.slide-in,
-.ui-panel.slide-out,
-.ui-panel.slide-reverse-out,
-.ui-panel.slide-reverse-in {
- -webkit-animation-timing-function: ease-out;
- animation-timing-function: ease-out;
- -webkit-animation-duration: 400ms;
- animation-duration: 400ms;
-}
-.ui-panel.pre-in {
- z-index: 100;
-}
-.ui-panel.slide-out {
- -webkit-animation-name: panelslideouttoleft;
- animation-name: panelslideouttoleft;
-}
-.ui-panel.slide-in {
- -webkit-animation-name: panelslideinfromright;
- animation-name: panelslideinfromright;
-}
-.ui-panel.slide-reverse-out {
- -webkit-animation-name: panelslideouttoright;
- animation-name: panelslideouttoright;
-}
-.ui-panel.slide-reverse-in {
- -webkit-animation-name: panelslideinfromleft;
- animation-name: panelslideinfromleft;
-}
-.ui-panel .ui-content {
- height: 100%;
-}
-@-webkit-keyframes panelslideouttoleft {
- from {
- -webkit-transform: translate3d(0, 0, 0);
- -ms-transform: translate3d(0, 0, 0);
- transform: translate3d(0, 0, 0);
- }
- to {
- -webkit-transform: translate3d(-100%, 0, 0);
- -ms-transform: translate3d(-100%, 0, 0);
- transform: translate3d(-100%, 0, 0);
- }
-}
-@keyframes panelslideouttoleft {
- from {
- -webkit-transform: translate3d(0, 0, 0);
- -ms-transform: translate3d(0, 0, 0);
- transform: translate3d(0, 0, 0);
- }
- to {
- -webkit-transform: translate3d(-100%, 0, 0);
- -ms-transform: translate3d(-100%, 0, 0);
- transform: translate3d(-100%, 0, 0);
- }
-}
-@-webkit-keyframes panelslideinfromright {
- from {
- -webkit-transform: translate3d(100%, 0, 0);
- -ms-transform: translate3d(100%, 0, 0);
- transform: translate3d(100%, 0, 0);
- }
- to {
- -webkit-transform: translate3d(0, 0, 0);
- -ms-transform: translate3d(0, 0, 0);
- transform: translate3d(0, 0, 0);
- }
-}
-@keyframes panelslideinfromright {
- from {
- -webkit-transform: translate3d(100%, 0, 0);
- -ms-transform: translate3d(100%, 0, 0);
- transform: translate3d(100%, 0, 0);
- }
- to {
- -webkit-transform: translate3d(0, 0, 0);
- -ms-transform: translate3d(0, 0, 0);
- transform: translate3d(0, 0, 0);
- }
-}
-@-webkit-keyframes panelslideouttoright {
- from {
- -webkit-transform: translate3d(0, 0, 0);
- -ms-transform: translate3d(0, 0, 0);
- transform: translate3d(0, 0, 0);
- }
- to {
- -webkit-transform: translate3d(100%, 0, 0);
- -ms-transform: translate3d(100%, 0, 0);
- transform: translate3d(100%, 0, 0);
- }
-}
-@keyframes panelslideouttoright {
- from {
- -webkit-transform: translate3d(0, 0, 0);
- -ms-transform: translate3d(0, 0, 0);
- transform: translate3d(0, 0, 0);
- }
- to {
- -webkit-transform: translate3d(100%, 0, 0);
- -ms-transform: translate3d(100%, 0, 0);
- transform: translate3d(100%, 0, 0);
- }
-}
-@-webkit-keyframes panelslideinfromleft {
- from {
- -webkit-transform: translate3d(-100%, 0, 0);
- -ms-transform: translate3d(-100%, 0, 0);
- transform: translate3d(-100%, 0, 0);
- }
- to {
- -webkit-transform: translate3d(0, 0, 0);
- -ms-transform: translate3d(0, 0, 0);
- transform: translate3d(0, 0, 0);
- }
-}
-@keyframes panelslideinfromleft {
- from {
- -webkit-transform: translate3d(-100%, 0, 0);
- -ms-transform: translate3d(-100%, 0, 0);
- transform: translate3d(-100%, 0, 0);
- }
- to {
- -webkit-transform: translate3d(0, 0, 0);
- -ms-transform: translate3d(0, 0, 0);
- transform: translate3d(0, 0, 0);
- }
-}
-.ui-navigation {
- -webkit-order: 2;
- -moz-order: 2;
- -ms-order: 2;
- -o-order: 2;
- -ms-flex-order: 2;
- order: 2;
- height: 35px;
- box-sizing: border-box;
- background-color: var(--background-color);
- border-top: 1px solid var(--color-white);
- white-space: nowrap;
- overflow-x: scroll;
- overflow-y: hidden;
-}
-.ui-navigation::-webkit-scrollbar {
- display: none;
-}
-.ui-navigation .ui-navigation-container {
- margin: 0;
- padding: 0;
- display: inline-block;
- list-style-type: none;
-}
-.ui-navigation .ui-navigation-container .ui-navigation-item {
- position: relative;
- height: 34px;
- line-height: 34px;
- vertical-align: top;
- overflow: hidden;
- display: inline-block;
- color: var(--text-color);
- font-size: 16px;
- background-color: transparent;
-}
-.ui-navigation .ui-navigation-container .ui-navigation-item:first-child {
- margin-left: 9px;
-}
-.ui-navigation .ui-navigation-container .ui-navigation-item:first-child::before {
- content: none;
-}
-.ui-navigation .ui-navigation-container .ui-navigation-item .ui-arrow {
- float: left;
- height: 34px;
- width: 30px;
- color: var(--text-color);
- background-color: var(--color-white);
- -webkit-mask-image: url("images/core_navigation_bar_icon_arrow.png");
- -webkit-mask-size: 100% 100%;
- margin: 0 -9px 0;
- opacity: .6;
-}
-.ui-navigation .ui-navigation-container .ui-navigation-item .ui-text {
- display: block;
- position: relative;
- float: left;
- height: 21.5px;
- color: var(--text-color);
- padding: 3px 7px 4.5px;
- line-height: 21.5px;
- margin-top: 2.5px;
- text-decoration: none;
- -webkit-user-select: none;
- -ms-user-select: none;
- -o-user-select: none;
- user-select: none;
- opacity: .6;
-}
-.ui-navigation .ui-navigation-container .ui-navigation-item .ui-text.ui-focus {
- background-color: rgba(50, 150, 166, 0.4);
- outline: none;
-}
-.ui-navigation .ui-navigation-container .ui-navigation-item:last-child {
- margin-right: 9px;
-}
-.ui-navigation .ui-navigation-container .ui-navigation-item.ui-navigator-active-animation .ui-arrow {
- -webkit-animation: navigation_active_show_animation_arrow linear 133ms;
- animation: navigation_active_show_animation_arrow linear 133ms;
-}
-.ui-navigation .ui-navigation-container .ui-navigation-item.ui-navigator-active-animation .ui-text {
- -webkit-animation: navigation_active_show_animation_text linear 166ms;
- animation: navigation_active_show_animation_text linear 166ms;
-}
-.ui-navigation .ui-navigation-container .ui-navigation-item.ui-navigator-back .ui-arrow {
- -webkit-animation: none;
- animation: none;
-}
-.ui-navigation .ui-navigation-container .ui-navigation-item.ui-navigator-back .ui-text {
- -webkit-animation: navigation_active_back_animation_text linear 184ms;
- animation: navigation_active_back_animation_text linear 184ms;
-}
-.ui-navigation .ui-navigation-container .ui-navigation-item.ui-navigator-hide .ui-arrow {
- -webkit-animation: navigation_active_hide_animation_text linear 150ms;
- animation: navigation_active_hide_animation_text linear 150ms;
-}
-.ui-navigation .ui-navigation-container .ui-navigation-item.ui-navigator-hide .ui-text {
- -webkit-animation: navigation_active_hide_animation_text linear 184ms;
- animation: navigation_active_hide_animation_text linear 184ms;
-}
-.ui-navigation .ui-navigation-container .ui-navigation-item.ui-navigation-active .ui-arrow {
- opacity: .6;
-}
-.ui-navigation .ui-navigation-container .ui-navigation-item.ui-navigation-active .ui-text {
- color: var(--ripple-color);
- opacity: 1;
-}
-.ui-navigation .ui-navigation-container .ui-navigation-item.ui-navigator-back-hide .ui-arrow {
- -webkit-animation: none;
- animation: none;
-}
-.ui-navigation .ui-navigation-container .ui-navigation-item.ui-navigator-back-hide .ui-text {
- -webkit-animation: navigation_active_back_hide_animation_text linear 184ms;
- animation: navigation_active_back_hide_animation_text linear 184ms;
- opacity: 1;
-}
-.ui-navigation .ui-navigation-container .ui-navigation-item.ui-btn-active .ui-text::before {
- content: "";
- position: absolute;
- width: 100%;
- height: 100%;
- left: 50%;
- top: 50%;
- background-color: var(--ripple-color);
- opacity: 0;
- color: var(--ripple-color);
- -webkit-animation: navigation_press_animation linear 500ms;
- animation: navigation_press_animation linear 500ms;
-}
-@-webkit-keyframes navigation_active_show_animation_text {
- 0% {
- opacity: 0;
- }
- 100% {
- opacity: 1;
- }
-}
-@keyframes navigation_active_show_animation_text {
- 0% {
- opacity: 0;
- }
- 100% {
- opacity: 1;
- }
-}
-@-webkit-keyframes navigation_active_back_animation_text {
- 0% {
- opacity: .6;
- }
- 100% {
- opacity: 1;
- }
-}
-@keyframes navigation_active_back_animation_text {
- 0% {
- opacity: .6;
- }
- 100% {
- opacity: 1;
- }
-}
-@-webkit-keyframes navigation_active_back_hide_animation_text {
- 0% {
- opacity: 1;
- }
- 100% {
- opacity: .6;
- }
-}
-@keyframes navigation_active_back_hide_animation_text {
- 0% {
- opacity: 1;
- }
- 100% {
- opacity: .6;
- }
-}
-@-webkit-keyframes navigation_active_show_animation_arrow {
- 0% {
- opacity: 0;
- }
- 20% {
- opacity: 0;
- }
- 100% {
- opacity: .6;
- }
-}
-@keyframes navigation_active_show_animation_arrow {
- 0% {
- opacity: 0;
- }
- 20% {
- opacity: 0;
- }
- 100% {
- opacity: .6;
- }
-}
-@-webkit-keyframes navigation_active_hide_animation_text {
- 0% {
- opacity: 1;
- }
- 100% {
- opacity: 0;
- }
-}
-@keyframes navigation_active_hide_animation_text {
- 0% {
- opacity: 1;
- }
- 100% {
- opacity: 0;
- }
-}
-@-webkit-keyframes navigation_press_animation {
- 0% {
- opacity: 0;
- -webkit-transform: translate(-50%, -50%) scale(0.7);
- -ms-transform: translate(-50%, -50%) scale(0.7);
- transform: translate(-50%, -50%) scale(0.7);
- }
- 5% {
- opacity: .3;
- }
- 100% {
- opacity: .3;
- -webkit-transform: translate(-50%, -50%) scale(1);
- -ms-transform: translate(-50%, -50%) scale(1);
- transform: translate(-50%, -50%) scale(1);
- }
-}
-@keyframes navigation_press_animation {
- 0% {
- opacity: 0;
- -webkit-transform: translate(-50%, -50%) scale(0.7);
- -ms-transform: translate(-50%, -50%) scale(0.7);
- transform: translate(-50%, -50%) scale(0.7);
- }
- 5% {
- opacity: .3;
- }
- 100% {
- opacity: .3;
- -webkit-transform: translate(-50%, -50%) scale(1);
- -ms-transform: translate(-50%, -50%) scale(1);
- transform: translate(-50%, -50%) scale(1);
- }
-}
-@-webkit-keyframes navigation_pressup_animation {
- 0% {
- opacity: .3;
- }
- 100% {
- opacity: 0;
- -webkit-transform: translate(-50%, -50%) scale(1);
- -ms-transform: translate(-50%, -50%) scale(1);
- transform: translate(-50%, -50%) scale(1);
- }
-}
-@keyframes navigation_pressup_animation {
- 0% {
- opacity: .3;
- }
- 100% {
- opacity: 0;
- -webkit-transform: translate(-50%, -50%) scale(1);
- -ms-transform: translate(-50%, -50%) scale(1);
- transform: translate(-50%, -50%) scale(1);
- }
-}
-.ui-tabs {
- position: relative;
- height: 100%;
- overflow: hidden;
- border-bottom-left-radius: 26px;
- border-bottom-right-radius: 26px;
-}
-.ui-tabs .ui-listview {
- overflow: hidden;
- min-height: 100%;
- min-width: 100%;
-}
-.ui-section-changer {
- height: 100%;
- position: relative;
- overflow: hidden;
- display: block;
-}
-.ui-section-changer section {
- overflow: auto;
-}
-.ui-indexscrollbar {
- display: block;
- position: absolute;
- right: 0;
- top: 0;
- width: 20px;
- height: 100%;
- padding-left: 1px;
- background-color: var(--control-background);
- z-index: 1000;
- overflow: visible;
- -webkit-user-select: none;
- -ms-user-select: none;
- -o-user-select: none;
- user-select: none;
- cursor: pointer;
- box-sizing: border-box;
-}
-.ui-indexscrollbar::before {
- width: 20px;
- display: block;
- position: absolute;
- right: 20px;
- height: 100%;
- content: " ";
- background-color: transparent;
-}
-.ui-indexscrollbar ul {
- list-style-type: none;
- margin: 0;
- position: absolute;
- width: 100%;
- height: 100%;
- left: 0;
- visibility: visible;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: column;
- -moz-flex-direction: column;
- -ms-flex-direction: column;
- -o-flex-direction: column;
- flex-direction: column;
- -webkit-align-items: stretch;
- -moz-align-items: stretch;
- -ms-align-items: stretch;
- -o-align-items: stretch;
- -ms-flex-align: stretch;
- align-items: stretch;
- -webkit-justify-content: center;
- -moz-justify-content: center;
- -ms-justify-content: center;
- -o-justify-content: center;
- -ms-flex-pack: center;
- justify-content: center;
- padding: 0;
- box-sizing: border-box;
-}
-.ui-indexscrollbar ul li {
- cursor: pointer;
- color: var(--text-color);
- display: block;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- width: 100%;
- text-align: center;
- font-size: 12px;
- font-weight: bold;
- border-bottom: 1px solid var(--primary-color);
- border-left: 1px solid var(--border-surface);
- -webkit-flex: 1;
- -moz-flex: 1;
- -ms-flex: 1;
- -o-flex: 1;
- flex: 1;
- -webkit-justify-content: center;
- -moz-justify-content: center;
- -ms-justify-content: center;
- -o-justify-content: center;
- -ms-flex-pack: center;
- justify-content: center;
- -webkit-align-items: center;
- -moz-align-items: center;
- -ms-align-items: center;
- -o-align-items: center;
- -ms-flex-align: center;
- align-items: center;
- max-height: 20px;
- min-height: 20px;
-}
-.ui-indexscrollbar ul li a {
- text-decoration: none;
- width: 18px;
- height: 19px;
- color: inherit;
- border: none;
- outline: none;
- box-sizing: border-box;
- margin: 0;
- padding: 0;
-}
-.ui-indexscrollbar ul li a:focus {
- background-color: var(--ripple-color);
-}
-.ui-indexscrollbar ul li.ui-state-selected {
- border-left: 2px solid var(--primary-color);
- position: relative;
- width: 18px;
-}
-.ui-indexscrollbar ul li.ui-state-selected::before {
- content: "";
- position: absolute;
- height: 100%;
- width: 17px;
- left: -1px;
- top: -1px;
- border: 1px solid var(--border-surface);
- border-left: none;
-}
-.ui-indexscrollbar ul::before,
-.ui-indexscrollbar ul::after {
- content: "";
- width: 20px;
- border-left: 1px solid var(--border-surface);
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex: 1;
- -moz-flex: 1;
- -ms-flex: 1;
- -o-flex: 1;
- flex: 1;
- pointer-events: none;
- -webkit-flex-basis: auto;
- -ms-flex-preferred-size: auto;
- flex-basis: auto;
-}
-.ui-indexscrollbar ul.ui-indexscrollbar-supplementary {
- position: relative;
- height: auto;
- top: 0;
- right: -20px;
- width: 100%;
-}
-.ui-indexscrollbar .ui-indexscrollbar-margin {
- width: 20px;
- position: absolute;
- bottom: 0;
- left: 0;
- border-left: 1px solid var(--border-surface);
-}
-.ui-indexscrollbar + .ui-listview li {
- padding-right: 20px;
-}
-.ui-indexscrollbar ul li:first-child {
- padding-top: 21px;
- position: relative;
-}
-.ui-indexscrollbar ul li:first-child::before {
- content: "";
- height: 20px;
- width: 20px;
- position: absolute;
- top: 0;
- left: 0;
- background-color: var(--text-color);
- -webkit-mask-image: url("../default/images/controls/core_floating_icon_search.png");
- mask-image: url("../default/images/controls/core_floating_icon_search.png");
- -webkit-mask-size: 80%;
- mask-size: 80%;
- -webkit-mask-position: center center;
- mask-position: center center;
-}
-.ui-indexscrollbar ul li:first-child::after {
- content: "";
- height: 1px;
- width: 20px;
- position: absolute;
- top: 20px;
- left: 0;
- background-color: var(--primary-color);
-}
-.ui-indexscrollbar ul li:last-child {
- border-bottom-color: transparent;
-}
-.ui-indexscrollbar-indicator {
- position: fixed;
- top: 0;
- left: 0;
- z-index: 999;
- display: none;
-}
-.ui-indexscrollbar-indicator > span {
- width: 84px;
- line-height: 84px;
- position: absolute;
- display: block;
- top: 50%;
- left: 50%;
- -webkit-transform: translate(-50%, -50%);
- -ms-transform: translate(-50%, -50%);
- transform: translate(-50%, -50%);
- font-size: 56px;
- border-radius: 50%;
- text-align: center;
- box-sizing: border-box;
- background-color: var(--control-background);
- color: var(--text-color);
-}
-.ui-icon-add::after {
- -webkit-mask-image: url("images/2_Buttons/tw_ic_ab_add_mtrl.svg");
- mask-image: url("images/2_Buttons/tw_ic_ab_add_mtrl.svg");
-}
-.ui-icon-delete::after {
- -webkit-mask-image: url("images/1_App_bar/tw_ic_bb_delete_mtrl.svg");
- mask-image: url("images/1_App_bar/tw_ic_bb_delete_mtrl.svg");
-}
-.ui-icon-cancel::after {
- -webkit-mask-image: url("images/controls/core_button_cancel.png");
- mask-image: url("images/controls/core_button_cancel.png");
-}
-.ui-icon-reorder::after {
- -webkit-mask-image: url("images/3_Controllers/tw_list_icon_reorder.svg");
- mask-image: url("images/3_Controllers/tw_list_icon_reorder.svg");
-}
-.ui-icon-pause::after {
- -webkit-mask-image: url("images/controls/00_button_pause.png");
- mask-image: url("images/controls/00_button_pause.png");
-}
-.ui-icon-share::after {
- -webkit-mask-image: url("images/1_App_bar/tw_ic_bb_share_mtrl.svg");
- mask-image: url("images/1_App_bar/tw_ic_bb_share_mtrl.svg");
-}
-.ui-icon-check::after {
- -webkit-mask-image: url("images/1_App_bar/tw_ic_ab_back_mtrl.svg");
- mask-image: url("images/1_App_bar/tw_ic_ab_back_mtrl.svg");
-}
-.ui-icon-move::after {
- -webkit-mask-image: url("images/1_App_bar/tw_ic_bb_move_mtrl.svg");
- mask-image: url("images/1_App_bar/tw_ic_bb_move_mtrl.svg");
-}
-.ui-icon-plus::after {
- -webkit-mask-image: url("images/3_Controllers/tw_list_icon_add_mtrl.svg");
- mask-image: url("images/3_Controllers/tw_list_icon_add_mtrl.svg");
-}
-.ui-icon-minus::after {
- -webkit-mask-image: url("images/3_Controllers/tw_list_icon_delete_mtrl.svg");
- mask-image: url("images/3_Controllers/tw_list_icon_delete_mtrl.svg");
-}
-.ui-icon-up::after {
- -webkit-mask-image: url("images/3_Controllers/tw_expander_close_mtrl.svg");
- mask-image: url("images/3_Controllers/tw_expander_close_mtrl.svg");
-}
-.ui-icon-down::after {
- -webkit-mask-image: url("images/3_Controllers/tw_expander_open_mtrl.svg");
- mask-image: url("images/3_Controllers/tw_expander_open_mtrl.svg");
-}
-.ui-icon-left::after {
- -webkit-mask-image: url("images/3_Controllers/tw_expander_open_mtrl.svg");
- mask-image: url("images/3_Controllers/tw_expander_open_mtrl.svg");
- -webkit-transform: translate(-50%, -50%) rotateZ(90deg);
- -ms-transform: translate(-50%, -50%) rotate(90deg);
- transform: translate(-50%, -50%) rotateZ(90deg);
-}
-.ui-icon-right::after {
- -webkit-mask-image: url("images/3_Controllers/tw_expander_open_mtrl.svg");
- mask-image: url("images/3_Controllers/tw_expander_open_mtrl.svg");
-}
-.ui-icon-next::after {
- -webkit-mask-image: url(images/3_Controllers/tw_expander_close_mtrl.svg);
- mask-image: url(images/3_Controllers/tw_expander_close_mtrl.svg);
-}
-.ui-btn.ui-icon-next::after,
-.ui-btn.ui-icon-right::after {
- -webkit-transform: translate(-50%, -50%) rotateZ(90deg);
- -ms-transform: translate(-50%, -50%) rotate(90deg);
- transform: translate(-50%, -50%) rotateZ(90deg);
-}
-.ui-btn.ui-icon-left::after {
- -webkit-transform: translate(-50%, -50%) rotateZ(-90deg);
- -ms-transform: translate(-50%, -50%) rotate(-90deg);
- transform: translate(-50%, -50%) rotateZ(-90deg);
-}
-:root {
- --button-fab-radius: 50%;
- --button-fab-icon-color: var(--color-white);
- --button-fab-right: 24px;
- --button-fab-bottom: 24px;
- --button-fab-width: 56px;
- --button-fab-height: 56px;
- --button-fab-icon-width: 24px;
- --button-fab-icon-height: 24px;
-}
-tau-button {
- -webkit-align-items: flex-start;
- -ms-flex-align: start;
- align-items: flex-start;
- background-color: #dddddd;
- border-bottom-color: #dddddd;
- border-bottom-style: outset;
- border-bottom-width: 2px;
- border-image-outset: 0;
- border-image-repeat: stretch;
- border-image-slice: 100%;
- border-image-source: none;
- border-image-width: 1;
- border-left-color: #dddddd;
- border-left-style: outset;
- border-left-width: 2px;
- border-right-color: #dddddd;
- border-right-style: outset;
- border-right-width: 2px;
- border-top-color: #dddddd;
- border-top-style: outset;
- border-top-width: 2px;
- box-sizing: border-box;
- color: #000000;
- cursor: default;
- display: inline-block;
- font-family: 'Arial', 'MS Trebuchet', sans-serif;
- font-size: 13.3333330154419px;
- font-style: normal;
- font-variant: normal;
- font-weight: normal;
- letter-spacing: normal;
- line-height: normal;
- margin-bottom: 0;
- margin-left: 0;
- margin-right: 0;
- margin-top: 0;
- padding-bottom: 1px;
- padding-left: 6px;
- padding-right: 6px;
- padding-top: 1px;
- text-align: center;
- text-indent: 0;
- text-rendering: auto;
- text-shadow: none;
- text-transform: none;
- word-spacing: 0;
- -webkit-writing-mode: horizontal-tb;
- -ms-writing-mode: lr-tb;
- writing-mode: horizontal-tb;
-}
-@-webkit-keyframes btn_pressup_animation {
- 0% {
- opacity: 1;
- }
- 33% {
- opacity: 1;
- }
- 100% {
- opacity: 0;
- }
-}
-@keyframes btn_pressup_animation {
- 0% {
- opacity: 1;
- }
- 33% {
- opacity: 1;
- }
- 100% {
- opacity: 0;
- }
-}
-@-webkit-keyframes btn_press_animation_nobg {
- 0% {
- opacity: 1;
- -webkit-transform: translate(-50%, -50%) scale(1);
- -ms-transform: translate(-50%, -50%) scale(1);
- transform: translate(-50%, -50%) scale(1);
- }
- 100% {
- opacity: 1;
- -webkit-transform: translate(-50%, -50%) scale(1.425);
- -ms-transform: translate(-50%, -50%) scale(1.425);
- transform: translate(-50%, -50%) scale(1.425);
- }
-}
-@keyframes btn_press_animation_nobg {
- 0% {
- opacity: 1;
- -webkit-transform: translate(-50%, -50%) scale(1);
- -ms-transform: translate(-50%, -50%) scale(1);
- transform: translate(-50%, -50%) scale(1);
- }
- 100% {
- opacity: 1;
- -webkit-transform: translate(-50%, -50%) scale(1.425);
- -ms-transform: translate(-50%, -50%) scale(1.425);
- transform: translate(-50%, -50%) scale(1.425);
- }
-}
-@-webkit-keyframes btn_press_animation_flat_opacity_in {
- 0% {
- background-color: transparent;
- }
- 100% {
- background-color: var(--ripple-button-flat-color);
- }
-}
-@keyframes btn_press_animation_flat_opacity_in {
- 0% {
- background-color: transparent;
- }
- 100% {
- background-color: var(--ripple-button-flat-color);
- }
-}
-@-webkit-keyframes btn_press_animation_flat_opacity_out {
- 0% {
- background-color: var(--ripple-button-flat-color);
- }
- 100% {
- background-color: transparent;
- }
-}
-@keyframes btn_press_animation_flat_opacity_out {
- 0% {
- background-color: var(--ripple-button-flat-color);
- }
- 100% {
- background-color: transparent;
- }
-}
-@-webkit-keyframes btn_press_animation_flat_icon_opacity_in {
- 0% {
- background-color: var(--button-background-flat);
- }
- 100% {
- background-color: var(--ripple-button-flat-color);
- }
-}
-@keyframes btn_press_animation_flat_icon_opacity_in {
- 0% {
- background-color: var(--button-background-flat);
- }
- 100% {
- background-color: var(--ripple-button-flat-color);
- }
-}
-@-webkit-keyframes btn_press_animation_flat_icon_opacity_out {
- 0% {
- background-color: var(--ripple-button-flat-color);
- }
- 100% {
- background-color: var(--button-background-flat);
- }
-}
-@keyframes btn_press_animation_flat_icon_opacity_out {
- 0% {
- background-color: var(--ripple-button-flat-color);
- }
- 100% {
- background-color: var(--button-background-flat);
- }
-}
-@-webkit-keyframes btn_press_animation_flat_scale {
- 0% {
- -webkit-transform: translate(-50%, -50%) scale(0.95);
- transform: translate(-50%, -50%) scale(0.95);
- }
- 100% {
- -webkit-transform: translate(-50%, -50%) scale(1);
- transform: translate(-50%, -50%) scale(1);
- }
-}
-@keyframes btn_press_animation_flat_scale {
- 0% {
- -webkit-transform: translate(-50%, -50%) scale(0.95);
- transform: translate(-50%, -50%) scale(0.95);
- }
- 100% {
- -webkit-transform: translate(-50%, -50%) scale(1);
- transform: translate(-50%, -50%) scale(1);
- }
-}
-@-webkit-keyframes btn_press_animation_flat_icon_scale {
- 0% {
- -webkit-transform: translate(-50%, -50%) scale(0.95);
- transform: translate(-50%, -50%) scale(0.95);
- }
- 100% {
- -webkit-transform: translate(-50%, -50%) scale(1);
- transform: translate(-50%, -50%) scale(1);
- }
-}
-@keyframes btn_press_animation_flat_icon_scale {
- 0% {
- -webkit-transform: translate(-50%, -50%) scale(0.95);
- transform: translate(-50%, -50%) scale(0.95);
- }
- 100% {
- -webkit-transform: translate(-50%, -50%) scale(1);
- transform: translate(-50%, -50%) scale(1);
- }
-}
-@-webkit-keyframes btn_press_animation_flat_icon_scale_left {
- 0% {
- -webkit-transform: translateY(-50%) scale(0.95);
- transform: translateY(-50%) scale(0.95);
- }
- 100% {
- -webkit-transform: translateY(-50%) scale(1);
- transform: translateY(-50%) scale(1);
- }
-}
-@keyframes btn_press_animation_flat_icon_scale_left {
- 0% {
- -webkit-transform: translateY(-50%) scale(0.95);
- transform: translateY(-50%) scale(0.95);
- }
- 100% {
- -webkit-transform: translateY(-50%) scale(1);
- transform: translateY(-50%) scale(1);
- }
-}
-@-webkit-keyframes btn_press_animation_flat_icon_scale_top {
- 0% {
- -webkit-transform: translateX(-50%) scale(0.95);
- transform: translateX(-50%) scale(0.95);
- }
- 100% {
- -webkit-transform: translateX(-50%) scale(1);
- transform: translateX(-50%) scale(1);
- }
-}
-@keyframes btn_press_animation_flat_icon_scale_top {
- 0% {
- -webkit-transform: translateX(-50%) scale(0.95);
- transform: translateX(-50%) scale(0.95);
- }
- 100% {
- -webkit-transform: translateX(-50%) scale(1);
- transform: translateX(-50%) scale(1);
- }
-}
-@-webkit-keyframes animation_opacity_in {
- 0% {
- opacity: 0;
- }
- 10% {
- opacity: 1;
- }
- 100% {
- opacity: 1;
- }
-}
-@keyframes animation_opacity_in {
- 0% {
- opacity: 0;
- }
- 10% {
- opacity: 1;
- }
- 100% {
- opacity: 1;
- }
-}
-@-webkit-keyframes animation_opacity_out {
- 0% {
- opacity: 1;
- }
- 100% {
- opacity: 0;
- }
-}
-@keyframes animation_opacity_out {
- 0% {
- opacity: 1;
- }
- 100% {
- opacity: 0;
- }
-}
-button.ui-btn,
-input[type="button"].ui-btn {
- -webkit-appearance: none;
- -moz-appearance: none;
- appearance: none;
- width: 100%;
- border: none;
- outline: none;
-}
-a.ui-btn {
- text-decoration: none;
- width: 100%;
-}
-.ui-btn {
- position: relative;
- padding: 0 16px;
- min-height: 36px;
- vertical-align: middle;
- text-overflow: ellipsis;
- text-align: center;
- color: var(--primary-color);
- font-size: var(--button-text-font-size);
- white-space: nowrap;
- cursor: pointer;
- background-color: var(--button-background);
- box-sizing: border-box;
- -webkit-user-select: none;
- -ms-user-select: none;
- -o-user-select: none;
- user-select: none;
- z-index: 0;
- border-radius: 18px;
- font-family: Roboto-Medium;
-}
-.ui-btn::before {
- position: absolute;
- top: 50%;
- left: 50%;
- width: 100%;
- height: 100%;
- opacity: 0;
- content: "";
- border-width: 0;
- -webkit-transform: translate(-50%, -50%);
- -ms-transform: translate(-50%, -50%);
- transform: translate(-50%, -50%);
-}
-.ui-btn::after {
- position: absolute;
- top: 50%;
- left: 50%;
- -webkit-mask-size: 100% 100%;
- -moz-mask-size: 100% 100%;
- -ms-mask-size: 100% 100%;
- -o-mask-size: 100% 100%;
- mask-size: 100% 100%;
- -webkit-transform: translate(-50%, -50%);
- -ms-transform: translate(-50%, -50%);
- transform: translate(-50%, -50%);
- -webkit-mask-repeat: no-repeat;
- -moz-mask-repeat: no-repeat;
- -ms-mask-repeat: no-repeat;
- -o-mask-repeat: no-repeat;
- mask-repeat: no-repeat;
- -webkit-mask-position: center;
- -moz-mask-position: center;
- -ms-mask-position: center;
- -o-mask-position: center;
- mask-position: center;
- -webkit-mask-size: 100%;
- -moz-mask-size: 100%;
- -ms-mask-size: 100%;
- -o-mask-size: 100%;
- mask-size: 100%;
- content: "";
-}
-.ui-btn:focus {
- outline: none;
-}
-.ui-btn:not(.ui-btn-nobg)::before {
- z-index: -1;
- border-radius: 26px;
- background-color: var(--ripple-color);
- box-sizing: border-box;
-}
-.ui-btn:not(.ui-btn-nobg).ui-btn-active::before {
- opacity: 1;
- -webkit-animation: btn_press_animation_flat_opacity_in linear 100ms, btn_press_animation_flat_opacity_out linear 400ms 100ms, btn_press_animation_flat_scale cubic-bezier(0.33, 0, 0.2, 1) 350ms;
- animation: btn_press_animation_flat_opacity_in linear 100ms, btn_press_animation_flat_opacity_out linear 400ms 100ms, btn_press_animation_flat_scale cubic-bezier(0.33, 0, 0.2, 1) 350ms;
-}
-.ui-btn.ui-btn-focus {
- outline: 2px solid var(--primary-color);
-}
-.ui-btn.ui-btn-nobg {
- background-color: transparent;
- color: var(--primary-color);
-}
-.ui-btn.ui-btn-nobg::before {
- background-color: var(--ripple-color);
- opacity: 0;
- border-radius: 50%;
- width: 40px;
- height: 40px;
- -webkit-transform: translate(-50%, -50%) scale(1);
- -ms-transform: translate(-50%, -50%) scale(1);
- transform: translate(-50%, -50%) scale(1);
-}
-.ui-btn.ui-btn-nobg.ui-btn-active::before {
- -webkit-animation: btn_press_animation_nobg linear 315ms;
- animation: btn_press_animation_nobg linear 315ms;
- opacity: 1;
- -webkit-transform: translate(-50%, -50%) scale(1.425);
- -ms-transform: translate(-50%, -50%) scale(1.425);
- transform: translate(-50%, -50%) scale(1.425);
-}
-.ui-btn.ui-btn-nobg.ui-btn-active.ui-btn-inactive::before {
- opacity: 0;
- -webkit-transform: translate(-50%, -50%) scale(1.425);
- -ms-transform: translate(-50%, -50%) scale(1.425);
- transform: translate(-50%, -50%) scale(1.425);
-}
-.ui-btn.ui-btn-nobg.ui-btn-active.ui-btn-inactive::after {
- -webkit-animation: btn_pressup_animation 300ms linear;
- animation: btn_pressup_animation 300ms linear;
- opacity: 0;
-}
-.ui-btn.ui-btn-nobg.ui-btn-icon::after {
- background-color: var(--text-color);
- -webkit-mask-size: 100%;
- mask-size: 100%;
- -webkit-mask-position: center;
- mask-position: center;
-}
-.ui-btn.ui-btn-nobg.ui-btn-icon.ui-btn-active::after {
- background-color: var(--text-color);
-}
-.ui-btn.ui-btn-nobg.ui-btn-icon.ui-icon-delete::after {
- background-color: F060L3;
- transition: background-color 15ms;
-}
-.ui-btn.ui-btn-nobg.ui-btn-icon.ui-icon-delete.ui-btn-active::after {
- background-color: F060L3P;
- transition: background-color 300ms;
-}
-.ui-btn.ui-btn-icon.ui-state-disabled::after {
- opacity: 0.4;
-}
-.ui-btn.ui-btn-icon.ui-btn-circle {
- width: 49px;
- height: 49px;
-}
-.ui-btn.ui-btn-icon.ui-btn-circle::after {
- background-color: var(--text-color);
-}
-.ui-btn.ui-btn-icon.ui-btn-nobg {
- width: 40px;
- height: 40px;
- text-indent: -4999.5px;
- padding: 10px 0;
- border-radius: 0;
-}
-.ui-btn.ui-btn-icon.ui-btn-nobg.ui-inline {
- width: 40px;
-}
-.ui-btn.ui-btn-icon.ui-btn-nobg::after {
- width: 25px;
- height: 25px;
-}
-.ui-btn.ui-btn-icon.ui-color-add::after {
- background-color: var(--btn-add-color);
-}
-.ui-btn.ui-btn-icon.ui-color-delete::after {
- background-color: var(--btn-delete-color);
-}
-.ui-btn.ui-inline {
- display: inline-block;
- width: auto;
-}
-.ui-btn.ui-hidden {
- display: none;
-}
-.ui-btn.ui-state-disabled {
- pointer-events: none;
- background-color: var(--button-background);
- color: var(--button-text-color-disabled);
-}
-.ui-btn.ui-btn-icon.ui-btn-icon-only {
- text-indent: -4999.5px;
- width: 104px;
-}
-.ui-btn.ui-btn-icon::after {
- background-color: var(--button-icon-color);
-}
-.ui-btn.ui-btn-icon.ui-btn-active::after {
- background-color: var(--text-color);
-}
-.ui-btn.ui-btn-icon.ui-btn-icon-left {
- padding-left: 65px;
- padding-right: 30px;
-}
-.ui-btn.ui-btn-icon.ui-btn-icon-left::after {
- left: 29px;
-}
-.ui-btn.ui-btn-icon.ui-btn-icon-right {
- padding-left: 30px;
- padding-right: 65px;
-}
-.ui-btn.ui-btn-icon.ui-btn-icon-right::after {
- right: 29px;
- left: auto;
-}
-.ui-btn.ui-btn-icon.ui-btn-icon-left::after,
-.ui-btn.ui-btn-icon.ui-btn-icon-right::after {
- top: 50%;
- -webkit-transform: translate(0, -50%);
- -ms-transform: translate(0, -50%);
- transform: translate(0, -50%);
-}
-.ui-btn.ui-btn-icon.ui-btn-icon-top {
- padding-top: 65px;
- padding-bottom: 40px;
-}
-.ui-btn.ui-btn-icon.ui-btn-icon-top::after {
- top: 28px;
-}
-.ui-btn.ui-btn-icon.ui-btn-icon-bottom {
- padding-top: 40px;
- padding-bottom: 65px;
-}
-.ui-btn.ui-btn-icon.ui-btn-icon-bottom::after {
- bottom: 28px;
-}
-.ui-btn.ui-btn-icon.ui-btn-icon-top::after,
-.ui-btn.ui-btn-icon.ui-btn-icon-bottom::after {
- left: 50%;
- -webkit-transform: translate(-50%, 0);
- -ms-transform: translate(-50%, 0);
- transform: translate(-50%, 0);
-}
-.ui-btn.ui-btn-text-light,
-.ui-btn.ui-btn-text-dark {
- min-height: 24px;
- height: 24px;
- line-height: 17px;
- min-width: 48px;
- font-size: 16px;
- padding: 4px 12px;
-}
-.ui-btn.ui-btn-text-light.ui-btn-active,
-.ui-btn.ui-btn-text-dark.ui-btn-active {
- font-size: 16px;
-}
-.ui-btn.ui-btn-text-light {
- background-color: W019;
-}
-.ui-btn.ui-btn-text-light.ui-btn-active {
- background-color: W019P;
-}
-.ui-btn.ui-btn-text-dark {
- background-color: W020;
-}
-.ui-btn.ui-btn-text-dark.ui-btn-active::before {
- background-color: W020P;
-}
-.ui-btn.ui-btn-flat {
- color: var(--primary-dark-color);
-}
-.ui-btn.ui-btn-flat::before {
- border-radius: 22px;
-}
-.ui-btn.ui-btn-flat.ui-btn-icon {
- color: var(--text-color);
- min-height: 32px;
- max-width: 32px;
-}
-.ui-btn.ui-btn-flat.ui-btn-icon::after {
- width: 32px;
- height: 32px;
- border-radius: 28px;
- -webkit-mask-size: 32px;
- mask-size: 32px;
-}
-.ui-btn.ui-btn-flat.ui-btn-icon::before {
- top: 50%;
- left: 50%;
- -webkit-transform: translate(-50%, -50%);
- -ms-transform: translate(-50%, -50%);
- transform: translate(-50%, -50%);
- height: 32px;
- width: 32px;
- border-radius: 28px;
- background-color: var(--button-background-flat);
-}
-.ui-btn.ui-btn-flat.ui-btn-icon-top {
- line-height: normal;
- height: 60px;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-align-items: center;
- -ms-flex-align: center;
- align-items: center;
- -webkit-flex-direction: column-reverse;
- -ms-flex-direction: column-reverse;
- flex-direction: column-reverse;
- -webkit-justify-content: center;
- -ms-flex-pack: center;
- justify-content: center;
- padding: 0;
- color: var(--appbar-subtitle-color);
-}
-.ui-btn.ui-btn-flat.ui-btn-icon-top::after {
- top: auto;
- left: auto;
- border-radius: 0;
- width: 24px;
- height: 24px;
- -webkit-mask-size: 24px;
- mask-size: 24px;
- position: relative;
- padding-bottom: 1px;
- -webkit-transform: none;
- -ms-transform: none;
- transform: none;
- background-color: var(--bottom-button-icon-color);
-}
-.ui-btn.ui-btn-flat.ui-btn-icon-top::before {
- top: auto;
- left: auto;
- border-radius: 12px;
- -webkit-transform: none;
- -ms-transform: none;
- transform: none;
- width: 100%;
- height: 56px;
- opacity: 0;
- background-color: var(--ripple-color);
-}
-.ui-btn.ui-btn-flat.ui-btn-icon-top.ui-btn-icon.ui-btn-active::before {
- -webkit-animation: animation_opacity_in 200ms linear;
- animation: animation_opacity_in 200ms linear;
- -webkit-animation-fill-mode: both;
- animation-fill-mode: both;
-}
-.ui-btn.ui-btn-flat.ui-btn-icon-top.ui-btn-icon.ui-btn-inactive::before {
- -webkit-animation: animation_opacity_out 50ms linear;
- animation: animation_opacity_out 50ms linear;
-}
-.ui-btn.ui-btn-flat.ui-btn-icon-left {
- padding-top: 13px;
- padding-right: 8px;
- padding-bottom: 13px;
- max-height: 56px;
-}
-.ui-btn.ui-btn-flat.ui-btn-icon-left::after {
- left: 0;
-}
-.ui-btn.ui-btn-flat.ui-btn-icon-left::before {
- left: 0;
- -webkit-transform: translateY(-50%);
- -ms-transform: translateY(-50%);
- transform: translateY(-50%);
-}
-.ui-btn.ui-btn-flat.ui-btn-icon-left.ui-btn-icon.ui-btn-active::before {
- -webkit-animation: btn_press_animation_flat_icon_opacity_in linear 100ms, btn_press_animation_flat_icon_opacity_out linear 400ms 100ms, btn_press_animation_flat_icon_scale_left cubic-bezier(0.33, 0, 0.2, 1) 350ms;
- animation: btn_press_animation_flat_icon_opacity_in linear 100ms, btn_press_animation_flat_icon_opacity_out linear 400ms 100ms, btn_press_animation_flat_icon_scale_left cubic-bezier(0.33, 0, 0.2, 1) 350ms;
-}
-.ui-btn.ui-btn-flat.ui-btn-icon.ui-btn-active::before {
- -webkit-animation: btn_press_animation_flat_icon_opacity_in linear 100ms, btn_press_animation_flat_icon_opacity_out linear 400ms 100ms, btn_press_animation_flat_icon_scale cubic-bezier(0.33, 0, 0.2, 1) 350ms;
- animation: btn_press_animation_flat_icon_opacity_in linear 100ms, btn_press_animation_flat_icon_opacity_out linear 400ms 100ms, btn_press_animation_flat_icon_scale cubic-bezier(0.33, 0, 0.2, 1) 350ms;
-}
-.ui-btn.ui-btn-flat.ui-btn-disabled {
- opacity: 0.4;
-}
-.ui-btn.ui-btn-contained {
- background-color: var(--button-background-contained);
- color: var(--text-color);
- font-size: var(--button-contained-text-font-size);
- border-radius: 22px;
- width: auto;
- text-overflow: ellipsis;
- overflow: hidden;
- padding-top: 12px;
- padding-bottom: 12px;
-}
-.ui-btn.ui-btn-contained::before {
- border-radius: 22px;
-}
-.ui-btn.ui-btn-contained:not(.ui-btn-inline) {
- max-width: 75%;
- width: 60%;
- display: block;
- margin: 0 auto;
-}
-.ui-btn.ui-btn-contained.ui-state-disabled {
- opacity: 0.4;
- color: var(--button-text-contained-dim-color);
-}
-.ui-btn.ui-btn-contained-colored {
- background-color: var(--primary-dark-color);
- font-size: 17px;
- color: var(--color-white);
-}
-.ui-btn.ui-btn-contained-colored.ui-state-disabled {
- color: var(--color-white);
-}
-.ui-btn.ui-btn-fab {
- position: fixed;
- right: var(--button-fab-right);
- bottom: var(--button-fab-bottom);
- width: var(--button-fab-width);
- height: var(--button-fab-height);
- background-color: var(--primary-color);
- z-index: 1000;
- border-radius: var(--button-fab-radius);
-}
-.ui-btn.ui-btn-fab::after {
- background-color: var(--button-fab-icon-color);
- width: var(--button-fab-icon-width);
- height: var(--button-fab-icon-height);
-}
-.ui-btn.ui-btn-fab.ui-btn-active.ui-btn-icon::after {
- background-color: var(--button-fab-icon-color);
-}
-.ui-btn .ui-btn-content {
- width: 90px;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: column;
- -ms-flex-direction: column;
- flex-direction: column;
- margin: 0 auto;
-}
-.ui-btn .ui-btn-content :first-child {
- font-size: 13px;
- font-family: Roboto-Regular;
- color: #949494;
-}
-.ui-btn .ui-btn-content :nth-child(2) {
- font-size: 13px;
- font-family: Roboto-Medium;
- color: #404040;
-}
-@media all and (min-width: 673px) and (min-height: 411px) {
- .ui-btn.ui-btn-contained:not(.ui-btn-inline):not(.ui-btn.ui-popup-toast-has-button) {
- max-width: 60%;
- min-width: 240px;
- }
-}
-.ui-listview li.ui-li-has-btn {
- box-sizing: border-box;
-}
-.ui-listview li .ui-btn.ui-btn-contained {
- border-radius: 18px;
- font-size: var(--button-contained-list-text-font-size);
- padding-top: 8px;
- padding-bottom: 8px;
-}
-.ui-listview .ui-btn-flat,
-.ui-listview .ui-btn-contained {
- margin-right: 24px;
- margin-left: 8px;
-}
-.ui-li-has-btn {
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- height: 60px;
-}
-.ui-li-has-btn .ui-btn {
- margin: -7px auto;
- max-width: 248px;
-}
-.ui-li-has-btn .ui-btn ~ .ui-btn {
- margin-left: 8px;
-}
-.ui-listview .ui-expandable,
-.ui-content-area .ui-expandable {
- padding: 0 24px;
- -webkit-user-select: none;
- -ms-user-select: none;
- user-select: none;
- -webkit-flex-direction: column;
- -ms-flex-direction: column;
- flex-direction: column;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
-}
-.ui-listview .ui-expandable .ui-expandable-heading,
-.ui-content-area .ui-expandable .ui-expandable-heading {
- color: var(--text-color);
- font-size: 18px;
- font-weight: normal;
- padding-top: 15px;
- padding-bottom: 16px;
- line-height: 21px;
- margin: 0;
- position: relative;
-}
-.ui-listview .ui-expandable .ui-expandable-heading .ui-expandable-heading-toggle,
-.ui-content-area .ui-expandable .ui-expandable-heading .ui-expandable-heading-toggle {
- position: relative;
- display: block;
-}
-.ui-listview .ui-expandable .ui-expandable-heading .ui-expandable-heading-toggle:focus,
-.ui-content-area .ui-expandable .ui-expandable-heading .ui-expandable-heading-toggle:focus {
- outline: 0;
-}
-.ui-listview .ui-expandable .ui-expandable-heading .ui-expandable-heading-toggle::after,
-.ui-content-area .ui-expandable .ui-expandable-heading .ui-expandable-heading-toggle::after {
- content: "";
- position: absolute;
- right: -8px;
- top: calc(50% - 16px);
- -webkit-mask-image: url("images/6_Lists/tw_expander_close_mtrl.svg");
- mask-image: url("images/6_Lists/tw_expander_close_mtrl.svg");
- -webkit-mask-repeat: no-repeat;
- mask-repeat: no-repeat;
- -webkit-mask-position: center;
- mask-position: center;
- -webkit-mask-size: 100%;
- mask-size: 100%;
- background-color: var(--expander-color);
- width: 32px;
- height: 32px;
- transition: all 330ms ease;
- -webkit-transform: rotate(0);
- -ms-transform: rotate(0);
- transform: rotate(0);
-}
-.ui-listview .ui-expandable .ui-expandable-heading .ui-btn,
-.ui-content-area .ui-expandable .ui-expandable-heading .ui-btn {
- width: 32px;
- height: 32px;
- min-height: auto;
- position: absolute;
- right: -8px;
- top: calc(50% - 16px);
-}
-.ui-listview .ui-expandable .ui-expandable-heading .ui-btn::before,
-.ui-content-area .ui-expandable .ui-expandable-heading .ui-btn::before {
- width: 32px;
- height: 32px;
- display: none;
-}
-.ui-listview .ui-expandable .ui-expandable-heading .ui-btn::after,
-.ui-content-area .ui-expandable .ui-expandable-heading .ui-btn::after {
- width: 32px;
- height: 32px;
- -webkit-mask-size: 32px;
- mask-size: 32px;
- background-color: var(--expander-color);
- transition: all 330ms ease;
- -webkit-transform: translate(-50%, -50%) rotate(0);
- -ms-transform: translate(-50%, -50%) rotate(0);
- transform: translate(-50%, -50%) rotate(0);
-}
-.ui-listview .ui-expandable.ui-expandable-collapsed .ui-expandable-heading .ui-expandable-heading-toggle::after,
-.ui-content-area .ui-expandable.ui-expandable-collapsed .ui-expandable-heading .ui-expandable-heading-toggle::after {
- -webkit-transform: rotate(180deg);
- -ms-transform: rotate(180deg);
- transform: rotate(180deg);
-}
-.ui-listview .ui-expandable.ui-expandable-collapsed .ui-expandable-heading .ui-btn::after,
-.ui-content-area .ui-expandable.ui-expandable-collapsed .ui-expandable-heading .ui-btn::after {
- -webkit-transform: translate(-50%, -50%) rotate(180deg);
- -ms-transform: translate(-50%, -50%) rotate(180deg);
- transform: translate(-50%, -50%) rotate(180deg);
-}
-.ui-listview .ui-expandable .ui-expandable-content,
-.ui-content-area .ui-expandable .ui-expandable-content {
- transition: all 330ms ease;
- overflow: auto;
-}
-.ui-listview .ui-expandable .ui-expandable-content .ui-listview,
-.ui-content-area .ui-expandable .ui-expandable-content .ui-listview {
- padding: 0;
- margin-left: 18px;
-}
-.ui-listview .ui-expandable .ui-expandable-content .ui-listview li,
-.ui-content-area .ui-expandable .ui-expandable-content .ui-listview li {
- color: var(--expandable-text-color);
- padding-top: 15px;
- padding-bottom: 16px;
- line-height: 21px;
- margin: 0;
-}
-.ui-listview .ui-expandable .ui-expandable-content-collapsed,
-.ui-content-area .ui-expandable .ui-expandable-content-collapsed {
- overflow: hidden;
- max-height: 0 !important;
- display: none;
- transition: all 330ms ease;
-}
-.ui-listview .ui-expandable.ui-state-disabled,
-.ui-content-area .ui-expandable.ui-state-disabled {
- cursor: default !important;
- pointer-events: none;
- zoom: 1;
-}
-.ui-listview .ui-expandable.ui-state-disabled .ui-expandable-heading .ui-expandable-heading-toggle::after,
-.ui-content-area .ui-expandable.ui-state-disabled .ui-expandable-heading .ui-expandable-heading-toggle::after {
- background-color: var(--control-background);
-}
-.ui-expandable-from ~ *:not(.ui-expandable-to) {
- display: none;
-}
-.ui-listview .ui-expandable-from ~ *:not(.ui-expandable-to) {
- display: none;
-}
-.ui-expandable-from.ui-expandable-expanded ~ *:not(.ui-expandable-to) {
- display: inherit;
-}
-.ui-listview .ui-expandable-to ~ *:not(.ui-expandable-from) {
- display: inherit;
-}
-.ui-expandable-to .ui-btn.ui-btn-flat,
-.ui-expandable-from .ui-btn.ui-btn-flat {
- width: 32px;
- height: 32px;
- min-height: auto;
- margin: auto;
-}
-.ui-expandable-to .ui-btn.ui-btn-flat::before,
-.ui-expandable-from .ui-btn.ui-btn-flat::before {
- width: 32px;
- height: 32px;
-}
-.ui-expandable-to .ui-btn.ui-btn-flat::after,
-.ui-expandable-from .ui-btn.ui-btn-flat::after {
- width: 32px;
- height: 32px;
- -webkit-mask-size: 32px;
- mask-size: 32px;
- background-color: var(--expander-color);
- transition: all 330ms ease;
- -webkit-transform: translate(-50%, -50%) rotate(0);
- -ms-transform: translate(-50%, -50%) rotate(0);
- transform: translate(-50%, -50%) rotate(0);
-}
-.ui-expandable-from .ui-btn.ui-btn-flat {
- position: absolute;
- right: -6px;
-}
-.ui-expandable-from.ui-expandable-expanded ~ .ui-expandable-to .ui-btn.ui-btn-flat::after,
-.ui-expandable-from.ui-expandable-expanded .ui-btn.ui-btn-flat::after {
- -webkit-transform: translate(-50%, -50%) rotate(180deg);
- -ms-transform: translate(-50%, -50%) rotate(180deg);
- transform: translate(-50%, -50%) rotate(180deg);
-}
-.ui-floatingactions {
- position: fixed;
- right: 0;
- bottom: 21.5px;
- height: 60px;
- padding-left: 15px;
- padding-right: 15px;
- -webkit-transform: translate3d(12px, 0, 0);
- transform: translate3d(12px, 0, 0);
- -webkit-mask-box-image-repeat: repeat;
- -moz-mask-box-image-repeat: repeat;
- -ms-mask-box-image-repeat: repeat;
- -o-mask-box-image-repeat: repeat;
- mask-box-image-repeat: repeat;
- -webkit-mask-box-image-width: auto;
- -moz-mask-box-image-width: auto;
- -ms-mask-box-image-width: auto;
- -o-mask-box-image-width: auto;
- mask-box-image-width: auto;
- -webkit-mask-box-image-source: url('images/nine-patch/core_floating_button_bg.png');
- -webkit-mask-box-image-slice: 60 64 60 64 fill;
- -moz-mask-box-image-slice: 60 64 60 64 fill;
- -ms-mask-box-image-slice: 60 64 60 64 fill;
- -o-mask-box-image-slice: 60 64 60 64 fill;
- mask-box-image-slice: 60 64 60 64 fill;
- background-color: var(--primary-dark-color);
- z-index: 1000;
-}
-.ui-floatingactions.ui-floatingactions-transitions {
- transition-property: all;
- transition-duration: 500ms;
-}
-.ui-floatingactions .ui-btn {
- display: inline-block;
- width: 60px;
- height: 60px;
- margin: 0;
- background-color: transparent;
- color: var(--primary-color);
-}
-.ui-floatingactions .ui-btn.ui-btn-icon {
- width: 60px;
-}
-.ui-floatingactions .ui-btn::before {
- background-color: var(--ripple-color);
- opacity: 0;
- border-radius: 50%;
- width: 40px;
- height: 40px;
- -webkit-transform: translate(-50%, -50%) scale(1);
- -ms-transform: translate(-50%, -50%) scale(1);
- transform: translate(-50%, -50%) scale(1);
-}
-.ui-floatingactions .ui-btn.ui-btn-active::before {
- -webkit-animation: btn_press_animation_nobg linear 315ms;
- animation: btn_press_animation_nobg linear 315ms;
- opacity: 1;
- -webkit-transform: translate(-50%, -50%) scale(1.425);
- -ms-transform: translate(-50%, -50%) scale(1.425);
- transform: translate(-50%, -50%) scale(1.425);
-}
-.ui-floatingactions .ui-btn.ui-btn-active.ui-btn-inactive::before {
- opacity: 0;
- -webkit-transform: translate(-50%, -50%) scale(1.425);
- -ms-transform: translate(-50%, -50%) scale(1.425);
- transform: translate(-50%, -50%) scale(1.425);
-}
-.ui-floatingactions .ui-btn.ui-btn-active.ui-btn-inactive::after {
- -webkit-animation: btn_pressup_animation 300ms linear;
- animation: btn_pressup_animation 300ms linear;
- opacity: 0;
-}
-.ui-floatingactions .ui-btn.ui-btn-icon::after {
- background-color: var(--text-color);
- -webkit-mask-size: 100%;
- mask-size: 100%;
- -webkit-mask-position: center;
- mask-position: center;
-}
-.ui-floatingactions .ui-btn.ui-btn-icon.ui-btn-active::after {
- background-color: var(--text-color);
-}
-.ui-floatingactions .ui-btn.ui-btn-icon.ui-icon-delete::after {
- background-color: F060L3;
- transition: background-color 15ms;
-}
-.ui-floatingactions .ui-btn.ui-btn-icon.ui-icon-delete.ui-btn-active::after {
- background-color: F060L3P;
- transition: background-color 300ms;
-}
-.ui-floatingactions .ui-btn::before {
- background-color: var(--ripple-color);
-}
-.ui-floatingactions .ui-btn.ui-btn-icon.ui-btn-icon-left {
- padding: 0;
-}
-.ui-floatingactions .ui-btn.ui-btn-icon.ui-btn-icon-left::after {
- left: 50%;
- top: 50%;
- -webkit-transform: translate(-50%, -50%);
- -ms-transform: translate(-50%, -50%);
- transform: translate(-50%, -50%);
- width: 40px;
- height: 40px;
- background-color: var(--color-white);
- z-index: -100;
-}
-.ui-floatingactions .ui-btn.ui-btn-icon.ui-btn-icon-left.ui-btn-active ::after {
- background-color: var(--ripple-color);
-}
-.ui-floatingactions .ui-btn.ui-icon-floating-add::after {
- -webkit-mask-image: url("images/controls/core_floating_icon_add.png");
- mask-image: url("images/controls/core_floating_icon_add.png");
-}
-.ui-floatingactions .ui-btn.ui-icon-floating-search::after {
- -webkit-mask-image: url("images/controls/core_floating_icon_search.png");
- mask-image: url("images/controls/core_floating_icon_search.png");
-}
-.ui-floatingactions .ui-btn-focus {
- outline: none;
- background-color: rgba(50, 150, 166, 0.4);
-}
-.ui-floatingactions .ui-btn ~ .ui-btn {
- margin-left: -10px;
-}
-.ui-floatingactions.ui-floatingactions-expand-to-right {
- padding-right: 30px;
- right: -15px;
-}
-.ui-floatingactions.ui-floatingactions-expand-to-left {
- padding-left: 30px;
-}
-.ui-floatingactions:focus {
- outline: none;
- background-color: rgba(78, 97, 173, 0.8);
-}
-.ui-floatingactions-reposition:focus {
- background-color: var(--ripple-color);
-}
-.ui-content .ui-floatingactions,
-.ui-tabs .ui-floatingactions {
- background-color: var(--primary-dark-color);
-}
-.ui-content .ui-floatingactions .ui-btn.ui-btn-icon.ui-btn-icon-left::after,
-.ui-tabs .ui-floatingactions .ui-btn.ui-btn-icon.ui-btn-icon-left::after {
- background-color: var(--color-white);
-}
-.ui-content .ui-floatingactions .ui-btn.ui-btn-icon.ui-btn-icon-left.ui-btn-active::after,
-.ui-tabs .ui-floatingactions .ui-btn.ui-btn-icon.ui-btn-icon-left.ui-btn-active::after {
- background-color: var(--ripple-color);
-}
-.ui-content .ui-floatingactions .ui-btn::before,
-.ui-tabs .ui-floatingactions .ui-btn::before {
- background-color: var(--ripple-color);
-}
-.ui-content .ui-floatingactions:focus,
-.ui-tabs .ui-floatingactions:focus {
- outline: none;
- background-color: rgba(78, 97, 173, 0.8);
-}
-.ui-content .ui-floatingactions-reposition:focus,
-.ui-tabs .ui-floatingactions-reposition:focus {
- background-color: var(--ripple-color);
-}
-.ui-indexscrollbar ~ .ui-floatingactions {
- background-color: var(--primary-dark-color);
-}
-.ui-indexscrollbar ~ .ui-floatingactions .ui-btn.ui-btn-icon.ui-btn-icon-left::after {
- background-color: var(--color-white);
-}
-.ui-indexscrollbar ~ .ui-floatingactions .ui-btn.ui-btn-icon.ui-btn-icon-left.ui-btn-active::after {
- background-color: var(--ripple-color);
-}
-.ui-indexscrollbar ~ .ui-floatingactions .ui-btn::before {
- background-color: var(--ripple-color);
-}
-.ui-listview ~ .ui-floatingactions .ui-btn.ui-btn-icon::after {
- background-color: var(--color-white);
-}
-.ui-listview ~ .ui-floatingactions .ui-btn.ui-btn-icon.ui-btn-active::after {
- background-color: var(--ripple-color);
-}
-.ui-page-floatingactions.ui-empty-state .ui-content {
- box-sizing: border-box;
- border-bottom: 127px solid transparent;
-}
-/*
-* Listview Style - divide single / multiline style for specific
-* If you want to see any style, search them using class name.
-*/
-/******************** custom elements styles *********************/
-tau-listview {
- display: block;
- list-style-type: disc;
- -webkit-margin-before: 1em;
- -webkit-margin-after: 1em;
- -webkit-margin-start: 0;
- -webkit-margin-end: 0;
- -webkit-padding-start: 40px;
-}
-tau-expandable {
- display: list-item;
- text-align: -webkit-match-parent;
-}
-/******************** listview common style *********************/
-.ui-listview {
- /**
- * Listview cannot have style "overflow: hidden"
- * because this widget has canvas which has to be visible outside the listview
- */
- margin: auto;
- padding: 0;
- list-style: none;
- counter-reset: listnumbering;
- position: relative;
- -webkit-transform: translate3d(0, 0, 0);
- transform: translate3d(0, 0, 0);
- /*when set the list in drag mode before dragging*/
- /*When dragging element*/
-}
-@media (min-width: 673px) and (min-height: 411px) {
- .ui-listview {
- width: 90%;
- }
-}
-@media (min-width: 960px) {
- .ui-listview {
- width: 75%;
- }
-}
-.ui-listview.ui-content-area {
- margin-bottom: 16px;
-}
-.ui-listview.ui-content-area + button[data-style=fab] {
- display: block;
- min-height: 0;
- margin-bottom: 108px;
-}
-.ui-listview li {
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- position: relative;
- box-sizing: content-box;
- overflow: visible;
- text-align: left;
- font-size: 18px;
-}
-.ui-listview li[disabled] {
- opacity: 0.4;
-}
-.ui-listview li.ui-li-subheader {
- margin-left: 20px;
- -webkit-flex-direction: row;
- -ms-flex-direction: row;
- flex-direction: row;
- -webkit-align-items: center;
- -ms-flex-align: center;
- align-items: center;
-}
-.ui-listview li.ui-li-subheader:empty {
- margin-top: 16px;
-}
-.ui-listview li.ui-li-subheader .ui-li-text-subheader {
- display: -webkit-inline-flex;
- display: -ms-inline-flexbox;
- display: inline-flex;
- color: var(--text-secondary-color);
- font-family: Roboto-Medium;
- font-size: 14px;
- margin-left: 4px;
- margin-right: 16px;
- min-height: 36px;
- -webkit-align-items: center;
- -ms-flex-align: center;
- align-items: center;
- white-space: nowrap;
-}
-.ui-listview li.ui-li-subheader::after {
- content: "";
- display: -webkit-inline-flex;
- display: -ms-inline-flexbox;
- display: inline-flex;
- width: calc(100% - 20px);
- border-bottom: 3px dotted var(--subheader-divider-color);
- height: 0;
- -webkit-align-items: center;
- -ms-flex-align: center;
- align-items: center;
- margin-right: 20px;
-}
-.ui-listview li.ui-li-anchor {
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: column;
- -ms-flex-direction: column;
- flex-direction: column;
- padding: 14px 0;
- margin: 0 24px;
-}
-.ui-listview li.ui-li-has-text-input {
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: column;
- -ms-flex-direction: column;
- flex-direction: column;
- padding: 18px 0 8px 0;
- margin: 0 24px;
-}
-.ui-listview li .ui-li-checkbox-icon {
- -webkit-align-self: center;
- -ms-flex-item-align: center;
- -ms-grid-row-align: center;
- align-self: center;
-}
-.ui-listview li .ui-li-checkbox-icon img {
- width: 40px;
- height: 40px;
- margin-right: 18px;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
-}
-.ui-listview li .ui-li-icon {
- width: 40px;
- height: 40px;
- display: -webkit-inline-flex;
- display: -ms-inline-flexbox;
- display: inline-flex;
- position: relative;
- -webkit-align-self: center;
- -ms-flex-item-align: center;
- align-self: center;
- margin: 0 12px;
-}
-.ui-listview li .ui-li-icon.ui-li-icon-small,
-.ui-listview li .ui-li-icon.ui-li-icon-small:after {
- width: 25px !important;
- height: 25px !important;
-}
-.ui-listview li .ui-li-icon::after,
-.ui-listview li .ui-li-icon * {
- content: "";
- position: absolute;
- width: 40px;
- height: 40px;
- -webkit-mask-size: 100%;
- mask-size: 100%;
- -webkit-mask-position: center center;
- mask-position: center center;
-}
-.ui-listview li .ui-li-text {
- display: -webkit-inline-flex;
- display: -ms-inline-flexbox;
- display: inline-flex;
- -webkit-flex-direction: column;
- -ms-flex-direction: column;
- flex-direction: column;
- padding: 15px 0;
- margin-right: 24px;
-}
-.ui-listview li .ui-li-text .ui-li-text-title {
- font-size: 18px;
- color: var(--text-color);
- line-height: 21px;
- vertical-align: middle;
-}
-.ui-listview li .ui-li-text .ui-li-text-title:only-child {
- padding-bottom: 1px;
-}
-.ui-listview li .ui-li-text .ui-li-text-title + .ui-li-text-sub::before {
- content: "";
- display: block;
- height: 4px;
-}
-.ui-listview li .ui-li-text .ui-li-text-sub {
- font-size: 13px;
- color: var(--text-secondary-color);
- line-height: 15px;
-}
-.ui-listview li .ui-li-text .ui-li-text-sub + .ui-li-text-title::before {
- content: "";
- display: block;
- height: 4px;
-}
-.ui-listview li .ui-li-text .ui-li-text-sub img {
- width: 15px;
- height: 15px;
-}
-.ui-listview li .ui-li-text .ui-li-text-value {
- color: var(--primary-color);
-}
-.ui-listview li > .ui-li-text:first-child {
- margin-left: 24px;
-}
-.ui-listview li.ui-li-divider::after {
- content: "";
- position: absolute;
- width: calc(100% - 40px);
- left: 20px;
- bottom: -0.75px;
- height: 0.75px;
- background-color: var(--divider-color);
- opacity: var(--divider-opacity);
-}
-.ui-listview li.ui-li-divider.ui-li-has-icon::after {
- width: calc(100% - 84px);
- left: 64px;
-}
-.ui-listview li.ui-li-divider.ui-li-has-checkbox::after,
-.ui-listview li.ui-li-divider.ui-li-has-radio::after {
- width: calc(100% - 92px);
- left: 68px;
-}
-.ui-listview li.ui-li-divider.ui-li-has-checkbox-icon::after {
- left: 126px;
-}
-.ui-listview li + li.ui-li-divider {
- margin-top: 0.75px;
-}
-.ui-listview li .ui-li-divider {
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-align-items: center;
- -ms-flex-align: center;
- align-items: center;
- margin-left: 12px;
- margin-right: 9px;
-}
-.ui-listview li .ui-li-divider::after {
- content: "";
- position: absolute;
- width: 0.5px;
- height: 22px;
- background-color: var(--on-off-switch-divider-color);
-}
-.ui-listview li .ui-li-action {
- -webkit-align-self: center;
- -ms-flex-item-align: center;
- align-self: center;
- display: -webkit-inline-flex;
- display: -ms-inline-flexbox;
- display: inline-flex;
- margin-left: auto;
- white-space: nowrap;
-}
-.ui-listview li .ui-li-action .ui-on-off-switch-container {
- margin-right: 24px;
-}
-.ui-listview li .ui-li-right {
- margin-left: auto !important;
-}
-.ui-listview li .ui-li-text-ellipse {
- min-width: 0;
- white-space: nowrap;
-}
-.ui-listview li .ui-li-text-ellipse * {
- text-overflow: ellipsis;
- overflow: hidden;
-}
-.ui-listview li input[type="checkbox"].ui-checkbox,
-.ui-listview li input[type="radio"].ui-radio {
- -webkit-align-self: center;
- -ms-flex-item-align: center;
- -ms-grid-row-align: center;
- align-self: center;
-}
-.ui-listview li.ui-li-selected {
- background-color: var(--list-item-selected-color);
-}
-.ui-listview li,
-.ui-listview tau-expandable {
- box-shadow: none;
-}
-.ui-listview li .ui-link-inherit,
-.ui-listview tau-expandable .ui-link-inherit {
- color: var(--text-color);
-}
-.ui-listview li:not(.ui-expandable).ui-li-active,
-.ui-listview tau-expandable:not(.ui-expandable).ui-li-active {
- background-color: var(--active);
-}
-.ui-listview li.ui-li-active.ui-expandable .ui-expandable-heading,
-.ui-listview tau-expandable.ui-li-active.ui-expandable .ui-expandable-heading {
- background-color: var(--active);
-}
-.ui-listview li > a:not(.ui-btn),
-.ui-listview tau-expandable > a:not(.ui-btn) {
- display: block;
- width: 100%;
- height: 100%;
- margin: -16.5px -16px;
- padding: 16.5px 16px;
- text-overflow: ellipsis;
- white-space: nowrap;
- overflow: hidden;
- color: var(--text-color);
- text-decoration: none;
- box-sizing: border-box;
-}
-.ui-listview.ui-listview-focus {
- box-sizing: border-box;
- border: 2px solid blue;
-}
-.ui-listview .ui-listview-item-focus {
- background-color: var(--ripple-color);
-}
-.ui-listview .ui-listview-item-focus a {
- outline: none;
-}
-.ui-listview .ui-listview-background {
- display: block;
- box-sizing: border-box;
- position: absolute;
- top: 0;
- left: 0;
- pointer-events: none;
- z-index: -1;
-}
-.ui-listview .ui-listview-background::before {
- content: "250,250,250,1::0,0,0,-0.04";
- display: none;
-}
-.ui-listview.ui-listview-background-disabled .ui-listview-background {
- display: none;
-}
-.ui-listview .ui-li-static {
- /**************** with progress bar ************/
-}
-.ui-listview .ui-li-static.ui-li-select-all {
- color: var(--background-color);
-}
-.ui-listview .ui-li-static.ui-li-select-all label {
- display: block;
-}
-.ui-listview .ui-li-static.ui-li-select-all label input[type=checkbox] {
- float: right;
-}
-.ui-listview .ui-li-static.li-has-thumb .li-thumb {
- position: absolute;
- left: 16px;
- top: 50%;
- margin-top: -13px;
- width: 25px;
- height: 25px;
-}
-.ui-listview .ui-li-static.li-has-thumb .li-thumb.li-thumb-circle {
- border-radius: 100%;
-}
-.ui-listview .ui-li-static.li-has-thumb.li-thumbnail-right .li-thumb {
- float: right;
- left: auto;
- right: 16px;
-}
-.ui-listview .ui-li-static.li-has-progress {
- padding: 12px 16px 11px;
-}
-.ui-listview .ui-li-static.li-has-progress .ui-progress {
- margin: 16px 0 10px 0;
-}
-.ui-listview .ui-li-static .ui-btn.ui-btn-icon.ui-btn-nobg::after {
- width: 40px;
- height: 40px;
-}
-.ui-listview li.ui-li-flex {
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- padding: 0;
- overflow-x: visible;
- text-overflow: ellipsis;
- white-space: nowrap;
-}
-.ui-listview li.ui-li-flex.ui-li-select-all {
- color: var(--background-color);
-}
-.ui-listview li.ui-li-flex.ui-li-select-all label {
- display: block;
-}
-.ui-listview li.ui-li-flex.ui-li-select-all label input[type=checkbox] {
- float: right;
-}
-.ui-listview li.ui-li-flex .ui-li-text {
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- overflow-x: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- font-size: 18px;
- color: var(--text-color);
- max-height: 24.25px;
- width: 100%;
-}
-.ui-listview li.ui-li-flex .ui-li-text > *:not(.ui-li-text-sub-2) {
- -webkit-flex: 1;
- -ms-flex: 1;
- flex: 1;
- overflow-x: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
-}
-.ui-listview li.ui-li-flex .ui-li-text .ui-li-text-sub-2 {
- -webkit-align-self: flex-end;
- -ms-align-self: flex-end;
- -o-align-self: flex-end;
- -ms-flex-item-align: end;
- align-self: flex-end;
-}
-.ui-listview li.ui-li-flex .ui-li-text-2 {
- color: var(--text-secondary-color);
- line-height: 21.5px;
- font-size: 13px;
- max-height: 17.5px;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- overflow-x: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
-}
-.ui-listview li.ui-li-flex .ui-li-text-2 > *:not(.ui-li-text-sub-3) {
- -webkit-flex: 1;
- -moz-flex: 1;
- -ms-flex: 1;
- -o-flex: 1;
- flex: 1;
- overflow-x: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
-}
-.ui-listview li.ui-li-flex .ui-li-text-2 .ui-li-text-sub-3 {
- -webkit-align-self: flex-end;
- -ms-align-self: flex-end;
- -o-align-self: flex-end;
- -ms-flex-item-align: end;
- align-self: flex-end;
- margin: auto 0 auto auto;
-}
-.ui-listview li.ui-li-flex .ui-li-text-2 span + .ui-li-text-sub-3 {
- margin-left: 16px;
-}
-.ui-listview li.ui-li-flex .ui-li-text-sub {
- line-height: 21.5px;
- font-size: 16px;
- color: var(--text-secondary-color);
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- overflow-x: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
-}
-.ui-listview li.ui-li-flex .ui-li-text-sub > *:not(.ui-li-text-sub-3) {
- -webkit-flex: 1;
- -ms-flex: 1;
- flex: 1;
- overflow-x: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
-}
-.ui-listview li.ui-li-flex .ui-li-text-sub .ui-li-text-sub-3 {
- -webkit-align-self: flex-end;
- -ms-align-self: flex-end;
- -o-align-self: flex-end;
- -ms-flex-item-align: end;
- align-self: flex-end;
- margin: auto 0 auto auto;
-}
-.ui-listview li.ui-li-flex .ui-li-text-sub span + .ui-li-text-sub-3 {
- margin-left: 16px;
-}
-.ui-listview li.ui-li-flex .ui-li-text-sub-2 {
- line-height: 27px;
- max-width: 109px;
- margin-left: 16px;
- font-size: 15px;
- color: var(--text-secondary-color);
- float: right;
-}
-.ui-listview li.ui-li-flex .ui-li-text-sub-3 {
- line-height: 22px;
- max-width: 109px;
- margin-left: 16px;
- font-size: 16px;
- color: var(--text-secondary-color);
- float: right;
-}
-.ui-listview li.ui-li-flex .ui-li-text-sub + .ui-li-text-sub-3 {
- margin-top: -1rem;
-}
-.ui-listview li.ui-li-flex .ui-li-area-a {
- position: relative;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex: 1;
- -ms-flex: 1;
- flex: 1;
- -webkit-order: 1;
- -ms-flex-order: 1;
- order: 1;
- min-width: 1%;
- -webkit-flex-direction: row;
- -ms-flex-direction: row;
- flex-direction: row;
- -webkit-justify-content: flex-start;
- -ms-flex-pack: start;
- justify-content: flex-start;
- margin-top: 16.5px;
- margin-bottom: 16.5px;
- padding: 0 24px 0 18px;
-}
-.ui-listview li.ui-li-flex .ui-li-area-b {
- -webkit-order: 0;
- -ms-flex-order: 0;
- order: 0;
- -webkit-align-self: center;
- -ms-flex-item-align: center;
- -ms-grid-row-align: center;
- align-self: center;
-}
-.ui-listview li.ui-li-flex .ui-li-area-b.ui-li-image,
-.ui-listview li.ui-li-flex .ui-li-area-b.ui-li-circle-image,
-.ui-listview li.ui-li-flex .ui-li-area-b.ui-li-icon {
- margin-left: 16px;
-}
-.ui-listview li.ui-li-flex .ui-li-area-c {
- -webkit-order: 3;
- -ms-flex-order: 3;
- order: 3;
- -webkit-align-self: center;
- -ms-flex-item-align: center;
- -ms-grid-row-align: center;
- align-self: center;
-}
-.ui-listview li.ui-li-flex .ui-li-area-c.ui-li-image,
-.ui-listview li.ui-li-flex .ui-li-area-c.ui-li-circle-image {
- margin-right: 16px;
-}
-.ui-listview li.ui-li-flex .ui-li-area-c.ui-li-icon {
- margin-right: 8.5px;
-}
-.ui-listview li.ui-li-flex .ui-li-area-c .ui-toggle-container {
- margin-right: 16px;
-}
-.ui-listview li.ui-li-flex .ui-li-area-d {
- -webkit-order: 2;
- -ms-flex-order: 2;
- order: 2;
- -webkit-align-self: center;
- -ms-flex-item-align: center;
- -ms-grid-row-align: center;
- align-self: center;
-}
-.ui-listview li.ui-li-flex .ui-li-area-d.ui-li-image,
-.ui-listview li.ui-li-flex .ui-li-area-d.ui-li-circle-image {
- margin-right: 16px;
-}
-.ui-listview li.ui-li-flex .ui-li-area-d.ui-li-icon {
- margin-right: 16px;
-}
-.ui-listview li.ui-li-flex input.ui-li-area-b[type="checkbox"],
-.ui-listview li.ui-li-flex input.ui-li-area-b[type="radio"] {
- margin-left: 18px;
- margin-right: 0;
-}
-.ui-listview li.ui-li-flex input.ui-li-area-c[type="checkbox"],
-.ui-listview li.ui-li-flex input.ui-li-area-c[type="radio"] {
- margin-right: 16px;
-}
-.ui-listview li.ui-li-flex input.ui-li-area-d[type="checkbox"],
-.ui-listview li.ui-li-flex input.ui-li-area-d[type="radio"],
-.ui-listview li.ui-li-flex input.ui-li-area-d .ui-li-image,
-.ui-listview li.ui-li-flex input.ui-li-area-d .ui-li-circle-image {
- margin-right: 16px;
-}
-.ui-listview li.ui-li-flex .ui-li-icon::after {
- content: "";
- position: absolute;
- width: 100%;
- height: 100%;
- -webkit-mask-size: 100%;
- mask-size: 100%;
- -webkit-mask-position: center center;
- mask-position: center center;
- left: 50%;
- top: 50%;
- -webkit-transform: translate(-50%, -50%);
- -ms-transform: translate(-50%, -50%);
- transform: translate(-50%, -50%);
-}
-.ui-listview li.ui-li-flex .ui-li-area.ui-li-image {
- width: 60px;
- height: 60px;
-}
-.ui-listview li.ui-li-flex .ui-li-area.ui-li-circle-image {
- width: 49px;
- height: 49px;
- border-radius: 100%;
-}
-.ui-listview li.ui-li-flex .ui-li-area.ui-li-icon {
- width: 32px;
- height: 32px;
- position: relative;
-}
-.ui-listview li.ui-li-flex .ui-li-area.ui-li-area-a .ui-li-icon {
- width: 25px;
- min-width: 25px;
- max-width: 25px;
- height: 25px;
- -webkit-align-self: center;
- -ms-flex-item-align: center;
- -ms-grid-row-align: center;
- align-self: center;
- position: relative;
- margin-left: 16px;
-}
-.ui-listview li.ui-li-flex .ui-li-area.ui-li-area-a .ui-li-icon.ui-li-icon-left {
- -webkit-order: -1;
- -ms-flex-order: -1;
- order: -1;
- margin-right: 6px;
- margin-left: 0;
-}
-.ui-listview li.ui-li-flex .ui-li-area.ui-li-area-a .ui-li-icon.ui-li-icon-middle {
- top: 50%;
- -webkit-transform: translateY(-50%);
- -ms-transform: translateY(-50%);
- transform: translateY(-50%);
-}
-.ui-listview li.ui-li-flex .ui-li-area.ui-li-area-c.ui-li-icon {
- width: 40px;
- height: 40px;
- -webkit-align-items: center;
- -ms-flex-align: center;
- align-items: center;
- -webkit-justify-content: center;
- -ms-flex-pack: center;
- justify-content: center;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
-}
-.ui-listview li.ui-li-flex .ui-li-area.ui-li-area-c.ui-li-icon:after {
- width: 25px;
- height: 25px;
-}
-.ui-listview li.ui-li-flex .ui-li-area.ui-li-area-d.ui-li-icon {
- width: 25px;
- height: 25px;
-}
-.ui-listview li.ui-li-flex.ui-li-multilines .ui-li-area-a {
- margin-top: 12px;
- margin-bottom: 12px;
- -webkit-flex-direction: column;
- -ms-flex-direction: column;
- flex-direction: column;
- -webkit-justify-content: center;
- -ms-flex-pack: center;
- justify-content: center;
-}
-.ui-listview li.ui-li-flex.ui-li-multilines .ui-li-area-a > .ui-li-icon {
- position: absolute;
- right: 16px;
-}
-.ui-listview li.ui-li-flex.ui-li-flex-reverse .ui-li-area {
- -webkit-flex-direction: column-reverse;
- -ms-flex-direction: column-reverse;
- flex-direction: column-reverse;
-}
-.ui-listview.ui-details .ui-li-static {
- color: var(--text-color);
- padding: 12px 16px 11.5px 16px;
- height: 48.5px;
- line-height: 27px;
-}
-.ui-listview.ui-details .ui-li-static.li-has_icon {
- padding: 64px 16px 11.5px 16px;
-}
-.ui-listview.ui-details .ui-li-static.li-has_icon img {
- position: absolute;
- top: 20px;
- left: 16px;
-}
-.ui-listview.ui-details .ui-li-static .li-text-sub {
- color: var(--text-secondary-color);
- height: 21.5px;
- position: initial;
- float: none;
- text-align: left;
- display: block;
- line-height: 21.5px;
-}
-.ui-listview.ui-details .ui-listview-background {
- display: none;
-}
-.ui-listview .li-has-right-btn .ui-btn,
-.ui-listview .li-has-right-circle-btn .ui-btn {
- position: absolute;
- top: 50%;
- right: 16px;
- -webkit-transform: translate(0, -50%);
- -ms-transform: translate(0, -50%);
- transform: translate(0, -50%);
-}
-.ui-listview .li-has-right-btn .ui-toggle-container,
-.ui-listview .li-has-right-circle-btn .ui-toggle-container {
- position: absolute;
- top: 50%;
- right: 16px;
- -webkit-transform: translate(0, -50%);
- -ms-transform: translate(0, -50%);
- transform: translate(0, -50%);
-}
-.ui-listview .li-has-right-btn .ui-toggle-container:first-child:not(:only-child),
-.ui-listview .li-has-right-circle-btn .ui-toggle-container:first-child:not(:only-child) {
- right: 60px;
-}
-.ui-listview .li-has-right-btn .ui-btn-icon.ui-btn-nobg,
-.ui-listview .li-has-right-circle-btn .ui-btn-icon.ui-btn-nobg {
- right: 8.5px;
-}
-.ui-listview .li-has-right-btn .ui-btn-icon.ui-btn-circle,
-.ui-listview .li-has-right-circle-btn .ui-btn-icon.ui-btn-circle {
- right: 16px;
-}
-.ui-listview .li-has-radio.li-has-right-radio .ui-radio {
- margin-top: 0;
- position: absolute;
- right: 13px;
- left: auto;
- top: 18px;
-}
-.ui-listview .li-has-radio.li-has-right-radio .ui-radio:first-child {
- right: 60px;
-}
-.ui-listview.ui-drag-mode li {
- /*align-items: center;*/
-}
-.ui-listview.ui-drag-mode li .ui-listview-handler {
- display: block;
- position: relative;
- width: 32px;
- height: 32px;
- -webkit-flex: 0 1 auto;
- -ms-flex: 0 1 auto;
- flex: 0 1 auto;
- -webkit-order: 10;
- -ms-flex-order: 10;
- order: 10;
- margin: auto 16px auto auto;
-}
-.ui-listview.ui-drag-mode li .ui-listview-handler::after {
- content: "";
- position: absolute;
- width: 100%;
- height: 100%;
- -webkit-mask-size: 100%;
- mask-size: 100%;
- background-color: var(--reorder-color);
-}
-.ui-listview.ui-snapshot {
- height: 100%;
-}
-.ui-listview.ui-snapshot li {
- position: absolute;
- width: 100%;
- box-sizing: border-box;
- transition: top 0.1s linear;
-}
-.ui-listview.ui-snapshot li.ui-listview-helper {
- transition: none;
- background-color: var(--holder-reoder-background);
- box-sizing: border-box;
- border: 0.25px solid var(--holder-reoder-border);
-}
-.ui-listview.ui-snapshot li.ui-listview-helper::after {
- display: none;
-}
-.ui-listview.ui-snapshot li.ui-listview-item.ui-listview-holder {
- background: none;
-}
-.ui-listview.ui-snapshot li.ui-listview-item-moved {
- opacity: 0.75;
- transition: opacity 0.1s;
-}
-.ui-listview.ui-snapshot li:nth-last-child(2) {
- transition: none;
-}
-.ui-listview.ui-activate-handlers li .ui-listview-handler {
- -webkit-animation: button-handler-activate 200ms linear alternate;
- animation: button-handler-activate 200ms linear alternate;
-}
-.ui-listview.ui-deactivate-handlers li .ui-listview-handler {
- -webkit-animation: button-handler-deactivate 200ms linear alternate;
- animation: button-handler-deactivate 200ms linear alternate;
-}
-.ui-listview.ui-cancel-animation li .ui-listview-handler {
- -webkit-animation: none;
- animation: none;
-}
-.ui-listview[data-colored-background='false'] {
- background-color: var(--background-area-color);
-}
-.ui-listview[data-colored-background='false'] li:not(.ui-group-index) {
- border-bottom: 1px solid #e6e6e6;
- box-sizing: border-box;
-}
-@-webkit-keyframes button-handler-activate {
- 0% {
- margin-right: -40px;
- }
- 100% {
- margin-right: 0;
- }
-}
-@keyframes button-handler-activate {
- 0% {
- margin-right: -40px;
- }
- 100% {
- margin-right: 0;
- }
-}
-@-webkit-keyframes button-handler-deactivate {
- 0% {
- margin-right: 0;
- }
- 100% {
- margin-right: -40px;
- }
-}
-@keyframes button-handler-deactivate {
- 0% {
- margin-right: 0;
- }
- 100% {
- margin-right: -40px;
- }
-}
-.ui-page-indicator {
- display: block;
- position: absolute;
- left: 50%;
- bottom: 10px;
- -webkit-transform: translate3d(-50%, 0, 0);
- -ms-transform: translate3d(-50%, 0, 0);
- transform: translate3d(-50%, 0, 0);
-}
-.ui-page-indicator-item {
- position: relative;
- display: inline-block;
- width: 16px;
- height: 16px;
- -webkit-mask-image: -webkit-radial-gradient(black 4px, transparent 5.5px);
- -webkit-transform: scale3d(0.7, 0.7, 1);
- -ms-transform: scale3d(0.7, 0.7, 1);
- transform: scale3d(0.7, 0.7, 1);
- background-color: var(--primary-dark-color);
- margin-right: 10px;
- transition-duration: 150ms;
-}
-.ui-page-indicator-item:last-child {
- margin-right: 0;
-}
-.ui-page-indicator-item.ui-page-indicator-active {
- background-color: var(--primary-dark-color);
- -webkit-transform: scale3d(1, 1, 1);
- -ms-transform: scale3d(1, 1, 1);
- transform: scale3d(1, 1, 1);
- transition-duration: 150ms;
-}
-.ui-page-indicator-dashed .ui-page-indicator-item {
- position: relative;
- display: inline-block;
- width: 20px;
- height: 20px;
- -webkit-mask-image: url("images/core_page_indicator_off.png");
- mask-image: url("images/core_page_indicator_off.png");
- -webkit-transform: rotate(0deg);
- -ms-transform: rotate(0deg);
- transform: rotate(0deg);
- background-color: var(--primary-dark-color);
- margin-right: 1px;
- transition-duration: 150ms;
- -webkit-mask-size: 20px;
- -moz-mask-size: 20px;
- -ms-mask-size: 20px;
- -o-mask-size: 20px;
- mask-size: 20px;
-}
-.ui-page-indicator-dashed .ui-page-indicator-item::before {
- content: "";
- position: absolute;
- width: 20px;
- height: 20px;
- -webkit-mask-image: url("images/core_page_indicator_off_ef.png");
- mask-image: url("images/core_page_indicator_off_ef.png");
- -webkit-mask-size: 20px;
- -moz-mask-size: 20px;
- -ms-mask-size: 20px;
- -o-mask-size: 20px;
- mask-size: 20px;
-}
-.ui-page-indicator-dashed .ui-page-indicator-item:last-child {
- margin-right: 0;
-}
-.ui-page-indicator-dashed .ui-page-indicator-item.ui-page-indicator-active {
- background-color: var(--primary-dark-color);
- -webkit-transform: rotate(90deg);
- -ms-transform: rotate(90deg);
- transform: rotate(90deg);
- transition-duration: 150ms;
-}
-tau-progress {
- display: block;
-}
-.ui-progress-container {
- width: 360px;
- height: inherit;
- position: absolute;
- top: 50%;
- -webkit-transform: translateY(-50%);
- -ms-transform: translateY(-50%);
- transform: translateY(-50%);
- box-sizing: border-box;
-}
-.ui-progress-bar {
- position: relative;
- min-width: 12px;
- -webkit-flex: 1;
- -ms-flex: 1;
- flex: 1;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: column;
- -ms-flex-direction: column;
- flex-direction: column;
- height: 32px;
- -webkit-justify-content: center;
- -ms-flex-pack: center;
- justify-content: center;
- -ms-grid-column-align: center;
- justify-items: center;
-}
-.ui-progress-bar .ui-progress-current-value {
- font-size: 36px;
-}
-.ui-progress-text {
- padding-top: 17px;
- display: block;
- font-size: 15px;
- text-align: center;
- color: var(--text-color);
-}
-.ui-progress-bar-labels-top {
- -webkit-order: 1;
- -ms-flex-order: 1;
- order: 1;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
-}
-.ui-progress-bar-labels-bottom {
- -webkit-order: 3;
- -ms-flex-order: 3;
- order: 3;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
-}
-.ui-progress-bar-value-bg {
- height: 3px;
- max-height: 3px;
- width: 100%;
- position: relative;
- -webkit-flex: 1;
- -ms-flex: 1;
- flex: 1;
- -webkit-order: 2;
- -ms-flex-order: 2;
- order: 2;
- background-color: var(--progress-bar-bg-color);
- border-radius: 1.5px;
-}
-.ui-progress-bar-label span ~ span {
- margin-left: 2px;
-}
-.ui-progress-bar-label-left-bottom {
- padding: 4px 0 0;
- color: var(--text-secondary-color);
- font-size: 16px;
- -webkit-flex: 1;
- -ms-flex: 1;
- flex: 1;
- text-align: left;
- line-height: normal;
-}
-.ui-progress-bar-label-right-bottom {
- padding: 4px 0 0;
- color: var(--text-secondary-color);
- font-size: 16px;
- -webkit-flex: 1;
- -ms-flex: 1;
- flex: 1;
- text-align: right;
- line-height: normal;
-}
-.ui-progress-bar-label-right-top {
- padding: 0 0 4px;
- color: var(--progress-bar-color);
- font-size: 16px;
- -webkit-flex: 1;
- -ms-flex: 1;
- flex: 1;
- text-align: right;
- line-height: normal;
-}
-.ui-progress-bar-value {
- height: 3px;
- position: absolute;
- left: 0;
- top: 0;
- background-color: var(--progress-bar-color);
- border-radius: 1.5px;
-}
-.ui-progress-circle.ui-progress-circle-full {
- position: fixed;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
-}
-.ui-progress-circle.ui-progress-circle-large {
- width: 124px;
- height: 124px;
-}
-.ui-progress-circle.ui-progress-circle-medium {
- width: 56px;
- height: 56px;
-}
-.ui-progress-circle.ui-progress-circle-small {
- width: 44px;
- height: 44px;
-}
-.ui-progress-circle {
- position: relative;
- display: inline-block;
- box-sizing: border-box;
-}
-.ui-progress-circle * {
- pointer-events: none;
-}
-.ui-progress-circle .ui-progress-circle-value.ui-progress-circle-half {
- box-sizing: border-box;
- clip: rect(auto, auto, auto, auto);
-}
-.ui-progress-circle .ui-progress-circle-value.ui-progress-circle-half .ui-progress-circle-value-right {
- -webkit-transform: rotate(180deg);
- -ms-transform: rotate(180deg);
- transform: rotate(180deg);
-}
-.ui-progress-circle .ui-progress-circle-value {
- clip: rect(0, 1em, 1em, 0.5em);
- width: 100%;
- height: 100%;
- position: absolute;
- box-sizing: border-box;
-}
-.ui-progress-circle .ui-progress-circle-value .ui-progress-circle-value-left {
- border: 2px solid var(--primary-color);
- border-radius: 50%;
- clip: rect(0, 0.5em, 1em, 0);
- height: 100%;
- width: 100%;
- position: absolute;
- box-sizing: border-box;
-}
-.ui-progress-circle .ui-progress-circle-value .ui-progress-circle-value-right {
- border: 2px solid var(--primary-color);
- border-radius: 50%;
- clip: rect(0, 0.5em, 1em, 0);
- width: 100%;
- height: 100%;
- position: absolute;
- box-sizing: border-box;
-}
-.ui-progress-circle .ui-progress-circle-bg {
- border: 2px solid var(--progress-background-color);
- border-radius: 50%;
- width: 100%;
- height: 100%;
- box-sizing: border-box;
-}
-.ui-indeterminate-bar {
- overflow: hidden;
- position: relative;
- height: 3px;
- border-radius: 1.5px;
- background-color: var(--progress-bar-bg-color);
-}
-.ui-indeterminate-bar .ui-indeterminate-bar-indeterminate {
- position: relative;
- top: 0;
- height: 100%;
- padding: 0;
- background-color: transparent;
- border-radius: 1.5px;
-}
-.ui-indeterminate-bar .ui-indeterminate-bar-indeterminate::before {
- content: "";
- position: absolute;
- width: 46%;
- left: 0;
- top: 0;
- height: 100%;
- background-color: var(--progress-bar-color);
- -webkit-animation: indeterminate-bar1 1200ms infinite linear;
- animation: indeterminate-bar1 1200ms infinite linear;
-}
-.ui-indeterminate-bar .ui-indeterminate-bar-indeterminate::after {
- content: "";
- position: absolute;
- width: 46%;
- left: 93%;
- top: 0;
- height: 100%;
- background-color: var(--progress-bar-color);
- -webkit-animation: indeterminate-bar2 1200ms infinite linear;
- animation: indeterminate-bar2 1200ms infinite linear;
-}
-@-webkit-keyframes indeterminate-bar1 {
- 0% {
- left: -30%;
- }
- 74.9% {
- left: 100%;
- opacity: 1;
- }
- 75% {
- left: -70%;
- opacity: 0;
- }
- 75.1% {
- left: -70%;
- opacity: 1;
- }
- 100% {
- left: -30%;
- }
-}
-@keyframes indeterminate-bar1 {
- 0% {
- left: -30%;
- }
- 74.9% {
- left: 100%;
- opacity: 1;
- }
- 75% {
- left: -70%;
- opacity: 0;
- }
- 75.1% {
- left: -70%;
- opacity: 1;
- }
- 100% {
- left: -30%;
- }
-}
-@-webkit-keyframes indeterminate-bar2 {
- 0% {
- left: 93%;
- }
- 59.9% {
- left: 232%;
- opacity: 1;
- }
- 60% {
- left: -46%;
- opacity: 0;
- }
- 60.1% {
- left: -46%;
- opacity: 1;
- }
- 100% {
- left: 93%;
- }
-}
-@keyframes indeterminate-bar2 {
- 0% {
- left: 93%;
- }
- 59.9% {
- left: 232%;
- opacity: 1;
- }
- 60% {
- left: -46%;
- opacity: 0;
- }
- 60.1% {
- left: -46%;
- opacity: 1;
- }
- 100% {
- left: 93%;
- }
-}
-@-webkit-keyframes rotating {
- from {
- -webkit-transform: rotate(0);
- transform: rotate(0);
- }
- to {
- -webkit-transform: rotate(360deg);
- transform: rotate(360deg);
- }
-}
-@keyframes rotating {
- from {
- -webkit-transform: rotate(0);
- transform: rotate(0);
- }
- to {
- -webkit-transform: rotate(360deg);
- transform: rotate(360deg);
- }
-}
-.ui-indeterminate-circle {
- box-sizing: border-box;
- margin: auto;
- -webkit-animation: rotating 2s linear infinite;
- animation: rotating 2s linear infinite;
-}
-.ui-indeterminate-circle::before {
- content: "";
- border-top-style: solid;
- border-left-style: solid;
- border-color: var(--progress-circle-second-color);
- border-radius: 100% 0 0 0;
- display: block;
-}
-.ui-indeterminate-circle::after {
- content: "";
- position: relative;
- left: 50%;
- border-right-style: solid;
- border-bottom-style: solid;
- border-color: var(--primary-color);
- display: block;
- border-radius: 100% 0;
-}
-.ui-indeterminate-circle-small-title {
- width: 16px;
- height: 16px;
-}
-.ui-indeterminate-circle-small-title::before,
-.ui-indeterminate-circle-small-title::after {
- width: 6.5px;
- height: 6.5px;
-}
-.ui-indeterminate-circle-small-title::before {
- border-top-width: 1.5px;
- border-left-width: 1.5px;
-}
-.ui-indeterminate-circle-small-title::after {
- border-right-width: 1.5px;
- border-bottom-width: 1.5px;
-}
-.ui-indeterminate-circle-small {
- width: 24px;
- height: 24px;
-}
-.ui-indeterminate-circle-small::before,
-.ui-indeterminate-circle-small::after {
- width: 10px;
- height: 10px;
-}
-.ui-indeterminate-circle-small::before {
- border-top-width: 2px;
- border-left-width: 2px;
-}
-.ui-indeterminate-circle-small::after {
- border-right-width: 2px;
- border-bottom-width: 2px;
-}
-.ui-indeterminate-circle-medium {
- width: 48px;
- height: 48px;
-}
-.ui-indeterminate-circle-medium::before,
-.ui-indeterminate-circle-medium::after {
- width: 21px;
- height: 21px;
-}
-.ui-indeterminate-circle-medium::before {
- border-top-width: 3px;
- border-left-width: 3px;
-}
-.ui-indeterminate-circle-medium::after {
- border-right-width: 3px;
- border-bottom-width: 3px;
-}
-.ui-indeterminate-circle-large {
- width: 60px;
- height: 60px;
-}
-.ui-indeterminate-circle-large::before,
-.ui-indeterminate-circle-large::after {
- width: 27px;
- height: 27px;
-}
-.ui-indeterminate-circle-large::before {
- border-top-width: 3px;
- border-left-width: 3px;
-}
-.ui-indeterminate-circle-large::after {
- border-right-width: 3px;
- border-bottom-width: 3px;
-}
-.ui-listview .ui-li-has-progress {
- height: 4px;
- padding: 28px 0;
-}
-.ui-listview .ui-li-has-progress-with-labels {
- height: 4px;
- padding: 34px 0;
-}
-.ui-scrollview-view > .ui-progress-container {
- padding-left: 56px;
- padding-right: 56px;
-}
-.ui-listview .ui-group-index + .ui-li-static {
- padding-top: 16.5px;
- padding-bottom: 16.5px;
-}
-.ui-listview .ui-group-index ~ .ui-li-static > input[type=checkbox] {
- position: absolute;
- right: 16px;
- top: 17.5px;
-}
-tau-textenveloper {
- display: block;
-}
-.ui-text-enveloper {
- z-index: 1;
- position: relative;
- background-color: transparent;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- outline: none;
- -webkit-flex-wrap: wrap;
- -ms-flex-wrap: wrap;
- flex-wrap: wrap;
- overflow-x: visible;
-}
-.ui-text-enveloper.ui-text-enveloper-with-container {
- -webkit-flex-wrap: nowrap;
- -ms-flex-wrap: nowrap;
- flex-wrap: nowrap;
- -webkit-align-content: stretch;
- -ms-flex-line-pack: stretch;
- align-content: stretch;
-}
-.ui-text-enveloper.ui-text-enveloper-with-container .ui-text-enveloper-container {
- -webkit-flex-grow: 0;
- -ms-flex-positive: 0;
- flex-grow: 0;
- -webkit-flex-shrink: 1;
- -ms-flex-negative: 1;
- flex-shrink: 1;
- -webkit-flex-basis: 100%;
- -ms-flex-preferred-size: 100%;
- flex-basis: 100%;
- -webkit-flex-wrap: wrap;
- -ms-flex-wrap: wrap;
- flex-wrap: wrap;
- white-space: pre-wrap;
- overflow: visible;
-}
-.ui-text-enveloper .ui-text-enveloper-start {
- line-height: 27px;
- height: 27px;
- font-size: 20px;
- margin-top: 6.5px;
- color: var(--primary-color);
- margin-right: 10px;
- display: inline-block;
- -webkit-flex-grow: 0;
- -ms-flex-positive: 0;
- flex-grow: 0;
- -webkit-flex-shrink: 0;
- -ms-flex-negative: 0;
- flex-shrink: 0;
-}
-.ui-text-enveloper .ui-btn.ui-text-enveloper-btn-expanded,
-.ui-text-enveloper .ui-btn.ui-text-enveloper-btn {
- position: relative;
- line-height: 27px;
- height: 40px;
- border-radius: 7.5px;
- font-size: 20px;
- margin-top: -1px;
- padding: 7px 6px 6px;
- margin-left: -6px;
- min-height: 40px;
- vertical-align: top;
- -webkit-user-select: none;
- -ms-user-select: none;
- -o-user-select: none;
- user-select: none;
- background-color: transparent;
- color: var(--primary-color);
- overflow: auto;
-}
-.ui-text-enveloper .ui-btn.ui-text-enveloper-btn-expanded::before,
-.ui-text-enveloper .ui-btn.ui-text-enveloper-btn::before {
- top: 50%;
- left: 50%;
- width: 100%;
- height: 100%;
- -webkit-transform: translate(-50%, -50%);
- -ms-transform: translate(-50%, -50%);
- transform: translate(-50%, -50%);
- border-radius: 0;
- opacity: 0;
-}
-.ui-text-enveloper .ui-btn.ui-text-enveloper-btn-expanded::after,
-.ui-text-enveloper .ui-btn.ui-text-enveloper-btn::after {
- position: absolute;
- content: "";
- top: 50%;
- left: 50%;
- width: 100%;
- height: 100%;
- -webkit-transform: translate(-50%, -50%);
- -ms-transform: translate(-50%, -50%);
- transform: translate(-50%, -50%);
- opacity: 0;
- transition: opacity linear 200ms;
- -webkit-mask-box-image-source: url('images/nine-patch/core_focus_round.png');
- -webkit-mask-box-image-slice: 20 20 fill;
- -moz-mask-box-image-slice: 20 20 fill;
- -ms-mask-box-image-slice: 20 20 fill;
- -o-mask-box-image-slice: 20 20 fill;
- mask-box-image-slice: 20 20 fill;
- background-color: var(--text-input-underline-active);
-}
-.ui-text-enveloper .ui-btn.ui-text-enveloper-btn-expanded.ui-text-enveloper-btn-blur,
-.ui-text-enveloper .ui-btn.ui-text-enveloper-btn.ui-text-enveloper-btn-blur {
- display: none;
-}
-.ui-text-enveloper .ui-btn.ui-text-enveloper-btn-expanded.ui-text-enveloper-btn-blur + span,
-.ui-text-enveloper .ui-btn.ui-text-enveloper-btn.ui-text-enveloper-btn-blur + span {
- display: none;
-}
-.ui-text-enveloper .ui-btn.ui-text-enveloper-btn-expanded.ui-text-enveloper-btn-selected::after,
-.ui-text-enveloper .ui-btn.ui-text-enveloper-btn.ui-text-enveloper-btn-selected::after {
- opacity: 1;
-}
-.ui-text-enveloper .ui-btn.ui-text-enveloper-btn-expanded.ui-btn-active::before,
-.ui-text-enveloper .ui-btn.ui-text-enveloper-btn.ui-btn-active::before {
- opacity: 1;
- background-color: var(--ripple-color);
- -webkit-animation: navigation_press_animation linear 315ms;
- animation: navigation_press_animation linear 315ms;
-}
-.ui-text-enveloper .ui-btn.ui-text-enveloper-btn-expanded.ui-btn-active.ui-btn-inactive::before,
-.ui-text-enveloper .ui-btn.ui-text-enveloper-btn.ui-btn-active.ui-btn-inactive::before {
- -webkit-animation: navigation_pressup_animation linear 200ms;
- animation: navigation_pressup_animation linear 200ms;
-}
-.ui-text-enveloper .ui-text-enveloper-btn.ui-btn:not(.ui-inline) {
- margin-left: 3px;
- padding-left: 5px;
- border-bottom: 1px solid var(--primary-color);
- overflow: visible;
- border-radius: 0;
- -webkit-flex: 1;
- -ms-flex: 1;
- flex: 1;
- text-align: left;
- margin-bottom: 1px;
-}
-.ui-text-enveloper .ui-text-enveloper-btn.ui-btn:not(.ui-inline) + .ui-text-enveloper-input {
- display: block;
- position: absolute;
- width: 100%;
- text-indent: 100%;
- height: 27px;
-}
-.ui-text-enveloper .ui-text-enveloper-btn-separator {
- display: inline-block;
- margin: 0 6px;
- width: 7.5px;
-}
-.ui-text-enveloper .ui-text-enveloper-btn-separator::after {
- content: "";
- display: block;
- position: absolute;
- width: 7.5px;
- height: 16.5px;
- margin-top: -15px;
- -webkit-mask-size: 100%;
- mask-size: 100%;
- -webkit-mask-image: url(images/core_contact_div.png);
- mask-image: url(images/core_contact_div.png);
- background-color: var(--control-active-color);
- -webkit-mask-repeat: no-repeat;
- mask-repeat: no-repeat;
-}
-.ui-text-enveloper .ui-text-enveloper-btn-expanded {
- color: var(--control-inactive-color);
-}
-.ui-text-enveloper .ui-text-enveloper-slash {
- margin-top: -1px;
- width: 13.5px;
- height: 40px;
- opacity: 1;
- transition: opacity linear 200ms;
- display: inline-block;
- overflow: auto;
-}
-.ui-text-enveloper .ui-text-enveloper-slash::after {
- content: "";
- width: 7.5px;
- margin-top: 12px;
- height: 16.5px;
- position: absolute;
- -webkit-mask-size: 100%;
- mask-size: 100%;
- -webkit-mask-image: url(images/core_contact_div.png);
- mask-image: url(images/core_contact_div.png);
- background-color: var(--control-active-color);
- -webkit-mask-repeat: no-repeat;
- mask-repeat: no-repeat;
-}
-.ui-text-enveloper .ui-text-enveloper-slash.ui-text-enveloper-slash-hidden {
- opacity: 0;
-}
-.ui-text-enveloper .ui-text-enveloper-input {
- display: inline-block;
- width: auto;
- -webkit-flex: 1;
- -moz-flex: 1;
- -ms-flex: 1;
- -o-flex: 1;
- flex: 1;
- min-width: 60px;
- line-height: 27px;
- height: 27px;
- margin-top: 6px;
- font-size: 20px;
- background-color: transparent;
- margin-left: -5px;
- margin-bottom: 0;
-}
-.ui-text-enveloper .ui-text-enveloper-input-new-line {
- clear: left;
- width: 100%;
-}
-.ui-text-enveloper .ui-text-enveloper-input-new-line .ui-text-enveloper-input {
- margin-left: 0;
-}
-.ui-text-enveloper .ui-text-enveloper-input-new-line.ui-text-enveloper-input-blur {
- display: none;
-}
-.ui-text-enveloper input.ui-text-input ~ .ui-text-input-clear {
- top: auto;
-}
-.ui-listview .ui-li-static .ui-text-enveloper,
-.ui-listview .ui-li-flex .ui-text-enveloper {
- margin-top: -7px;
- margin-bottom: -6px;
- margin-right: 8.5px;
- width: 100%;
-}
-.ui-listview .ui-li-static .ui-text-enveloper input.ui-text-input + .ui-text-input-textline,
-.ui-listview .ui-li-flex .ui-text-enveloper input.ui-text-input + .ui-text-input-textline {
- margin-bottom: 0;
-}
-tau-gridview {
- display: block;
- list-style-type: disc;
-}
-.ui-gridview {
- position: relative;
- width: 100%;
- height: 100%;
- padding: 0;
- margin: 0;
- list-style: none;
-}
-.ui-gridview .ui-gridview-item {
- position: absolute;
- border: 0.25px solid var(--grid-border-color);
- box-sizing: border-box;
- opacity: 0;
- border-radius: 26px;
- overflow: hidden;
-}
-.ui-gridview .ui-gridview-item.ui-gridview-item-active {
- transition: -webkit-transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 1);
- transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 1);
- transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 1), -webkit-transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 1);
- opacity: 1;
-}
-.ui-gridview .ui-gridview-item.ui-gridview-helper {
- transition: none;
- -webkit-transform: translate3d(0, 0, 0);
- transform: translate3d(0, 0, 0);
-}
-.ui-gridview .ui-gridview-item .ui-gridview-handler {
- display: block;
- position: absolute;
- width: 100%;
- height: 100%;
- left: 0;
- top: 0;
- opacity: 0;
-}
-.ui-gridview .ui-gridview-item > label {
- position: absolute;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
-}
-.ui-gridview .ui-gridview-item > label.ui-gridview-image-checked {
- background-color: var(--checkbox-image-checked);
-}
-.ui-gridview .ui-gridview-item > label > input[type="checkbox"] {
- position: absolute;
- margin: 8px 0 0 8px;
- background-image: url(images/3_Controllers/gallery_btn_uncheck_bg_mtrl.svg);
- background-size: 100%;
- background-repeat: no-repeat;
- opacity: 1;
-}
-.ui-gridview .ui-gridview-item > label > input[type="checkbox"]:checked {
- background-image: url(images/3_Controllers/gallery_btn_check_bg_mtrl.svg);
-}
-.ui-gridview .ui-gridview-item > label > input[type="checkbox"]::after {
- background-color: var(--color-white);
-}
-.ui-gridview .ui-gridview-item > label > input[type="checkbox"]:disabled {
- opacity: 0.4;
-}
-.ui-gridview .ui-gridview-item .ui-gridview-image {
- display: block;
- width: 100%;
- height: auto;
- pointer-events: none;
-}
-.ui-gridview .ui-gridview-item.ui-gridview-item-has-label .ui-gridview-image {
- -webkit-transform: translateY(-28.5px);
- -ms-transform: translateY(-28.5px);
- transform: translateY(-28.5px);
-}
-.ui-gridview .ui-gridview-item .ui-gridview-label {
- position: absolute;
- width: calc(100% - 30px);
- margin: auto;
- padding: 0 15px;
- font-family: Roboto-Regular;
- font-size: 16px;
- color: var(--grid-label-color);
- text-align: left;
- overflow: hidden;
- text-overflow: ellipsis;
- bottom: 0;
- background-color: var(--background-area-color);
- height: 57px;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: column;
- -ms-flex-direction: column;
- flex-direction: column;
- -webkit-justify-content: center;
- -ms-flex-pack: center;
- justify-content: center;
-}
-.ui-gridview .ui-gridview-item .ui-gridview-label p {
- margin: 0;
- white-space: nowrap;
- text-overflow: ellipsis;
- overflow: hidden;
-}
-.ui-gridview .ui-gridview-item .ui-gridview-label p:nth-child(1) {
- font-size: 16px;
- color: var(--grid-label-color);
-}
-.ui-gridview .ui-gridview-item .ui-gridview-label p:nth-child(2) {
- margin-top: 3px;
- font-size: 13px;
- color: var(--grid-label-secondary-color);
-}
-.ui-gridview .ui-gridview-item .ui-gridview-badge {
- position: absolute;
- border-radius: 25px;
- min-width: 11px;
- background-color: var(--accent-badge);
- color: var(--color-white);
- top: 4.5px;
- right: 4.5px;
- padding: 3px 7px;
- font-size: 11px;
- text-align: center;
-}
-.ui-gridview .ui-gridview-item.ui-focus {
- -webkit-filter: invert(0.2);
- filter: invert(0.2);
-}
-.ui-gridview.ui-gridview-label-in .ui-gridview-label {
- position: absolute;
- bottom: 6px;
- display: block;
- color: var(--grid-label-color);
-}
-.ui-gridview.ui-gridview-label-out .ui-gridview-label {
- display: block;
- margin: 0;
- color: var(--grid-label-color);
- margin-bottom: 11.5px;
-}
-.ui-gridview.ui-gridview-reorder .ui-gridview-item .ui-gridview-handler {
- opacity: 1;
-}
-.ui-gridview-cols::after {
- content: "2";
- position: absolute;
- width: 1px;
- height: 1px;
- opacity: 0;
-}
-.ui-content:not(.ui-popup-content-gridview) .ui-gridview:not(.ui-gridview-label-out) {
- box-sizing: content-box;
-}
-.ui-content:not(.ui-popup-content-gridview) .ui-gridview:not(.ui-gridview-label-out) .ui-gridview-item {
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
-}
-@-webkit-keyframes grid_show_item {
- 0% {
- opacity: 0;
- }
- 100% {
- opacity: 1;
- }
-}
-@keyframes grid_show_item {
- 0% {
- opacity: 0;
- }
- 100% {
- opacity: 1;
- }
-}
-@media (orientation: portrait) {
- .ui-content:not(.ui-popup-content-gridview) .ui-gridview {
- min-height: 509px;
- }
-}
-@media (orientation: portrait) and (min-width: 480px) and (max-width: 959px) {
- .ui-gridview-cols::after {
- content: "3";
- }
-}
-@media (orientation: landscape) {
- .ui-gridview-cols::after {
- content: "4";
- }
-}
-@media (min-width: 960px) {
- .ui-gridview-cols::after {
- content: "5";
- }
-}
-.ui-popup:not(.ui-ctxpopup):not(.ui-popup-activity) .ui-popup-wrapper {
- width: 100%;
- height: auto;
- overflow: auto;
- border-radius: 26px;
-}
-.ui-popup:not(.ui-ctxpopup):not(.ui-popup-activity) .ui-popup-wrapper .ui-popup-content.ui-popup-content-gridview {
- padding: 0;
- margin: 0;
- height: 135px;
-}
-.ui-popup:not(.ui-ctxpopup):not(.ui-popup-activity) .ui-popup-wrapper .ui-popup-content.ui-popup-content-gridview-multiple {
- padding: 0;
- margin: 0;
- height: 252px;
-}
-@media (orientation: landscape) {
- .ui-popup.ui-popup-gridview {
- width: 360px;
- left: 70px;
- }
- .ui-gridview-image {
- display: block;
- width: 90.5px;
- height: 90.5px;
- pointer-events: none;
- }
-}
-@media (min-width: 1920px) {
- .ui-content:not(.ui-popup-content-gridview) .ui-gridview.ui-gridview-label-out {
- min-width: 1920px;
- }
- .ui-content:not(.ui-popup-content-gridview) .ui-gridview.ui-gridview-label-out .ui-gridview-item .ui-gridview-image {
- width: 240px;
- height: 238px;
- }
- .ui-content:not(.ui-popup-content-gridview) .ui-gridview.ui-gridview-label-out .ui-gridview-item .ui-gridview-label {
- height: 39px;
- line-height: 39px;
- padding: 0 10px;
- margin: 0;
- margin-bottom: 23px;
- }
- .ui-content:not(.ui-popup-content-gridview) .ui-gridview:not(.ui-gridview-label-out) {
- min-width: 1920px;
- }
- .ui-content:not(.ui-popup-content-gridview) .ui-gridview:not(.ui-gridview-label-out) .ui-gridview-item {
- width: 240px;
- height: 238px;
- }
- .ui-content:not(.ui-popup-content-gridview) .ui-gridview:not(.ui-gridview-label-out) .ui-gridview-item .ui-gridview-image {
- width: 240px;
- height: 238px;
- }
- .ui-content:not(.ui-popup-content-gridview) .ui-gridview:not(.ui-gridview-label-out) .ui-gridview-item .ui-gridview-label {
- height: 39px;
- line-height: 39px;
- padding: 0 10px;
- }
-}
-.ui-welcome-page .ui-content .ui-scrollview-view {
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: column;
- -moz-flex-direction: column;
- -ms-flex-direction: column;
- -o-flex-direction: column;
- flex-direction: column;
- -webkit-justify-content: center;
- -moz-justify-content: center;
- -ms-justify-content: center;
- -o-justify-content: center;
- -ms-flex-pack: center;
- justify-content: center;
- text-align: center;
- padding-bottom: 41.5px;
-}
-.ui-welcome-page .ui-content .ui-welcome-icon {
- height: 80px;
- width: auto;
- -webkit-flex: 0 0 auto;
- -moz-flex: 0 0 auto;
- -ms-flex: 0 0 auto;
- -o-flex: 0 0 auto;
- flex: 0 0 auto;
- -webkit-align-self: center;
- -ms-align-self: center;
- -o-align-self: center;
- -ms-flex-item-align: center;
- -ms-grid-row-align: center;
- align-self: center;
-}
-.ui-welcome-page .ui-content .ui-welcome-primary-text,
-.ui-welcome-page .ui-content .ui-welcome-secondary-text {
- margin: 0 20px;
- font-weight: normal;
-}
-.ui-welcome-page .ui-content .ui-welcome-primary-text {
- color: var(--text-color);
- line-height: 33.5px;
- font-size: 24.5px;
-}
-.ui-welcome-page .ui-content .ui-welcome-secondary-text {
- color: var(--text-secondary-color);
- line-height: 21.5px;
- font-size: 17.5px;
-}
-.ui-welcome-page .ui-content .ui-welcome-primary-text + .ui-welcome-secondary-text {
- margin-top: 29px;
-}
-.ui-welcome-page .ui-footer {
- height: 86px;
- text-align: center;
- -webkit-justify-content: center;
- -moz-justify-content: center;
- -ms-justify-content: center;
- -o-justify-content: center;
- -ms-flex-pack: center;
- justify-content: center;
- -webkit-align-items: center;
- -moz-align-items: center;
- -ms-align-items: center;
- -o-align-items: center;
- -ms-flex-align: center;
- align-items: center;
-}
-.ui-welcome-page .ui-footer button,
-.ui-welcome-page .ui-footer .ui-btn-welcome {
- min-width: 248px;
- height: 52px;
- background-color: var(--primary-color);
- display: inline-block;
- width: auto;
- -webkit-flex: 0 0 auto;
- -moz-flex: 0 0 auto;
- -ms-flex: 0 0 auto;
- -o-flex: 0 0 auto;
- flex: 0 0 auto;
-}
-.ui-welcome-page .ui-footer button:active,
-.ui-welcome-page .ui-footer .ui-btn-welcome:active,
-.ui-welcome-page .ui-footer button:focus,
-.ui-welcome-page .ui-footer .ui-btn-welcome:focus {
- background-color: var(--ripple-color);
-}
-.ui-welcome-page .ui-footer button[disabled],
-.ui-welcome-page .ui-footer .ui-btn-welcome[disabled],
-.ui-welcome-page .ui-footer button.ui-disabled,
-.ui-welcome-page .ui-footer .ui-btn-welcome.ui-disabled {
- background-color: var(--control-inactive-color);
-}
-.ui-dimmer {
- position: relative;
- border: 60px solid rgba(0, 151, 216, 0.5);
- border-radius: 100%;
- max-width: 720px;
- /* @TODO: temp fix for mobile on tv usage */
-}
-.ui-dimmer::after {
- display: block;
- content: " ";
- padding-bottom: 100%;
-}
-.ui-dimmer .ui-dimmer-hidden {
- display: none;
-}
-.ui-dimmer .ui-dimmer-text {
- position: absolute;
- top: 50%;
- left: 50%;
- -webkit-transform: translate(-50%, -50%);
- -ms-transform: translate(-50%, -50%);
- transform: translate(-50%, -50%);
-}
-.ui-dimmer.ui-dimmer-lightbulb {
- width: 50%;
- left: 50%;
- -webkit-transform: translateX(-50%);
- -ms-transform: translateX(-50%);
- transform: translateX(-50%);
- padding-bottom: 50%;
- border-radius: 0;
- border: none;
- background-image: url("images/dimmer/lightbulb.png");
- background-size: contain;
- display: block;
-}
-.ui-dimmer.ui-dimmer-lightbulb::after {
- display: none;
-}
-.ui-dimmer.ui-dimmer-lightbulb .ui-dimmer-lightbulb-light {
- display: block;
- position: absolute;
- width: 60%;
- height: 60%;
- left: 50%;
- top: 5%;
- opacity: 0.7;
- -webkit-transform: translateX(-50%);
- -ms-transform: translateX(-50%);
- transform: translateX(-50%);
- background-color: yellow;
- -webkit-filter: blur(1.3rem);
- filter: blur(1.3rem);
- border-radius: 50%;
- border: none;
- transition: background-color 0.3s;
-}
-.wrapper {
- -webkit-perspective: 600px;
- perspective: 600px;
- margin: 32px auto;
- margin-top: 15%;
- margin-right: 5%;
- width: 100%;
- height: 150px;
-}
-.wrapper_test {
- -webkit-perspective: 600px;
- perspective: 600px;
- white-space: nowrap;
-}
-.outer {
- transition: .8s;
- -webkit-transform: rotateY(40deg);
- transform: rotateY(40deg);
- width: auto;
- height: auto;
- overflow-x: scroll;
- margin-top: 10%;
- margin-left: 30%;
-}
-.inner {
- transition: .8s;
- -webkit-transform: rotateY(40deg);
- transform: rotateY(40deg);
- margin-left: -15%;
- width: auto;
- height: auto;
-}
-.inner figure {
- box-shadow: -3.5px 3.5px 1px -1.5px rgba(100, 100, 100, 0.5);
- display: inline-block;
-}
-.inner img {
- display: block;
- width: 50px;
- height: 50px;
- max-width: 100%;
- box-reflect: below 0 -webkit-gradient(linear, left bottom, left top, color-stop(0.05, rgba(255, 255, 255, 0.12)), color-stop(0.35, transparent));
- -webkit-box-reflect: below 0 -webkit-gradient(linear, left bottom, left top, color-stop(0.05, rgba(255, 255, 255, 0.12)), color-stop(0.35, transparent));
-}
-.flipster {
- display: block;
- overflow-x: hidden;
- overflow-y: visible;
- position: relative;
-}
-.flipster:focus {
- outline: none;
-}
-.flipster__container {
- margin: 0;
- padding: 0;
- list-style-type: none;
- position: relative;
- display: block;
- white-space: nowrap;
- word-spacing: -0.25em;
- -webkit-transform-origin: 50% 50%;
- -ms-transform-origin: 50% 50%;
- transform-origin: 50% 50%;
- -webkit-backface-visibility: hidden;
- backface-visibility: hidden;
-}
-.flipster__item {
- margin: 0;
- padding: 0;
- list-style-type: none;
- position: relative;
- display: inline-block;
- white-space: normal;
- word-spacing: normal;
- vertical-align: bottom;
-}
-.flipster__item img {
- max-width: 100%;
-}
-.flipster--click .flipster__item--past {
- cursor: pointer;
-}
-.flipster--click .flipster__item--future {
- cursor: pointer;
-}
-.flipster__button {
- position: absolute;
- top: 50%;
- display: block;
- -webkit-appearance: none;
- -moz-appearance: none;
- appearance: none;
- background: none;
- border: none;
- padding: 0;
- z-index: 999;
- cursor: pointer;
- font-size: 7.5px;
- opacity: 0.5;
- transition: opacity 500ms ease;
- margin: -1em 2em;
-}
-.flipster__button svg {
- width: 2em;
- stroke: currentColor;
- fill: transparent;
- stroke-width: 3;
- stroke-linecap: round;
-}
-.flipster__button:hover {
- opacity: 1;
-}
-.flipster__button:focus {
- opacity: 1;
-}
-.flipster__button--prev {
- left: 0;
-}
-.flipster__button--next {
- right: 0;
-}
-.flipster__nav {
- list-style-type: none;
- margin: 0;
- padding: 0;
- display: block;
- margin: 0 0 4em;
- text-align: center;
- position: relative;
-}
-.flipster__nav__item {
- list-style-type: none;
- margin: 0;
- padding: 0;
- display: inline-block;
- margin: 0 0.25em;
-}
-.flipster__nav__link {
- display: block;
- color: inherit;
- padding: 0.5em 1em;
- position: relative;
- overflow: hidden;
- transition: all 250ms ease-out;
- transition-timing-function: cubic-bezier(0.56, 0.12, 0.12, 0.98);
-}
-.flipster__nav__link::after {
- content: '';
- display: block;
- background: #232221;
- position: absolute;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- z-index: -1;
- -webkit-transform: translateY(100%) translateY(-0.25em);
- -ms-transform: translateY(100%) translateY(-0.25em);
- transform: translateY(100%) translateY(-0.25em);
- transition: inherit;
-}
-.flipster__nav__link:hover {
- color: #FFF;
-}
-.flipster__nav__link:hover::after {
- -webkit-transform: translateY(0);
- -ms-transform: translateY(0);
- transform: translateY(0);
-}
-.flipster__nav__link:focus {
- color: #FFF;
-}
-.flipster__nav__link:focus::after {
- -webkit-transform: translateY(0);
- -ms-transform: translateY(0);
- transform: translateY(0);
-}
-.flipster__nav__item--current > .flipster__nav__link {
- color: #FFF;
-}
-.flipster__nav__item--current > .flipster__nav__link::after {
- -webkit-transform: translateY(0);
- -ms-transform: translateY(0);
- transform: translateY(0);
-}
-.flipster__nav__item--current .flipster__nav__child {
- display: block;
-}
-.flipster__nav__child {
- display: none;
- position: absolute;
- top: 100%;
- left: 0;
- right: 0;
- margin-top: -0.5px;
- padding: 0.5em;
- background: #4e4441;
- z-index: 1;
-}
-.flipster__nav__child .flipster__nav__link {
- color: #FFF;
-}
-.flipster__nav__child .flipster__nav__link::after {
- background: #FFF;
-}
-.flipster__nav__child .flipster__nav__link:hover {
- color: #232221;
-}
-.flipster__nav__child .flipster__nav__link:focus {
- color: #232221;
-}
-.flipster__nav__child .flipster__nav__item--current > .flipster__nav__link {
- color: #232221;
-}
-.flipster--carousel .flipster__container {
- transition: all 350ms ease-in-out;
- transition-timing-function: cubic-bezier(0.56, 0.12, 0.12, 0.98);
-}
-.flipster--carousel .flipster__item {
- transition: all 350ms ease-in-out;
- transition-timing-function: cubic-bezier(0.56, 0.12, 0.12, 0.98);
- -webkit-perspective: 400px;
- perspective: 400px;
-}
-.flipster--carousel .flipster__item__content {
- transition: all 350ms ease-in-out;
- transition-timing-function: cubic-bezier(0.56, 0.12, 0.12, 0.98);
-}
-.flipster--carousel .flipster__item--past {
- opacity: 0;
- transition-delay: 115ms;
-}
-.flipster--carousel .flipster__item--past .flipster__item__content {
- -webkit-transform: translateX(100%) rotateY(-20deg) scale(0.5);
- transform: translateX(100%) rotateY(-20deg) scale(0.5);
-}
-.flipster--carousel .flipster__item--future {
- opacity: 0;
- transition-delay: 115ms;
-}
-.flipster--carousel .flipster__item--future .flipster__item__content {
- -webkit-transform: translateX(-100%) rotateY(20deg) scale(0.5);
- transform: translateX(-100%) rotateY(20deg) scale(0.5);
-}
-.flipster--carousel .flipster__item--past-2 {
- opacity: 0.6;
- transition-delay: 20ms;
-}
-.flipster--carousel .flipster__item--past-2 .flipster__item__content {
- -webkit-transform: translateX(25%) rotateY(40deg) scale(0.65);
- transform: translateX(25%) rotateY(40deg) scale(0.65);
-}
-.flipster--carousel .flipster__item--future-2 {
- opacity: 0.6;
- transition-delay: 20ms;
-}
-.flipster--carousel .flipster__item--future-2 .flipster__item__content {
- -webkit-transform: translateX(-25%) rotateY(-40deg) scale(0.65);
- transform: translateX(-25%) rotateY(-40deg) scale(0.65);
-}
-.flipster--carousel .flipster__item--past-1 {
- opacity: 0.6;
- transition-delay: 20ms;
-}
-.flipster--carousel .flipster__item--past-1 .flipster__item__content {
- -webkit-transform: rotateY(45deg) scale(0.8);
- transform: rotateY(45deg) scale(0.8);
-}
-.flipster--carousel .flipster__item--future-1 {
- opacity: 0.6;
- transition-delay: 20ms;
-}
-.flipster--carousel .flipster__item--future-1 .flipster__item__content {
- -webkit-transform: rotateY(-45deg) scale(0.8);
- transform: rotateY(-45deg) scale(0.8);
-}
-.flipster--carousel .flipster__item--current .flipster__item__content {
- -webkit-transform: translateX(0) rotateY(0deg) scale(1);
- transform: translateX(0) rotateY(0deg) scale(1);
- transition-delay: 60ms;
-}
-.flipster--carousel.no-rotate .flipster__item--past .flipster__item__content {
- -webkit-transform: translateX(175%) scale(0.5);
- -ms-transform: translateX(175%) scale(0.5);
- transform: translateX(175%) scale(0.5);
-}
-.flipster--carousel.no-rotate .flipster__item--past-2 .flipster__item__content {
- -webkit-transform: translateX(25%) scale(0.65);
- -ms-transform: translateX(25%) scale(0.65);
- transform: translateX(25%) scale(0.65);
-}
-.flipster--carousel.no-rotate .flipster__item--past-1 .flipster__item__content {
- -webkit-transform: translateX(0%) scale(0.8);
- -ms-transform: translateX(0%) scale(0.8);
- transform: translateX(0%) scale(0.8);
-}
-.flipster--carousel.no-rotate .flipster__item--future .flipster__item__content {
- -webkit-transform: translateX(-175%) scale(0.5);
- -ms-transform: translateX(-175%) scale(0.5);
- transform: translateX(-175%) scale(0.5);
-}
-.flipster--carousel.no-rotate .flipster__item--future-2 .flipster__item__content {
- -webkit-transform: translateX(-25%) scale(0.65);
- -ms-transform: translateX(-25%) scale(0.65);
- transform: translateX(-25%) scale(0.65);
-}
-.flipster--carousel.no-rotate .flipster__item--future-1 .flipster__item__content {
- -webkit-transform: translateX(0%) scale(0.8);
- -ms-transform: translateX(0%) scale(0.8);
- transform: translateX(0%) scale(0.8);
-}
-.flipster--coverflow .flipster__container {
- transition: all 350ms ease-in-out;
- transition-timing-function: cubic-bezier(0.56, 0.12, 0.12, 0.98);
- padding-bottom: 10%;
-}
-.flipster--coverflow .flipster__item {
- transition: all 350ms ease-in-out;
- transition-timing-function: cubic-bezier(0.56, 0.12, 0.12, 0.98);
- -webkit-perspective: 400px;
- perspective: 400px;
-}
-.flipster--coverflow .flipster__item__content {
- transition: all 350ms ease-in-out;
- transition-timing-function: cubic-bezier(0.56, 0.12, 0.12, 0.98);
- -webkit-transform-origin: 50% 100%;
- -ms-transform-origin: 50% 100%;
- transform-origin: 50% 100%;
- box-reflect: below 0 -webkit-gradient(linear, left bottom, left top, color-stop(0.05, rgba(255, 255, 255, 0.12)), color-stop(0.35, transparent));
- -webkit-box-reflect: below 0 -webkit-gradient(linear, left bottom, left top, color-stop(0.05, rgba(255, 255, 255, 0.12)), color-stop(0.35, transparent));
-}
-.flipster--coverflow .flipster__item__content img:only-child {
- display: block;
-}
-.flipster--coverflow .flipster__item--past .flipster__item__content {
- -webkit-transform-origin: 0% 50%;
- -ms-transform-origin: 0% 50%;
- transform-origin: 0% 50%;
- -webkit-transform: scale(0.75) rotateY(55deg);
- transform: scale(0.75) rotateY(55deg);
-}
-.flipster--coverflow .flipster__item--future .flipster__item__content {
- -webkit-transform-origin: 100% 50%;
- -ms-transform-origin: 100% 50%;
- transform-origin: 100% 50%;
- -webkit-transform: scale(0.75) rotateY(-55deg);
- transform: scale(0.75) rotateY(-55deg);
-}
-.flipster--coverflow .flip-current .flipster__item__content {
- -webkit-transform: rotateY(0deg);
- transform: rotateY(0deg);
-}
-.flipster--flat .flipster__container {
- transition: all 400ms ease-in-out;
-}
-.flipster--flat .flipster__item {
- transition: all 400ms ease-in-out;
-}
-.flipster--flat .flipster__item__content {
- transition: all 400ms ease-in-out;
-}
-.flipster--flat .flipster__item--past {
- opacity: 0.5;
-}
-.flipster--flat .flipster__item--past .flipster__item__content {
- -webkit-transform: scale(0.75);
- -ms-transform: scale(0.75);
- transform: scale(0.75);
-}
-.flipster--flat .flipster__item--future {
- opacity: 0.5;
-}
-.flipster--flat .flipster__item--future .flipster__item__content {
- -webkit-transform: scale(0.75);
- -ms-transform: scale(0.75);
- transform: scale(0.75);
-}
-.flipster--wheel {
- overflow: hidden;
-}
-.flipster--wheel .flipster__container {
- transition: all 400ms ease-in-out;
- transition-timing-function: cubic-bezier(0.56, 0.12, 0.12, 0.98);
- padding-bottom: 20%;
-}
-.flipster--wheel .flipster__item__content {
- transition: all 400ms ease-in-out;
- transition-timing-function: cubic-bezier(0.56, 0.12, 0.12, 0.98);
- -webkit-transform-origin: 50% 100%;
- -ms-transform-origin: 50% 100%;
- transform-origin: 50% 100%;
-}
-.flipster--wheel .flipster__item__content img:only-child {
- display: block;
-}
-.flipster--wheel .flipster__item--past .flipster__item__content {
- -webkit-transform-origin: 100% 100%;
- -ms-transform-origin: 100% 100%;
- transform-origin: 100% 100%;
- opacity: 0;
- -webkit-transform: rotateZ(-80deg) translate(-170%, 110%);
- -ms-transform: rotate(-80deg) translate(-170%, 110%);
- transform: rotateZ(-80deg) translate(-170%, 110%);
-}
-.flipster--wheel .flipster__item--future .flipster__item__content {
- -webkit-transform-origin: 0% 100%;
- -ms-transform-origin: 0% 100%;
- transform-origin: 0% 100%;
- opacity: 0;
- -webkit-transform: rotateZ(80deg) translate(170%, 110%);
- -ms-transform: rotate(80deg) translate(170%, 110%);
- transform: rotateZ(80deg) translate(170%, 110%);
-}
-.flipster--wheel .flipster__item--past-3 .flipster__item__content {
- opacity: 1;
- -webkit-transform: rotateZ(-60deg) translate(-70%, 75%);
- -ms-transform: rotate(-60deg) translate(-70%, 75%);
- transform: rotateZ(-60deg) translate(-70%, 75%);
-}
-.flipster--wheel .flipster__item--future-3 .flipster__item__content {
- opacity: 1;
- -webkit-transform: rotateZ(60deg) translate(70%, 75%);
- -ms-transform: rotate(60deg) translate(70%, 75%);
- transform: rotateZ(60deg) translate(70%, 75%);
-}
-.flipster--wheel .flipster__item--past-2 .flipster__item__content {
- opacity: 1;
- -webkit-transform: rotateZ(-40deg) translate(-17%, 30%);
- -ms-transform: rotate(-40deg) translate(-17%, 30%);
- transform: rotateZ(-40deg) translate(-17%, 30%);
-}
-.flipster--wheel .flipster__item--future-2 .flipster__item__content {
- opacity: 1;
- -webkit-transform: rotateZ(40deg) translate(17%, 30%);
- -ms-transform: rotate(40deg) translate(17%, 30%);
- transform: rotateZ(40deg) translate(17%, 30%);
-}
-.flipster--wheel .flipster__item--past-1 .flipster__item__content {
- opacity: 1;
- -webkit-transform: rotateZ(-20deg);
- -ms-transform: rotate(-20deg);
- transform: rotateZ(-20deg);
-}
-.flipster--wheel .flipster__item--future-1 .flipster__item__content {
- opacity: 1;
- -webkit-transform: rotateZ(20deg);
- -ms-transform: rotate(20deg);
- transform: rotateZ(20deg);
-}
-.flipster--wheel .flip-current .flipster__item__content {
- -webkit-transform: rotateX(0deg);
- transform: rotateX(0deg);
-}
-.ui-graph {
- width: 100%;
- height: 250px;
-}
-.ui-toggle-slider-container {
- position: relative;
- display: inline-block;
- width: 50px;
- height: 26px;
-}
-.ui-toggle-slider-container input {
- background-color: #CCCCCC;
- transition: 0.5s;
- border-radius: 26px;
- width: 50px;
- height: 26px;
- -webkit-appearance: none;
- -moz-appearance: none;
- appearance: none;
- outline: 0;
- margin: 0;
- -webkit-backface-visibility: hidden;
- backface-visibility: hidden;
-}
-.ui-toggle-slider-container input:checked {
- background-color: #3695DD;
-}
-.ui-toggle-slider-container input:disabled {
- background-color: W015L1D;
-}
-.ui-toggle-slider-container .ui-toggle-slider:before {
- position: absolute;
- content: '';
- height: 22px;
- width: 22px;
- left: 1px;
- bottom: 2px;
- background-color: #FFFFFF;
- transition: 0.5s;
- border-radius: 50%;
- pointer-events: none;
-}
-.ui-toggle-slider-container input:checked + .ui-toggle-slider:before {
- -webkit-transform: translateX(25.5px);
- -ms-transform: translateX(25.5px);
- transform: translateX(25.5px);
-}
-.ui-coverflow:focus {
- background-color: var(--ripple-color);
-}
-.ui-spin {
- position: relative;
- display: -webkit-inline-flex;
- display: -ms-inline-flexbox;
- display: inline-flex;
- height: 164px;
- background-color: transparent;
- overflow: hidden;
- font-size: 32px;
- padding: 0;
- box-sizing: content-box;
- width: 50px;
-}
-.ui-spin-item {
- -webkit-align-items: center;
- -ms-flex-align: center;
- align-items: center;
- background-color: transparent;
- width: 100%;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: column;
- -ms-flex-direction: column;
- flex-direction: column;
- -webkit-justify-content: center;
- -ms-flex-pack: center;
- justify-content: center;
- color: var(--primary-dark-color);
- opacity: var(--spin-item-opacity) !important;
- -webkit-user-select: none;
- -ms-user-select: none;
- user-select: none;
- font-family: Roboto-Medium;
-}
-.ui-spin-item-selected {
- opacity: 1 !important;
-}
-.ui-spin-carousel-item {
- position: absolute;
- left: 0;
- top: 0;
- width: 100%;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: column;
- -ms-flex-direction: column;
- flex-direction: column;
- -webkit-justify-content: center;
- -ms-flex-pack: center;
- justify-content: center;
-}
-.ui-spin-enabling .ui-spin-item {
- transition: 300ms opacity linear;
-}
-.ui-spin-placeholder {
- opacity: 0;
- pointer-events: none;
- position: absolute;
- display: none;
-}
-.ui-time-picker {
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- width: 100%;
- height: 164px;
- -webkit-justify-content: space-evenly;
- -ms-flex-pack: space-evenly;
- justify-content: space-evenly;
-}
-.ui-time-picker[data-format="12"] .ui-time-picker-container {
- width: 28%;
-}
-.ui-time-picker[data-format="12"] .ui-time-picker-container-hour::after {
- content: ":";
- height: 164px;
- width: 4%;
- font-size: 32px;
- color: var(--primary-dark-color);
- position: absolute;
- display: -webkit-inline-flex;
- display: -ms-inline-flexbox;
- display: inline-flex;
- -webkit-align-items: center;
- -ms-flex-align: center;
- align-items: center;
- -webkit-justify-content: center;
- -ms-flex-pack: center;
- justify-content: center;
-}
-.ui-time-picker[data-format="12"] .ui-time-picker-container-format .ui-spin-item {
- font-size: 24px;
- line-height: 54px;
-}
-.ui-time-picker[data-format="24"] .ui-time-picker-container {
- width: 30%;
-}
-.ui-time-picker[data-format="24"] .ui-time-picker-container-hour::after {
- content: ":";
- height: 164px;
- width: 13.33333333%;
- font-size: 32px;
- color: var(--primary-dark-color);
- position: absolute;
- display: -webkit-inline-flex;
- display: -ms-inline-flexbox;
- display: inline-flex;
- -webkit-align-items: center;
- -ms-flex-align: center;
- align-items: center;
- -webkit-justify-content: center;
- -ms-flex-pack: center;
- justify-content: center;
-}
-.ui-time-picker[data-format="24"] .ui-time-picker-container-format {
- display: none;
-}
-.ui-time-picker .ui-spin {
- width: 100%;
- height: 164px;
- -webkit-justify-content: center;
- -ms-flex-pack: center;
- justify-content: center;
-}
-.ui-time-picker .ui-spin .ui-time-picker-input {
- width: 50px;
- height: 50px;
- -webkit-align-self: center;
- -ms-flex-item-align: center;
- -ms-grid-row-align: center;
- align-self: center;
- text-align: center;
- font-size: 32px;
- color: transparent;
- font-family: Roboto-Regular;
- border-width: 0;
- outline: unset;
- outline-offset: unset;
- text-shadow: 0 0 0 var(--primary-dark-color);
- opacity: 0;
- background-color: transparent;
-}
-.ui-time-picker .ui-spin .ui-time-picker-input:focus {
- background-color: var(--primary-color-20p);
-}
-.ui-time-picker .ui-spin-item {
- font-family: Roboto-Regular;
- line-height: 56px;
-}
-.ui-time-picker-input-active .ui-time-picker-container-hour .ui-spin-item,
-.ui-time-picker-input-active .ui-time-picker-container-minute .ui-spin-item {
- opacity: 0 !important;
-}
-.ui-time-picker-input-active .ui-time-picker-container-hour .ui-time-picker-input,
-.ui-time-picker-input-active .ui-time-picker-container-minute .ui-time-picker-input {
- opacity: 1;
-}
-.ui-calendar-view {
- width: 100%;
- border-spacing: 0;
-}
-.ui-calendar-view tr td {
- height: 32px;
- text-align: center;
- vertical-align: middle;
- font-size: 15px;
- font-family: Roboto-Regular;
- color: var(--calendar-text-color);
- padding: 0;
-}
-.ui-calendar-view tr td div {
- border-radius: 100%;
- width: 28px;
- height: 28px;
- line-height: 28px;
- margin: 0 auto;
-}
-.ui-calendar-view tr td div.ui-calendar-selection {
- background-color: var(--primary-color);
- color: var(--calendar-select-text-color);
-}
-.ui-calendar-view tr td:only-child {
- width: 100%;
-}
-.ui-calendar-view tr td:nth-last-child(2) {
- width: 50%;
-}
-.ui-calendar-view tr td:nth-last-child(2) + td {
- width: 50%;
-}
-.ui-calendar-view tr td:nth-last-child(3) {
- width: 33.3%;
-}
-.ui-calendar-view tr td:nth-last-child(3) ~ td {
- width: 33.3%;
-}
-.ui-calendar-view tr td:nth-last-child(4) {
- width: 25%;
-}
-.ui-calendar-view tr td:nth-last-child(4) ~ td {
- width: 25%;
-}
-.ui-calendar-view tr td:nth-last-child(5) {
- width: 20%;
-}
-.ui-calendar-view tr td:nth-last-child(5) ~ td {
- width: 20%;
-}
-.ui-calendar-view tr td:nth-last-child(6) {
- width: 16.6%;
-}
-.ui-calendar-view tr td:nth-last-child(6) ~ td {
- width: 16.6%;
-}
-.ui-calendar-view tr td:nth-last-child(7) {
- width: 14.2%;
-}
-.ui-calendar-view tr td:nth-last-child(7) ~ td {
- width: 14.2%;
-}
-.ui-calendar-view tr td:nth-child(7) {
- color: var(--calendar-weekend-day-color);
-}
-.ui-calendar-view .ui-calendar-one-week {
- height: 32px;
-}
-.ui-calendar-view .ui-calendar-one-week td {
- font-family: Roboto-Regular;
- font-size: 11px;
- color: var(--text-secondary-color);
-}
-.ui-calendar-view .ui-calendar-one-week .ui-sunday {
- color: var(--calendar-weekend-color);
-}
-.ui-calendar-top-space {
- height: 10px;
-}
-.ui-calendar-prev-month-day {
- opacity: 0.1;
-}
-.ui-calendar-next-month-day {
- opacity: 0.4;
-}
-.ui-calendar-controller {
- width: 100%;
- height: 36px;
- line-height: 36px;
- margin: 0 auto;
- text-align: center;
-}
-.ui-calendar-controller div.ui-calendar-switch {
- text-align: center;
- font-family: Roboto-Regular;
- font-size: 17px;
- color: var(--calendar-text-color);
- line-height: 36px;
- display: inline;
-}
-.ui-calendar-arrow {
- width: 36px;
- height: 36px;
- -webkit-mask-repeat: no-repeat;
- mask-repeat: no-repeat;
- -webkit-mask-position: center;
- mask-position: center;
- -webkit-mask-size: 100%;
- mask-size: 100%;
- background-color: var(--calendar-arrow-color);
-}
-.ui-calendar-left-arrow {
- float: left;
- -webkit-mask-image: url("images/4_Dialogs/tw_numberpicker_prev_mtrl.svg");
- mask-image: url("images/4_Dialogs/tw_numberpicker_prev_mtrl.svg");
-}
-.ui-calendar-right-arrow {
- float: right;
- -webkit-mask-image: url("images/4_Dialogs/tw_numberpicker_next_mtrl.svg");
- mask-image: url("images/4_Dialogs/tw_numberpicker_next_mtrl.svg");
-}
-.ui-calendar-disabled {
- opacity: 0.1;
-}
-.ui-calendar-disabled-arrow {
- opacity: 0.4;
-}
-@media (min-width: 361px) {
- .ui-calendar-controller {
- width: 328px;
- margin: 0 auto;
- }
-}
-.ui-content-area .ui-calendar,
-.ui-popup-content .ui-calendar {
- padding: 14px 16px;
-}
-.ui-date-picker {
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- width: 100%;
- -webkit-flex-direction: column;
- -ms-flex-direction: column;
- flex-direction: column;
-}
-.ui-date-picker-header {
- font-family: Roboto-Regular;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- width: 100%;
- height: 36px;
- font-size: 17px;
- color: var(--date-picker-header-text-color);
- line-height: 36px;
- -webkit-align-items: center;
- -ms-flex-align: center;
- align-items: center;
- -webkit-justify-content: center;
- -ms-flex-pack: center;
- justify-content: center;
- margin-top: 14px;
- margin-bottom: 10px;
-}
-.ui-date-picker-content {
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: row;
- -ms-flex-direction: row;
- flex-direction: row;
- -webkit-justify-content: space-evenly;
- -ms-flex-pack: space-evenly;
- justify-content: space-evenly;
-}
-.ui-date-picker-content .ui-date-picker-container {
- width: 28%;
- height: 164px;
- display: -webkit-inline-flex;
- display: -ms-inline-flexbox;
- display: inline-flex;
- -webkit-justify-content: center;
- -ms-flex-pack: center;
- justify-content: center;
-}
-.ui-date-picker-content .ui-date-picker-container .ui-spin {
- width: 100%;
-}
-.ui-date-picker-content .ui-date-picker-container .ui-spin-item {
- font-size: 32px;
- line-height: 54px;
- font-family: Roboto-Regular;
-}
-.ui-date-picker-content .ui-date-picker-container .ui-spin-item-selected {
- line-height: 56px;
-}
-.ui-date-picker-content .ui-date-picker-container-month .ui-spin-item {
- font-size: 30px;
-}
-.ui-datetime-picker-wheel {
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- height: 164px;
- margin-left: 4%;
- margin-right: 6%;
- padding-top: 60px;
- padding-bottom: 81px;
-}
-.ui-datetime-picker-wheel-container {
- -webkit-flex: 1;
- -ms-flex: 1;
- flex: 1;
- font-size: 22px;
-}
-.ui-datetime-picker-wheel-container-separator {
- position: relative;
-}
-.ui-datetime-picker-wheel-container-separator::after {
- content: ":";
- height: 100%;
- width: auto;
- color: var(--primary-dark-color);
- position: absolute;
- display: -webkit-inline-flex;
- display: -ms-inline-flexbox;
- display: inline-flex;
- -webkit-align-items: center;
- -ms-flex-align: center;
- align-items: center;
- -webkit-justify-content: center;
- -ms-flex-pack: center;
- justify-content: center;
- right: 0;
-}
-.ui-datetime-picker-wheel[data-format="12"] .ui-datetime-picker-wheel-container-date {
- min-width: 47%;
-}
-.ui-datetime-picker-wheel[data-format="12"] .ui-datetime-picker-wheel-container-hour {
- min-width: 14%;
-}
-.ui-datetime-picker-wheel[data-format="12"] .ui-datetime-picker-wheel-container-minute {
- min-width: 14%;
-}
-.ui-datetime-picker-wheel[data-format="12"] .ui-datetime-picker-wheel-container-format {
- min-width: 13%;
-}
-.ui-datetime-picker-wheel[data-format="24"] .ui-datetime-picker-wheel-container-date {
- min-width: 47%;
-}
-.ui-datetime-picker-wheel[data-format="24"] .ui-datetime-picker-wheel-container-hour {
- min-width: 14%;
-}
-.ui-datetime-picker-wheel[data-format="24"] .ui-datetime-picker-wheel-container-minute {
- min-width: 14%;
-}
-.ui-datetime-picker-wheel[data-format="24"] .ui-datetime-picker-wheel-container-format {
- display: none;
-}
-.ui-datetime-picker-wheel .ui-spin {
- width: 100%;
- height: 164px;
- -webkit-justify-content: center;
- -ms-flex-pack: center;
- justify-content: center;
- white-space: nowrap;
- font-size: 22px;
-}
-.ui-datetime-picker-wheel .ui-spin .ui-datetime-picker-wheel-input {
- width: 50px;
- height: 50px;
- -webkit-align-self: center;
- -ms-flex-item-align: center;
- -ms-grid-row-align: center;
- align-self: center;
- text-align: center;
- font-size: 22px;
- color: transparent;
- font-family: Roboto-Regular;
- border-width: 0;
- outline: unset;
- outline-offset: unset;
- text-shadow: 0 0 0 var(--primary-dark-color);
- opacity: 0;
- background-color: transparent;
-}
-.ui-datetime-picker-wheel .ui-spin .ui-datetime-picker-wheel-input:focus {
- background-color: var(--primary-color-20p);
-}
-.ui-datetime-picker-wheel .ui-spin-item {
- font-family: Roboto-Regular;
- line-height: 54px;
-}
-.ui-datetime-picker-wheel-input-active .ui-datetime-picker-wheel-container-hour .ui-spin-item,
-.ui-datetime-picker-wheel-input-active .ui-datetime-picker-wheel-container-minute .ui-spin-item {
- opacity: 0 !important;
-}
-.ui-datetime-picker-wheel-input-active .ui-datetime-picker-wheel-container-hour .ui-datetime-picker-wheel-input,
-.ui-datetime-picker-wheel-input-active .ui-datetime-picker-wheel-container-minute .ui-datetime-picker-wheel-input {
- opacity: 1;
-}
-.ui-datetime-picker-hidden {
- display: none;
-}
-.ui-chip {
- display: -webkit-inline-flex;
- display: -ms-inline-flexbox;
- display: inline-flex;
- font-family: Roboto-Regular;
- font-size: 14px;
- height: 30px;
- border-radius: 15px;
- padding: 0 0 0 16px;
- background-color: var(--chip-background-color);
- border: 0.25px solid var(--chip-border-color);
- box-sizing: border-box;
- -webkit-align-items: center;
- -ms-flex-align: center;
- align-items: center;
-}
-.ui-chip .ui-chip-text {
- text-overflow: ellipsis;
- overflow: hidden;
- white-space: nowrap;
- -webkit-order: 1;
- -ms-flex-order: 1;
- order: 1;
-}
-.ui-chip .ui-chip-button {
- -webkit-order: 2;
- -ms-flex-order: 2;
- order: 2;
-}
-.ui-chip .ui-btn.ui-btn-flat {
- -webkit-order: 2;
- -ms-flex-order: 2;
- order: 2;
- width: 20px;
- height: 20px;
- max-width: 20px;
- max-height: 20px;
- min-width: 20px;
- min-height: 20px;
- max-width: 100%;
- margin: auto 5px auto 10px;
- padding: 0;
- border-radius: 100%;
- background-color: var(--chip-btn-background-color);
- border: 0.5px solid var(--chip-btn-border-color);
- box-sizing: border-box;
-}
-.ui-chip .ui-btn.ui-btn-flat::after {
- width: 20px;
- height: 20px;
- -webkit-mask-size: 20px;
- mask-size: 20px;
-}
-.ui-chip .ui-btn.ui-btn-flat::before {
- width: 30px;
- height: 30px;
-}
-.ui-chip .ui-btn.ui-btn-flat.ui-btn-icon {
- background-color: var(--chip-btn-background-color);
-}
-.ui-chip .ui-btn.ui-btn-flat.ui-icon-add::after {
- -webkit-mask-image: url(images/3_Controllers/tw_chips_icon_add_mtrl.svg);
- mask-image: url(images/3_Controllers/tw_chips_icon_add_mtrl.svg);
-}
-.ui-chip .ui-btn.ui-btn-flat.ui-icon-delete::after {
- -webkit-mask-image: url(images/3_Controllers/tw_chips_icon_delete_mtrl.svg);
- mask-image: url(images/3_Controllers/tw_chips_icon_delete_mtrl.svg);
-}
-.ui-chips {
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- margin: 0 20px;
- row-gap: 4px;
- -webkit-column-gap: 7px;
- column-gap: 7px;
- -webkit-flex-wrap: wrap;
- -ms-flex-wrap: wrap;
- flex-wrap: wrap;
- max-height: 114px;
- overflow-y: auto;
-}
-.ui-chips .ui-chip {
- margin-top: 4px;
- max-width: 100%;
-}
-.ui-chips.ui-chips-inline {
- -webkit-flex-wrap: nowrap;
- -ms-flex-wrap: nowrap;
- flex-wrap: nowrap;
- overflow-x: scroll;
- height: 44px;
-}
-.tau-info-theme:after {
- content: "default";
-}