{"version":3,"sources":["../../src/client/remove-base-path.ts"],"names":["hasBasePath","basePath","process","env","__NEXT_ROUTER_BASEPATH","removeBasePath","path","__NEXT_MANUAL_CLIENT_BASE_PATH","length","slice","startsWith"],"mappings":"AAAA,SAASA,WAAW,QAAQ,kBAAiB;AAE7C,MAAMC,WAAW,AAACC,QAAQC,GAAG,CAACC,sBAAsB,IAAe;AAEnE,OAAO,SAASC,eAAeC,IAAY;IACzC,IAAIJ,QAAQC,GAAG,CAACI,8BAA8B,EAAE;QAC9C,IAAI,CAACP,YAAYM,OAAO;YACtB,OAAOA;QACT;IACF;IAEA,iDAAiD;IACjD,IAAIL,SAASO,MAAM,KAAK,GAAG,OAAOF;IAElCA,OAAOA,KAAKG,KAAK,CAACR,SAASO,MAAM;IACjC,IAAI,CAACF,KAAKI,UAAU,CAAC,MAAMJ,OAAO,AAAC,MAAGA;IACtC,OAAOA;AACT"}