Namespace.Manager.Register("com.aa.i11l.utils.JSOPath");com.aa.i11l.utils.JSOPath=function(a){this.objRef=a};com.aa.i11l.utils.JSOPath.prototype.getObjectValue=function(obj){try{var value=eval(obj);if(typeof value==="undefined"){return null}else{return value}}catch(err){return null}};com.aa.i11l.utils.JSOPath.prototype.execute=function(c){var a=c.split("/");var d="";for(i=0;i<a.length;i++){d+='["'+a[i]+'"]'}var b=this.objRef+d;return this.getObjectValue(b)};Namespace.Manager.Register("com.aa.i11l.utils.jsonp");com.aa.i11l.utils.jsonp.JSONscriptRequest=function(a){this.fullUrl=a;this.noCacheIE="&noCacheIE="+(new Date()).getTime();this.headLoc=document.getElementsByTagName("head").item(0);this.scriptId="SSJscriptId"+com.aa.i11l.utils.jsonp.JSONscriptRequest.scriptCounter++};com.aa.i11l.utils.jsonp.JSONscriptRequest.scriptCounter=1;com.aa.i11l.utils.jsonp.JSONscriptRequest.idArray=[];com.aa.i11l.utils.jsonp.JSONscriptRequest.prototype.buildScriptTag=function(){this.scriptObj=document.createElement("script");this.scriptObj.setAttribute("type","text/javascript");this.scriptObj.setAttribute("src",this.fullUrl+this.noCacheIE);this.scriptObj.setAttribute("id",this.scriptId);this.scriptObj.setAttribute("charset","utf8")};com.aa.i11l.utils.jsonp.JSONscriptRequest.idArray=[];com.aa.i11l.utils.jsonp.JSONscriptRequest.prototype.removeScriptTag=function(){if(com.aa.i11l.utils.jsonp.JSONscriptRequest.idArray.length>0){var a=com.aa.i11l.utils.jsonp.JSONscriptRequest.idArray.shift();this.headLoc.removeChild(document.getElementById(a))}};com.aa.i11l.utils.jsonp.JSONscriptRequest.prototype.addScriptTag=function(){this.headLoc.appendChild(this.scriptObj);com.aa.i11l.utils.jsonp.JSONscriptRequest.idArray.push(this.scriptObj.id)};Namespace.Manager.Register("com.aa.i11l.utils.event");com.aa.i11l.utils.event.listener=function(){};com.aa.i11l.utils.event.listener.prototype.addOnLoad=function(b){if(typeof window.addEventListener!=="undefined"){window.addEventListener("load",b,false)}else{if(typeof document.addEventListener!=="undefined"){document.addEventListener("load",b,false)}else{if(typeof window.attachEvent!=="undefined"){window.attachEvent("onload",b)}else{var a=window.onload;if(typeof window.onload!=="function"){window.onload=b}else{window.onload=function(){a();b()}}}}}};com.aa.i11l.utils.event.listener.prototype.add=function(d,c,b){var a=document.getElementById(d);if(a!==null){if(typeof window.addEventListener!=="undefined"){a.addEventListener(c,b,false)}if(typeof document.addEventListener!=="undefined"){a.addEventListener(c,b,false)}else{if(typeof window.attachEvent!=="undefined"){a.attachEvent("on"+c,b)}}}};com.aa.i11l.utils.event.handler=function(){};com.aa.i11l.utils.event.handler.prototype.preventDefaultAction=function(a){if(a&&a.preventDefault){a.preventDefault()}else{if(window.event&&window.event.returnValue){window.eventReturnValue=false}}};Namespace.Manager.Register("com.aa.i11l.utils.dom");com.aa.i11l.utils.dom.actions=function(){};com.aa.i11l.utils.dom.actions.prototype.createDomRef=function(c){var a;try{a=document.getElementById(c)}catch(b){a=null;throw new Error("A fatal API exception occurred at com.aa.i11l.utils.dom.actions.prototype.createDomRef (DOM node not found at runtime)")}return a};com.aa.i11l.utils.dom.actions.prototype.createNode=function(c,a){var b=null;try{b=document.createElement(c);for(prop in a){b.setAttribute(prop,a[prop])}}catch(d){}return b};com.aa.i11l.utils.dom.actions.prototype.insertAfter=function(a,b){a.parentNode.insertBefore(b,a.nextSibling)};com.aa.i11l.utils.dom.actions.prototype.removeDomElement=function(a){el=this.createDomRef(a);if(el!==null){el.parentNode.removeChild(el)}};com.aa.i11l.utils.dom.actions.prototype.removeNodes=function(a){for(i=0;i<a.length;i++){var b=a[i].parentNode;if(b!==null){b.removeChild(a[i])}}};com.aa.i11l.utils.dom.actions.prototype.setFieldValue=function(c,a,d){var b=this.createDomRef(d);if(b){if(c===a){b.value=""}else{b.value=c}}};Namespace.Manager.Register("com.aa.i11l.utils.date");com.aa.i11l.utils.date=function(){};com.aa.i11l.utils.date.prototype.getYear=function(a,d){var b=parseInt(a,10);var f=parseInt(d,10);var e;var c=new Date();if(f<=c.getUTCMonth()+1){if(f===c.getUTCMonth()+1&&b<c.getUTCDate()){e=c.getUTCFullYear()+1}else{if(f<c.getUTCMonth()+1){e=c.getUTCFullYear()+1}else{e=c.getUTCFullYear()}}}else{e=c.getUTCFullYear()}return e};com.aa.i11l.utils.date.prototype.isItTodayInDallas=function(){var g=-6,c=new Date(),b=c.getDate(),k=new Date(c.getUTCFullYear(),c.getUTCMonth(),c.getUTCDate(),c.getUTCHours(),c.getUTCMinutes(),c.getUTCSeconds()).getTime(),h=new Date(k+(g*60*60*1000));var e,j;for(var f=0;f<7;f++){e=new Date(h.getFullYear(),2,1+f);if(e.getDay()==0){e=new Date(h.getFullYear(),2,1+f+7,1,59,59);break}}for(var f=0;f<7;f++){j=new Date(h.getFullYear(),10,1+f,1,59,59);if(j.getDay()==0){break}}if((h.getTime()>e.getTime())&&(h.getTime()<j.getTime())){g=-5;h=new Date(k+(g*60*60*1000))}l2=h.getDate();return(l2-b)};Namespace.Manager.Register("com.aa.i11l.utils.i18n");com.aa.i11l.utils.i18n.locale=function(){this.locale;this.country;this.language};com.aa.i11l.utils.i18n.locale.prototype.processLocale=function(a){this.locale=a;if(this.verifyLocale(this.locale)){var b=this.locale.split("_");this.language=b[0];this.country=b[1]}else{throw new Error("A fatal API exception occurred at com.aa.i11l.utils.i18n.locale.prototype.processLocale (Specified locale is not supported)")}};com.aa.i11l.utils.i18n.locale.prototype.verifyLocale=function(a){var c=true;try{if(typeof com.aa.i11l.app.rescources.locales[a]==="undefined"){c=false}}catch(b){c=false;throw new Error("A fatal API exception occurred at com.aa.i11l.utils.i18n.locale.prototype.verifyLocale (Object read or write error occurred at runtime)")}return c};com.aa.i11l.utils.i18n.localeUtils=function(){this.globalConfig;this.localConfig};com.aa.i11l.utils.i18n.localeUtils.prototype=new com.aa.i11l.utils.i18n.locale;com.aa.i11l.utils.i18n.localeUtils.prototype.setGlobalConfig=function(a){this.globalConfig=a};com.aa.i11l.utils.i18n.localeUtils.prototype.setLocalConfig=function(a){this.localConfig=a};com.aa.i11l.utils.i18n.localeUtils.prototype.getLocaleString=function(d){var a=null;var c=d.split(".");if(this.language==="en"){try{a=this.globalConfig[c[0]][c[1]]}catch(b){}}else{try{a=this.localConfig[this.language][c[0]][c[1]]}catch(b){}}if(typeof a==="undefined"){a=null}return a};com.aa.i11l.utils.i18n.localeUtils.prototype.getLocaleConfig=function(d,b){var c=null;var a=d.split(".");c=this.doLookup(a,b,true,this.localConfig);if(c===null){c=this.doLookup(a,b,false,this.localConfig)}if(c===null){c=this.doLookup(a,b,false,this.globalConfig)}return c};com.aa.i11l.utils.i18n.localeUtils.prototype.doLookup=function(f,e,c,b){var a=null;try{if(c){a=b[e][f[0]][f[1]]}else{a=b[f[0]][f[1]]}if(typeof a==="undefined"){a=null}}catch(d){}return a};com.aa.i11l.utils.i18n.imeHandler=function(){this.keyUpCall;this.textInput;this.pollMode;this.pollInterval=340;this.okuValue="";this.code;this.eventType};com.aa.i11l.utils.i18n.imeHandler.prototype.setPollingMode=function(a){this.pollMode=a};com.aa.i11l.utils.i18n.imeHandler.prototype.setPollInterval=function(a){this.pollInterval=a};com.aa.i11l.utils.i18n.imeHandler.prototype.doKeyDownAction=function(){if(this.textInput.value!==this.okuValue){this.okuValue=this.textInput.value;this.keyUpCall()}if(this.pollMode){var a=this;setTimeout(a.doKeyDownAction.bind(a),this.pollInterval)}};com.aa.i11l.utils.i18n.imeHandler.prototype.kill=function(){this.setPollingMode(false)};com.aa.i11l.utils.i18n.imeHandler.prototype.init=function(){this.setPollingMode(true);this.doKeyDownAction()};com.aa.i11l.utils.i18n.imeHandler.prototype.doKeyup=function(f,b){this.keyUpCall=b;var a=this;var d=new com.aa.i11l.utils.event.listener();var e=new com.aa.i11l.utils.dom.actions();try{this.textInput=e.createDomRef(f)}catch(c){}d.add(f,"keydown",a.init.bind(a));d.add(f,"keyup",a.kill.bind(a));d.add(f,"blur",a.kill.bind(a))};com.aa.i11l.utils.i18n.imeHandler.prototype.updateEventInfo=function(a){if(!a){var a=window.event}if(a.keyCode){this.code=a.keyCode}else{if(a.which){this.code=a.which}}this.eventType=a.type};AAI11L.registerImeHandler=function(a,c){var b=new com.aa.i11l.utils.i18n.imeHandler();b.doKeyup(a,c)};Namespace.Manager.Register("com.aa.i11l.utils.forms");com.aa.i11l.utils.forms.actionForm=function(){this.form;this.jsonStr};com.aa.i11l.utils.forms.actionForm.prototype.setForm=function(a){this.form=a};com.aa.i11l.utils.forms.actionForm.prototype.getJsonStr=function(){return this.jsonStr};com.aa.i11l.utils.forms.actionForm.prototype.doFormRead=function(){this.jsonStr='{ "formName": "'+this.form.name+'",';for(var e=0;e<this.form.length;e++){var d=false;var c=this.form.elements[e].type;if(c==="checkbox"||c==="radio"){if(this.form.elements[e].checked){this.jsonStr+='"'+this.form.elements[e].name+'":';this.jsonStr+='"'+this.form.elements[e].value+'"';d=true}else{if(c==="checkbox"){this.jsonStr+='"'+this.form.elements[e].name+'":';this.jsonStr+='"'+null+'"';d=true}}}else{if(c==="select-one"){var b=this.form.elements[e].selectedIndex;var a=this.form.elements[e].options[b].value;this.jsonStr+='"'+this.form.elements[e].name+'":';this.jsonStr+='"'+a+'"';d=true}else{if(c==="text"||c==="hidden"){this.jsonStr+='"'+this.form.elements[e].name+'":';this.jsonStr+='"'+this.form.elements[e].value+'"';d=true}}}if(d){this.jsonStr+=","}}if(this.jsonStr.charAt(this.jsonStr.length-1)===","){this.jsonStr=this.jsonStr.slice(0,-1)}this.jsonStr+="}"};Namespace.Manager.Register("com.aa.i11l.utils.toolkit");com.aa.i11l.utils.toolkit.objectUtils=function(){};com.aa.i11l.utils.toolkit.objectUtils.prototype.hashTableToArray=function(c){var b=0;var a=new Array();try{for(prop in c){a[b]=c[prop];b++}}catch(d){throw new Error("A fatal API exception occurred at com.aa.i11l.utils.toolkit.objectUtils.prototype.hashTableToArray (Object read or write error occurred at runtime)")}return a};com.aa.i11l.utils.toolkit.objectUtils.prototype.copyAllFields=function(b,a){try{for(prop in b){a[prop]=b[prop]}}catch(c){throw new Error("A fatal API exception occurred at com.aa.i11l.utils.toolkit.objectUtils.prototype.copyAllFields (Object read or write error occurred at runtime)")}};com.aa.i11l.utils.toolkit.objectUtils.prototype.copyCommonFields=function(b,a){try{for(prop in b){if(typeof a[prop]!=="undefined"){a[prop]=b[prop]}}}catch(c){throw new Error("A fatal API exception occurred at com.aa.i11l.utils.toolkit.objectUtils.prototype.copyCommonFields (Object read or write error occurred at runtime)")}};com.aa.i11l.utils.toolkit.objectUtils.prototype.copyField=function(d,c,b,a){try{c[a]=d[b]}catch(e){throw new Error("A fatal API exception occurred at com.aa.i11l.utils.toolkit.objectUtils.prototype.copyField (Object read or write error occurred at runtime)")}};com.aa.i11l.utils.toolkit.objectUtils.prototype.addField=function(d,a,c){try{d[a]=c}catch(b){throw new Error("A fatal API exception occurred at com.aa.i11l.utils.toolkit.objectUtils.prototype.addField (Object read or write error occurred at runtime)")}};com.aa.i11l.utils.toolkit.objectUtils.prototype.addFields=function(b,a){for(prop in b){this.addField(a,prop,b[prop])}};com.aa.i11l.utils.toolkit.objectUtils.prototype.deleteField=function(c,a){try{delete c[a]}catch(b){throw new Error("A fatal API exception occurred at com.aa.i11l.utils.toolkit.objectUtils.prototype.deleteField (Object read or write error occurred at runtime)")}};com.aa.i11l.utils.toolkit.objectUtils.prototype.returnFieldValue=function(c,b){try{return c[b]}catch(a){throw new Error("A fatal API exception occurred at com.aa.i11l.utils.toolkit.objectUtils.prototype.returnFieldValue (Object read error occurred at runtime)")}};com.aa.i11l.utils.toolkit.objectUtils.prototype.updatePropRange=function(g,e,b,d,c){var a="";for(i=e;i<b;i++){a=(d+i);try{if(typeof g[a]!=="undefined"){g[a]=c}else{throw new Error("A fatal API exception occured at com.aa.i11l.utils.toolkit.objectUtils.prototype.updatePropRange (Specified property does not exist in target object)")}}catch(f){throw new Error("A fatal API exception occured at com.aa.i11l.utils.toolkit.objectUtils.prototype.updatePropRange. (One or more required objects were not found at runtime)")}}};com.aa.i11l.utils.toolkit.objectUtils.prototype.transform=function(d,b,a){for(prop in d){var c=b+".";if(new RegExp(c).test(prop)){this.deleteField(d,prop);this.addFields(a,d)}}};com.aa.i11l.utils.toolkit.objectUtils.prototype.createObject=function(objLiteralStr){return eval("("+objLiteralStr+")")};com.aa.i11l.utils.toolkit.filter=function(a,b,c){this.filterObjRef=a;this.query=b;this.lookup=c};com.aa.i11l.utils.toolkit.filter.prototype.setFilterObjRef=function(a){this.filterObjRef=a};com.aa.i11l.utils.toolkit.filter.prototype.setQuery=function(a){this.query=a};com.aa.i11l.utils.toolkit.filter.prototype.setLookup=function(a){this.lookup=a};com.aa.i11l.utils.toolkit.filter.prototype.applyFilter=function(c,b){var a=c.toLowerCase();if(a.length>(parseInt(b,10))){for(prop in this.filterObjRef[this.query]){if(this.filterObjRef[this.query][prop]===a){a=this.filterObjRef[this.lookup][prop];break}}if(typeof a==="undefined"){throw new Error("A fatal API exception occurred at com.aa.i11l.utils.toolkit.filter.prototype.applyFilter (Lookup value was not found)");a=c}}return a};com.aa.i11l.utils.toolkit.filter.prototype.useAppContextFilter=function(d,b,c){var a;var e=application.context.getAppContext();try{for(prop in e[b]){a=e[b][prop];if(typeof d[a]!=="undefined"){d[a]=this.applyFilter(d[a],c)}}}catch(f){throw new Error("A fatal API exception occurred at com.aa.i11l.utils.toolkit.filter.prototype.useAppContextFilter (One or more required objects where not found at runtime)")}};Namespace.Manager.Register("com.aa.i11l.utils.application");Namespace.Manager.Register("application");com.aa.i11l.utils.application.applicationContext=function(){};com.aa.i11l.utils.application.applicationContext.prototype.getInitProperty=function(d){var b=null;try{var c=this.getAppContext();b=c[d]}catch(a){}if(typeof b==="undefined"||b===null){throw new Error("A fatal API exception occurred at com.aa.i11l.app.rescources (Object read error occurred at runtime)")}else{return b}};com.aa.i11l.utils.application.applicationContext.prototype.getAppContext=function(){var a=null;try{var a=com.aa.i11l.app.rescources}catch(b){}if(a===null){throw new Error("A fatal API exception occurred at com.aa.i11l.app.rescources (Object read error occurred at runtime)")}return a};application.context=new com.aa.i11l.utils.application.applicationContext();Namespace.Manager.Register("com.aa.i11l.utils.analytics");com.aa.i11l.utils.analytics.Modules=function(){this.callBackUrl="http://www.aa.com/content/images/common/wa2.gif?Log=1"};com.aa.i11l.utils.analytics.Modules.prototype.doFormRead=function(f){var c="&v_formName="+f.name;var e;var g;var a;for(var d=0;d<f.length;d++){var e=f.elements[d];var b=f.elements[d].type;if(b=="text"||b=="hidden"){if(e.name!="DIRECT_RETRIEVE_LASTNAME"){g="v_"+e.name;a=e.value;c+="&"+g+"="+a}}}this.createPassBack(c)};com.aa.i11l.utils.analytics.Modules.prototype.createPassBack=function(c){var b=new Image();var a=this.callBackUrl;b.src=a+encodeURI(c)};AAI11L.analytics=new com.aa.i11l.utils.analytics.Modules();Namespace.Manager.Register("com.aa.i11l.ui.amadeus");com.aa.i11l.ui.amadeus.connector=function(b){this.da=new com.aa.i11l.utils.dom.actions();try{this.interstitialImg=b.html.interstitialImg}catch(a){this.interstitialImg=null}try{this.locale=com.aa.i11l.app.acg.resources.lang.text.locale}catch(a){this.locale=null}this.date=new Date()};com.aa.i11l.ui.amadeus.connector.prototype.transition=function(b,c){try{if(typeof this.interstitialImg!="string"){if(typeof this.locale=="string"){this.interstitialImg="/intl/ie/apps/ACG/css/interstitial/waitpage_ap_"+this.locale+".gif"}else{this.interstitialImg="/intl/ie/apps/ACG/css/interstitial/waitpage_ap.gif"}}var f=[];var d="gen_id_"+new Date().getTime();f.push('<div id="');f.push(d);f.push('" clas="interstitialDiv" style="background-image: url(\'/content/images/thinkPage/bg.jpg\'); background-repeat: repeat-x;background-color:white;width:100%;height:100%;z-index:1000;left:0;top:0;position:fixed;overflow:hidden;_position:absolute;_top:expression(eval(document.body.scrollTop));"><!-- Generated by - com.aa.i11l.ui.amadeus.connector v1.0 - ');f.push("Build date: ");f.push(this.date);f.push(" -->");f.push('<table cellpadding="0" cellspacing="0" border="0" width="100%" align="center"><tr> <td align="center" class="aaThinkPgPlacement" style="padding-top:120px"><div style="position: relative;"><div style="position: relative; z-index: 1;"><div id="markStyleTop" style="height:119px;overflow:hidden"><img style="width:412px;height:119px;border:0" src="/content/images/thinkPage/wait_head.jpg"></div><div id="markStyleBottom"><div style="background-image: url(\'/content/images/thinkPage/wait_bg.jpg\'); width: 412px; height: 338px;">');f.push('<img border="0" alt="" src="');f.push(this.interstitialImg);f.push('">');f.push('</div></div></div><div id="imagesDiv" ><table><tr><td align="center"></td></tr></table></div>');f.push("</div>");f.push('<div style="display:none">');f.push('<form id="');f.push(b.settings.ID);f.push('-GEN" name="');f.push(b.settings.ID);f.push('" accept-charset="');f.push(b.settings.ENCODING);f.push('" action="');f.push(b.settings.DOMAIN);f.push('" method="');f.push(b.settings.METHOD);f.push('">');for(prop in b.siteOverrides){if(b.siteOverrides[prop]!==""){f.push('<input type="text" name="');f.push(prop);f.push('" value="');f.push(b.siteOverrides[prop]);f.push('">')}}for(prop in b[c]){if(b[c][prop]!==""){f.push('<input type="text" name="');f.push(prop);f.push('" value="');f.push(b[c][prop]);f.push('">')}}for(prop in b.search){if(b.search[prop]!==""){f.push('<input type="text" name="');f.push(prop);f.push('" value="');f.push(b.search[prop]);f.push('">')}}var a="";if(document.getElementById("bxInput")!==null){a=document.getElementById("bxInput").value}if(a!==""){f.push('<textarea name="SO_GL" rows="6" cols="80">');f.push('<?xml version="1.0" encoding="iso-8859-1"?>');f.push(com.aa.i11l.amadeus.eRetail.config.local.globalOverridesBX.OPEN);f.push(com.aa.i11l.amadeus.eRetail.config.local.globalOverridesBX.generic.replace(/bxExtra/,a));f.push(com.aa.i11l.amadeus.eRetail.config.local.globalOverridesBX[c]);f.push(com.aa.i11l.amadeus.eRetail.config.local.globalOverridesBX.CLOSE);f.push("</textarea>")}else{if(b.globalOverrides.OPEN!==""&&typeof b.globalOverrides.OPEN!=="undefined"){f.push('<textarea name="SO_GL" rows="6" cols="80">');f.push('<?xml version="1.0" encoding="iso-8859-1"?>');f.push(b.globalOverrides.OPEN);f.push(b.globalOverrides.generic);f.push(b.globalOverrides[c]);f.push(b.globalOverrides.CLOSE);f.push("</textarea>")}}f.push("</form>");f.push("</div>");jQuery("body").append(f.join("")).css("overflow","hidden");jQuery("#"+d).bgiframe();jQuery(".ui-widget-overlay, .ui-dialog").hide();AAI11L.analytics.doFormRead(document.forms[b.settings.ID+"-GEN"]);setTimeout("document.getElementById('"+b.settings.ID+"-GEN').submit();",1000)}catch(e){throw new Error("A fatal API exception occurred at com.aa.i11l.ui.amadeus.connector.prototype.transition - Unable to read data source")}};com.aa.i11l.ui.amadeus.connector.prototype.displayErrFlag=function(c,a){try{for(i=0;i<a;i++){if(a[i]===1){this.da.createDomRef(c[i]).style.display="block"}}}catch(b){throw new Error("A fatal API exception occurred at com.aa.i11l.ui.amadeus.connector.prototype.displayErrFlag - Read or write error ocurred at runtime")}};com.aa.i11l.ui.amadeus.connector.prototype.apiErrOut=function(c,b,a){alert(a);alert(c.toString());alert(b.toString())};com.aa.i11l.ui.amadeus.connector.prototype.errOut=function(g,d,a,b,j){try{var h=this.da.createDomRef(a);var f=this.da.createDomRef(b);var e=this.da.createDomRef(j);f.innerHTML+="<strong>"+g.errorHeader+"</strong><br />";for(i=0;i<g.valueError.length;i++){if(g.valueError[i]!==d){e.innerHTML+=g.valueError[i]+"<br />"}}h.style.display="block"}catch(c){throw new Error("A fatal API exception occurred at com.aa.i11l.ui.amadeus.connector.prototype.errOut - Read or write error ocurred at runtime")}};com.aa.i11l.ui.amadeus.connector.prototype.clearErr=function(d,b,a){try{this.da.createDomRef(d).style.display="none";this.da.createDomRef(b).innerHTML="";this.da.createDomRef(a).innerHTML=""}catch(c){throw new Error("A fatal API exception occurred at com.aa.i11l.ui.amadeus.connector.prototype.clearErr - Read or write error ocurred at runtime")}};Namespace.Manager.Register("com.aa.i11l.ui.smartUI");com.aa.i11l.ui.smartUI.behaviour=function(){this.da=new com.aa.i11l.utils.dom.actions()};com.aa.i11l.ui.smartUI.behaviour.prototype.bindSelects=function(h){var e=this.da.createDomRef(h.master);var c=this.da.createDomRef(h.slave);if(e!==null&&c!==null){var b=parseInt(e.options[e.selectedIndex].value,10);var g;var a=parseInt(h.maximum,10);if(b>a){g=0;h.command="decrement"}else{g=a-b}var f=c.selectedIndex;if(!isNaN(b)&&!isNaN(g)){var d=0;if(h.command==="equal"){d=b}else{if(h.command==="decrement"){d=g}}this.addOptions(c,h.startAtZero,d);if(f>c.options.length){f=c.options.length-1}if(h.rememberIndex){this.selectIndex(c,f)}}else{throw new Error("A fatal API exception occurred at com.aa.i11l.ui.smartUI..behaviour.prototype.bindSelects - NaN error occurred at var masterValue or at var diff")}}};com.aa.i11l.ui.smartUI.behaviour.prototype.addDropDownControl=function(){var a=new com.aa.i11l.utils.event.listener();jQuery(document).ready(function(b){jQuery(".paxitem select").change(function(j){var g=this.form,c=jQuery('[name="numberOfAdults"], [name="adultPassengerCount"]',g).attr("id"),h=jQuery('[name="numberOfChildren"], [name="childPassengerCount"]',g).attr("id"),d=jQuery('[name="numberOfInfants"]',g).attr("id"),k=new com.aa.i11l.ui.smartUI.behaviour();var l=false;if((this.id.indexOf("mc-")==0)&&(jQuery("#mcDialog").data("type")=="aadv")){l=true}if(this.id==c){if((this.name=="adultPassengerCount")||(l)){k.bindSelects({master:c,slave:h,maximum:"6",command:"decrement",startAtZero:true,rememberIndex:true})}else{k.bindSelects({master:c,slave:h,maximum:"7",command:"decrement",startAtZero:true,rememberIndex:true});if(d!=""){k.bindSelects({master:c,slave:d,maximum:"7",command:"equal",startAtZero:true,rememberIndex:false})}}}else{if(this.id==h){if((this.name=="childPassengerCount")||(l)){k.bindSelects({master:h,slave:c,maximum:"6",command:"decrement",startAtZero:false,rememberIndex:true})}else{k.bindSelects({master:h,slave:c,maximum:"7",command:"decrement",startAtZero:false,rememberIndex:true})}}}});jQuery(".paxitem select").each(function(){this.selectedIndex=0})})};com.aa.i11l.ui.smartUI.behaviour.prototype.addOptions=function(b,c,a){b.options.length=0;for(i=0;i<=a;i++){if(c){b.options[i]=new Option(i,i)}else{if(i>0){b.options[i-1]=new Option(i,i)}}}};com.aa.i11l.ui.smartUI.behaviour.prototype.addOptionsFromConfig=function(b,c,a){b.options.length=a;for(prop in c){b.options[a]=new Option(c[prop],prop);a++}};com.aa.i11l.ui.smartUI.behaviour.prototype.selectIndex=function(b,a){b.selectedIndex=a};com.aa.i11l.ui.smartUI.behaviour.prototype.enableDisable=function(c,b){try{c.disabled=b}catch(d){}if(c.childNodes&&c.childNodes.length>0){for(var a=0;a<c.childNodes.length;a++){this.enableDisable(c.childNodes[a],b)}}};com.aa.i11l.ui.smartUI.behaviour.prototype.doProgressAbort=function(b,a){this.da.createDomRef(b).style.display="inline";this.da.createDomRef(a).style.display="none"};Namespace.Manager.Register("com.aa.i11l.amadeus.eRetail.c");Namespace.Manager.Register("com.aa.i11l.registerListener");com.aa.i11l.amadeus.eRetail.c.handler=function(){};com.aa.i11l.amadeus.eRetail.c.handler.prototype.execute=function(d){var j=application.context.getInitProperty("tripFlowObject");var k=application.context.getInitProperty("uiResources");var c=com.aa.i11l.amadeus.eRetail.config.global;var g=com.aa.i11l.amadeus.eRetail.config.local;this.actionHandler=new com.aa.i11l.amadeus.eRetail.c.actionHandler();this.actionForm=new com.aa.i11l.utils.forms.actionForm();this.directInput=new com.aa.i11l.amadeus.eRetail.c.directInput();this.formatTransform=new com.aa.i11l.amadeus.eRetail.c.formatTransform();this.acUI=new com.aa.i11l.ui.amadeus.connector(k);this.da=new com.aa.i11l.utils.dom.actions();this.eventHandler=new com.aa.i11l.utils.event.handler();var b=application.context.getInitProperty("useMapping");var h=false;this.eventHandler.preventDefaultAction(d);var a=this.actionHandler.getTargetElement(d);this.actionForm.setForm(a);this.actionForm.doFormRead();this.objStr=this.actionForm.getJsonStr();this.actionObj=this.directInput.execute(this.objStr,g);this.formatTransform.calendarToDayAndMonth(this.actionObj,application.context.getInitProperty("dateLabel"),application.context.getInitProperty("dateDelimeter"),application.context.getInitProperty("dayLabel"),application.context.getInitProperty("monthLabel"),application.context.getInitProperty("dateFormat"),application.context.getInitProperty("yearPosition"));if(b){this.validation=new com.aa.i11l.amadeus.eRetail.c.validation(com.aa.i11l.mappings.actionMapping,this.actionObj.locale,com.aa.i11l.app.acg.resources.lang);h=this.validation.dataValidation(this.actionObj)}if(!h){this.acg=new com.aa.i11l.amadeus.eRetail.m.acg({g_config:c,l_config:g,action_obj:this.actionObj,search_flow:j});var f=this.acg.dispatcher();this.acUI.transition(f,this.actionObj.flowType)}else{this.acUI.apiErrOut(this.validation.getErrors(),this.validation.getErrorFlags(),a.name);return false}};com.aa.i11l.amadeus.eRetail.c.actionHandler=function(){};com.aa.i11l.amadeus.eRetail.c.actionHandler.prototype.getTargetElement=function(b){var a=null;if(typeof b.target!=="undefined"){a=b.target}else{a=b.srcElement}return a};com.aa.i11l.amadeus.eRetail.c.directInput=function(){};com.aa.i11l.amadeus.eRetail.c.directInput.prototype.execute=function(e,j){var a=new com.aa.i11l.utils.toolkit.objectUtils();var c=a.createObject(e);var g=j[c.formName];var d;if(c.direct_input==="true"){var b;var f=this.splitDirectInput(e,'"direct_input":"true"');d=a.createObject(f.stdObjStr);if(c.site_overrides==="true"){b=this.createDIObject("site_overrides","flowType_overrides",a.createObject(f.diObjStr));a.copyAllFields(b,g.siteOverrides)}if(c.flowType_overrides==="true"){b=this.createDIObject("flowType_overrides","global_overrides",a.createObject(f.diObjStr));a.copyAllFields(b,g[c.flowType])}if(c.global_overrides==="true"){b=this.createDIObject("global_overrides","settings",a.createObject(f.diObjStr));a.copyAllFields(b,g.globalOverrides)}if(c.settings==="true"){b=this.createDIObject("settings","cff",a.createObject(f.diObjStr));a.copyAllFields(b,g.settings)}if(c.cff==="true"){b=this.createDIObject("cff",null,a.createObject(f.diObjStr));a.copyAllFields(b,g.cff)}}else{if(c.direct_input==="false"){var h=this.splitDirectInput(e,'"direct_input":"false"');d=a.createObject(h.stdObjStr)}else{d=c}}return d};com.aa.i11l.amadeus.eRetail.c.directInput.prototype.splitDirectInput=function(a,c){var d=[];var b=a.split(c);if(b[0].charAt((b[0].length-1))===","){b[0]=b[0].slice(0,(b[0].length-1))}if(b[1].charAt(0)===","){b[1]=b[1].slice(1,b[1].length)}d.stdObjStr=b[0]+"}";d.diObjStr="{"+b[1];return d};com.aa.i11l.amadeus.eRetail.c.directInput.prototype.createDIObject=function(b,a,e){var d={};var c=0;for(prop in e){if(prop===b||c>0){if(prop!==a){if(prop!==b){d[prop]=e[prop]}c++}else{break}}}return d};com.aa.i11l.amadeus.eRetail.c.formatTransform=function(){this.ou=new com.aa.i11l.utils.toolkit.objectUtils()};com.aa.i11l.amadeus.eRetail.c.formatTransform.prototype.calendarToDayAndMonth=function(f,k,d,l,o,c,g){var m=1;var n="";var a=0;var h=1;if(c==="us"){h=0;a=1}if(g==="first"){h++;a++}for(prop in f){var p=k+"\\d+$";if(new RegExp(p).test(prop)){var e=f[prop];var b=e.split(d);n+='"'+o+m+'": "'+parseInt(b[h],10)+'",';n+='"'+l+m+'": "'+parseInt(b[a],10)+'",';m++}}if(n.charAt(n.length-1)===","){n=n.slice(0,-1)}var j=this.ou.createObject("{"+n+"}");this.ou.transform(f,k,j)};com.aa.i11l.amadeus.eRetail.c.validation=function(b,a,c){this.errorFound=false;this.actionMapping=b;this.langRes=c;this.errors=[];this.errorFlags=[];this.locale=new com.aa.i11l.utils.i18n.localeUtils();this.locale.processLocale(a);this.locale.setGlobalConfig(c);this.locale.setLocalConfig(c)};com.aa.i11l.amadeus.eRetail.c.validation.prototype.getErrors=function(){return this.errors};com.aa.i11l.amadeus.eRetail.c.validation.prototype.getErrorFlags=function(){return this.errorFlags};com.aa.i11l.amadeus.eRetail.c.validation.prototype.formIdFound=function(a){if(!this.actionMapping[a]){return false}else{return true}};com.aa.i11l.amadeus.eRetail.c.validation.prototype.checkData=function(l,f){var j=false;var k=0;var h=this.actionMapping[l]["names"].length;var a=this.actionMapping[l]["depend"]||[];for(prop in f){var g=this.actionMapping[l]["names"].indexOf(prop);if(g!=-1){k++;var c=a.indexOf(prop);if(c>-1){var d=f[a[c+1][0]],b=a[c+1][1],e=a[c+1][2];switch(b){case"=":if(d!=e){continue}break;case"<":if(d>=e){continue}break;case">":if(d<=e){continue}break}}var m=new RegExp(this.actionMapping[l]["values"][g]);if(!m.test(f[prop])){j=true;this.errors.push(this.locale.getLocaleString(this.actionMapping[l]["errors"][g],this.langRes));this.errorFlags.push(prop)}}}if(k!==h){throw new Error("A fatal API exception occurred at com.aa.i11l.amadeus.eRetail.c.validation.prototype.checkData (One or more mapped parameters were not found)")}return j};com.aa.i11l.amadeus.eRetail.c.validation.prototype.dataValidation=function(b){var c=b.formName;var a=this.formIdFound(c);if(a){this.errorFound=this.checkData(c,b)}else{throw new Error("A fatal API exception occurred at com.aa.i11l.amadeus.eRetail.c.validation.prototype.dataValidation (Mapping not found)");this.errorFound=true}return this.errorFound};com.aa.i11l.amadeus.eRetail.c.RegisterACGForm=function(){};com.aa.i11l.amadeus.eRetail.c.RegisterACGForm.prototype.register=function(a,b){jQuery(document).ready(function(c){jQuery('form[name="'+a+'"]').bind(b,function(f){var d=new com.aa.i11l.amadeus.eRetail.c.handler();d.execute(f)})})};Namespace.Manager.Register("com.aa.i11l.amadeus.eRetail.m");com.aa.i11l.amadeus.eRetail.m.acg=function(a){this.globalConfig=a.g_config;this.localConfig=a.l_config;this.userSearchInputObj=a.action_obj;this.orderedSearchDataObj=application.context.getInitProperty("orderedSearchObject");this.userSearchOutputObj=a.search_flow;this.flowTypeLabel="flowType";this.id="id";this.userSearchCffProp="commercialFareFamily";this.useRequestFlowType=application.context.getInitProperty("useRequestFlowType");this.applyFilter=application.context.getInitProperty("filter_activate");this.settingPartition=application.context.getInitProperty("defaultPartition");this.searchPartition=application.context.getInitProperty("searchPartition");this.ovrPartition=application.context.getInitProperty("overridePartition");this.globalOvrPartition=application.context.getInitProperty("globalOverridePartition");this.cffPartition=application.context.getInitProperty("cffPartition");this.cff};com.aa.i11l.amadeus.eRetail.m.acg.prototype.dispatcher=function(){var e=null;var b=null;if(this.useRequestFlowType){e=this.orderedSearchDataObj[this.userSearchInputObj[this.flowTypeLabel]];b=this.userSearchInputObj[this.flowTypeLabel]}else{var c=application.context.getInitProperty("defaultFlowType");e=this.orderedSearchDataObj[c];b=c}this.cff=this.userSearchInputObj.classOfService.toUpperCase()+"_CFF";var d=new com.aa.i11l.amadeus.eRetail.m.dataFormat(this.userSearchInputObj,e,this.globalConfig);if(this.applyFilter){d.ruleFilter()}d.formatSearchData();var a=new com.aa.i11l.amadeus.eRetail.m.connector({orderedSearchObj:e,cff:this.cff,cffPar:this.cffPartition,searchedCff:this.userSearchCffProp,locale:this.userSearchInputObj.locale,flow:b,id:this.id,output:this.userSearchOutputObj,settingPar:this.settingPartition,searchPar:this.searchPartition,globalConfig:this.globalConfig,localConfig:this.localConfig,par:[this.settingPartition,this.ovrPartition,this.userSearchInputObj[this.flowTypeLabel],this.globalOvrPartition]});return a.doPackage()};com.aa.i11l.amadeus.eRetail.m.dataFormat=function(b,c,a){this.inputObj=b;this.outputObj=c;this.config=a;this.originStr="origin";this.destStr="destination";this.depDateStr="departureDate";this.depDayStr="departureDay";this.depMonthStr="departureMonth";this.depYearStr="departureYear";this.depTimeStr="departureTime";this.anyDepTimeStr="anyDepartureTime";this.numAdtStr="numberOfAdults";this.numChdStr="numberOfChildren";this.numInfStr="numberOfInfants";this.tvlerTypeStr="travellerType";this.hasInfStr="hasInfant";this.flowType="flowType";this.searchType="searchType";this.displayType="displayType";this.arrangeBy="arrangeBy";this.hasInfValStr="TRUE";this.adultValStr="ADT";this.childValStr="CHD";this.objectUtils=new com.aa.i11l.utils.toolkit.objectUtils();this.dateUtils=new com.aa.i11l.utils.date()};com.aa.i11l.amadeus.eRetail.m.dataFormat.prototype.ruleFilter=function(){var a=application.context.getInitProperty("filterSettings");var b=new com.aa.i11l.utils.toolkit.filter(a.filter_obj,a.filter_rules[0],a.filter_rules[1]);b.useAppContextFilter(this.inputObj,a.filter_rules[2],a.filter_trigger)};com.aa.i11l.amadeus.eRetail.m.dataFormat.prototype.formatSearchData=function(){var b=this.getSegmentCount();this.outputObj.id=this.inputObj.formName;this.objectUtils.copyCommonFields(this.inputObj,this.outputObj);if(this.inputObj.tripType.toUpperCase()==="R"){b++;this.objectUtils.copyField(this.inputObj,this.outputObj,this.destStr+"1",this.originStr+"2");this.objectUtils.copyField(this.inputObj,this.outputObj,this.originStr+"1",this.destStr+"2")}this.updateFlexRange(b,this.getFlexRange(b));this.addYear();var a=this.setTime();this.updateDisplayType(a);this.updateArrangeBy(a);this.updateDateFields();this.updatePaxType()};com.aa.i11l.amadeus.eRetail.m.dataFormat.prototype.dateNbrFormat=function(a){if(parseInt(a,10)<10){a="0"+parseInt(a,10)}return a};com.aa.i11l.amadeus.eRetail.m.dataFormat.prototype.createDateStr=function(c,e,b,d){e=this.dateNbrFormat(e);b=this.dateNbrFormat(b);var a=(c+e+b+d);if(a.length!==12){a=""}return a};com.aa.i11l.amadeus.eRetail.m.dataFormat.prototype.setTime=function(){var a=false;var b=1;for(prop in this.inputObj){if(prop.match((this.depTimeStr+b))!==null){if(this.inputObj[this.depTimeStr+b].toUpperCase()==="ANY"){this.inputObj[this.depTimeStr+b]="0000";this.outputObj[this.anyDepTimeStr+b]="TRUE"}else{this.outputObj[this.anyDepTimeStr+b]="FALSE";a=true}b++}}return a};com.aa.i11l.amadeus.eRetail.m.dataFormat.prototype.removeUseTime=function(a){this.outputObj[this.anyDepTimeStr+a]=""};com.aa.i11l.amadeus.eRetail.m.dataFormat.prototype.addYear=function(){var c=1;var a="";var d="";var b="";for(prop in this.inputObj){if(prop.match(this.depDayStr)!==null){a=this.inputObj[this.depDateStr+c];d=this.inputObj[this.depMonthStr+c];b=this.dateUtils.getYear(a,d);this.inputObj[this.depYearStr+c]=b;c++}}};com.aa.i11l.amadeus.eRetail.m.dataFormat.prototype.updateDateFields=function(){var e=1;for(prop in this.inputObj){if(prop.match(this.depDayStr)!==null){var c=(this.depDayStr+e);var a=(this.depMonthStr+e);var b=(this.depYearStr+e);var g=(this.depTimeStr+e);var f=(this.depDateStr+e);e++;try{if(typeof this.outputObj[f]!=="undefined"){this.outputObj[f]=this.createDateStr(this.objectUtils.returnFieldValue(this.inputObj,b),this.objectUtils.returnFieldValue(this.inputObj,a),this.objectUtils.returnFieldValue(this.inputObj,c),this.objectUtils.returnFieldValue(this.inputObj,g));if(this.outputObj[f]===""){this.removeUseTime(e-1)}}}catch(d){throw new Error("A fatal API exception occurred at com.aa.i11l.amadeus.eRetail.m.dataFormat.prototype.updateDateFields (Object read or write error occurred at runtime)")}}}};com.aa.i11l.amadeus.eRetail.m.dataFormat.prototype.updatePaxType=function(){try{var a=parseInt(this.inputObj[this.numAdtStr],10);var d=parseInt(this.inputObj[this.numChdStr],10);var b=parseInt(this.inputObj[this.numInfStr],10)}catch(c){throw new Error("A fatal API exception occurred at com.aa.i11l.amadeus.eRetail.m.dataFormat.prototype.updatePaxType (Object read error occurred at runtime)")}if(!isNaN(a)&&!isNaN(d)){this.objectUtils.updatePropRange(this.outputObj,1,(a+1),this.tvlerTypeStr,this.adultValStr);this.objectUtils.updatePropRange(this.outputObj,(a+1),(a+1+d),this.tvlerTypeStr,this.childValStr);this.hasInfant(a,b)}else{throw new Error("A fatal API exception occurred at com.aa.i11l.amadeus.eRetail.m.dataFormat.prototype.updatePaxType (NaN error occurred)")}};com.aa.i11l.amadeus.eRetail.m.dataFormat.prototype.hasInfant=function(a,b){if((!isNaN(a)&&!isNaN(b))&&(a>=b)){this.objectUtils.updatePropRange(this.outputObj,1,(b+1),this.hasInfStr,this.hasInfValStr)}else{throw new Error("A fatal API exception occurred at com.aa.i11l.amadeus.eRetail.m.dataFormat.prototype.hasInfant (NaN or out of bounds error occurred)")}};com.aa.i11l.amadeus.eRetail.m.dataFormat.prototype.getSegmentCount=function(){var a=0;var b=1;for(prop in this.inputObj){if(this.inputObj.hasOwnProperty("origin"+b)&&this.inputObj["origin"+b].trim()!==""){a++}b++}return a};com.aa.i11l.amadeus.eRetail.m.dataFormat.prototype.getFlexRange=function(b){var a=parseInt(application.context.getInitProperty("flexRangeDefault"),10);if(application.context.getInitProperty("useFlexRangeOverride")){switch(b){case 1:a=application.context.getInitProperty("flexRangeOneSeg");break;case 2:a=application.context.getInitProperty("flexRangeTwoSeg");break;case 3:a=application.context.getInitProperty("flexRangeThreeSeg");break;case 4:a=application.context.getInitProperty("flexRangeFourSeg");break;case 5:a=application.context.getInitProperty("flexRangeFiveSeg");break;case 6:a=application.context.getInitProperty("flexRangeSixSeg");break}}return a};com.aa.i11l.amadeus.eRetail.m.dataFormat.prototype.updateFlexRange=function(d,a){var c=this.config[application.context.getInitProperty("flexTfdoTarget")];for(var b=0;b<d;b++){c[application.context.getInitProperty("flexNativeDateRangeParam")+(b+1)]=a;c[application.context.getInitProperty("flexNativeDisplayParam")+(b+1)]=application.context.getInitProperty("flexNativeDisplayValue")}};com.aa.i11l.amadeus.eRetail.m.dataFormat.prototype.updateDisplayType=function(a){if(this.inputObj[this.searchType]===application.context.getInitProperty("schedSearchFlag")||a){this.outputObj[this.displayType]=application.context.getInitProperty("schedSearchDisplayMode")}else{this.outputObj[this.displayType]=application.context.getInitProperty("flexSearchDisplayMode")}};com.aa.i11l.amadeus.eRetail.m.dataFormat.prototype.updateArrangeBy=function(a){if(a){this.outputObj[this.arrangeBy]=application.context.getInitProperty("timeSpecifiedSortOrder")}else{if(this.inputObj[this.flowType]===application.context.getInitProperty("ftSignatureFPMC")){this.outputObj[this.arrangeBy]=application.context.getInitProperty("MCFPDefaultSortOrder")}else{if(this.inputObj[this.flowType]===application.context.getInitProperty("ftSignatureFP")){this.outputObj[this.arrangeBy]=application.context.getInitProperty("FPDefaultSortOrder")}}}};com.aa.i11l.amadeus.eRetail.m.connector=function(a){this.init=a;this.formId=this.init.orderedSearchObj[this.init.id];this.searchDataObj=this.init.output[this.init.flow];this.toolkit=new com.aa.i11l.utils.toolkit.objectUtils();this.locale=new com.aa.i11l.amadeus.eRetail.m.locale();this.locale.processLocale(this.init.locale);this.locale.setGlobalConfig(this.init.globalConfig);this.locale.setLocalConfig(this.init.localConfig);this.locale.setDataOutputObj(this.searchDataObj)};com.aa.i11l.amadeus.eRetail.m.connector.prototype.doPackage=function(){this.searchDataObj[this.init.settingPar]["ID"]=this.formId;var c=this.locale.doCffLookup(this.init.cffPar,this.init.cff,this.formId);this.init.orderedSearchObj[this.init.searchedCff]=c;for(i=0;i<this.init.par.length;i++){this.locale.doConfigLookup(this.init.par[i],this.formId)}this.locale.setGlobalConfig(com.aa.i11l.app.acg.resources.lang);this.locale.setLocalConfig(com.aa.i11l.app.acg.resources.lang);this.updateTripFlowLang();var b=this.locale.getLocaleString("messaging.PROCESSING_MSG");this.searchDataObj[this.init.settingPar]["PROCESSING_MSG"]=b;var a=this.toolkit.hashTableToArray(this.init.orderedSearchObj);this.updateSearchData(a);return this.searchDataObj};com.aa.i11l.amadeus.eRetail.m.connector.prototype.updateSearchData=function(a){var b=0;try{for(prop in this.searchDataObj[this.init.searchPar]){this.searchDataObj[this.init.searchPar][prop]=a[b];b++}}catch(c){throw new Error("A fatal API exception occurred at com.aa.i11l.amadeus.eRetail.m.connector.prototype.updateSearchData (Object read or write error occurred at runtime)")}};com.aa.i11l.amadeus.eRetail.m.connector.prototype.updateTripFlowLang=function(){try{if(application.context.getInitProperty("useLocaleLang")){if(this.locale.language==="en"){var c=com.aa.i11l.app.acg.resources.lang.tripFlowLanguage}else{var c=com.aa.i11l.app.acg.resources.lang[this.locale.language]["tripFlowLanguage"]}var b=this.searchDataObj[application.context.getInitProperty("langTfdoTarget")];b[application.context.getInitProperty("langNativeParam")]=c}}catch(a){throw new Error("A fatal API exception occurred at com.aa.i11l.amadeus.eRetail.m.connector.prototype.updateTripFlowLang (Object read or write error occurred at runtime)")}};com.aa.i11l.amadeus.eRetail.m.locale=function(){this.dataOutputObj};com.aa.i11l.amadeus.eRetail.m.locale.prototype=new com.aa.i11l.utils.i18n.localeUtils;com.aa.i11l.amadeus.eRetail.m.locale.prototype.setDataOutputObj=function(a){this.dataOutputObj=a};com.aa.i11l.amadeus.eRetail.m.locale.prototype.doCffLookup=function(c,b,a){var e=null;try{try{e=this.localConfig[a][c][b]}catch(d){}if(typeof e==="undefined"||e===null){e=this.localConfig[c][b]}if(typeof e==="undefined"||e===null){e=this.globalConfig[c][b]}if(typeof e==="undefined"||e===null){throw new Error("A fatal API exception occurred at com.aa.i11l.amadeus.eRetail.m.locale.prototype.doCffLookup (Unable to read config property)")}}catch(d){throw new Error("A fatal API exception occurred at com.aa.i11l.amadeus.eRetail.m.locale.prototype.doCffLookup (Unable to read one or more config objects)")}return e};com.aa.i11l.amadeus.eRetail.m.locale.prototype.doConfigLookup=function(a,b){try{this.readConfig(this.globalConfig[a],a);this.readConfig(this.localConfig[a],a)}catch(c){throw new Error("A fatal API exception occurred at com.aa.i11l.amadeus.eRetail.m.locale.prototype.doConfigLookup (Unable to read one or more config objects)")}try{this.readConfig(this.localConfig[b][a],a)}catch(c){}};com.aa.i11l.amadeus.eRetail.m.locale.prototype.readConfig=function(b,a){if(typeof b!=="undefined"&&typeof this.dataOutputObj!=="undefined"){for(prop in b){this.dataOutputObj[a][prop]=b[prop]}}else{throw new Error("A fatal API exception occurred at com.aa.i11l.amadeus.eRetail.m.locale.prototype.readConfig (config read error)")}};Namespace.Manager.Register("com.aa.i11l.app");Namespace.Manager.Register("com.aa.i11l.app.acg.resources");Namespace.Manager.Register("com.aa.i11l.app.acg.resources.osdo");Namespace.Manager.Register("com.aa.i11l.app.acg.resources.tfdo");Namespace.Manager.Register("com.aa.i11l.app.acg.resources.filter");Namespace.Manager.Register("com.aa.i11l.amadeus.eRetail.config");com.aa.i11l.app.acg.resources.lang={error:{ERROR_HEADER:"The following error(s) occured",INVALID_DEP_CITY:"Please provide us with a departure city and try again.",INVALID_RET_CITY:"Please provide us with a return city and try again.",DEP_FLT_OUT_OF_RANGE:"We can only display departing flights up to 331 days from today.",RET_FLT_OUT_OF_RANGE:"We can only display flights returning within the next 331 days.",RET_TIME_BEFORE_DEP_TIME:"Your return time cannot be on or before your departure time.",SAME_DAY_FLT_NO_TIME_SPECIFIED:"For same-date return flights, please specify your flight times.",PAX_COUNT_EXCEEDS_MAX:"The maximum total number of passengers you can book online is 7.",INVALID_DEP_DATE:"Please enter a valid departure date.",INVALID_RET_DATE:"Please enter a valid return date."},messaging:{PROCESSING_MSG:"We are processing your request, please wait ..."},tripFlowLanguage:"GB",pt:{error:{ERROR_HEADER:"O seguinte erro ocorreu",INVALID_DEP_CITY:"Informe a cidade de origem e tente novamente.",INVALID_RET_CITY:"Informe a cidade de retorno e tente novamente.",DEP_FLT_OUT_OF_RANGE:"S\u00f3 podemos mostrar v\u00f4os com partida em at\u00e9 331 dias, a contar de hoje.",RET_FLT_OUT_OF_RANGE:"S\u00f3 podemos mostrar v\u00f4os de retorno nos pr\u00f3ximos 331 dias.",RET_TIME_BEFORE_DEP_TIME:"Sua hora de retorno n\u00e3o pode ser a mesma ou antes da hora de partida.",SAME_DAY_FLT_NO_TIME_SPECIFIED:"Para v\u00f4os de volta na mesma data, especifique o hor\u00e1rio de seu v\u00f4o.",PAX_COUNT_EXCEEDS_MAX:"O n\u00famero m\u00e1ximo de reservas de passageiros online \u00e9 sete."},messaging:{PROCESSING_MSG:"Estamos processando seu pedido, por favor aguarde..."},tripFlowLanguage:"BR"},ca:{error:{ERROR_HEADER:"S'han produ&#239;t els errors seg&#252;ents:",INVALID_DEP_CITY:"Introdu&#239;u una ciutat d'origen i torneu a intentar-ho.",INVALID_RET_CITY:"Introdu&#239;u una ciutat de destinaci&#243; i torneu a intentar-ho.",DEP_FLT_OUT_OF_RANGE:"Nom&#233;s podeu reservar vols que surtin en un termini m&#224;xim de 331 dies a partir d'avui.",RET_FLT_OUT_OF_RANGE:"Nom#233;s podeu reservar vols que tornin en un termini m&#224;xim de 331 dies a partir d'avui.",RET_TIME_BEFORE_DEP_TIME:"L'hora de tornada ha de ser posterior a la de sortida.",SAME_DAY_FLT_NO_TIME_SPECIFIED:"Si el vol d'anada i el de tornada s&#243;n el mateix dia, especifiqueu les hores dels vols.",PAX_COUNT_EXCEEDS_MAX:"A la nostra web nom&#233;s podeu reservar 7 passatgers com a m&#224;xim."},messaging:{PROCESSING_MSG:"Espereu un moment..."},tripFlowLanguage:"CA"},zh:{error:{ERROR_HEADER:"&#20986;&#29616;&#20197;&#19979;&#38169;&#35823;",INVALID_DEP_CITY:"&#35831;&#25552;&#20379;&#31163;&#22659;&#22478;&#24066;&#65292;&#28982;&#21518;&#20877;&#35797;&#12290;",INVALID_RET_CITY:"&#35831;&#25552;&#20379;&#22238;&#31243;&#22478;&#24066;&#65292;&#28982;&#21518;&#20877;&#35797;&#12290;",DEP_FLT_OUT_OF_RANGE:"&#25105;&#20204;&#21482;&#33021;&#26174;&#31034;&#20174;&#20170;&#22825;&#36215;&#33267;331&#22825;&#30340;&#31163;&#22659;&#33322;&#29677;&#12290;",RET_FLT_OUT_OF_RANGE:"&#25105;&#20204;&#21482;&#33021;&#26174;&#31034;&#26368;&#36817;331&#22825;&#30340;&#22238;&#31243;&#33322;&#29677;&#12290;",RET_TIME_BEFORE_DEP_TIME:"&#20320;&#30340;&#22238;&#31243;&#26102;&#38388;&#19981;&#33021;&#26089;&#20110;&#31163;&#22659;&#26102;&#38388;&#12290;",SAME_DAY_FLT_NO_TIME_SPECIFIED:"&#21363;&#26085;&#26469;&#22238;&#33322;&#29677;&#65292;&#35831;&#27880;&#26126;&#33322;&#29677;&#26102;&#21051;&#12290;",PAX_COUNT_EXCEEDS_MAX:"&#26368;&#22810;&#21482;&#33021;&#21516;&#26102;&#35746;&#36141;7&#20301;&#20056;&#23458;&#30340;&#26426;&#31080;&#12290;"},messaging:{PROCESSING_MSG:"&#25105;&#20204;&#27491;&#22312;&#22788;&#29702;&#24744;&#30340;&#30003;&#35831;&#65292;&#35831;&#31245;&#20505;..."},tripFlowLanguage:"CN"},de:{error:{ERROR_HEADER:"Folgende Fehler sind aufgetreten",INVALID_DEP_CITY:"Geben Sie bitte einen Abreiseort ein, und versuchen Sie es erneut.",INVALID_RET_CITY:"Geben Sie bitte einen Ankunftsort ein, und versuchen Sie es erneut.",DEP_FLT_OUT_OF_RANGE:"Bitte nur Fl&#252;ge angeben die sp&#228;testens 331 Tage ab heute abfliegen.",RET_FLT_OUT_OF_RANGE:"Bitte nur Fl&#252;ge angeben die sp&#228;testens 331 Tage ab heute zur&#252;ckfliegen.",RET_TIME_BEFORE_DEP_TIME:"Die R&#252;ckflugzeit muss nach der Abflugzeit stattfinden.",SAME_DAY_FLT_NO_TIME_SPECIFIED:"Bei R&#252;ckflug am selben Tag, bitte gew&#252;nschten Abflugzeiten angeben.",PAX_COUNT_EXCEEDS_MAX:"Es k&#246;nnen nicht mehr als 7 Personen online gebucht werden.",IGNORE:"NO ERROR"},messaging:{PROCESSING_MSG:"Ihre Anfrage wird bearbeitet, bitte warten..."},tripFlowLanguage:"DE"},es:{error:{ERROR_HEADER:"Ha ocurrido el error siguiente",INVALID_DEP_CITY:"Por favor introduzca una ciudad de origen e int&#233;ntelo otra vez.",INVALID_RET_CITY:"Por favor introduzca una ciudad de destino e int&#233;ntelo otra vez",DEP_FLT_OUT_OF_RANGE:"S&#243;lo mostramos vuelos con salida en un plazo de 331 d&#237;as desde hoy.",RET_FLT_OUT_OF_RANGE:"S&#243;lo mostramos vuelos de regreso en un plazo de 331 d&#237;as desde hoy.",RET_TIME_BEFORE_DEP_TIME:"Su regreso no puede ser igual o anterior a su salida.",SAME_DAY_FLT_NO_TIME_SPECIFIED:"Indique el horario de sus vuelos en reservas de ida/vuelta en el d&#237;a.",PAX_COUNT_EXCEEDS_MAX:"El n&#250;mero m&#225;ximo de pasajeros que puede reservar online es 7."},messaging:{PROCESSING_MSG:"Estamos procesando su solicitud. Espere, por favor..."},tripFlowLanguage:"ES"},fr:{error:{ERROR_HEADER:"Les erreurs suivantes se sont produites",INVALID_DEP_CITY:"Veuillez pr&#233;ciser votre ville de d&#233;part et r&#233;-essayez.",INVALID_RET_CITY:"Veuillez pr&#233;ciser votre ville de d&#233;part et r&#233;-essayez.",DEP_FLT_OUT_OF_RANGE:"R&#233;servation possible qu'&#224; partir de 331 jours en avance.",RET_FLT_OUT_OF_RANGE:"R&#233;servation du retour possible qu'&#224; partir de 331 jours en avance.",RET_TIME_BEFORE_DEP_TIME:"La date de l'aller ne doit pas &#234;tre post&#233;rieure &#224; celle du retour.",SAME_DAY_FLT_NO_TIME_SPECIFIED:"Pour un aller-retour le m&#234;me jour, veuillez pr&#233;ciser vos horaires de vol.",PAX_COUNT_EXCEEDS_MAX:"Vous ne pouvez r&#233;server que 7 personnes au maximum."},messaging:{PROCESSING_MSG:"Traitement en cours, veuillez patienter..."},tripFlowLanguage:"FR"},it:{error:{ERROR_HEADER:"Si &#138; verificato il seguente errore(i)",INVALID_DEP_CITY:"Inserire la citta' di partenza e provare di nuovo.",INVALID_RET_CITY:"Inserire la citta' di arrivo e provare di nuovo.",DEP_FLT_OUT_OF_RANGE:"Sono visualizzabili solo voli con partenza nei prossimi 331 giorni.",RET_FLT_OUT_OF_RANGE:"E' possible visualizzare solo i voli di rientro nei prossimi 331 giorni.",RET_TIME_BEFORE_DEP_TIME:"Il volo di ritorno non puo' essere prima del volo di andata",SAME_DAY_FLT_NO_TIME_SPECIFIED:"Andata e ritorno nello stesso giorno. Indicare l'ora del ritorno.",PAX_COUNT_EXCEEDS_MAX:"E' possible prenotare solo un massimo di 7 passeggeri online."},messaging:{PROCESSING_MSG:"Richiesta in fase di elaborazione, attendere prego..."},tripFlowLanguage:"IT"},ja:{error:{ERROR_HEADER:"&#27425;&#12398;&#12456;&#12521;&#12540;&#12364;&#30330;&#29983;&#12375;&#12414;&#12375;&#12383;",INVALID_DEP_CITY:"&#20986;&#30330;&#37117;&#24066;&#12434;&#20837;&#21147;&#12375;&#12390;&#20877;&#24230;&#26908;&#32034;&#12375;&#12390;&#12367;&#12384;&#12373;&#12356;&#12290;",INVALID_RET_CITY:"&#21040;&#30528;&#37117;&#24066;&#12434;&#20837;&#21147;&#12375;&#12390;&#20877;&#24230;&#26908;&#32034;&#12375;&#12390;&#12367;&#12384;&#12373;&#12356;&#12290;",DEP_FLT_OUT_OF_RANGE:"&#24489;&#36335;&#20415;&#12398;&#26085;&#26178;&#12364;&#24448;&#36335;&#20415;&#12392;&#21516;&#12376;&#12363;&#12381;&#12428;&#20197;&#21069;&#12395;&#12394;&#12387;&#12390;&#12356;&#12414;&#12377;&#12290;",RET_FLT_OUT_OF_RANGE:"&#21516;&#26085;&#20013;&#12395;&#24448;&#24489;&#12373;&#12428;&#12427;&#22580;&#21512;&#12399;&#12289;&#26178;&#21051;&#12434;&#25351;&#23450;&#12375;&#12390;&#12367;&#12384;&#12373;&#12356;&#12290;",RET_TIME_BEFORE_DEP_TIME:"&#24489;&#36335;&#20415;&#12398;&#26085;&#26178;&#12364;&#24448;&#36335;&#20415;&#12392;&#21516;&#12376;&#12363;&#12381;&#12428;&#20197;&#21069;&#12395;&#12394;&#12387;&#12390;&#12356;&#12414;&#12377;&#12290;",SAME_DAY_FLT_NO_TIME_SPECIFIED:"&#21516;&#26085;&#20013;&#12395;&#24448;&#24489;&#12373;&#12428;&#12427;&#22580;&#21512;&#12399;&#12289;&#26178;&#21051;&#12434;&#25351;&#23450;&#12375;&#12390;&#12367;&#12384;&#12373;&#12356;&#12290;",PAX_COUNT_EXCEEDS_MAX:"&#26368;&#22823;7&#21517;&#12414;&#12391;&#12398;&#20104;&#32004;&#12364;&#21487;&#33021;&#12391;&#12377;&#12290;"},messaging:{PROCESSING_MSG:"&#12522;&#12463;&#12456;&#12473;&#12488;&#12398;&#20966;&#29702;&#20013;&#12391;&#12377;&#12290;&#23569;&#12375;&#12362;&#24453;&#12385;&#12367;&#12384;&#12373;&#12356;..."},tripFlowLanguage:"JP"},ko:{error:{ERROR_HEADER:"&#45796;&#51020;&#51032; &#50724;&#47448;&#44032; &#48156;&#49373;&#54616;&#50688;&#49845;&#45768;&#45796;.",INVALID_DEP_CITY:"&#52636;&#48156;&#46020;&#49884;&#47484; &#49440;&#53469;&#54616;&#50668; &#51452;&#49901;&#49884;&#50724;.",INVALID_RET_CITY:"&#54788;&#51648;&#52636;&#48156;&#46020;&#49884;&#47484; &#49440;&#53469;&#54616;&#50668; &#51452;&#49901;&#49884;&#50724;.",DEP_FLT_OUT_OF_RANGE:"&#52636;&#48156;&#54200;&#51008; &#44552;&#51068;&#47196;&#48512;&#53552; 331&#51068; &#51060;&#45236; &#54200;&#44620;&#51648;&#47564; &#51312;&#54924;&#44032; &#44032;&#45733;&#54633;&#45768;&#45796;.",RET_FLT_OUT_OF_RANGE:"&#44480;&#44397;&#54200;&#51008; 331&#51068; &#51060;&#45236; &#54200;&#44620;&#51648;&#47564; &#51396;&#54924;&#44032; &#44032;&#45733;&#54633;&#45768;&#45796;.",RET_TIME_BEFORE_DEP_TIME:"&#44480;&#44397;&#54200;&#51008; &#48152;&#46300;&#49884; &#52636;&#48156;&#54200; &#45216;&#51676; &#51060;&#54980;&#44032; &#46104;&#50612;&#50556; &#54633;&#45768;&#45796;.",SAME_DAY_FLT_NO_TIME_SPECIFIED:"&#44057;&#51008; &#45216;&#51676;&#51032; &#44480;&#44397;&#54200;&#50640; &#45824;&#54644;&#49436;&#45716; &#49464;&#48512; &#54637;&#44277;&#54200; &#49884;&#44036;&#51012; &#51648;&#51221;&#54644; &#51452;&#49901;&#49884;&#50724;.",PAX_COUNT_EXCEEDS_MAX:"&#50728;&#46972;&#51064; &#50696;&#50557;&#51060; &#44032;&#45733;&#54620; &#52572;&#45824; &#51064;&#50896;&#51008; 7&#47749;&#51077;&#45768;&#45796;.",PRIVACY_NOT_CHECKED:"&#50500;&#47700;&#47532;&#52856; &#54637;&#44277;&#51032; &#44060;&#51064;&#51221;&#48372;&#48372;&#54840;&#51221;&#52293;&#44284; &#49324;&#51060;&#53944; &#51060;&#50857;&#50557;&#44288;&#51012; &#48152;&#46300;&#49884; &#54869;&#51064;&#54616;&#49884;&#44256;,&#46041;&#51032;&#54616;&#49884;&#45716; &#44221;&#50864; &#52404;&#53356;&#48149;&#49828;&#47484; &#53364;&#47533;&#54644; &#51452;&#49884;&#44592; &#48148;&#46989;&#45768;&#45796;."},messaging:{PROCESSING_MSG:"&#50836;&#52397;&#51012; &#52376;&#47532;&#54616;&#45716; &#51473;&#51077;&#45768;&#45796;. &#44592;&#45796;&#47140; &#51452;&#49901;&#49884;&#50724;..."},tripFlowLanguage:"KO"},nl:{error:{ERROR_HEADER:"De volgende fout(en) heeft (hebben) zich voorgedaan",INVALID_DEP_CITY:"Geef een vertrekstad op en probeer het opnieuw.",INVALID_RET_CITY:"Geef een retourstad op en probeer het opnieuw.",DEP_FLT_OUT_OF_RANGE:"Wij kunnen enkel vluchten tonen voor de volgende 331 dagen.",RET_FLT_OUT_OF_RANGE:"Wij kunnen enkel retourvluchten tonen voor de volgende 331 dagen.",RET_TIME_BEFORE_DEP_TIME:"Uw kunt niet terugkeren v&#243;&#243;r of op het tijdstip van uw vertrek.",SAME_DAY_FLT_NO_TIME_SPECIFIED:"Gelieve voor retourvluchten op dezelfde datum uw vluchttijden op te geven",PAX_COUNT_EXCEEDS_MAX:"U kunt online maximaal 7 passagiers tegelijk boeken."},messaging:{PROCESSING_MSG:"Even geduld ..."},tripFlowLanguage:"NL"},ru:{error:{ERROR_HEADER:"&#1055;&#1088;&#1086;&#1080;&#1079;&#1086;&#1096;&#1083;&#1080; &#1089;&#1083;&#1077;&#1076;&#1091;&#1102;&#1097;&#1080;&#1077; &#1086;&#1096;&#1080;&#1073;&#1082;&#1080;",INVALID_DEP_CITY:"&#1059;&#1082;&#1072;&#1078;&#1080;&#1090;&#1077; &#1075;&#1086;&#1088;&#1086;&#1076; &#1086;&#1090;&#1087;&#1088;&#1072;&#1074;&#1083;&#1077;&#1085;&#1080;&#1103; &#1080; &#1087;&#1086;&#1074;&#1090;&#1086;&#1088;&#1080;&#1090;&#1077; &#1087;&#1086;&#1087;&#1099;&#1090;&#1082;&#1091;.",INVALID_RET_CITY:"&#1059;&#1082;&#1072;&#1078;&#1080;&#1090;&#1077; &#1075;&#1086;&#1088;&#1086;&#1076; &#1074;&#1086;&#1079;&#1074;&#1088;&#1072;&#1097;&#1077;&#1085;&#1080;&#1103; &#1080; &#1087;&#1086;&#1074;&#1090;&#1086;&#1088;&#1080;&#1090;&#1077; &#1087;&#1086;&#1087;&#1099;&#1090;&#1082;&#1091;.",DEP_FLT_OUT_OF_RANGE:"&#1054;&#1090;&#1087;&#1088;&#1072;&#1074;&#1083;&#1077;&#1085;&#1080;&#1077; &#1088;&#1077;&#1081;&#1089;&#1086;&#1074; &#1084;&#1086;&#1078;&#1077;&#1090; &#1073;&#1099;&#1090;&#1100; &#1086;&#1090;&#1086;&#1073;&#1088;&#1072;&#1078;&#1077;&#1085;&#1086; &#1090;&#1086;&#1083;&#1100;&#1082;&#1086; &#1079;&#1072; &#1087;&#1077;&#1088;&#1080;&#1086;&#1076; &#1076;&#1086; 331 &#1076;&#1085;&#1103; &#1089; &#1089;&#1077;&#1075;&#1086;&#1076;&#1085;&#1103;&#1096;&#1085;&#1077;&#1081; &#1076;&#1072;&#1090;&#1099;",RET_FLT_OUT_OF_RANGE:"&#1054;&#1073;&#1088;&#1072;&#1090;&#1085;&#1099;&#1077; &#1088;&#1077;&#1081;&#1089;&#1099; &#1084;&#1086;&#1075;&#1091;&#1090; &#1073;&#1099;&#1090;&#1100; &#1086;&#1090;&#1086;&#1073;&#1088;&#1072;&#1078;&#1077;&#1085;&#1099; &#1090;&#1086;&#1083;&#1100;&#1082;&#1086; &#1079;&#1072; &#1089;&#1083;&#1077;&#1076;&#1091;&#1102;&#1097;&#1080;&#1077; 331 &#1076;&#1077;&#1085;&#1100;.",RET_TIME_BEFORE_DEP_TIME:"&#1042;&#1088;&#1077;&#1084;&#1103; &#1074;&#1086;&#1079;&#1074;&#1088;&#1072;&#1097;&#1077;&#1085;&#1080;&#1103; &#1085;&#1077; &#1084;&#1086;&#1078;&#1077;&#1090; &#1089;&#1086;&#1074;&#1087;&#1072;&#1076;&#1072;&#1090;&#1100; &#1080;&#1083;&#1080; &#1087;&#1088;&#1077;&#1076;&#1096;&#1077;&#1089;&#1090;&#1074;&#1086;&#1074;&#1072;&#1090;&#1100; &#1074;&#1088;&#1077;&#1084;&#1077;&#1085;&#1080; &#1086;&#1090;&#1087;&#1088;&#1072;&#1074;&#1083;&#1077;&#1085;&#1080;&#1103;.",SAME_DAY_FLT_NO_TIME_SPECIFIED:"&#1044;&#1083;&#1103; &#1088;&#1077;&#1081;&#1089;&#1086;&#1074; &#1074; &#1086;&#1073;&#1072; &#1082;&#1086;&#1085;&#1094;&#1072; &#1074; &#1086;&#1076;&#1080;&#1085; &#1076;&#1077;&#1085;&#1100; &#1091;&#1082;&#1072;&#1078;&#1080;&#1090;&#1077; &#1074;&#1088;&#1077;&#1084;&#1103; &#1074;&#1099;&#1083;&#1077;&#1090;&#1072; &#1080; &#1074;&#1086;&#1079;&#1074;&#1088;&#1072;&#1097;&#1077;&#1085;&#1080;&#1103;.",PAX_COUNT_EXCEEDS_MAX:"&#1050;&#1086;&#1083;&#1080;&#1095;&#1077;&#1089;&#1090;&#1074;&#1086; &#1087;&#1072;&#1089;&#1089;&#1072;&#1078;&#1080;&#1088;&#1086;&#1074; &#1074; &#1086;&#1076;&#1085;&#1086;&#1084; &#1079;&#1072;&#1082;&#1072;&#1079;&#1077; &#1085;&#1077; &#1084;&#1086;&#1078;&#1077;&#1090; &#1087;&#1088;&#1077;&#1074;&#1099;&#1096;&#1072;&#1090;&#1100; 7."},messaging:{PROCESSING_MSG:"&#1042;&#1072;&#1096; &#1079;&#1072;&#1087;&#1088;&#1086;&#1089; &#1086;&#1073;&#1088;&#1072;&#1073;&#1072;&#1090;&#1099;&#1074;&#1072;&#1077;&#1090;&#1089;&#1103;. &#1055;&#1086;&#1076;&#1086;&#1078;&#1076;&#1080;&#1090;&#1077;..."},tripFlowLanguage:"RU"},hu:{error:{ERROR_HEADER:"The following error(s) occured",INVALID_DEP_CITY:"Please provide us with a departure city and try again.",INVALID_RET_CITY:"Please provide us with a return city and try again.",DEP_FLT_OUT_OF_RANGE:"We can only display departing flights up to 331 days from today.",RET_FLT_OUT_OF_RANGE:"We can only display flights returning within the next 331 days.",RET_TIME_BEFORE_DEP_TIME:"Your return time cannot be on or before your departure time.",SAME_DAY_FLT_NO_TIME_SPECIFIED:"For same-date return flights, please specify your flight times.",PAX_COUNT_EXCEEDS_MAX:"The maximum total number of passengers you can book online is 7.",INVALID_DEP_DATE:"Please enter a valid departure date.",INVALID_RET_DATE:"Please enter a valid return date."},messaging:{PROCESSING_MSG:"K&#233;r&#233;se feldolgoz&#225;s alatt van, k&#233;rj&#252;k, v&#225;rjon..."},tripFlowLanguage:"HU"},fi:{error:{ERROR_HEADER:"The following error(s) occured",INVALID_DEP_CITY:"Please provide us with a departure city and try again.",INVALID_RET_CITY:"Please provide us with a return city and try again.",DEP_FLT_OUT_OF_RANGE:"We can only display departing flights up to 331 days from today.",RET_FLT_OUT_OF_RANGE:"We can only display flights returning within the next 331 days.",RET_TIME_BEFORE_DEP_TIME:"Your return time cannot be on or before your departure time.",SAME_DAY_FLT_NO_TIME_SPECIFIED:"For same-date return flights, please specify your flight times.",PAX_COUNT_EXCEEDS_MAX:"The maximum total number of passengers you can book online is 7.",INVALID_DEP_DATE:"Please enter a valid departure date.",INVALID_RET_DATE:"Please enter a valid return date."},messaging:{PROCESSING_MSG:"K&#228;sittelemme pyynt&#246;&#228;si. Ole hyv&#228; ja odota..."},tripFlowLanguage:"FI"}};com.aa.i11l.app.acg.resources.ui={html:{splashHeader:'<div style="border: 1px solid #EEF2FB; margin-left: 26%;margin-right: 26%; margin-top: 20%; margin-bottom: 20%; width: 454px; height: 100px;"><div style="height: 23px;"></div><div style="float: left; padding-top: 5px; background-color: #EEF2FB;width: 30px; height: 25px;"></div><div style="float: left; padding-top: 5px; border-right: 2px solid #EEF2FB;background-color: #EEF2FB; width: 422px; height: 25px; color: #666666;font: bold 8pt arial, verdana, helvetica;">',splashFooter:'</div><div height="1" style="clear:both;background-color: #EEF2FB; line-height: 1px;"></div><div style="float: left; background-color: #EEF2FB; width: 30px;height: 25px;"> </div><div style="float: left; border-right: 2px solid #EEF2FB;background-color: #EEF2FB; width: 422px; height: 25px;"><img src="/content/images/be/modules/common/progress.gif" width="322"height="13" border="0"></div><div style="clear:both; background-color: #FFFFFF; height: 22px;"></div></div>'}};com.aa.i11l.app.acg.resources.errors={errorHeader:"",apiError:[],valueError:[],errorFlag:[]};com.aa.i11l.app.acg.resources.osdo.flexPricerAllFlows={origin1:"",destination1:"",origin2:"",destination2:"",origin3:"",destination3:"",origin4:"",destination4:"",origin5:"",destination5:"",origin6:"",destination6:"",departureDate1:"",anyDepartureTime1:"",departureDate2:"",anyDepartureTime2:"",departureDate3:"",anyDepartureTime3:"",departureDate4:"",anyDepartureTime4:"",departureDate5:"",anyDepartureTime5:"",departureDate6:"",anyDepartureTime6:"",tripType:"",commercialFareFamily:"",travellerType1:"",travellerType2:"",travellerType3:"",travellerType4:"",travellerType5:"",travellerType6:"",travellerType7:"",hasInfant1:"",hasInfant2:"",hasInfant3:"",hasInfant4:"",hasInfant5:"",hasInfant6:"",hasInfant7:"",displayType:"",arrangeBy:"",id:"",flowType:""};com.aa.i11l.app.acg.resources.tfdo.flexPricerAllFlows={settings:{},siteOverrides:{},flexPricer:{},flexPricerMultiCity:{},search:{B_LOCATION_1:"",E_LOCATION_1:"",B_LOCATION_2:"",E_LOCATION_2:"",B_LOCATION_3:"",E_LOCATION_3:"",B_LOCATION_4:"",E_LOCATION_4:"",B_LOCATION_5:"",E_LOCATION_5:"",B_LOCATION_6:"",E_LOCATION_6:"",B_DATE_1:"",B_ANY_TIME_1:"",B_DATE_2:"",B_ANY_TIME_2:"",B_DATE_3:"",B_ANY_TIME_3:"",B_DATE_4:"",B_ANY_TIME_4:"",B_DATE_5:"",B_ANY_TIME_5:"",B_DATE_6:"",B_ANY_TIME_6:"",TRIP_TYPE:"",COMMERCIAL_FARE_FAMILY_1:"",TRAVELLER_TYPE_1:"",TRAVELLER_TYPE_2:"",TRAVELLER_TYPE_3:"",TRAVELLER_TYPE_4:"",TRAVELLER_TYPE_5:"",TRAVELLER_TYPE_6:"",TRAVELLER_TYPE_7:"",HAS_INFANT_1:"",HAS_INFANT_2:"",HAS_INFANT_3:"",HAS_INFANT_4:"",HAS_INFANT_5:"",HAS_INFANT_6:"",HAS_INFANT_7:"",DISPLAY_TYPE:"",ARRANGE_BY:""},globalOverrides:{}};com.aa.i11l.app.acg.resources.filter.stateToCityFilter={stateTable:{stcId1:"florida",stcId2:"colorado",stcId3:"california"},cityTable:{stcId1:"MIA",stcId2:"DEN",stcId3:"LAX"}};com.aa.i11l.app.rescources={locales:{en_AU:"en_AU",en_BE:"en_BE",fr_BE:"fr_BE",nl_BE:"nl_BE",pt_BR:"pt_BR",en_CH:"en_CH",de_CH:"de_CH",fr_CH:"fr_CH",en_CN:"en_CN",zh_CN:"zh_CN",en_DE:"en_DE",de_DE:"de_DE",en_DK:"en_DK",en_ES:"en_ES",es_ES:"es_ES",ca_ES:"ca_ES",en_FI:"en_FI",fi_FI:"fi_FI",en_FR:"en_FR",fr_FR:"fr_FR",en_HK:"en_HK",en_HU:"en_HU",hu_HU:"hu_HU",en_IE:"en_IE",en_IL:"en_IL",en_IN:"en_IN",en_IT:"en_IT",it_IT:"it_IT",en_JP:"en_JP",ja_JP:"ja_JP",en_KR:"en_KR",ko_KR:"ko_KR",en_NL:"en_NL",nl_NL:"nl_NL",en_NO:"en_NO",en_NZ:"en_NZ",en_RU:"en_RU",ru_RU:"ru_RU",en_SE:"en_SE"},useRequestFlowType:false,defaultFlowType:"flexPricerAllFlows",orderedSearchObject:com.aa.i11l.app.acg.resources.osdo,tripFlowObject:com.aa.i11l.app.acg.resources.tfdo,uiResources:com.aa.i11l.app.acg.resources.ui,defaultPartition:"settings",searchPartition:"search",overridePartition:"siteOverrides",globalOverridePartition:"globalOverrides",cffPartition:"cff",useMapping:true,dateLabel:"date",dateDelimeter:"/",dayLabel:"departureDay",monthLabel:"departureMonth",dateFormat:"default",yearPosition:"last",filter_activate:true,filterSettings:{filter_obj:com.aa.i11l.app.acg.resources.filter.stateToCityFilter,filter_rules:["stateTable","cityTable","stcFilterOnFields"],filter_trigger:3},stcFilterOnFields:{param1:"origin1",param2:"destination1",param3:"origin2",param4:"destination2",param5:"origin3",param6:"destination3",param7:"origin4",param8:"destination4",param9:"origin5",param10:"destination5",param11:"origin6",param12:"destination6"},useFlexRangeOverride:true,flexRangeDefault:"3",flexRangeOneSeg:"3",flexRangeTwoSeg:"3",flexRangeThreeSeg:"2",flexRangeFourSeg:"1",flexRangeFiveSeg:"0",flexRangeSixSeg:"0",flexTfdoTarget:"siteOverrides",flexNativeDateRangeParam:"DATE_RANGE_VALUE_",flexNativeDisplayParam:"DATE_RANGE_QUALIFIER_",flexNativeDisplayValue:"C",schedSearchFlag:"schedSearch",schedSearchDisplayMode:"2",flexSearchDisplayMode:"1",ftSignatureFP:"flexPricer",ftSignatureFPMC:"flexPricerMultiCity",MCFPDefaultSortOrder:"E",FPDefaultSortOrder:"N",timeSpecifiedSortOrder:"D",useLocaleLang:true,langNativeParam:"LANGUAGE",langTfdoTarget:"siteOverrides"};
