(()=>{"use strict";function t(t){return"EU"!==pmc_fastly_geo_data?.continent||"string"==typeof OnetrustActiveGroups&&OnetrustActiveGroups.includes(t)}window.pmc_onetrust={init:()=>{!function(){const e={};"object"==typeof pmc_fastly_geo_data&&("EU"===pmc_fastly_geo_data?.continent||["CA","CO","CT","DE","IA","MN","MT","NE","NH","NJ","OR","TN","TX","UT","VA"].includes(pmc_fastly_geo_data?.region)||"US"===pmc_fastly_geo_data?.country||document.querySelectorAll('script[class*="optanon-category"][type="text/plain"]').forEach(e=>function(e){const n=function(t){if(!t)return!1;const e=[...t.matchAll(/optanon-category-([a-zA-Z0-9]+)/g)];return!(!e||0===e.length)&&e.map(t=>t[1])}(e.className);if(!n||0===n.length)return!1;let o=!0;for(const e of n)if(!t(e)){o=!1;break}o&&function(t){const e=t.cloneNode(!0);e.setAttribute("type","text/javascript"),t.replaceWith(e)}(e)}(e)),("undefined"!=typeof pmc_onetrust_roadblock_test&&1===pmc_onetrust_roadblock_test||"undefined"!=typeof pmc_onetrust_footer_test&&1===pmc_onetrust_footer_test)&&window.pmc_onetrust_helpers.addCaEventTracking()),(t=>new Promise(e=>{try{const e=__gpp("getGPPData");-1!==e.applicableSections&&null!==e&&(t.__gpp=e,window.pmc_onetrust.initialized.__gpp=!0)}catch{}e(t)}))(e).then((t=>new Promise(e=>{"function"==typeof __uspapi&&"object"==typeof pmc_fastly_geo_data&&"US"===pmc_fastly_geo_data?.country&&__uspapi("getUSPData",1,(n,o)=>{var i;"1---"===n?.uspString&&e(t);let s=Array(4).fill(void 0);"string"==typeof n?.uspString&&4===n.uspString.length&&(s=n.uspString.split("")),t.__uspapi={...n,version:null!==(i=s[0])&&void 0!==i?i:n?.version,doNotSellDataOffered:"Y"===s[1],consentsToSellData:"N"===s[2],IABLSPA:"Y"===s[3]},window.pmc_onetrust.initialized.__uspapi=!0,e(t)})}))(e)).then((t=>new Promise(e=>{try{!1===window.pmc_onetrust.initialized.__tcfapi&&__tcfapi("addEventListener",2,(n,o)=>{!o||"useractioncomplete"!==n.eventStatus&&"tcloaded"!==n.eventStatus||(n.purpose.consents[1]&&n.purpose.consents[8]&&n.purpose.consents[10]&&window.triggerGA?window.triggerGA(!0):window.triggerGA(!1),t.__tcfapi=n,e(t))})}catch{}}))(e)).then((t=>new Promise(e=>{Object.keys(t).length&&(window.pmc_onetrust.initialized.__tcfapi=!0,pmc.hooks.do_action("pmc_onetrust_consent_data_ready",{groupsConsentedTo:window.OptanonActiveGroups.split(",").filter(t=>t),consentData:t})),e()}))(e))}()},initialized:{__gpp:!1,__uspapi:!1,__tcfapi:!1}}})();