Costa Rica Vacations: 2021 Vacation Packages & Deals


Costa Rica Vacations: 2021 Vacation Packages & Deals | Travelocity=c)for(;c>0,”object”==typeof n[e]?n[e].baseVal=o.join(” “):n[e]=o.join(” “),l())},r.remove=function(){u.apply(r,t=arguments);for(var t,c={},f=0,g=[];f>0,”object”==typeof n[e]?n[e].baseVal=o.join(” “):n[e]=o.join(” “),l()},r.toggle=function(n,t){return u.apply(r,[n]),undefined!==t?t?(r.add(n),!0):(r.remove(n),!1):i[n]?(r.remove(n),!1):(r.add(n),!0)},r}}();function ArrayCreate(r){if(1/r==-Infinity&&(r=0),r>Math.pow(2,32)-1)throw new RangeError(“Invalid array length”);var n=[];return n.length=r,n}function Call(t,l){var n=arguments.length>2?arguments[2]:[];if(!1===IsCallable(t))throw new TypeError(Object.prototype.toString.call(t)+”is not a function.”);return t.apply(l,n)}function CreateDataProperty(e,r,t){var a={value:t,writable:!0,enumerable:!0,configurable:!0};try{return Object.defineProperty(e,r,a),!0}catch(n){return!1}}function CreateDataPropertyOrThrow(t,r,o){var e=CreateDataProperty(t,r,o);if(!e)throw new TypeError(“Cannot assign value `”+Object.prototype.toString.call(o)+”` to property `”+Object.prototype.toString.call(r)+”` on object `”+Object.prototype.toString.call(t)+”`”);return e}function CreateMethodProperty(e,r,t){var a={value:t,writable:!0,enumerable:!1,configurable:!0};Object.defineProperty(e,r,a)}function Get(n,t){return n[t]}function HasOwnProperty(r,t){return Object.prototype.hasOwnProperty.call(r,t)}function HasProperty(n,r){return r in n}function IsArray(r){return”[object Array]”===Object.prototype.toString.call(r)}function IsCallable(n){return”function”==typeof n}function RequireObjectCoercible(e){if(null===e||e===undefined)throw TypeError(Object.prototype.toString.call(e)+” is not coercible to Object.”);return e}function SameValueNonNumber(e,n){return e===n}function ToBoolean(o){return Boolean(o)}function ToInteger(n){var i=Number(n);return isNaN(i)?0:1/i===Infinity||1/i==-Infinity||i===Infinity||i===-Infinity?i:(i<0?-1:1)*Math.floor(Math.abs(i))}function ToLength(n){var t=ToInteger(n);return t>>0}function Type(e){switch(typeof e){case”undefined”:return”undefined”;case”boolean”:return”boolean”;case”number”:return”number”;case”string”:return”string”;case”symbol”:return”symbol”;default:return null===e?”null”:”Symbol”in self&&(e instanceof self.Symbol||e.constructor===self.Symbol)?”symbol”:”object”}}function CreateIterResultObject(e,r){if(“boolean”!==Type(r))throw new Error;var t={};return CreateDataProperty(t,”value”,e),CreateDataProperty(t,”done”,r),t}function GetPrototypeFromConstructor(t,o){var r=Get(t,”prototype”);return”object”!==Type(r)&&(r=o),r}function OrdinaryCreateFromConstructor(r,e){var t=arguments[2]||{},o=GetPrototypeFromConstructor(r,e),a=Object.create(o);for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&Object.defineProperty(a,n,{configurable:!0,enumerable:!1,writable:!0,value:t[n]});return a}function IsConstructor(t){return”object”===Type(t)&&(“function”==typeof t&&!!t.prototype)}function Construct(r){var t=arguments.length>2?arguments[2]:r,o=arguments.length>1?arguments[1]:[];if(!IsConstructor(r))throw new TypeError(“F must be a constructor.”);if(!IsConstructor(t))throw new TypeError(“newTarget must be a constructor.”);if(t===r)return new(Function.prototype.bind.apply(r,[null].concat(o)));var n=OrdinaryCreateFromConstructor(t,Object.prototype);return Call(r,n,o)}function IsRegExp(e){if(“object”!==Type(e))return!1;var n=”Symbol”in self&&”match”in self.Symbol?Get(e,self.Symbol.match):undefined;if(n!==undefined)return ToBoolean(n);try{var t=e.lastIndex;return e.lastIndex=0,RegExp.prototype.exec.call(e),!0}catch(l){}finally{e.lastIndex=t}return!1}function IteratorClose(r,t){if(“object”!==Type(r[“[[Iterator]]”]))throw new Error(Object.prototype.toString.call(r[“[[Iterator]]”])+”is not an Object.”);var e=r[“[[Iterator]]”],o=GetMethod(e,”return”);if(o===undefined)return t;try{var n=Call(o,e)}catch(c){var a=c}if(t)return t;if(a)throw a;if(“object”!==Type(n))throw new TypeError(“Iterator’s return method returned a non-object.”);return t}function IteratorComplete(t){if(“object”!==Type(t))throw new Error(Object.prototype.toString.call(t)+”is not an Object.”);return ToBoolean(Get(t,”done”))}function IteratorNext(t){if(arguments.length<2)var e=Call(t["[[NextMethod]]"],t["[[Iterator]]"]);else e=Call(t["[[NextMethod]]"],t["[[Iterator]]"],[arguments[1]]);if("object"!==Type(e))throw new TypeError("bad iterator");return e}function IteratorStep(t){var r=IteratorNext(t);return!0!==IteratorComplete(r)&&r}function IteratorValue(t){if("object"!==Type(t))throw new Error(Object.prototype.toString.call(t)+"is not an Object.");return Get(t,"value")}function OrdinaryToPrimitive(r,t){if("string"===t)var e=["toString","valueOf"];else e=["valueOf","toString"];for(var i=0;i1?arguments[1]:undefined;if("object"===Type(e)){if(arguments.length<2)var i="default";else t===String?i="string":t===Number&&(i="number");var r="function"==typeof self.Symbol&&"symbol"==typeof self.Symbol.toPrimitive?GetMethod(e,self.Symbol.toPrimitive):undefined;if(r!==undefined){var n=Call(r,e,[i]);if("object"!==Type(n))return n;throw new TypeError("Cannot convert exotic object to primitive.")}return"default"===i&&(i="number"),OrdinaryToPrimitive(e,i)}return e}function ToString(t){switch(Type(t)){case"symbol":throw new TypeError("Cannot convert a Symbol value to a string");case"object":return ToString(ToPrimitive(t,String));default:return String(t)}}function ToPropertyKey(r){var i=ToPrimitive(r,String);return"symbol"===Type(i)?i:ToString(i)}function TrimString(e,u){var r=RequireObjectCoercible(e),t=ToString(r),n=/[x09x0Ax0Bx0Cx0Dx20xA0u1680u2000u2001u2002u2003u2004u2005u2006u2007u2008u2009u200Au202Fu205Fu3000u2028u2029uFEFF]+/.source;if("start"===u)var p=String.prototype.replace.call(t,new RegExp("^"+n,"g"),"");else p="end"===u?String.prototype.replace.call(t,new RegExp(n+"$","g"),""):String.prototype.replace.call(t,new RegExp("^"+n+"|"+n+"$","g"),"");return p}function UTF16Decode(e,n){return 1024*(e-55296)+(n-56320)+65536}var _mutation=function(){function e(e){return"function"==typeof Node?e instanceof Node:e&&"object"==typeof e&&e.nodeName&&e.nodeType>=1&&e.nodeType<=12}return function n(t){if(1===t.length)return e(t[0])?t[0]:document.createTextNode(t[0]+"");for(var o=document.createDocumentFragment(),r=0;r>0}function f(t){return t>>>0}function u(e){if(!(“TYPED_ARRAY_POLYFILL_NO_ARRAY_ACCESSORS”in t)){if(e.length>N)throw RangeError(“Array too large for polyfill”);var r;for(r=0;rr}function h(t,e){var r=32-e;return t<>>r}function y(t){return[255&t]}function s(t){return a(t[0],8)}function l(t){return[255&t]}function p(t){return h(t[0],8)}function c(t){return t=x(Number(t)),[t<0?0:t>255?255:255&t]}function b(t){return[255&t,t>>8&255]}function g(t){return a(t[1]>8&255]}function v(t){return h(t[1]>8&255,t>>16&255,t>>24&255]}function O(t){return a(t[3]<<24|t[2]<<16|t[1]>8&255,t>>16&255,t>>24&255]}function j(t){return h(t[3]<<24|t[2]<<16|t[1]<<8|t[0],32)}function P(t,e,r){function n(t){var e=m(t),r=t-e;return r.5?e+1:e%2?e+1:e}var o,i,f,u=(1<=2&&(i+=1,a/=2);var h=F(2,r);f=n(a*h)-h,i+=u,f/h>=1&&(i+=1,f=0),i>2*u&&(i=(1<=1;return s.reverse(),f=s.join(“”),u=(1<t.byteLength)throw RangeError(“byteOffset out of range”);if(e%this.BYTES_PER_ELEMENT)throw RangeError(“buffer length minus the byteOffset is not a multiple of the element size.”);if(r===B){var n=t.byteLength-e;if(n%this.BYTES_PER_ELEMENT)throw RangeError(“length of buffer minus byteOffset not a multiple of the element size”);r=n/this.BYTES_PER_ELEMENT}else r=f(r),n=r*this.BYTES_PER_ELEMENT;if(e+n>t.byteLength)throw RangeError(“byteOffset and length reference an area beyond the end of the buffer”);Object.defineProperty(this,”buffer”,{value:t}),Object.defineProperty(this,”byteLength”,{value:n}),Object.defineProperty(this,”byteOffset”,{value:e}),Object.defineProperty(this,”length”,{value:r})}.apply(this,arguments);throw TypeError()}function P(t,e,r){var n=function(){Object.defineProperty(this,”constructor”,{value:n}),h.apply(this,arguments),u(this)};”__proto__”in n?n.__proto__=h:(n.from=h.from,n.of=h.of),n.BYTES_PER_ELEMENT=t;var o=function(){};return o.prototype=T,n.prototype=new o,Object.defineProperty(n.prototype,”BYTES_PER_ELEMENT”,{value:t}),Object.defineProperty(n.prototype,”_pack”,{value:e}),Object.defineProperty(n.prototype,”_unpack”,{value:r}),n}t.ArrayBuffer=t.ArrayBuffer||a,Object.defineProperty(h,”from”,{value:function(t){return new this(t)}}),Object.defineProperty(h,”of”,{value:function(){return new this(arguments)}});var T={};h.prototype=T,Object.defineProperty(h.prototype,”_getter”,{value:function(t){if(arguments.length<1)throw SyntaxError("Not enough arguments");if((t=f(t))>=this.length)return B;var e,r,n=[];for(e=0,r=this.byteOffset+t*this.BYTES_PER_ELEMENT;e=this.length)){var r,n,o=this._pack(e);for(r=0,n=this.byteOffset+t*this.BYTES_PER_ELEMENT;r1?arguments[1]:B,a=0;a0||-1)*m(M(n)))),n>=r)return-1;for(var o=n>=0?n:U(r-M(n),0);o0||-1)*m(M(n))));for(var o=n>=0?Y(n,r-1):r-M(n);o>=0;o–)if(e._getter(o)===t)return o;return-1}}),Object.defineProperty(h.prototype,”map”,{value:function(t){if(this===B||null===this)throw TypeError();var e=Object(this),r=f(e.length);if(!n(t))throw TypeError();var o=[];o.length=r;for(var i=arguments[1],u=0;u=2?arguments[1]:e._getter(i++);i=2?arguments[1]:e._getter(i–);i>=0;)o=t.call(B,o,e._getter(i),i,e),i–;return o}}),Object.defineProperty(h.prototype,”reverse”,{value:function(){if(this===B||null===this)throw TypeError();for(var t=Object(this),e=f(t.length),r=m(e/2),n=0,o=e-1;nthis.length)throw RangeError(“Offset plus length of array is out of range”);if(y=this.byteOffset+o*this.BYTES_PER_ELEMENT,s=r.length*this.BYTES_PER_ELEMENT,r.buffer===this.buffer){for(l=[],u=0,a=r.byteOffset;ut.byteLength)throw RangeError(“byteOffset out of range”);if(n=n===B?t.byteLength-e:f(n),e+n>t.byteLength)throw RangeError(“byteOffset and length reference an area beyond the end of the buffer”);Object.defineProperty(this,”buffer”,{value:t}),Object.defineProperty(this,”byteLength”,{value:n}),Object.defineProperty(this,”byteOffset”,{value:e})}function i(t){return function r(n,o){if((n=f(n))+t.BYTES_PER_ELEMENT>this.byteLength)throw RangeError(“Array index out of range”);n+=this.byteOffset;for(var i=new Uint8Array(this.buffer,n,t.BYTES_PER_ELEMENT),u=[],h=0;hthis.byteLength)throw RangeError(“Array index out of range”);var u,h,y=new t([o]),s=new Uint8Array(y.buffer),l=[];for(u=0;u=0&&h>=0&&{top:n,bottom:o,left:i,right:r,width:s,height:h}}function u(t){var e;try{e=t.getBoundingClientRect()}catch(n){}return e?(e.width&&e.height||(e={top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.right-e.left,height:e.bottom-e.top}),e):a()}function a(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function l(t,e){for(var n=e;n;){if(n==t)return!0;n=p(n)}return!1}function p(t){var e=t.parentNode;return e&&11==e.nodeType&&e.host?e.host:e&&e.assignedSlot?e.assignedSlot.parentNode:e}var f=[];o.prototype.THROTTLE_TIMEOUT=100,o.prototype.POLL_INTERVAL=null,o.prototype.USE_MUTATION_OBSERVER=!0,o.prototype.observe=function(t){if(!this._observationTargets.some(function(e){return e.element==t})){if(!t||1!=t.nodeType)throw new Error(“target must be an Element”);this._registerInstance(),this._observationTargets.push({element:t,entry:null}),this._monitorIntersections(),this._checkForIntersections()}},o.prototype.unobserve=function(t){this._observationTargets=this._observationTargets.filter(function(e){return e.element!=t}),this._observationTargets.length||(this._unmonitorIntersections(),this._unregisterInstance())},o.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorIntersections(),this._unregisterInstance()},o.prototype.takeRecords=function(){var t=this._queuedEntries.slice();return this._queuedEntries=[],t},o.prototype._initThresholds=function(t){var e=t||[0];return Array.isArray(e)||(e=[e]),e.sort().filter(function(t,e,n){if(“number”!=typeof t||isNaN(t)||t<0||t>1)throw new Error(“threshold must be a number between 0 and 1 inclusively”);return t!==n[e-1]})},o.prototype._parseRootMargin=function(t){var e=t||”0px”,n=e.split(/s+/).map(function(t){var e=/^(-?d*.?d+)(px|%)$/.exec(t);if(!e)throw new Error(“rootMargin must be specified in pixels or percent”);return{value:parseFloat(e[1]),unit:e[2]}});return n[1]=n[1]||n[0],n[2]=n[2]||n[0],n[3]=n[3]||n[1],n},o.prototype._monitorIntersections=function(){this._monitoringIntersections||(this._monitoringIntersections=!0,this.POLL_INTERVAL?this._monitoringInterval=setInterval(this._checkForIntersections,this.POLL_INTERVAL):(s(t,”resize”,this._checkForIntersections,!0),s(e,”scroll”,this._checkForIntersections,!0),this.USE_MUTATION_OBSERVER&&”MutationObserver”in t&&(this._domObserver=new MutationObserver(this._checkForIntersections),this._domObserver.observe(e,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))))},o.prototype._unmonitorIntersections=function(){this._monitoringIntersections&&(this._monitoringIntersections=!1,clearInterval(this._monitoringInterval),this._monitoringInterval=null,h(t,”resize”,this._checkForIntersections,!0),h(e,”scroll”,this._checkForIntersections,!0),this._domObserver&&(this._domObserver.disconnect(),this._domObserver=null))},o.prototype._checkForIntersections=function(){var t=this._rootIsInDom(),e=t?this._getRootRect():a();this._observationTargets.forEach(function(o){var r=o.element,s=u(r),h=this._rootContainsTarget(r),c=o.entry,a=t&&h&&this._computeTargetAndRootIntersection(r,e),l=o.entry=new n({time:i(),target:r,boundingClientRect:s,rootBounds:e,intersectionRect:a});c?t&&h?this._hasCrossedThreshold(c,l)&&this._queuedEntries.push(l):c&&c.isIntersecting&&this._queuedEntries.push(l):this._queuedEntries.push(l)},this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)},o.prototype._computeTargetAndRootIntersection=function(n,o){if(“none”!=t.getComputedStyle(n).display){for(var i=u(n),r=i,s=p(n),h=!1;!h;){var a=null,l=1==s.nodeType?t.getComputedStyle(s):{};if(“none”==l.display)return;if(s==this.root||s==e?(h=!0,a=o):s!=e.body&&s!=e.documentElement&&”visible”!=l.overflow&&(a=u(s)),a&&!(r=c(a,r)))break;s=p(s)}return r}},o.prototype._getRootRect=function(){var t;if(this.root)t=u(this.root);else{var n=e.documentElement,o=e.body;t={top:0,left:0,right:n.clientWidth||o.clientWidth,width:n.clientWidth||o.clientWidth,bottom:n.clientHeight||o.clientHeight,height:n.clientHeight||o.clientHeight}}return this._expandRectByRootMargin(t)},o.prototype._expandRectByRootMargin=function(t){var e=this._rootMarginValues.map(function(e,n){return”px”==e.unit?e.value:e.value*(n%2?t.width:t.height)/100}),n={top:t.top-e[0],right:t.right+e[1],bottom:t.bottom+e[2],left:t.left-e[3]};return n.width=n.right-n.left,n.height=n.bottom-n.top,n},o.prototype._hasCrossedThreshold=function(t,e){var n=t&&t.isIntersecting?t.intersectionRatio||0:-1,o=e.isIntersecting?e.intersectionRatio||0:-1;if(n!==o)for(var i=0;i709){var i=Math.exp(.5*t);return i/2*i}return((i=Math.exp(t))+1/i)/2});}if (!(“expm1″in Math )) {CreateMethodProperty(Math,”expm1”,function n(i){return isNaN(i)?NaN:0===i&&1/i===Infinity?0:0===i&&1/i==-Infinity?-0:i===Infinity?Infinity:i===-Infinity?-1:i>-1e-6&&i<1e-6?i+i*i/2:Math.exp(i)-1});}if (!("fround"in Math )) {CreateMethodProperty(Math,"fround",function(n){return isNaN(n)?NaN:1/n==+Infinity||1/n==-Infinity||n===+Infinity||n===-Infinity?n:new Float32Array([n])[0]});}if (!("hypot"in Math )) {CreateMethodProperty(Math,"hypot",function t(n,r){if(0===arguments.length)return 0;for(var i=0,e=0,a=0;ae&&(i*=Math.pow(e/f,2),e=f),0===f&&0===e||(i+=Math.pow(f/e,2))}return e*Math.sqrt(i)});}if (!("imul"in Math )) {CreateMethodProperty(Math,"imul",function t(r,e){var n=ToUint32(r),o=ToUint32(e),i=n>>>16&65535,a=65535&n,u=o>>>16&65535,h=65535&o;return a*h+(i*h+a*u>>0)|0});}if (!(“log10″in Math )) {CreateMethodProperty(Math,”log10”,function t(e){return Math.log(e)/Math.LN10});}if (!(“log1p”in Math )) {CreateMethodProperty(Math,”log1p”,function r(t){if(-1<(t=Number(t))&&t<1){for(var o=t,e=2;e0?1:void 0});}if (!("sinh"in Math )) {CreateMethodProperty(Math,"sinh",function r(t){var a=t<0?-1:1,e=Math.abs(t);if(e<22){if(e0&&!e.call(n,0))for(var y=0;y0)for(var g=0;g0)&&!(o=i.next()).done;)a.push(o.value)}catch(c){r={error:c}}finally{try{o&&!o.done&&(n=i[“return”])&&n.call(i)}finally{if(r)throw r.error}}return a}function n(e,t,n,o,r,i,a,c){return it||i>e&&a=n?i-e-o:a>t&&c56319||n+1===i)return c;var a=String.prototype.charCodeAt.call(o,n+1);return a<56320||a>57343?c:UTF16Decode(c,a)});}if (!(“endsWith”in String.prototype )) {CreateMethodProperty(String.prototype,”endsWith”,function e(t){“use strict”;var r=arguments.length>1?arguments[1]:undefined,n=RequireObjectCoercible(this),i=ToString(n);if(IsRegExp(t))throw new TypeError(“First argument to String.prototype.endsWith must not be a regular expression”);var o=ToString(t),s=i.length,g=r===undefined?s:ToInteger(r),h=Math.min(Math.max(g,0),s),u=o.length,a=h-u;return!(a<0)&&i.substr(a,u)===o});}if (!("includes"in String.prototype )) {CreateMethodProperty(String.prototype,"includes",function e(t){"use strict";var r=arguments.length>1?arguments[1]:undefined,n=RequireObjectCoercible(this),i=ToString(n);if(IsRegExp(t))throw new TypeError(“First argument to String.prototype.includes must not be a regular expression”);var o=ToString(t),g=ToInteger(r),a=i.length,p=Math.min(Math.max(g,0),a);return-1!==String.prototype.indexOf.call(i,o,p)});}if (!(“padEnd”in String.prototype )) {CreateMethodProperty(String.prototype,”padEnd”,function e(r){“use strict”;var t=arguments.length>1?arguments[1]:undefined,n=RequireObjectCoercible(this),i=ToString(n),o=ToLength(r),u=i.length;if(o<=u)return i;if(t===undefined)var d=" ";else d=ToString(t);if(""===d)return i;for(var f=o-u,g="",s=0;s1?arguments[1]:undefined,n=RequireObjectCoercible(this),i=ToString(n),o=ToLength(r),u=i.length;if(o<=u)return i;if(t===undefined)var f=" ";else f=ToString(t);if(""===f)return i;for(var a=o-u,d="",g=0;g1?arguments[1]:undefined,n=RequireObjectCoercible(this),i=ToString(n);if(IsRegExp(e))throw new TypeError(“First argument to String.prototype.startsWith must not be a regular expression”);var o=ToString(e),s=ToInteger(r),a=i.length,g=Math.min(Math.max(s,0),a);return!(o.length+g>a)&&0===i.substr(g).indexOf(e)});}if (!(“trim”in String.prototype&&function(){var r=”​…᠎” return!”tnx0Bfr                 u2028u2029ufeff”.trim()&&r.trim()===r}() )) {CreateMethodProperty(String.prototype,”trim”,function t(){“use strict”;var t=this;return TrimString(t,”start+end”)});}if (!(“parseFloat”in Number&&1/parseFloat(“tnx0Bfr                 u2028u2029ufeff-0″)==-Infinity )) {!function(r,t){var a=function o(t){var a=String(t).trim(),e=r(a);return 0===e&&”-“==a.charAt(0)?-0:e};try{CreateMethodProperty(t,”parseFloat”,a)}catch(e){t.parseFloat=a}CreateMethodProperty(Number,”parseFloat”,t.parseFloat)}(parseFloat,this);}if (!(“parseInt”in Number&&8===Number.parseInt(“08″) )) {!function(t,r){var e=function a(r,e){var n=String(r).trim();return t(n,e>>>0||(/^[-+]?0[xX]/.test(n)?16:10))};try{CreateMethodProperty(r,”parseInt”,e)}catch(n){r.parseInt=e}CreateMethodProperty(Number,”parseInt”,r.parseInt)}(parseInt,this);}if (!(“Symbol”in self&&0===self.Symbol.length )) {!function(t,r,n){“use strict”;var e,u=0,o=””+Math.random(),l=”__symbol:”,c=l.length,a=”__symbol@@”+o,i=”defineProperty”,f=”defineProperties”,s=”getOwnPropertyNames”,v=”getOwnPropertyDescriptor”,b=”propertyIsEnumerable”,h=t.prototype,y=h.hasOwnProperty,m=h[b],p=h.toString,g=Array.prototype.concat,w=t.getOwnPropertyNames?t.getOwnPropertyNames(self):[],S=t[s],d=function L(t){if(“[object Window]”===p.call(t))try{return S(t)}catch(r){return g.call([],w)}return S(t)},P=t[v],j=t.create,O=t.keys,E=t.freeze||t,N=t[i],_=t[f],k=P(t,s),T=function(t,r,n){if(!y.call(t,a))try{N(t,a,{enumerable:!1,configurable:!1,writable:!1,value:{}})}catch(e){t[a]={}}t[a][“@@”+r]=n},z=function(t,r){var n=j(t);return d(r).forEach(function(t){M.call(r,t)&&G(n,t,r[t])}),n},A=function(t){var r=j(t);return r.enumerable=!1,r},D=function Q(){},F=function(t){return t!=a&&!y.call(x,t)},I=function(t){return t!=a&&y.call(x,t)},M=function R(t){var r=””+t;return I(r)?y.call(this,r)&&this[a][“@@”+r]:m.call(this,t)},W=function(r){var n={enumerable:!1,configurable:!0,get:D,set:function(t){e(this,r,{enumerable:!1,configurable:!0,writable:!0,value:t}),T(this,r,!0)}};try{N(h,r,n)}catch(u){h[r]=n.value}return E(x[r]=N(t(r),”constructor”,B))},q=function U(){var t=arguments[0];if(this instanceof U)throw new TypeError(“Symbol is not a constructor”);return W(l.concat(t||””,o,++u))},x=j(null),B={value:q},C=function(t){return x[t]},G=function V(t,r,n){var u=””+r;return I(u)?(e(t,u,n.enumerable?A(n):n),T(t,u,!!n.enumerable)):N(t,r,n),t},H=function(t){return function(r){return y.call(t,a)&&y.call(t[a],”@@”+r)}},J=function X(t){return d(t).filter(t===h?H(t):I).map(C)};k.value=G,N(t,i,k),k.value=J,N(t,”getOwnPropertySymbols”,k),k.value=function Y(t){return d(t).filter(F)},N(t,s,k),k.value=function Z(t,r){var n=J(r);return n.length?O(r).concat(n).forEach(function(n){M.call(r,n)&&G(t,n,r[n])}):_(t,r),t},N(t,f,k),k.value=M,N(h,b,k),k.value=q,N(n,”Symbol”,k),k.value=function(t){var r=l.concat(l,t,o);return r in h?x[r]:W(r)},N(q,”for”,k),k.value=function(t){if(F(t))throw new TypeError(t+” is not a symbol”);return y.call(x,t)?t.slice(2*c,-o.length):void 0},N(q,”keyFor”,k),k.value=function $(t,r){var n=P(t,r);return n&&I(r)&&(n.enumerable=M.call(t,r)),n},N(t,v,k),k.value=function(t,r){return 1===arguments.length||void 0===r?j(t):z(t,r)},N(t,”create”,k);var K=null===function(){return this}.call(null);k.value=K?function(){var t=p.call(this);return”[object String]”===t&&I(this)?”[object Symbol]”:t}:function(){if(this===window)return”[object Null]”;var t=p.call(this);return”[object String]”===t&&I(this)?”[object Symbol]”:t},N(h,”toString”,k),e=function(t,r,n){var e=P(h,r);delete h[r],N(t,r,n),t!==h&&N(h,r,e)}}(Object,0,this);}if (!(“ownKeys”in self.Reflect )) {CreateMethodProperty(Reflect,”ownKeys”,function e(t){if(“object”!==Type(t))throw new TypeError(Object.prototype.toString.call(t)+” is not an Object”);return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))});}if (!(“getOwnPropertyDescriptor”in Object&&”function”==typeof Object.getOwnPropertyDescriptor&&function(){try{var t={} return t.test=0,0===Object.getOwnPropertyDescriptors(t).test.value}catch(e){return!1}}() )) {CreateMethodProperty(Object,”getOwnPropertyDescriptors”,function e(r){for(var t=ToObject(r),o=Reflect.ownKeys(t),n={},c=o.length,a=0;a1?arguments[1]:GetMethod(t,Symbol.iterator),r=Call(e,t);if(“object”!==Type(r))throw new TypeError(“bad iterator”);var o=GetV(r,”next”),a=Object.create(null);return a[“[[Iterator]]”]=r,a[“[[NextMethod]]”]=o,a[“[[Done]]”]=!1,a}if (!(“Symbol”in self&&”match”in self.Symbol )) {Object.defineProperty(Symbol,”match”,{value:Symbol(“match”)});}if (!(“Symbol”in self&&”replace”in self.Symbol )) {Object.defineProperty(Symbol,”replace”,{value:Symbol(“replace”)});}if (!(“Symbol”in self&&”search”in self.Symbol )) {Object.defineProperty(Symbol,”search”,{value:Symbol(“search”)});}if (!(“Symbol”in self&&”species”in self.Symbol )) {Object.defineProperty(Symbol,”species”,{value:Symbol(“species”)});}if (!(“Map”in self&&function(t){try{var n=new t.Map([[1,1],[2,2]]) return 0===t.Map.length&&2===n.size&&”Symbol”in t&&”iterator”in t.Symbol&&”function”==typeof n[t.Symbol.iterator]}catch(e){return!1}}(self) )) {!function(e){function t(e,t){if(“object”!==Type(e))throw new TypeError(“createMapIterator called on incompatible receiver “+Object.prototype.toString.call(e));if(!0!==e._es6Map)throw new TypeError(“createMapIterator called on incompatible receiver “+Object.prototype.toString.call(e));var r=Object.create(u);return Object.defineProperty(r,”[[Map]]”,{configurable:!0,enumerable:!1,writable:!0,value:e}),Object.defineProperty(r,”[[MapNextIndex]]”,{configurable:!0,enumerable:!1,writable:!0,value:0}),Object.defineProperty(r,”[[MapIterationKind]]”,{configurable:!0,enumerable:!1,writable:!0,value:t}),r}var r=function(){try{var e={};return Object.defineProperty(e,”t”,{configurable:!0,enumerable:!1,get:function(){return!0},set:undefined}),!!e.t}catch(t){return!1}}(),o=0,a=Symbol(“meta_”+(1e8*Math.random()+””).replace(“.”,””)),n=function(e){if(“object”==typeof e?null!==e:”function”==typeof e){if(!Object.isExtensible(e))return!1;if(!e[a]){var t=typeof e+”-“+ ++o;Object.defineProperty(e,a,{configurable:!1,enumerable:!1,writable:!1,value:t})}return e[a]}return””+e},i=function(e,t){var r=n(t);if(!1===r)return p(e,t);var o=e._table[r];return o!==undefined&&o},p=function(e,t){for(var r=0;r0?arguments[0]:undefined;if(null===t||t===undefined)return e;var o=e.set;if(!IsCallable(o))throw new TypeError(“Map.prototype.set is not a function”);try{for(var a=GetIterator(t);;){var n=IteratorStep(a);if(!1===n)return e;var i=IteratorValue(n);if(“object”!==Type(i))try{throw new TypeError(“Iterator value “+i+” is not an entry object”)}catch(u){return IteratorClose(a,u)}try{var p=i[0],l=i[1];o.call(e,p,l)}catch(s){return IteratorClose(a,s)}}}catch(s){if(Array.isArray(t)||”[object Arguments]”===Object.prototype.toString.call(t)||t.callee){var c,y=t.length;for(c=0;c1?arguments[1]:undefined;if(a===undefined)var n=!1;else{if(!1===IsCallable(a))throw new TypeError(Object.prototype.toString.call(a)+” is not a function.”);var i=arguments.length>2?arguments[2]:undefined;if(i!==undefined)var l=i;else l=undefined;n=!0}var u=GetMethod(t,Symbol.iterator);if(u!==undefined){if(IsConstructor(o))var f=Construct(o);else f=ArrayCreate(0);for(var c=GetIterator(t,u),s=0;;){if(s>=Math.pow(2,53)-1){var h=new TypeError(“Iteration count can not be greater than or equal 9007199254740991.”);return IteratorClose(c,h)}var y=ToString(s),C=IteratorStep(c);if(!1===C)return f.length=s,f;var g=IteratorValue(C);if(n)try{var p=Call(a,l,[g,s])}catch(b){return IteratorClose(c,b)}else p=g;try{CreateDataPropertyOrThrow(f,y,p)}catch(b){return IteratorClose(c,b)}s+=1}}if(r(t))var v=e.call(t,/[uD800-uDBFF][uDC00-uDFFF]?|[^uD800-uDFFF]|./g)||[];else v=ToObject(t);var d=ToLength(Get(v,”length”));for(f=IsConstructor(o)?Construct(o,[d]):ArrayCreate(d),s=0;s=e&&(this.__redo__[_]=++t)},this),this.__redo__.push(e)}},configurable:!0,enumerable:!1,writable:!0},_onDelete:{value:function(e){var t;e>=this.__nextIndex__||(–this.__nextIndex__,this.__redo__&&(t=this.__redo__.indexOf(e),-1!==t&&this.__redo__.splice(t,1),this.__redo__.forEach(function(t,_){t>e&&(this.__redo__[_]=–t)},this)))},configurable:!0,enumerable:!1,writable:!0},_onClear:{value:function(){this.__redo__&&e.call(this.__redo__),this.__nextIndex__=0},configurable:!0,enumerable:!1,writable:!0}})),Object.defineProperty(_.prototype,Symbol.iterator,{value:function(){return this},configurable:!0,enumerable:!1,writable:!0}),Object.defineProperty(_.prototype,Symbol.toStringTag,{value:”Iterator”,configurable:!1,enumerable:!1,writable:!0}),_}();var ArrayIterator=function(){var e=function(t,r){if(!(this instanceof e))return new e(t,r);Iterator.call(this,t),r=r?String.prototype.includes.call(r,”key+value”)?”key+value”:String.prototype.includes.call(r,”key”)?”key”:”value”:”value”,Object.defineProperty(this,”__kind__”,{value:r,configurable:!1,enumerable:!1,writable:!1})};return Object.setPrototypeOf&&Object.setPrototypeOf(e,Iterator.prototype),e.prototype=Object.create(Iterator.prototype,{constructor:{value:e,configurable:!0,enumerable:!1,writable:!0},_resolve:{value:function(e){return”value”===this.__kind__?this.__list__[e]:”key+value”===this.__kind__?[e,this.__list__[e]]:e},configurable:!0,enumerable:!1,writable:!0},toString:{value:function(){return”[object Array Iterator]”},configurable:!0,enumerable:!1,writable:!0}}),e}();if (!(“Symbol”in self&&”iterator”in self.Symbol&&!!Array.prototype.entries )) {CreateMethodProperty(Array.prototype,”entries”,function r(){var r=ToObject(this);return new ArrayIterator(r,”key+value”)});}if (!(“Symbol”in self&&”iterator”in self.Symbol&&!!Array.prototype.keys )) {CreateMethodProperty(Array.prototype,”keys”,function r(){var r=ToObject(this);return new ArrayIterator(r,”key”)});}if (!(“values”in Array.prototype )) {“Symbol”in self&&”iterator”in Symbol&&”function”==typeof Array.prototype[Symbol.iterator]?CreateMethodProperty(Array.prototype,”values”,Array.prototype[Symbol.iterator]):CreateMethodProperty(Array.prototype,”values”,function r(){var r=ToObject(this);return new ArrayIterator(r,”value”)});}if (!(“Symbol”in self&&”iterator”in self.Symbol&&!!Array.prototype[self.Symbol.iterator] )) {CreateMethodProperty(Array.prototype,Symbol.iterator,Array.prototype.values);}var StringIterator=function(){var t=function(e){if(!(this instanceof t))return new t(e);e=String(e),Iterator.call(this,e),Object.defineProperty(this,”__length__”,{value:e.length,configurable:!1,enumerable:!1,writable:!1})};return Object.setPrototypeOf&&Object.setPrototypeOf(t,Iterator),t.prototype=Object.create(Iterator.prototype,{constructor:{value:t,configurable:!0,enumerable:!1,writable:!0},_next:{value:function(){if(this.__list__)return this.__nextIndex__=55296&&e<=56319?r+this.__list__[this.__nextIndex__++]:r)},configurable:!0,enumerable:!1,writable:!0},toString:{value:function(){return"[object String Iterator]"},configurable:!0,enumerable:!1,writable:!0}}),t}();if (!("Symbol"in self&&"iterator"in self.Symbol&&!!String.prototype[self.Symbol.iterator] )) {CreateMethodProperty(String.prototype,Symbol.iterator,function(){var r=RequireObjectCoercible(this),t=ToString(r);return new StringIterator(t)});}if (!("Promise"in self )) {!function(){"use strict";function n(){return tn[q][B]||D}function t(n){return n&&"object"==typeof n}function e(n){return"function"==typeof n}function r(n,t){return n instanceof t}function o(n){return r(n,A)}function i(n,t,e){if(!t(n))throw a(e)}function u(){try{return b.apply(R,arguments)}catch(n){return Y.e=n,Y}}function c(n,t){return b=n,R=t,u}function f(n,t){function e(){for(var e=0;en&&(r.length=n)}var r=L(n),o=0;return function(n,t){r[o++]=n,r[o++]=t,2===o&&tn.nextTick(e)}}function s(n,t){var o,i,u,f,s=0;if(!n)throw a(N);var l=n[tn[q][z]];if(e(l))i=l.call(n);else{if(!e(n.next)){if(r(n,L)){for(o=n.length;s=e.length)return{done:!0,value:undefined};var r=e[n++];return{done:!1,value:”key”===t?r.name:”value”===t?r.value:[r.name,r.value]}}}function l(t,n){function r(){var e=l.href.replace(/#$|?$|?(?=#)/g,””);l.href!==e&&(l.href=e)}function u(){m._setList(l.search?a(l.search.substring(1)):[]),m._update_steps()}if(!(this instanceof e.URL))throw new TypeError(“Failed to construct ‘URL’: Please use the ‘new’ operator.”);n&&(t=function(){if(c)return new s(t,n).href;var e;try{var r;if(“[object OperaMini]”===Object.prototype.toString.call(window.operamini)?(e=document.createElement(“iframe”),e.style.display=”none”,document.documentElement.appendChild(e),r=e.contentWindow.document):document.implementation&&document.implementation.createHTMLDocument?r=document.implementation.createHTMLDocument(“”):document.implementation&&document.implementation.createDocument?(r=document.implementation.createDocument(“http://www.w3.org/1999/xhtml”,”html”,null),r.documentElement.appendChild(r.createElement(“head”)),r.documentElement.appendChild(r.createElement(“body”))):window.ActiveXObject&&(r=new window.ActiveXObject(“htmlfile”),r.write(“]]>

“),r.close()),!r)throw Error(“base not supported”);var a=r.createElement(“base”);a.href=n,r.getElementsByTagName(“head”)[0].appendChild(a);var i=r.createElement(“a”);return i.href=t,i.href}finally{e&&e.parentNode.removeChild(e)}}());var l=i(t||””),f=function(){if(!(“defineProperties”in Object))return!1;try{var e={};return Object.defineProperties(e,{prop:{get:function(){return!0}}}),e.prop}catch(t){return!1}}(),h=f?this:document.createElement(“a”),m=new o(l.search?l.search.substring(1):null);return m._url_object=h,Object.defineProperties(h,{href:{get:function(){return l.href},set:function(e){l.href=e,r(),u()},enumerable:!0,configurable:!0},origin:{get:function(){return”origin”in l?l.origin:this.protocol+”//”+this.host},enumerable:!0,configurable:!0},protocol:{get:function(){return l.protocol},set:function(e){l.protocol=e},enumerable:!0,configurable:!0},username:{get:function(){return l.username},set:function(e){l.username=e},enumerable:!0,configurable:!0},password:{get:function(){return l.password},set:function(e){l.password=e},enumerable:!0,configurable:!0},host:{get:function(){var e={“http:”:/:80$/,”https:”:/:443$/,”ftp:”:/:21$/}[l.protocol];return e?l.host.replace(e,””):l.host},set:function(e){l.host=e},enumerable:!0,configurable:!0},hostname:{get:function(){return l.hostname},set:function(e){l.hostname=e},enumerable:!0,configurable:!0},port:{get:function(){return l.port},set:function(e){l.port=e},enumerable:!0,configurable:!0},pathname:{get:function(){return”/”!==l.pathname.charAt(0)?”/”+l.pathname:l.pathname},set:function(e){l.pathname=e},enumerable:!0,configurable:!0},search:{get:function(){return l.search},set:function(e){l.search!==e&&(l.search=e,r(),u())},enumerable:!0,configurable:!0},searchParams:{get:function(){return m},enumerable:!0,configurable:!0},hash:{get:function(){return l.hash},set:function(e){l.hash=e,r()},enumerable:!0,configurable:!0},toString:{value:function(){return l.toString()},enumerable:!1,configurable:!0},valueOf:{value:function(){return l.valueOf()},enumerable:!1,configurable:!0}}),h}var c,s=e.URL;try{if(s){if(“searchParams”in(c=new e.URL(“http://example.com”))){var f=new l(“http://example.com”);if(f.search=”a=1&b=2″,”http://example.com/?a=1&b=2″===f.href&&(f.search=””,”http://example.com/”===f.href))return}”href”in c||(c=undefined),c=undefined}}catch(m){}if(Object.defineProperties(o.prototype,{append:{value:function(e,t){this._list.push({name:e,value:t}),this._update_steps()},writable:!0,enumerable:!0,configurable:!0},”delete”:{value:function(e){for(var t=0;t1?arguments[1]:undefined;this._list.forEach(function(n){e.call(t,n.value,n.name)})},writable:!0,enumerable:!0,configurable:!0},toString:{value:function(){return r(this._list)},writable:!0,enumerable:!1,configurable:!0},sort:{value:function p(){for(var e=this.entries(),t=e.next(),n=[],r={};!t.done;){var a=t.value,i=a[0];n.push(i),Object.prototype.hasOwnProperty.call(r,i)||(r[i]=[]),r[i].push(a[1]),t=e.next()}n.sort();for(var o=0;o0?arguments[0]:undefined;if(null===t||t===undefined)return e;var r=Get(e,”set”);if(!IsCallable(r))throw new TypeError(“WeakMap.prototype.set is not a function”);try{for(var o=GetIterator(t);;){var p=IteratorStep(o);if(!1===p)return e;var n=IteratorValue(p);if(“object”!==Type(n))try{throw new TypeError(“Iterator value “+n+” is not an entry object”)}catch(s){return IteratorClose(o,s)}try{var i=Get(n,”0″),l=Get(n,”1″);Call(r,e,[i,l])}catch(u){return IteratorClose(o,u)}}}catch(u){if(Array.isArray(t)||”[object Arguments]”===Object.prototype.toString.call(t)||t.callee){var y,c=t.length;for(y=0;y0?arguments[0]:undefined;if(null===t||t===undefined)return e;var r=Get(e,”add”);if(!IsCallable(r))throw new TypeError(“WeakSet.prototype.add is not a function”);try{for(var o=GetIterator(t);;){var n=IteratorStep(o);if(!1===n)return e;var l=IteratorValue(n);try{Call(r,e,[l])}catch(c){return IteratorClose(o,c)}}}catch(c){if(IsArray(t)||”[object Arguments]”===Object.prototype.toString.call(t)||t.callee){var p,i=t.length;for(p=0;p

Costa Rica may have travel restrictions in place due to COVID-19.

Where to stay in Costa Rica: Best areas for travelers

  • Quepos: It’s obvious why nature enthusiasts come here. With Manuel Antonio National Park, Centro Turístico Cataratas Nauyaca and La Culebra Waterfall to explore at your leisure, it’s the perfect blend of nature and urban life. If you’re up for more sightseeing, find your way to Nahomi Park, Hacienda Barú National Wildlife Refuge and La Selvita too. After a long day out, climb into bed someplace comfy like the Posada Dulce Vida, the Dulce Vida Posada . Downtown . Fans . TV . Wifi . Restaurant or the Hotel Malinche.
  • La Fortuna: This place offers lots of things to keep you busy. Why not kick-start your vacation with an excursion to Tabacon Hot Springs? Afterward, Baldi Hot Springs and La Fortuna Waterfall will be ready and waiting for you. You’ll be able to select from an assortment of hotel options, including the Fortuna Downtown INN – Hotel, the Hotel FAS & OFF- Site Thermal Resort and the Hotel FAS B&B. After you check in, explore other popular attractions like Los Lagos Hot Springs, Arenal Volcano and Mistico Arenal Hanging Bridges Park.
  • Tamarindo: For a hotel you can look forward to going back to after a big day out, check out the Hotel Mar Rey. The Hotel La Palapa and the Luamey Boutique Hotel are other options that make wonderful bases for exploring. Start the sightseeing here at Hacienda Pinilla Golf Course and Avellana Beach. Tamarindo Church is also worth penciling into your itinerary.

Search vacation packages deals in Costa Rica’s top destinations

Costa Rica flight + hotel packages

Coco Breeze Residence $1,326

$1,097

per person

Apr 22 – Apr 27

Roundtrip flight included

New York (JFK) to Liberia (LIR)

This smoke-free condo resort features 4 outdoor pools, a poolside bar, and a bar/lounge. Enjoy the outdoor pool and perks like free self parking and a free beach shuttle. A terrace, a garden, and laundry facilities are also on offer.…This smoke-free condo resort features 4 outdoor pools, a poolside bar, and a bar/lounge. Enjoy the outdoor pool and perks like free self parking and a free beach shuttle. A terrace, a garden, and laundry facilities are also on offer.WW…

Amazing Ocean View 8 Bedroom Villa

Amazing Ocean View 8 Bedroom Villa

Save 100% on your flight$3,633

$3,008

per person

Apr 22 – Apr 27

Roundtrip flight included

New York (JFK) to Liberia (LIR)

This villa features an outdoor pool and a rooftop terrace. Guests will appreciate free perks like free self parking and WiFi in public areas. A garden, laundry facilities, and barbecue grills are also on offer.…This villa features an outdoor pool and a rooftop terrace. Guests will appreciate free perks like free self parking and WiFi in public areas. A garden, laundry facilities, and barbecue grills are also on offer.WW…

Hotel & Villas Huetares$614

$515

per person

Mar 26 – Mar 29

Roundtrip non-stop flight included

Newark (EWR) to Liberia (LIR)

This smoke-free hotel features 2 indoor pools, a spa tub, and a restaurant. Guests will appreciate free perks like free self parking and WiFi in public areas. A terrace, a garden, and laundry facilities are also on offer.…This smoke-free hotel features 2 indoor pools, a spa tub, and a restaurant. Guests will appreciate free perks like free self parking and WiFi in public areas. A terrace, a garden, and laundry facilities are also on offer.WW…

Casa Chameleon Hotel Las Catalinas- Adults Only

Casa Chameleon Hotel Las Catalinas- Adults Only

$1,248

$1,058

per person

Mar 26 – Mar 28

Roundtrip non-stop flight included

Newark (EWR) to Liberia (LIR)

This hotel features a restaurant, an outdoor pool, and a poolside bar. Enjoy the a rooftop terrace and perks like free valet parking and free WiFi. There’s a bar/lounge on site, and a 24-hour front desk and concierge services are also provided.…This hotel features a restaurant, an outdoor pool, and a poolside bar. Enjoy the a rooftop terrace and perks like free valet parking and free WiFi. There’s a bar/lounge on site, and a 24-hour front desk and concierge services are also provided.WW…

Bahia Pez Vela Resort

Roundtrip non-stop flight included

New York (JFK) to Liberia (LIR)

This smoke-free condo resort features a private beach, 2 outdoor pools, and a restaurant. Families will appreciate the children’s pool, onsite laundry facilities, and supervised childcare. Relax with a drink at the poolside bar and enjoy perks like free self parking and free WiFi.…This smoke-free condo resort features a private beach, 2 outdoor pools, and a restaurant. Families will appreciate the children’s pool, onsite laundry facilities, and supervised childcare. Relax with a drink at the poolside bar and enjoy perks like free self parking and free WiFi.WW…

Top Costa Rica hotels deals

Fiesta Resort Central Pacific - All Inclusive

Fiesta Resort Central Pacific – All Inclusive

El Roble 23, Barranca, Puntarenas

Free Cancellation

Reserve now, pay when you stay

The price is $188 per night$188

per night

Feb 24 – Feb 25

This smoke-free property features a full-service spa, a nightclub, and 3 restaurants. There’s fun for all ages with a free kid’s club and a children’s pool, …

Dreams Las Mareas Costa Rica

Dreams Las Mareas Costa Rica

Playa El Jobo, La Cruz, Guanacaste

Free Cancellation

Reserve now, pay when you stay

The price is $371 per night$371

per night

Feb 21 – Feb 22

This luxury resort features a private beach, a full-service spa, and a nightclub. Traveling on business? Take advantage of the free WiFi in public areas, laundry …

Planet Hollywood Beach Resort Costa Rica - All Inclusive

Planet Hollywood Beach Resort Costa Rica – All Inclusive

Playa Manzanillo Bahia Culebra, Papagayo

The price is $320 per night$320

per night

Mar 1 – Mar 2

A full-service spa, 7 restaurants, and an outdoor pool are all featured at this all-inclusive property. There’s fun for all ages with a free kid’s club and a …

The Westin Reserva Conchal, an All-Inclusive Golf Resort & Spa

The Westin Reserva Conchal, an All-Inclusive Golf Resort & Spa

Playa Conchal S/N, Cabo Velas, Guanacaste

Free Cancellation

Reserve now, pay when you stay

The price is $439 per night$439

per night

Feb 18 – Feb 19

This all-inclusive property features a golf course, a full-service spa, and 9 restaurants. There’s fun for all ages with a free kid’s club and a children’s pool, …

Hampton Inn & Suites by Hilton San Jose-Airport

Hampton Inn & Suites by Hilton San Jose-Airport

Hwy 1 Airport Blvd, Alajuela, Alajuela

Free Cancellation

Reserve now, pay when you stay

The price is $93 per night$93

per night

Feb 23 – Feb 24

This hotel features an outdoor pool and a fitness center. Traveling on business? Take advantage of the business center, free WiFi in public areas, and free airport …

Hotel Riu Palace Costa Rica - All Inclusive

Hotel Riu Palace Costa Rica – All Inclusive

Playa Matapalo- Sardinal, Carrillo, El Ocotal, Guanacaste

This all-inclusive property features free water park access, a full-service spa, and a nightclub. Enjoy a day at the beach snorkeling, or relax with sun loungers. …

Don’t see what you’re looking for?

See all available properties in Costa Rica

View all properties

Lowest nightly price found within the past 24 hours based on a 1 night stay for 2 adults. Prices and availability subject to change. Additional terms may apply.

Popular places to visit in Costa Rica

Image for Coco Beach

Nothing says vacation like spending a lazy day at Coco Beach, a popular beach in Coco. While you’re here, you can savor the top-notch restaurants.

Coco BeachTravelocity provides flight and hotel vacation packages from as low as $515. With such huge savings, you’ll be saying hello to Costa Rica in no time. “}}, {“name”: “Where can I get the best vacation package deals for Costa Rica?”,”@type”: “Question”,”acceptedAnswer”: { “@type”: “Answer”, “text”: “

Your dream vacation can be booked through Travelocity. With access to 400 airlines and an impressive 665,000 properties across the globe, selecting the perfect Costa Rica package deal couldn’t be easier. “}}, {“name”: “Why should I book my Costa Rica vacation package with Travelocity?”,”@type”: “Question”,”acceptedAnswer”: { “@type”: “Answer”, “text”: “

We have destinations to suit every kind of traveler, excellent service and support available 24/7. And to top it off, we’ll match any cheaper price you discover with our Price Match Guarantee. “}}, {“name”: “Will I save money on my Costa Rica car rental if I combine it with a hotel or flight?”,”@type”: “Question”,”acceptedAnswer”: { “@type”: “Answer”, “text”: “

Combining your bookings into a Costa Rica vacation package will certainly save you money. Book a car and flight; a flight, car and hotel; or a car and hotel. There’s no better way to explore the greater Costa Rica area than from the driver’s seat of your own rental car. You can also add experiences and tours to your Travelocity package. “}}, {“name”: “What is the best time of year to go to Costa Rica?”,”@type”: “Question”,”acceptedAnswer”: { “@type”: “Answer”, “text”: “

That all comes down to whether you’d rather save cash or visit Costa Rica at its most exciting. The quietest time to see this part of the world is September, November, October. If you’d like to experience this destination at its busiest, consider July, March, April. More interested in saving your hard-earned cash? The most affordable month is September. March typically has the most expensive prices. “}}, {“name”: “What is there to do in Costa Rica?”,”@type”: “Question”,”acceptedAnswer”: { “@type”: “Answer”, “text”: “

A diverse and exciting destination, Costa Rica is home to some wonderful things to see and do. Rincón de la Vieja Volcano National Park and Flamingo Beach are just a couple of the most popular.”}}] }]]>

Frequently asked questions

How much are vacation packages to Costa Rica?How much are vacation packages to Costa Rica?

Travelocity provides flight and hotel vacation packages from as low as $515. With such huge savings, you’ll be saying hello to Costa Rica in no time.

Where can I get the best vacation package deals for Costa Rica?Where can I get the best vacation package deals for Costa Rica?

Your dream vacation can be booked through Travelocity. With access to 400 airlines and an impressive 665,000 properties across the globe, selecting the perfect Costa Rica package deal couldn’t be easier.

Why should I book my Costa Rica vacation package with Travelocity?Why should I book my Costa Rica vacation package with Travelocity?We have destinations to suit every kind of traveler, excellent service and support available 24/7. And to top it off, we’ll match any cheaper price you discover with our Price Match Guarantee.Will I save money on my Costa Rica car rental if I combine it with a hotel or flight?Will I save money on my Costa Rica car rental if I combine it with a hotel or flight?

Combining your bookings into a Costa Rica vacation package will certainly save you money. Book a car and flight; a flight, car and hotel; or a car and hotel. There’s no better way to explore the greater Costa Rica area than from the driver’s seat of your own rental car. You can also add experiences and tours to your Travelocity package.

What is the best time of year to go to Costa Rica?What is the best time of year to go to Costa Rica?

That all comes down to whether you’d rather save cash or visit Costa Rica at its most exciting. The quietest time to see this part of the world is September, November, October. If you’d like to experience this destination at its busiest, consider July, March, April. More interested in saving your hard-earned cash? The most affordable month is September. March typically has the most expensive prices.

What is there to do in Costa Rica?What is there to do in Costa Rica?

A diverse and exciting destination, Costa Rica is home to some wonderful things to see and do. Rincón de la Vieja Volcano National Park and Flamingo Beach are just a couple of the most popular.

Other popular vacations in the Caribbean

Top all inclusive vacation packages with airfare

Book a vacation to Costa Rica

^Savings based on all package bookings with Flight + Hotel made on Travelocity.com from 2019-04-01 – 2020-03-31 as compared to the price of the same components booked separately. Savings will vary based on origin/destination, length of trip, stay dates and selected travel supplier(s). Savings not available on all packages.

ca54fd6c-2f01-46ec-a213-ffb1ece5a78655890fa2-edb7-4998-b1c6-6c0985c7dbe50d8a52af-53b1-4afd-9d60-0beb8f0d8b89

e.MAX_BEACONS&&(e.beacons.length=e.MAX_BEACONS):e.beacons=[],e.beacons.unshift(t),t.onerror=e.onerror,t.src=n},e.prototype.send=function(){e.send(this.image,this.url)},e.beacons=[],e.MAX_BEACONS=9,e}();t.Beacon=i},B7CE:function(e,t,n){Object.defineProperty(t,”__esModule”,{value:!0}),t.ClientLogger=void 0;var i,o=n(“R5V4”),r=n(“ZlJB”),s=n(“qnQ0”),a=n(“P4p/”),c=function(){function e(t){this.logFormat=o.LogFormat.STRING,this.identifier=t.length>e.MIN_IDENTIFIER_LENGTH?t:””}return e.setGlobalData=function(e,t){e&&null!=t&&(s.__globalData[e]=t)},e.getGlobalData=function(e){return s.__globalData[e]},e.setClientLoggingInstance=function(e){i=e},e.getLoggerWithIdentifier=function(t){return new e(t)},e.prototype.performance=function(){for(var e=[],t=0;t0){var n=1===e.length?e[0]:e;i.logTrxEvent(this.identifier,n)}},e.prototype.logEvent=function(e){for(var t=[],n=1;n0){for(var i=0;i0&&(n.label=e,n[e+”_elapsedTime”]=(new Date).getTime()-this._startTime),t&&(“string”==typeof t?t={message:t}:t instanceof Array&&(t={message:t.toString()}),Object.keys(t).length>0&&(n=i(i(i({},t),a.__globalData),n),this.sendPerfBeacon(n)))},e.prototype.logMessage=function(t,n){var o={systemEvent:t.systemEvent,label:t.label,url:'”‘+e.cleanString(window.location.href||””)+'”‘};if(n&&(“string”==typeof n?n={message:n}:n instanceof Array?n={message:n.toString()}:n instanceof Error&&(n={message:n.message}),Object.keys(n).length>0)){var r=i(i(i({},n),a.__globalData),o);this.sendMessageBeacon(r)}},e.prototype.logErrorDetails=function(t){var n=””,i=t.error,o=t.message,r=t.url,s=t.line,a=t.col;i&&i instanceof Error||(i={});var c=i.descriptor||””,u=i.severity||”unclassified”,l=i.errorCatalogRef||””,f=document.documentElement&&document.documentElement.clientWidth||0;i.stack&&(n=i.stack,n='”‘+e.cleanString(n)+'”‘),o&&0!==o.length||(o=i.message||i.name||””),r&&0!==r.length||(r=window.location.href||””,r='”‘+e.cleanString(r)+'”‘);var d={onErrorMsg:o='”‘+e.cleanString(o)+'”‘,onErrorUrl:r,onErrorLine:s?String(s):””,onErrorCol:a?String(a):””,onErrorStack:n,clientWidth:f,severity:u,descriptor:c,errorCatalogRef:l};this.logMessage(t,d)},e.prototype.flattenFields=function(e,t,n){var i,o=this;return void 0===t&&(t={}),”object”==typeof e&&e&&Object.keys(e).forEach((function(r){i=n?n+”_”+r:r,”object”==typeof e[r]?o.flattenFields(e[r],t,i):t[i]=e[r]})),t},e.getISODateString=function(e){return e.toISOString?e.toISOString():e.getFullYear().toString()+”-“+e.getMonth()+”-“+e.getDate()+”T”+e.getHours()+”:”+e.getMinutes()+”:”+e.getSeconds()},e.getPageName=function(){return r.AnalyticsContext.pageName||”page.undefined”},e.paramsFromObject=function(e){var t,n=[];if(Object.keys(e).length>0)for(var i in e)t=i+”=”+encodeURIComponent(String(e[i]).replace(/n|r/gm,””)),n.push(t);return n.join(“&”)},e.prototype.sendMessageBeacon=function(t){var n;t&&Object.keys(t).length>0&&(n=i(i({action:”logErrors”,logTime:e.getISODateString(new Date),pageName:e.getPageName()},t),this._fixedParams),new s.Beacon(this._messageBeaconUrl+”?”+e.paramsFromObject(n)).send())},e.prototype.sendPerfBeacon=function(t){var n;t&&Object.keys(t).length>0&&(n=i(i({action:”logTrxEvent”,logTime:e.getISODateString(new Date),pageName:e.getPageName()},t),this._fixedParams),new s.Beacon(this._perfBeaconUrl+”?”+e.paramsFromObject(n)).send())},e.cleanString=function(e){return”string”==typeof e?e.replace(/’/gi,”`”).replace(/(vrnt)/gi,” “).replace(/(s)+/gi,” “):””},e}();t.ClientLogging=u},akX6:function(e,t,n){var i;Object.defineProperty(t,”__esModule”,{value:!0}),t.NOOP_LOGGER=t.LogFormat=void 0,function(e){e.STRING=”string”,e.JSON=”json”}(i=t.LogFormat||(t.LogFormat={})),t.NOOP_LOGGER={logFormat:i.STRING,logEvent:function(e){for(var t=[],n=1;n0?n[0]:void 0}function u(){return”function”==typeof(e||{}).getEntriesByType?e.getEntriesByType(“mark”):”function”==typeof(e||{}).webkitGetEntriesByType?e.webkitGetEntriesByType(“mark”):o()}return{mark:function(t){“function”==typeof(e||{}).mark?e.mark(t):”function”==typeof(e||{}).webkitMark?e.webkitMark(t):o().push({name:t,entryType:”mark”,startTime:s(),duration:0})},measure:function(t,n,i){if(“function”==typeof(e||{}).measure)e.measure(t,n,i);else if(“function”==typeof(e||{}).webkitMeasure)e.webkitMeasure(t,n,i);else{var o=0,c=s();if(n){var u=a(n);u?o=u.startTime:((e||{}).timing||{})[n]&&(o=e.timing[n]-e.timing.navigationStart)}if(i){var l=a(i);l?c=l.startTime:((e||{}).timing||{})[i]&&(c=e.timing[i]-e.timing.navigationStart)}r().push({name:t,entryType:”measure”,startTime:o,duration:c-o})}},getGaMarks:o,getGaMeasures:r,getEntriesByName:function(t){return”function”==typeof(e||{}).getEntriesByName?e.getEntriesByName(t):”function”==typeof(e||{}).webkitGetEntriesByName?e.webkitGetEntriesByName(t):[]},findMark:a,findMeasure:function(t){return c(function(){if(“function”==typeof(e||{}).getEntriesByType)return e.getEntriesByType(“measure”);if(“function”==typeof(e||{}).webkitGetEntriesByType)return e.webkitGetEntriesByType(“measure”);return r()}(),t)},clearMarks:function(n){“function”==typeof(e||{}).clearMarks?e.clearMarks(n):t.gaMarks=u().filter((function(e){return e.name!==n}))},findSpecificRow:c,toJSON:function(){return”function”==typeof(e||{}).toJSON?e.toJSON():{timing:(e||{}).timing||{}}}}}();function i(){return”function”==typeof Date.now?Date.now():Number(new Date)}e.exports=n}).call(t,n(0))},function(e,t,n){(function(t){var i=n(3);function o(e){i.isTestEnvironment()&&console.log(e)}e.exports={toLogStore:function(e){try{(i.isTestEnvironment()||function(e){if(“undefined”==typeof document||void 0===document.cookie)return!1;return-1!==document.cookie.indexOf(e)}(“paLogStore=true”))&&(t&&t.paLogStore&&Array.isArray(t.paLogStore)||(t.paLogStore=[],t.paLogStoreSize=100),t.paLogStore.push(e),t.paLogStore.length>t.paLogStoreSize&&t.paLogStore.shift())}catch(n){o(n)}},log:o}}).call(t,n(0))},function(e,t,n){(function(t){var n=/(?:(?:test|int|stress).expedia.com|exp-(?:test|int).net|karmalab.net|expedmz.com|staging.*.(?:traveltainment.de|myersmediagroup.com)|localhost|docweb.exp-tools.net)$/i;function i(){return”undefined”!=typeof window}function o(){return i()&&window.performance}e.exports={isTestEnvironment:function(){return i()&&”undefined”!=typeof location?Boolean(location.hostname.match(n)):-1===[“prod”,”production”].indexOf(t.env.NODE_ENV)},isLocalEnvironment:function(){return”undefined”!=typeof location&&”localhost”===location.hostname},isBrowser:i,isPerformanceTimingSupported:function(){return o()&&window.performance.timing&&void 0!==window.performance.timing.navigationStart},isPerformanceMarkSupported:function(){return o()&&(“function”==typeof window.performance.mark||”function”==typeof window.performance.webkitMark)},isTrackingDisabled:function(){return i()&&navigator&&”1″===navigator.doNotTrack},isBeaconSupported:function(){return i()&&navigator&&”function”==typeof navigator.sendBeacon}}}).call(t,n(19))},function(e,t,n){var i=n(5);e.exports=new i},function(e,t,n){(function(t){var i=n(6),o=n(1),r=n(18),s=[“deviceId”,”siteId”,”requestId”,”pageName”,”additionalData”];function a(e,t){e&&s.forEach((function(n){e.hasOwnProperty(n)&&(“siteId”===n&&isNaN(e[n])?console.log(“WARNING: siteId must be Integer!”):t[n]=e[n])}))}var c=function(){function e(e){var t=this;void 0===e&&(e={}),this.ctx={},this.waitingMessage={},this.setContext(e),this.findMark=function(e){return o.findMark(e)},this.findMeasure=function(e){return o.findMeasure(e)},this.clearMarks=function(e){return o.clearMarks(e)},this.mark=function(e){return o.mark(e)},this.measure=function(e,t,n){return o.measure(e,t,n)},this.pul=function(e,n){void 0===t.puListener?(t.puListener=e,t.puScope=n):console.log(“PageUsableListener has already been initialized”)}}return e.prototype.setContext=function(e){a(e,this.ctx)},e.prototype.getFilteredPageUsableTime=function(){var e=this.getPageUsableTime();return e&&e.length>0&&(e=parseFloat((e[0].startTime/1e3).toFixed(2))),e},e.prototype.justMarkPageUsable=function(e,t){var n=this;void 0===e&&(e=function(){}),(t||e&&(e.callback||e.microMessages))&&(this.microMessages=(e||{}).microMessages||t.microMessages,e=(e||{}).callback||t.callback),setTimeout((function(){n.findMark(“Page Usable”)?console.log(“WARNING: marking a page that was already usable – value won’t be updated – use reset() first”):(n.clearMarks(“Page Usable”),n.mark(“Page Usable”));var t=n.getFilteredPageUsableTime();”function”==typeof n.puListener&&n.puListener.call(n.puScope,t),”function”==typeof e&&e(t,n.ctx)}),50)},e.prototype.publish=function(e){var t=(e||{}).pageUsableTime||this.getFilteredPageUsableTime(),n=(e||{}).microMessages||[];if(this.PlatformAnalytics&&”function”==typeof this.PlatformAnalytics.getInstance&&this.PlatformAnalytics.getInstance())i.publishPageUsableToUisPrime(this.PlatformAnalytics.getInstance(),n,t),this.waitingMessage={};else if(e&&e.uisPrime)this.waitingMessage={uisPrime:!0,microMessages:n,pageUsableTime:t};else if(this.setContext(e),this.findMark(“Page Usable”))try{!function(e,t){var n={};a(e,n),n.pageUsableTime=t,r.publish(n)}(this.ctx,this.getFilteredPageUsableTime())}catch(o){console.log(“Unable to publish performance metrics”+o.message)}else console.log(“WARNING: trying to publish before page being usable”)},e.prototype.markPageUsable=function(e,n,i){var o=this;if(void 0===e&&(e={}),void 0===n&&(n=function(){}),i||e.microMessages||e.callback){var r=e.microMessages||(i||{}).microMessages;n=e.callback||(i||{}).callback,this.justMarkPageUsable({microMessages:r,callback:function(e){o.publish({uisPrime:!0,microMessages:r}),n(e)}})}else this.setContext(e),this.justMarkPageUsable((function(e,i){if(isNaN(o.ctx.siteId)){var r=isNaN(t.siteid)?isNaN(t.site_id)?isNaN(t.siteId)?NaN:t.siteId:t.site_id:t.siteid;isNaN(r)||(i.siteId=parseInt(r,10))}o.publish(i),”function”==typeof n&&n(e,i)}))},e.prototype.getPageUsableTime=function(){var e=(this.findMark(“Page Usable”)||{}).startTime-((this.findMark(“Page Change”)||{}).startTime||0);return Math.round(10*e)/10},e.prototype.reset=function(e){this.setContext(e),this.clearMarks(“Page Usable”),this.clearMarks(“Page Change”),this.mark(“Page Change”)},e.prototype.setPlatformAnalyticsClass=function(e,t){void 0===t&&(t={isPublishWebVitals:!1}),this.PlatformAnalytics=e,this.waitingMessage.pageUsableTime?this.publish(this.waitingMessage):this.findMark(“Page Usable”)&&this.publish({uisPrime:!0}),i.publishInteractionMetrics(this.PlatformAnalytics.getInstance()),t.isPublishWebVitals&&i.publishWebVitals(this.PlatformAnalytics.getInstance())},e.prototype.publishWebVitals=function(){this.PlatformAnalytics&&”function”==typeof this.PlatformAnalytics.getInstance&&this.PlatformAnalytics.getInstance()&&i.publishWebVitals(this.PlatformAnalytics.getInstance())},e}();e.exports=c}).call(t,n(0))},function(e,t,n){(function(t){var i=n(7),o=n(9),r=n(1),s=n(11),a=n(12),c=n(13),u=n(14),l=n(15),f={navigator:t.navigator||{}};e.exports={publishInteractionMetrics:function(e){if(e&&”function”==typeof e.trackEvent){i.collect({schemaName:”interactivityMetrics”,messageContent:{}},(function(t){o.collect(t,s,(function(t){0!==Object.keys(t.messageContent).length&&e.trackEvent(t,”page-usable”)}))}))}else console.error(“[PerformanceMetrics] cannot publish interactionMetrics to Uis Prime (platformAnalytics not defined)”)},publishPageUsableToUisPrime:function(e,t,n){if(void 0===t&&(t=[]),void 0===n&&(n=0),e&&”function”==typeof e.trackEvent){Array.isArray(t)||(t=[t]);var i={schemaName:”performanceMetrics”,messageContent:{markName:”Page Usable”,markValue:n}};c.collect(i,f),a.collect(i,r,(function(n){u.collect(n,r,(function(n){t.push(n),e.trackEvent(t,”page-usable”)}))}))}else console.error(“[PerformanceMetrics] cannot publish page usable to Uis Prime (platformAnalytics not defined)”)},publishWebVitals:function(e){if(e&&”function”==typeof e.trackEvent){var t=l.uisPrimeOnReport(e);l.report(t)}else console.error(“[PerformanceMetrics] cannot publish web vitals to Uis Prime (platformAnalytics not defined)”)}}}).call(t,n(0))},function(e,t,n){(function(t){n(8),e.exports={collect:function(e,n){try{t.perfMetrics.onFirstInputDelay((function(t){t&&(e.messageContent.firstInputDelay=t),n(e)}))}catch(i){n(e)}}}}).call(t,n(0))},function(e,t){!function(e,t){var n,i,o,r=[],s={passive:!0,capture:!0},a=new Date;function c(e,r){n||(n=r,i=e,o=new Date,f(t),u())}function u(){i>=0&&i1e12?new Date:performance.now())-n.timeStamp;”pointerdown”==n.type?function(n,i){function o(){c(n,i),a()}function r(){a()}function a(){t(“pointerup”,o,s),t(“pointercancel”,r,s)}e(“pointerup”,o,s),e(“pointercancel”,r,s)}(i,n):c(i,n)}}function f(e){[“click”,”mousedown”,”keydown”,”touchstart”,”pointerdown”].forEach((function(t){e(t,l,s)}))}f(e),self.perfMetrics=self.perfMetrics||{},self.perfMetrics.onFirstInputDelay=function(e){r.push(e),u()}}(addEventListener,removeEventListener)},function(e,t,n){n(10),e.exports={collect:function(e,t,n){try{t.getFirstConsistentlyInteractive().then((function(t){t&&(e.messageContent.timeToInteractive=t),n(e)}))}catch(i){n(e)}}}},function(e,t,n){(function(e){!function(){if(“PerformanceLongTaskTiming”in e){var t=e.__tti={e:[]};t.o=new PerformanceObserver((function(e){t.e=t.e.concat(e.getEntries())})),t.o.observe({entryTypes:[“longtask”]})}}()}).call(t,n(0))},function(e,t,n){(function(n){var i;!function(){var o=”undefined”!=typeof window&&window===this?this:void 0!==n&&null!=n?n:this,r=”function”==typeof Object.defineProperties?Object.defineProperty:function(e,t,n){e!=Array.prototype&&e!=Object.prototype&&(e[t]=n.value)};function s(){s=function(){},o.Symbol||(o.Symbol=c)}var a=0;function c(e){return”jscomp_symbol_”+(e||””)+a++}function u(){s();var e=o.Symbol.iterator;e||(e=o.Symbol.iterator=o.Symbol(“iterator”)),”function”!=typeof Array.prototype[e]&&r(Array.prototype,e,{configurable:!0,writable:!0,value:function(){return l(this)}}),u=function(){}}function l(e){var t=0;return function(e){return u(),(e={next:e})[o.Symbol.iterator]=function(){return this},e}((function(){return to-n?n=null:n=5e3>o-(n=r.length?r[r.length-1].end:t)?null:Math.max(n,i),n&&(e.s(n),clearTimeout(e.j),e.i=!1,e.c&&e.c.disconnect(),e.h&&e.h.disconnect()),b(e,performance.now()+1e3)}),t-performance.now()),e.v=t)}h.prototype.getFirstConsistentlyInteractive=function(){var e=this;return new Promise((function(t){e.s=t,”complete”==document.readyState?w(e):window.addEventListener(“load”,(function(){w(e)}))}))},h.prototype.m=function(e){this.f.set(e,performance.now())},h.prototype.l=function(e){this.f.delete(e)},h.prototype.B=function(){b(this,performance.now()+5e3)},o.Object.defineProperties(h.prototype,{g:{configurable:!0,enumerable:!0,get:function(){return[].concat(d(this.f.values()))}}});var y={getFirstConsistentlyInteractive:function(e){return e=e||{},”PerformanceLongTaskTiming”in window?new h(e).getFirstConsistentlyInteractive():Promise.resolve(null)}};void 0!==e&&e.exports?e.exports=y:void 0===(i=function(){return y}.apply(t,[]))||(e.exports=i)}()}).call(t,n(0))},function(e,t,n){(function(t){function n(e,t,n,i){void 0!==n&&void 0!==i&&(e[t]=n-i)}e.exports={collect:function(e,i,o){var r=i.toJSON();void 0!==r.timing?(n(e.messageContent,”dnsLookupTime”,r.timing.domainLookupEnd,r.timing.domainLookupStart),n(e.messageContent,”timeToFirstByte”,r.timing.responseStart,r.timing.fetchStart),n(e.messageContent,”tcpConnectionTime”,r.timing.connectEnd,r.timing.connectStart),n(e.messageContent,”pageLoadTime”,r.timing.domContentLoadedEventEnd,r.timing.navigationStart),e.messageContent.pageLoadTime&&e.messageContent.pageLoadTime<0?t.addEventListener("load",(function(){n(e.messageContent,"pageLoadTime",r.timing.domContentLoadedEventEnd,r.timing.navigationStart),o(e)})):o(e)):o(e)}}}).call(t,n(0))},function(e,t){function n(e,t,n){void 0!==n&&(e[t]=n)}e.exports={collect:function(e,t){if(t&&t.navigator){var i=t.navigator,o=i.connection||i.mozConnection||i.webkitConnection;o&&(n(e.messageContent,"networkEffectiveType",o.effectiveType),n(e.messageContent,"networkDownLink",o.downlink))}}}},function(e,t,n){(function(t){e.exports={collect:function(e,n,o){if(void 0!==t.PerformancePaintTiming){var r=n.getEntriesByName("first-contentful-paint");if(r&&r.length>0){var s=r[0];return e.messageContent.firstContentfulPaint=Math.round(s.startTime+s.duration),void o(e)}if(void 0!==t.PerformanceObserver)new t.PerformanceObserver((function(t){var n,r;try{for(var s=i(t.getEntries()),a=s.next();!a.done;a=s.next()){var c=a.value;”first-contentful-paint”===c.name&&(e.messageContent.firstContentfulPaint=Math.round(c.startTime+c.duration),o(e))}}catch(u){n={error:u}}finally{try{a&&!a.done&&(r=s.return)&&r.call(s)}finally{if(n)throw n.error}}})).observe({entryTypes:[“paint”]});else o(e)}else o(e)}}}).call(t,n(0))},function(e,t,n){var i=n(16),o=n(17),r=function(){};e.exports={report:function(e){“undefined”!=typeof window&&e&&”function”==typeof e&&(i.getCLS(e),i.getLCP(e))},uisPrimeOnReport:function(e){var t=r;return e&&”function”==typeof e.trackEvent?t=function(t){e.trackEvent(o.webVitalsMapper(t),”timing”)}:console.error(“[PerformanceMetrics] cannot publish web vitals to Uis Prime (platformAnalytics not defined)”),t}}},function(e,t,n){Object.defineProperty(t,”__esModule”,{value:!0}),n.d(t,”getCLS”,(function(){return m})),n.d(t,”getFCP”,(function(){return v})),n.d(t,”getFID”,(function(){return h})),n.d(t,”getLCP”,(function(){return b})),n.d(t,”getTTFB”,(function(){return y}));var i,o,r=function(){return””.concat(Date.now(),”-“).concat(Math.floor(8999999999999*Math.random())+1e12)},s=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1;return{name:e,value:t,delta:0,entries:[],id:r(),isFinal:!1}},a=function(e,t){try{if(PerformanceObserver.supportedEntryTypes.includes(e)){var n=new PerformanceObserver((function(e){return e.getEntries().map(t)}));return n.observe({type:e,buffered:!0}),n}}catch(e){}},c=!1,u=!1,l=function(e){c=!e.persisted},f=function(){addEventListener(“pagehide”,l),addEventListener(“unload”,(function(){}))},d=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];u||(f(),u=!0),addEventListener(“visibilitychange”,(function(t){var n=t.timeStamp;”hidden”===document.visibilityState&&e({timeStamp:n,isUnloading:c})}),{capture:!0,once:t})},p=function(e,t,n,i){var o;return function(){n&&t.isFinal&&n.disconnect(),t.value>=0&&(i||t.isFinal||”hidden”===document.visibilityState)&&(t.delta=t.value-(o||0),(t.delta||t.isFinal||void 0===o)&&(e(t),o=t.value))}},m=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=s(“CLS”,0),o=function(e){e.hadRecentInput||(i.value+=e.value,i.entries.push(e),t())},r=a(“layout-shift”,o);r&&(t=p(e,i,r,n),d((function(e){var n=e.isUnloading;r.takeRecords().map(o),n&&(i.isFinal=!0),t()})))},g=function(){return void 0===i&&(i=”hidden”===document.visibilityState?0:1/0,d((function(e){var t=e.timeStamp;return i=t}),!0)),{get timeStamp(){return i}}},v=function(e){var t,n=s(“FCP”),i=g(),o=a(“paint”,(function(e){“first-contentful-paint”===e.name&&e.startTime


Source

Leave a Reply

Your email address will not be published. Required fields are marked *