var R;!function(R){R[R.PROVIDER_PAGE=0]="PROVIDER_PAGE",R[R.MID_MARKET_RATE=1]="MID_MARKET_RATE",R[R.COMPARISON_DISCLAIMER=2]="COMPARISON_DISCLAIMER"}(R||(R={}));const E=["AE","FI","NO"],A={[R.MID_MARKET_RATE]:["CH","HK","TR"],[R.PROVIDER_PAGE]:E,[R.COMPARISON_DISCLAIMER]:E},I=["AE","AU","BG","BR","CA","CH","CZ","DE","ES","FI","FR","GB","HK","HU","IE","IN","IT","JP","MY","NL","NO","NZ","PL","PT","RO","RU","SE","SG","SK","TR","US","zh-CN","zh-HK"],C=["zh-CN","zh-HK"],M=(R,E,C)=>{if(!R)return`/gb/${E}`;const M=O(R);return((R,E)=>E.includes(R))(M,(R=>I.filter(E=>!A[R].includes(E)))(C))?`/${M.toLowerCase()}/${E}`:`/gb/${E}`},O=R=>C.includes(R)?R:R.slice(-2);export{R as A,M as g};
//# sourceMappingURL=generateUrl-b8d050bb.js.map
