pixi.js
Version:
<p align="center"> <a href="https://pixijs.com" target="_blank" rel="noopener noreferrer"> <img height="150" src="https://files.pixijs.download/branding/pixijs-logo-transparent-dark.svg?v=1" alt="PixiJS logo"> </a> </p> <br/> <p align="center">
1 lines • 872 B
Source Map (JSON)
{"version":3,"file":"copySearchParams.mjs","sources":["../../../src/assets/utils/copySearchParams.ts"],"sourcesContent":["/**\n * Copies the search params from one url to another\n * @param targetUrl - the url to copy the search params to\n * @param sourceUrl - the url container the search params we want to copy\n * @returns the url with the search params copied\n * @internal\n */\nexport const copySearchParams = (targetUrl: string, sourceUrl: string) =>\n{\n const searchParams = sourceUrl.split('?')[1];\n\n if (searchParams)\n {\n targetUrl += `?${searchParams}`;\n }\n\n return targetUrl;\n};\n"],"names":[],"mappings":";AAOO,MAAM,gBAAA,GAAmB,CAAC,SAAA,EAAmB,SAAA,KACpD;AACI,EAAA,MAAM,YAAA,GAAe,SAAA,CAAU,KAAA,CAAM,GAAG,EAAE,CAAC,CAAA;AAE3C,EAAA,IAAI,YAAA,EACJ;AACI,IAAA,SAAA,IAAa,IAAI,YAAY,CAAA,CAAA;AAAA,EACjC;AAEA,EAAA,OAAO,SAAA;AACX;;;;"}