@absolutejs/absolute 0.19.0-beta.1086 → 0.19.0-beta.1088

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -5629,18 +5629,658 @@ var init_lib = __esm(() => {
5629
5629
  init_chunk_HTB5LLOP();
5630
5630
  });
5631
5631
 
5632
+ // node_modules/@tailwindcss/oxide-linux-x64-musl/tailwindcss-oxide.linux-x64-musl.node
5633
+ var require_tailwindcss_oxide_linux_x64_musl = __commonJS((exports, module) => {
5634
+ module.exports = __require("./tailwindcss-oxide.linux-x64-musl-vr6z8t87.node");
5635
+ });
5636
+
5637
+ // node_modules/@tailwindcss/oxide-linux-x64-musl/package.json
5638
+ var require_package = __commonJS((exports, module) => {
5639
+ module.exports = {
5640
+ name: "@tailwindcss/oxide-linux-x64-musl",
5641
+ version: "4.3.2",
5642
+ repository: {
5643
+ type: "git",
5644
+ url: "git+https://github.com/tailwindlabs/tailwindcss.git",
5645
+ directory: "crates/node/npm/linux-x64-musl"
5646
+ },
5647
+ os: [
5648
+ "linux"
5649
+ ],
5650
+ cpu: [
5651
+ "x64"
5652
+ ],
5653
+ main: "tailwindcss-oxide.linux-x64-musl.node",
5654
+ files: [
5655
+ "tailwindcss-oxide.linux-x64-musl.node"
5656
+ ],
5657
+ publishConfig: {
5658
+ provenance: true,
5659
+ access: "public"
5660
+ },
5661
+ license: "MIT",
5662
+ engines: {
5663
+ node: ">= 20"
5664
+ },
5665
+ libc: [
5666
+ "musl"
5667
+ ]
5668
+ };
5669
+ });
5670
+
5671
+ // node_modules/@tailwindcss/oxide-linux-x64-gnu/tailwindcss-oxide.linux-x64-gnu.node
5672
+ var require_tailwindcss_oxide_linux_x64_gnu = __commonJS((exports, module) => {
5673
+ module.exports = __require("./tailwindcss-oxide.linux-x64-gnu-vcb5zrt4.node");
5674
+ });
5675
+
5676
+ // node_modules/@tailwindcss/oxide-linux-x64-gnu/package.json
5677
+ var require_package2 = __commonJS((exports, module) => {
5678
+ module.exports = {
5679
+ name: "@tailwindcss/oxide-linux-x64-gnu",
5680
+ version: "4.3.2",
5681
+ repository: {
5682
+ type: "git",
5683
+ url: "git+https://github.com/tailwindlabs/tailwindcss.git",
5684
+ directory: "crates/node/npm/linux-x64-gnu"
5685
+ },
5686
+ os: [
5687
+ "linux"
5688
+ ],
5689
+ cpu: [
5690
+ "x64"
5691
+ ],
5692
+ main: "tailwindcss-oxide.linux-x64-gnu.node",
5693
+ files: [
5694
+ "tailwindcss-oxide.linux-x64-gnu.node"
5695
+ ],
5696
+ publishConfig: {
5697
+ provenance: true,
5698
+ access: "public"
5699
+ },
5700
+ license: "MIT",
5701
+ engines: {
5702
+ node: ">= 20"
5703
+ },
5704
+ libc: [
5705
+ "glibc"
5706
+ ]
5707
+ };
5708
+ });
5709
+
5710
+ // node_modules/@tailwindcss/oxide/index.js
5711
+ var require_oxide = __commonJS((exports, module) => {
5712
+ var { readFileSync: readFileSync4 } = __require("fs");
5713
+ var nativeBinding = null;
5714
+ var loadErrors = [];
5715
+ var isMusl = () => {
5716
+ let musl = false;
5717
+ if (process.platform === "linux") {
5718
+ musl = isMuslFromFilesystem();
5719
+ if (musl === null) {
5720
+ musl = isMuslFromReport();
5721
+ }
5722
+ if (musl === null) {
5723
+ musl = isMuslFromChildProcess();
5724
+ }
5725
+ }
5726
+ return musl;
5727
+ };
5728
+ var isFileMusl = (f2) => f2.includes("libc.musl-") || f2.includes("ld-musl-");
5729
+ var isMuslFromFilesystem = () => {
5730
+ try {
5731
+ return readFileSync4("/usr/bin/ldd", "utf-8").includes("musl");
5732
+ } catch {
5733
+ return null;
5734
+ }
5735
+ };
5736
+ var isMuslFromReport = () => {
5737
+ let report = null;
5738
+ if (typeof process.report?.getReport === "function") {
5739
+ process.report.excludeNetwork = true;
5740
+ report = process.report.getReport();
5741
+ }
5742
+ if (!report) {
5743
+ return null;
5744
+ }
5745
+ if (report.header && report.header.glibcVersionRuntime) {
5746
+ return false;
5747
+ }
5748
+ if (Array.isArray(report.sharedObjects)) {
5749
+ if (report.sharedObjects.some(isFileMusl)) {
5750
+ return true;
5751
+ }
5752
+ }
5753
+ return false;
5754
+ };
5755
+ var isMuslFromChildProcess = () => {
5756
+ try {
5757
+ return __require("child_process").execSync("ldd --version", { encoding: "utf8" }).includes("musl");
5758
+ } catch (e) {
5759
+ return false;
5760
+ }
5761
+ };
5762
+ function requireNative() {
5763
+ if (process.env.NAPI_RS_NATIVE_LIBRARY_PATH) {
5764
+ try {
5765
+ return __require(process.env.NAPI_RS_NATIVE_LIBRARY_PATH);
5766
+ } catch (err) {
5767
+ loadErrors.push(err);
5768
+ }
5769
+ } else if (process.platform === "android") {
5770
+ if (process.arch === "arm64") {
5771
+ try {
5772
+ return (()=>{throw new Error("Cannot require module "+"./tailwindcss-oxide.android-arm64.node");})();
5773
+ } catch (e) {
5774
+ loadErrors.push(e);
5775
+ }
5776
+ try {
5777
+ const binding = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-android-arm64");})();
5778
+ const bindingPackageVersion = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-android-arm64/package.json");})().version;
5779
+ if (bindingPackageVersion !== "4.3.2" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
5780
+ throw new Error(`Native binding package version mismatch, expected 4.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
5781
+ }
5782
+ return binding;
5783
+ } catch (e) {
5784
+ loadErrors.push(e);
5785
+ }
5786
+ } else if (process.arch === "arm") {
5787
+ try {
5788
+ return (()=>{throw new Error("Cannot require module "+"./tailwindcss-oxide.android-arm-eabi.node");})();
5789
+ } catch (e) {
5790
+ loadErrors.push(e);
5791
+ }
5792
+ try {
5793
+ const binding = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-android-arm-eabi");})();
5794
+ const bindingPackageVersion = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-android-arm-eabi/package.json");})().version;
5795
+ if (bindingPackageVersion !== "4.3.2" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
5796
+ throw new Error(`Native binding package version mismatch, expected 4.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
5797
+ }
5798
+ return binding;
5799
+ } catch (e) {
5800
+ loadErrors.push(e);
5801
+ }
5802
+ } else {
5803
+ loadErrors.push(new Error(`Unsupported architecture on Android ${process.arch}`));
5804
+ }
5805
+ } else if (process.platform === "win32") {
5806
+ if (process.arch === "x64") {
5807
+ if (process.config?.variables?.shlib_suffix === "dll.a" || process.config?.variables?.node_target_type === "shared_library") {
5808
+ try {
5809
+ return (()=>{throw new Error("Cannot require module "+"./tailwindcss-oxide.win32-x64-gnu.node");})();
5810
+ } catch (e) {
5811
+ loadErrors.push(e);
5812
+ }
5813
+ try {
5814
+ const binding = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-win32-x64-gnu");})();
5815
+ const bindingPackageVersion = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-win32-x64-gnu/package.json");})().version;
5816
+ if (bindingPackageVersion !== "4.3.2" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
5817
+ throw new Error(`Native binding package version mismatch, expected 4.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
5818
+ }
5819
+ return binding;
5820
+ } catch (e) {
5821
+ loadErrors.push(e);
5822
+ }
5823
+ } else {
5824
+ try {
5825
+ return (()=>{throw new Error("Cannot require module "+"./tailwindcss-oxide.win32-x64-msvc.node");})();
5826
+ } catch (e) {
5827
+ loadErrors.push(e);
5828
+ }
5829
+ try {
5830
+ const binding = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-win32-x64-msvc");})();
5831
+ const bindingPackageVersion = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-win32-x64-msvc/package.json");})().version;
5832
+ if (bindingPackageVersion !== "4.3.2" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
5833
+ throw new Error(`Native binding package version mismatch, expected 4.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
5834
+ }
5835
+ return binding;
5836
+ } catch (e) {
5837
+ loadErrors.push(e);
5838
+ }
5839
+ }
5840
+ } else if (process.arch === "ia32") {
5841
+ try {
5842
+ return (()=>{throw new Error("Cannot require module "+"./tailwindcss-oxide.win32-ia32-msvc.node");})();
5843
+ } catch (e) {
5844
+ loadErrors.push(e);
5845
+ }
5846
+ try {
5847
+ const binding = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-win32-ia32-msvc");})();
5848
+ const bindingPackageVersion = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-win32-ia32-msvc/package.json");})().version;
5849
+ if (bindingPackageVersion !== "4.3.2" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
5850
+ throw new Error(`Native binding package version mismatch, expected 4.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
5851
+ }
5852
+ return binding;
5853
+ } catch (e) {
5854
+ loadErrors.push(e);
5855
+ }
5856
+ } else if (process.arch === "arm64") {
5857
+ try {
5858
+ return (()=>{throw new Error("Cannot require module "+"./tailwindcss-oxide.win32-arm64-msvc.node");})();
5859
+ } catch (e) {
5860
+ loadErrors.push(e);
5861
+ }
5862
+ try {
5863
+ const binding = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-win32-arm64-msvc");})();
5864
+ const bindingPackageVersion = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-win32-arm64-msvc/package.json");})().version;
5865
+ if (bindingPackageVersion !== "4.3.2" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
5866
+ throw new Error(`Native binding package version mismatch, expected 4.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
5867
+ }
5868
+ return binding;
5869
+ } catch (e) {
5870
+ loadErrors.push(e);
5871
+ }
5872
+ } else {
5873
+ loadErrors.push(new Error(`Unsupported architecture on Windows: ${process.arch}`));
5874
+ }
5875
+ } else if (process.platform === "darwin") {
5876
+ try {
5877
+ return (()=>{throw new Error("Cannot require module "+"./tailwindcss-oxide.darwin-universal.node");})();
5878
+ } catch (e) {
5879
+ loadErrors.push(e);
5880
+ }
5881
+ try {
5882
+ const binding = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-darwin-universal");})();
5883
+ const bindingPackageVersion = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-darwin-universal/package.json");})().version;
5884
+ if (bindingPackageVersion !== "4.3.2" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
5885
+ throw new Error(`Native binding package version mismatch, expected 4.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
5886
+ }
5887
+ return binding;
5888
+ } catch (e) {
5889
+ loadErrors.push(e);
5890
+ }
5891
+ if (process.arch === "x64") {
5892
+ try {
5893
+ return (()=>{throw new Error("Cannot require module "+"./tailwindcss-oxide.darwin-x64.node");})();
5894
+ } catch (e) {
5895
+ loadErrors.push(e);
5896
+ }
5897
+ try {
5898
+ const binding = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-darwin-x64");})();
5899
+ const bindingPackageVersion = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-darwin-x64/package.json");})().version;
5900
+ if (bindingPackageVersion !== "4.3.2" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
5901
+ throw new Error(`Native binding package version mismatch, expected 4.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
5902
+ }
5903
+ return binding;
5904
+ } catch (e) {
5905
+ loadErrors.push(e);
5906
+ }
5907
+ } else if (process.arch === "arm64") {
5908
+ try {
5909
+ return (()=>{throw new Error("Cannot require module "+"./tailwindcss-oxide.darwin-arm64.node");})();
5910
+ } catch (e) {
5911
+ loadErrors.push(e);
5912
+ }
5913
+ try {
5914
+ const binding = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-darwin-arm64");})();
5915
+ const bindingPackageVersion = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-darwin-arm64/package.json");})().version;
5916
+ if (bindingPackageVersion !== "4.3.2" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
5917
+ throw new Error(`Native binding package version mismatch, expected 4.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
5918
+ }
5919
+ return binding;
5920
+ } catch (e) {
5921
+ loadErrors.push(e);
5922
+ }
5923
+ } else {
5924
+ loadErrors.push(new Error(`Unsupported architecture on macOS: ${process.arch}`));
5925
+ }
5926
+ } else if (process.platform === "freebsd") {
5927
+ if (process.arch === "x64") {
5928
+ try {
5929
+ return (()=>{throw new Error("Cannot require module "+"./tailwindcss-oxide.freebsd-x64.node");})();
5930
+ } catch (e) {
5931
+ loadErrors.push(e);
5932
+ }
5933
+ try {
5934
+ const binding = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-freebsd-x64");})();
5935
+ const bindingPackageVersion = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-freebsd-x64/package.json");})().version;
5936
+ if (bindingPackageVersion !== "4.3.2" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
5937
+ throw new Error(`Native binding package version mismatch, expected 4.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
5938
+ }
5939
+ return binding;
5940
+ } catch (e) {
5941
+ loadErrors.push(e);
5942
+ }
5943
+ } else if (process.arch === "arm64") {
5944
+ try {
5945
+ return (()=>{throw new Error("Cannot require module "+"./tailwindcss-oxide.freebsd-arm64.node");})();
5946
+ } catch (e) {
5947
+ loadErrors.push(e);
5948
+ }
5949
+ try {
5950
+ const binding = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-freebsd-arm64");})();
5951
+ const bindingPackageVersion = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-freebsd-arm64/package.json");})().version;
5952
+ if (bindingPackageVersion !== "4.3.2" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
5953
+ throw new Error(`Native binding package version mismatch, expected 4.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
5954
+ }
5955
+ return binding;
5956
+ } catch (e) {
5957
+ loadErrors.push(e);
5958
+ }
5959
+ } else {
5960
+ loadErrors.push(new Error(`Unsupported architecture on FreeBSD: ${process.arch}`));
5961
+ }
5962
+ } else if (process.platform === "linux") {
5963
+ if (process.arch === "x64") {
5964
+ if (isMusl()) {
5965
+ try {
5966
+ return (()=>{throw new Error("Cannot require module "+"./tailwindcss-oxide.linux-x64-musl.node");})();
5967
+ } catch (e) {
5968
+ loadErrors.push(e);
5969
+ }
5970
+ try {
5971
+ const binding = require_tailwindcss_oxide_linux_x64_musl();
5972
+ const bindingPackageVersion = require_package().version;
5973
+ if (bindingPackageVersion !== "4.3.2" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
5974
+ throw new Error(`Native binding package version mismatch, expected 4.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
5975
+ }
5976
+ return binding;
5977
+ } catch (e) {
5978
+ loadErrors.push(e);
5979
+ }
5980
+ } else {
5981
+ try {
5982
+ return (()=>{throw new Error("Cannot require module "+"./tailwindcss-oxide.linux-x64-gnu.node");})();
5983
+ } catch (e) {
5984
+ loadErrors.push(e);
5985
+ }
5986
+ try {
5987
+ const binding = require_tailwindcss_oxide_linux_x64_gnu();
5988
+ const bindingPackageVersion = require_package2().version;
5989
+ if (bindingPackageVersion !== "4.3.2" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
5990
+ throw new Error(`Native binding package version mismatch, expected 4.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
5991
+ }
5992
+ return binding;
5993
+ } catch (e) {
5994
+ loadErrors.push(e);
5995
+ }
5996
+ }
5997
+ } else if (process.arch === "arm64") {
5998
+ if (isMusl()) {
5999
+ try {
6000
+ return (()=>{throw new Error("Cannot require module "+"./tailwindcss-oxide.linux-arm64-musl.node");})();
6001
+ } catch (e) {
6002
+ loadErrors.push(e);
6003
+ }
6004
+ try {
6005
+ const binding = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-linux-arm64-musl");})();
6006
+ const bindingPackageVersion = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-linux-arm64-musl/package.json");})().version;
6007
+ if (bindingPackageVersion !== "4.3.2" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
6008
+ throw new Error(`Native binding package version mismatch, expected 4.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
6009
+ }
6010
+ return binding;
6011
+ } catch (e) {
6012
+ loadErrors.push(e);
6013
+ }
6014
+ } else {
6015
+ try {
6016
+ return (()=>{throw new Error("Cannot require module "+"./tailwindcss-oxide.linux-arm64-gnu.node");})();
6017
+ } catch (e) {
6018
+ loadErrors.push(e);
6019
+ }
6020
+ try {
6021
+ const binding = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-linux-arm64-gnu");})();
6022
+ const bindingPackageVersion = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-linux-arm64-gnu/package.json");})().version;
6023
+ if (bindingPackageVersion !== "4.3.2" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
6024
+ throw new Error(`Native binding package version mismatch, expected 4.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
6025
+ }
6026
+ return binding;
6027
+ } catch (e) {
6028
+ loadErrors.push(e);
6029
+ }
6030
+ }
6031
+ } else if (process.arch === "arm") {
6032
+ if (isMusl()) {
6033
+ try {
6034
+ return (()=>{throw new Error("Cannot require module "+"./tailwindcss-oxide.linux-arm-musleabihf.node");})();
6035
+ } catch (e) {
6036
+ loadErrors.push(e);
6037
+ }
6038
+ try {
6039
+ const binding = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-linux-arm-musleabihf");})();
6040
+ const bindingPackageVersion = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-linux-arm-musleabihf/package.json");})().version;
6041
+ if (bindingPackageVersion !== "4.3.2" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
6042
+ throw new Error(`Native binding package version mismatch, expected 4.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
6043
+ }
6044
+ return binding;
6045
+ } catch (e) {
6046
+ loadErrors.push(e);
6047
+ }
6048
+ } else {
6049
+ try {
6050
+ return (()=>{throw new Error("Cannot require module "+"./tailwindcss-oxide.linux-arm-gnueabihf.node");})();
6051
+ } catch (e) {
6052
+ loadErrors.push(e);
6053
+ }
6054
+ try {
6055
+ const binding = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-linux-arm-gnueabihf");})();
6056
+ const bindingPackageVersion = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-linux-arm-gnueabihf/package.json");})().version;
6057
+ if (bindingPackageVersion !== "4.3.2" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
6058
+ throw new Error(`Native binding package version mismatch, expected 4.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
6059
+ }
6060
+ return binding;
6061
+ } catch (e) {
6062
+ loadErrors.push(e);
6063
+ }
6064
+ }
6065
+ } else if (process.arch === "loong64") {
6066
+ if (isMusl()) {
6067
+ try {
6068
+ return (()=>{throw new Error("Cannot require module "+"./tailwindcss-oxide.linux-loong64-musl.node");})();
6069
+ } catch (e) {
6070
+ loadErrors.push(e);
6071
+ }
6072
+ try {
6073
+ const binding = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-linux-loong64-musl");})();
6074
+ const bindingPackageVersion = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-linux-loong64-musl/package.json");})().version;
6075
+ if (bindingPackageVersion !== "4.3.2" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
6076
+ throw new Error(`Native binding package version mismatch, expected 4.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
6077
+ }
6078
+ return binding;
6079
+ } catch (e) {
6080
+ loadErrors.push(e);
6081
+ }
6082
+ } else {
6083
+ try {
6084
+ return (()=>{throw new Error("Cannot require module "+"./tailwindcss-oxide.linux-loong64-gnu.node");})();
6085
+ } catch (e) {
6086
+ loadErrors.push(e);
6087
+ }
6088
+ try {
6089
+ const binding = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-linux-loong64-gnu");})();
6090
+ const bindingPackageVersion = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-linux-loong64-gnu/package.json");})().version;
6091
+ if (bindingPackageVersion !== "4.3.2" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
6092
+ throw new Error(`Native binding package version mismatch, expected 4.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
6093
+ }
6094
+ return binding;
6095
+ } catch (e) {
6096
+ loadErrors.push(e);
6097
+ }
6098
+ }
6099
+ } else if (process.arch === "riscv64") {
6100
+ if (isMusl()) {
6101
+ try {
6102
+ return (()=>{throw new Error("Cannot require module "+"./tailwindcss-oxide.linux-riscv64-musl.node");})();
6103
+ } catch (e) {
6104
+ loadErrors.push(e);
6105
+ }
6106
+ try {
6107
+ const binding = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-linux-riscv64-musl");})();
6108
+ const bindingPackageVersion = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-linux-riscv64-musl/package.json");})().version;
6109
+ if (bindingPackageVersion !== "4.3.2" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
6110
+ throw new Error(`Native binding package version mismatch, expected 4.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
6111
+ }
6112
+ return binding;
6113
+ } catch (e) {
6114
+ loadErrors.push(e);
6115
+ }
6116
+ } else {
6117
+ try {
6118
+ return (()=>{throw new Error("Cannot require module "+"./tailwindcss-oxide.linux-riscv64-gnu.node");})();
6119
+ } catch (e) {
6120
+ loadErrors.push(e);
6121
+ }
6122
+ try {
6123
+ const binding = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-linux-riscv64-gnu");})();
6124
+ const bindingPackageVersion = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-linux-riscv64-gnu/package.json");})().version;
6125
+ if (bindingPackageVersion !== "4.3.2" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
6126
+ throw new Error(`Native binding package version mismatch, expected 4.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
6127
+ }
6128
+ return binding;
6129
+ } catch (e) {
6130
+ loadErrors.push(e);
6131
+ }
6132
+ }
6133
+ } else if (process.arch === "ppc64") {
6134
+ try {
6135
+ return (()=>{throw new Error("Cannot require module "+"./tailwindcss-oxide.linux-ppc64-gnu.node");})();
6136
+ } catch (e) {
6137
+ loadErrors.push(e);
6138
+ }
6139
+ try {
6140
+ const binding = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-linux-ppc64-gnu");})();
6141
+ const bindingPackageVersion = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-linux-ppc64-gnu/package.json");})().version;
6142
+ if (bindingPackageVersion !== "4.3.2" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
6143
+ throw new Error(`Native binding package version mismatch, expected 4.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
6144
+ }
6145
+ return binding;
6146
+ } catch (e) {
6147
+ loadErrors.push(e);
6148
+ }
6149
+ } else if (process.arch === "s390x") {
6150
+ try {
6151
+ return (()=>{throw new Error("Cannot require module "+"./tailwindcss-oxide.linux-s390x-gnu.node");})();
6152
+ } catch (e) {
6153
+ loadErrors.push(e);
6154
+ }
6155
+ try {
6156
+ const binding = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-linux-s390x-gnu");})();
6157
+ const bindingPackageVersion = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-linux-s390x-gnu/package.json");})().version;
6158
+ if (bindingPackageVersion !== "4.3.2" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
6159
+ throw new Error(`Native binding package version mismatch, expected 4.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
6160
+ }
6161
+ return binding;
6162
+ } catch (e) {
6163
+ loadErrors.push(e);
6164
+ }
6165
+ } else {
6166
+ loadErrors.push(new Error(`Unsupported architecture on Linux: ${process.arch}`));
6167
+ }
6168
+ } else if (process.platform === "openharmony") {
6169
+ if (process.arch === "arm64") {
6170
+ try {
6171
+ return (()=>{throw new Error("Cannot require module "+"./tailwindcss-oxide.openharmony-arm64.node");})();
6172
+ } catch (e) {
6173
+ loadErrors.push(e);
6174
+ }
6175
+ try {
6176
+ const binding = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-openharmony-arm64");})();
6177
+ const bindingPackageVersion = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-openharmony-arm64/package.json");})().version;
6178
+ if (bindingPackageVersion !== "4.3.2" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
6179
+ throw new Error(`Native binding package version mismatch, expected 4.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
6180
+ }
6181
+ return binding;
6182
+ } catch (e) {
6183
+ loadErrors.push(e);
6184
+ }
6185
+ } else if (process.arch === "x64") {
6186
+ try {
6187
+ return (()=>{throw new Error("Cannot require module "+"./tailwindcss-oxide.openharmony-x64.node");})();
6188
+ } catch (e) {
6189
+ loadErrors.push(e);
6190
+ }
6191
+ try {
6192
+ const binding = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-openharmony-x64");})();
6193
+ const bindingPackageVersion = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-openharmony-x64/package.json");})().version;
6194
+ if (bindingPackageVersion !== "4.3.2" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
6195
+ throw new Error(`Native binding package version mismatch, expected 4.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
6196
+ }
6197
+ return binding;
6198
+ } catch (e) {
6199
+ loadErrors.push(e);
6200
+ }
6201
+ } else if (process.arch === "arm") {
6202
+ try {
6203
+ return (()=>{throw new Error("Cannot require module "+"./tailwindcss-oxide.openharmony-arm.node");})();
6204
+ } catch (e) {
6205
+ loadErrors.push(e);
6206
+ }
6207
+ try {
6208
+ const binding = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-openharmony-arm");})();
6209
+ const bindingPackageVersion = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-openharmony-arm/package.json");})().version;
6210
+ if (bindingPackageVersion !== "4.3.2" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
6211
+ throw new Error(`Native binding package version mismatch, expected 4.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
6212
+ }
6213
+ return binding;
6214
+ } catch (e) {
6215
+ loadErrors.push(e);
6216
+ }
6217
+ } else {
6218
+ loadErrors.push(new Error(`Unsupported architecture on OpenHarmony: ${process.arch}`));
6219
+ }
6220
+ } else {
6221
+ loadErrors.push(new Error(`Unsupported OS: ${process.platform}, architecture: ${process.arch}`));
6222
+ }
6223
+ }
6224
+ nativeBinding = requireNative();
6225
+ var forceWasi = process.env.NAPI_RS_FORCE_WASI === "true" || process.env.NAPI_RS_FORCE_WASI === "error";
6226
+ if (!nativeBinding || forceWasi) {
6227
+ let wasiBinding = null;
6228
+ let wasiBindingError = null;
6229
+ try {
6230
+ wasiBinding = (()=>{throw new Error("Cannot require module "+"./tailwindcss-oxide.wasi.cjs");})();
6231
+ nativeBinding = wasiBinding;
6232
+ } catch (err) {
6233
+ if (forceWasi) {
6234
+ wasiBindingError = err;
6235
+ }
6236
+ }
6237
+ if (!nativeBinding || forceWasi) {
6238
+ try {
6239
+ wasiBinding = (()=>{throw new Error("Cannot require module "+"@tailwindcss/oxide-wasm32-wasi");})();
6240
+ nativeBinding = wasiBinding;
6241
+ } catch (err) {
6242
+ if (forceWasi) {
6243
+ if (!wasiBindingError) {
6244
+ wasiBindingError = err;
6245
+ } else {
6246
+ wasiBindingError.cause = err;
6247
+ }
6248
+ loadErrors.push(err);
6249
+ }
6250
+ }
6251
+ }
6252
+ if (process.env.NAPI_RS_FORCE_WASI === "error" && !wasiBinding) {
6253
+ const error = new Error("WASI binding not found and NAPI_RS_FORCE_WASI is set to error");
6254
+ error.cause = wasiBindingError;
6255
+ throw error;
6256
+ }
6257
+ }
6258
+ if (!nativeBinding) {
6259
+ if (loadErrors.length > 0) {
6260
+ throw new Error(`Cannot find native binding. ` + `npm has a bug related to optional dependencies (https://github.com/npm/cli/issues/4828). ` + "Please try `npm i` again after removing both package-lock.json and node_modules directory.", {
6261
+ cause: loadErrors.reduce((err, cur) => {
6262
+ cur.cause = err;
6263
+ return cur;
6264
+ })
6265
+ });
6266
+ }
6267
+ throw new Error(`Failed to load native binding`);
6268
+ }
6269
+ module.exports = nativeBinding;
6270
+ module.exports.Scanner = nativeBinding.Scanner;
6271
+ });
6272
+
5632
6273
  // src/build/tailwindCompiler.ts
5633
6274
  var exports_tailwindCompiler = {};
5634
6275
  __export(exports_tailwindCompiler, {
5635
6276
  warmTailwindCompiler: () => warmTailwindCompiler,
5636
6277
  incrementalTailwindBuild: () => incrementalTailwindBuild,
5637
- extractCandidates: () => extractCandidates,
5638
6278
  disposeTailwindCompiler: () => disposeTailwindCompiler
5639
6279
  });
5640
6280
  import { createHash as createHash2 } from "crypto";
5641
6281
  import { existsSync as existsSync4, readFileSync as readFileSync4 } from "fs";
5642
6282
  import { readFile as readFile2, stat } from "fs/promises";
5643
- import { dirname as dirname3, isAbsolute as isAbsolute2, resolve as resolve3 } from "path";
6283
+ import { dirname as dirname3, extname as extname2, isAbsolute as isAbsolute2, resolve as resolve3 } from "path";
5644
6284
  var compilerCache, cachedTailwindCompile = null, loadTailwindCompile = async () => {
5645
6285
  if (cachedTailwindCompile)
5646
6286
  return cachedTailwindCompile;
@@ -5651,6 +6291,16 @@ var compilerCache, cachedTailwindCompile = null, loadTailwindCompile = async ()
5651
6291
  } catch {
5652
6292
  throw new Error("Tailwind incremental dev compiler requires `tailwindcss` to be installed.");
5653
6293
  }
6294
+ }, cachedScannerCtor = null, loadScanner = async () => {
6295
+ if (cachedScannerCtor)
6296
+ return cachedScannerCtor;
6297
+ try {
6298
+ const mod = await Promise.resolve().then(() => __toESM(require_oxide(), 1));
6299
+ cachedScannerCtor = mod.Scanner;
6300
+ return mod.Scanner;
6301
+ } catch {
6302
+ throw new Error("Tailwind incremental dev compiler requires `@tailwindcss/oxide` (it ships with Tailwind v4).");
6303
+ }
5654
6304
  }, recordDependency = async (deps, path) => {
5655
6305
  try {
5656
6306
  const mtime = (await stat(path)).mtimeMs;
@@ -5717,22 +6367,25 @@ ${userCss}` : userCss;
5717
6367
  loadModule,
5718
6368
  loadStylesheet: createLoadStylesheet(cssDependencies)
5719
6369
  });
6370
+ const sources = [...compiler.sources];
6371
+ const Scanner = await loadScanner();
6372
+ const scanner = new Scanner({
6373
+ sources: sources.map((source) => ({
6374
+ base: source.base,
6375
+ negated: source.negated,
6376
+ pattern: source.pattern
6377
+ }))
6378
+ });
5720
6379
  return {
5721
- candidateCounts: new Map,
6380
+ candidates: new Set(scanner.scan()),
5722
6381
  compiler,
5723
6382
  cssDependencies,
5724
6383
  cssMtimeMs,
5725
6384
  cssPath: absPath,
5726
6385
  lastEmittedHash: null,
5727
- perFileCandidates: new Map,
5728
- sources: [...compiler.sources]
6386
+ scanner,
6387
+ sources
5729
6388
  };
5730
- }, CANDIDATE_PATTERN, extractCandidates = (source) => {
5731
- const out = new Set;
5732
- for (const match of source.matchAll(CANDIDATE_PATTERN)) {
5733
- out.add(match[0]);
5734
- }
5735
- return out;
5736
6389
  }, hashCss = (css) => createHash2("sha1").update(css).digest("hex"), fileMatchesSources = (file, sources) => {
5737
6390
  if (sources.length === 0)
5738
6391
  return true;
@@ -5751,77 +6404,6 @@ ${userCss}` : userCss;
5751
6404
  return true;
5752
6405
  }
5753
6406
  return false;
5754
- }, incrementCandidateCount = (entry, candidate) => {
5755
- const current = entry.candidateCounts.get(candidate) ?? 0;
5756
- entry.candidateCounts.set(candidate, current + 1);
5757
- }, decrementCandidateCount = (entry, candidate) => {
5758
- const current = entry.candidateCounts.get(candidate) ?? 0;
5759
- const next = current - 1;
5760
- if (next <= 0) {
5761
- entry.candidateCounts.delete(candidate);
5762
- return;
5763
- }
5764
- entry.candidateCounts.set(candidate, next);
5765
- }, replaceFileCandidates = (entry, file, freshCandidates) => {
5766
- const previous = entry.perFileCandidates.get(file);
5767
- if (previous) {
5768
- for (const candidate of previous)
5769
- decrementCandidateCount(entry, candidate);
5770
- }
5771
- entry.perFileCandidates.set(file, freshCandidates);
5772
- for (const candidate of freshCandidates)
5773
- incrementCandidateCount(entry, candidate);
5774
- }, splitGlobAtFirstMeta = (absolutePattern) => {
5775
- const firstMetaIndex = absolutePattern.search(/[*?{[]/);
5776
- if (firstMetaIndex === -1) {
5777
- return { glob: "", root: absolutePattern };
5778
- }
5779
- const lastSlashBeforeMeta = absolutePattern.lastIndexOf("/", firstMetaIndex);
5780
- return {
5781
- glob: absolutePattern.slice(lastSlashBeforeMeta + 1),
5782
- root: absolutePattern.slice(0, lastSlashBeforeMeta) || "/"
5783
- };
5784
- }, collectFilesForSources = async (sources) => {
5785
- const seen = new Set;
5786
- const collected = [];
5787
- const scans = sources.filter((source) => !source.negated).map(async (source) => {
5788
- const absolutePattern = resolve3(source.base, source.pattern);
5789
- const { glob: relativePattern, root } = splitGlobAtFirstMeta(absolutePattern);
5790
- if (!relativePattern) {
5791
- try {
5792
- const stats = await stat(absolutePattern);
5793
- return stats.isFile() ? [absolutePattern] : [];
5794
- } catch {
5795
- return [];
5796
- }
5797
- }
5798
- const glob = new Bun.Glob(relativePattern);
5799
- const matches = [];
5800
- for await (const relative2 of glob.scan({
5801
- absolute: false,
5802
- cwd: root,
5803
- onlyFiles: true
5804
- })) {
5805
- matches.push(resolve3(root, relative2));
5806
- }
5807
- return matches;
5808
- });
5809
- const results = await Promise.all(scans);
5810
- for (const absolute of results.flat()) {
5811
- if (seen.has(absolute))
5812
- continue;
5813
- seen.add(absolute);
5814
- collected.push(absolute);
5815
- }
5816
- return collected;
5817
- }, ingestFile = async (entry, absolute) => {
5818
- try {
5819
- const text = await readFile2(absolute, "utf-8");
5820
- replaceFileCandidates(entry, absolute, extractCandidates(text));
5821
- } catch {}
5822
- }, populateCandidatesFromAllSources = async (entry) => {
5823
- const files = await collectFilesForSources(entry.sources);
5824
- await Promise.all(files.map((file) => ingestFile(entry, file)));
5825
6407
  }, isCompilerStale = async (entry) => {
5826
6408
  const checks = [...entry.cssDependencies.entries()].map(async ([path, knownMtime]) => {
5827
6409
  try {
@@ -5839,7 +6421,6 @@ ${userCss}` : userCss;
5839
6421
  if (cached && !await isCompilerStale(cached))
5840
6422
  return cached;
5841
6423
  const fresh = await buildCompilerEntry(cssPath, extraSources);
5842
- await populateCandidatesFromAllSources(fresh);
5843
6424
  compilerCache.set(key, fresh);
5844
6425
  return fresh;
5845
6426
  }, disposeTailwindCompiler = (cssPath) => {
@@ -5861,8 +6442,15 @@ ${userCss}` : userCss;
5861
6442
  continue;
5862
6443
  filesToRescan.push(abs);
5863
6444
  }
5864
- await Promise.all(filesToRescan.map((file) => ingestFile(entry, file)));
5865
- const rawCss = entry.compiler.build([...entry.candidateCounts.keys()]);
6445
+ if (filesToRescan.length > 0) {
6446
+ const found = entry.scanner.scanFiles(filesToRescan.map((file) => ({
6447
+ extension: extname2(file).slice(1),
6448
+ file
6449
+ })));
6450
+ for (const candidate of found)
6451
+ entry.candidates.add(candidate);
6452
+ }
6453
+ const rawCss = entry.compiler.build([...entry.candidates]);
5866
6454
  const outputPath = resolve3(buildPath, tailwind.output);
5867
6455
  const finalCss = await compileStyleSource(outputPath, rawCss, "css", styleTransformConfig);
5868
6456
  const hash = hashCss(finalCss);
@@ -5879,7 +6467,6 @@ ${userCss}` : userCss;
5879
6467
  var init_tailwindCompiler = __esm(() => {
5880
6468
  init_stylePreprocessor();
5881
6469
  compilerCache = new Map;
5882
- CANDIDATE_PATTERN = /[A-Za-z!\-_][\w:\-/[\]().!,#%@&]*[\w\])]/g;
5883
6470
  });
5884
6471
 
5885
6472
  // src/build/compileTailwind.ts
@@ -7954,7 +8541,7 @@ var init_lowerAwaitSlotSyntax = __esm(() => {
7954
8541
 
7955
8542
  // src/core/svelteServerModule.ts
7956
8543
  import { mkdir as mkdir3, readdir as readdir2 } from "fs/promises";
7957
- import { basename, dirname as dirname6, extname as extname2, join as join8, relative as relative3, resolve as resolve7 } from "path";
8544
+ import { basename, dirname as dirname6, extname as extname3, join as join8, relative as relative3, resolve as resolve7 } from "path";
7958
8545
  var serverCacheRoot2, compiledModuleCache2, originalSourcePathCache, transpiler, ensureRelativeImportPath = (from, target) => {
7959
8546
  const importPath = relative3(dirname6(from), target).replace(/\\/g, "/");
7960
8547
  return importPath.startsWith(".") ? importPath : `./${importPath}`;
@@ -8035,7 +8622,7 @@ var serverCacheRoot2, compiledModuleCache2, originalSourcePathCache, transpiler,
8035
8622
  return null;
8036
8623
  }
8037
8624
  const explicitPath = resolve7(dirname6(from), spec);
8038
- if (extname2(explicitPath) === ".svelte") {
8625
+ if (extname3(explicitPath) === ".svelte") {
8039
8626
  return explicitPath;
8040
8627
  }
8041
8628
  const candidate = `${explicitPath}.svelte`;
@@ -8400,7 +8987,7 @@ var init_renderIslandMarkup = __esm(() => {
8400
8987
 
8401
8988
  // src/build/islandEntries.ts
8402
8989
  import { mkdirSync, rmSync, writeFileSync as writeFileSync2 } from "fs";
8403
- import { dirname as dirname8, extname as extname3, join as join10, relative as relative5, resolve as resolve9 } from "path";
8990
+ import { dirname as dirname8, extname as extname4, join as join10, relative as relative5, resolve as resolve9 } from "path";
8404
8991
  import ts from "typescript";
8405
8992
  var frameworks, isRecord4 = (value) => typeof value === "object" && value !== null, resolveRegistryExport = (mod) => {
8406
8993
  if (isRecord4(mod.islandRegistry))
@@ -8606,7 +9193,7 @@ export default component;
8606
9193
  return /\.svelte(?:\.(?:ts|js))?$/.test(sourcePath);
8607
9194
  }
8608
9195
  if (framework === "vue") {
8609
- return extname3(sourcePath) === ".vue";
9196
+ return extname4(sourcePath) === ".vue";
8610
9197
  }
8611
9198
  if (framework === "angular") {
8612
9199
  return /\.(?:ts|js|tsx|jsx|mjs|cjs)$/.test(sourcePath);
@@ -19345,7 +19932,7 @@ var exports_generateManifest = {};
19345
19932
  __export(exports_generateManifest, {
19346
19933
  generateManifest: () => generateManifest
19347
19934
  });
19348
- import { extname as extname4 } from "path";
19935
+ import { extname as extname5 } from "path";
19349
19936
  var getManifestKey = (folder, pascalName, isClientComponent, isReact, isVue, isSvelte, isAngular) => {
19350
19937
  if (folder === "indexes")
19351
19938
  return `${pascalName}Index`;
@@ -19369,7 +19956,7 @@ var getManifestKey = (folder, pascalName, isClientComponent, isReact, isVue, isS
19369
19956
  return `${pascalName}BundledCSS`;
19370
19957
  return `${pascalName}CSS`;
19371
19958
  }, getArtifactBaseName = (fileName, hash) => {
19372
- const ext = extname4(fileName);
19959
+ const ext = extname5(fileName);
19373
19960
  const stem = ext ? fileName.slice(0, -ext.length) : fileName;
19374
19961
  if (!hash)
19375
19962
  return stem;
@@ -19390,7 +19977,7 @@ var getManifestKey = (folder, pascalName, isClientComponent, isReact, isVue, isS
19390
19977
  if (!baseName)
19391
19978
  return manifest;
19392
19979
  const pascalName = toPascal(baseName);
19393
- const ext = extname4(fileWithHash);
19980
+ const ext = extname5(fileWithHash);
19394
19981
  const islandIndex = segments.findIndex((seg) => seg === "islands");
19395
19982
  if (ext === ".css") {
19396
19983
  if (segments.includes("server"))
@@ -23033,7 +23620,7 @@ import {
23033
23620
  dirname as dirname15,
23034
23621
  join as join32,
23035
23622
  basename as basename8,
23036
- extname as extname5,
23623
+ extname as extname6,
23037
23624
  resolve as resolve22,
23038
23625
  relative as relative10,
23039
23626
  sep as sep2
@@ -23280,7 +23867,7 @@ var resolveDevClientDir2 = () => {
23280
23867
  const roots = await Promise.all(entryPoints.map(build2));
23281
23868
  await Promise.all(roots.map(async ({ client: client2, hasAwaitSlot }) => {
23282
23869
  const relClientDir = dirname15(relative10(clientDir, client2));
23283
- const name = basename8(client2, extname5(client2));
23870
+ const name = basename8(client2, extname6(client2));
23284
23871
  const indexPath = join32(indexDir, relClientDir, `${name}.js`);
23285
23872
  const importRaw = relative10(dirname15(indexPath), client2).split(sep2).join("/");
23286
23873
  const importPath = importRaw.startsWith(".") || importRaw.startsWith("/") ? importRaw : `./${importRaw}`;
@@ -26869,7 +27456,7 @@ __export(exports_fastHmrCompiler, {
26869
27456
  invalidateFingerprintCache: () => invalidateFingerprintCache
26870
27457
  });
26871
27458
  import { existsSync as existsSync27, readFileSync as readFileSync24, statSync as statSync2 } from "fs";
26872
- import { dirname as dirname18, extname as extname6, relative as relative13, resolve as resolve25 } from "path";
27459
+ import { dirname as dirname18, extname as extname7, relative as relative13, resolve as resolve25 } from "path";
26873
27460
  import ts15 from "typescript";
26874
27461
  var fail = (reason, detail, location) => ({
26875
27462
  ok: false,
@@ -28462,7 +29049,7 @@ ${transpiled}
28462
29049
  const abs = resolve25(componentDir, url2);
28463
29050
  if (!existsSync27(abs))
28464
29051
  return null;
28465
- const ext = extname6(abs).toLowerCase();
29052
+ const ext = extname7(abs).toLowerCase();
28466
29053
  if (!STYLE_PREPROCESSED_EXT.has(ext) || ext === ".css") {
28467
29054
  return readFileSync24(abs, "utf8");
28468
29055
  }
@@ -29346,7 +29933,7 @@ __export(exports_compileEmber, {
29346
29933
  });
29347
29934
  import { existsSync as existsSync28 } from "fs";
29348
29935
  import { mkdir as mkdir7, rm as rm4 } from "fs/promises";
29349
- import { basename as basename11, dirname as dirname19, extname as extname7, join as join35, resolve as resolve26 } from "path";
29936
+ import { basename as basename11, dirname as dirname19, extname as extname8, join as join35, resolve as resolve26 } from "path";
29350
29937
  var {build: bunBuild2, Transpiler: Transpiler4, write: write4, file: file4 } = globalThis.Bun;
29351
29938
  var cachedPreprocessor = null, getPreprocessor = async () => {
29352
29939
  if (cachedPreprocessor)
@@ -29355,7 +29942,7 @@ var cachedPreprocessor = null, getPreprocessor = async () => {
29355
29942
  cachedPreprocessor = new module.Preprocessor;
29356
29943
  return cachedPreprocessor;
29357
29944
  }, transpiler5, isTemplateTagFile = (entry) => {
29358
- const ext = extname7(entry);
29945
+ const ext = extname8(entry);
29359
29946
  return ext === ".gjs" || ext === ".gts";
29360
29947
  }, rewriteTemplateEvalToScope = (source) => {
29361
29948
  const importedNames = new Set;
@@ -30081,7 +30668,7 @@ import {
30081
30668
  statSync as statSync3,
30082
30669
  writeFileSync as writeFileSync9
30083
30670
  } from "fs";
30084
- import { basename as basename12, dirname as dirname20, extname as extname8, join as join40, relative as relative14, resolve as resolve28 } from "path";
30671
+ import { basename as basename12, dirname as dirname20, extname as extname9, join as join40, relative as relative14, resolve as resolve28 } from "path";
30085
30672
  import { cwd, env as env3, exit } from "process";
30086
30673
  var {build: bunBuild7, Glob: Glob8 } = globalThis.Bun;
30087
30674
  var isDev2, isBuildTraceEnabled = () => {
@@ -31533,7 +32120,7 @@ ${content.slice(firstUseIdx)}`;
31533
32120
  ], buildPath)
31534
32121
  };
31535
32122
  for (const artifact of serverOutputs) {
31536
- if (extname8(artifact.path) !== ".js")
32123
+ if (extname9(artifact.path) !== ".js")
31537
32124
  continue;
31538
32125
  const fileWithHash = basename12(artifact.path);
31539
32126
  const [baseName] = fileWithHash.split(`.${artifact.hash}.`);
@@ -31553,7 +32140,7 @@ ${content.slice(firstUseIdx)}`;
31553
32140
  };
31554
32141
  const cssByName = new Map;
31555
32142
  for (const artifact of cssOutputs) {
31556
- if (extname8(artifact.path) !== ".css")
32143
+ if (extname9(artifact.path) !== ".css")
31557
32144
  continue;
31558
32145
  const cssName = stripHash(basename12(artifact.path), artifact.hash);
31559
32146
  if (cssName)
@@ -31563,7 +32150,7 @@ ${content.slice(firstUseIdx)}`;
31563
32150
  const siblingCssPaths = [];
31564
32151
  const serverJsByPascalName = new Map;
31565
32152
  await Promise.all(serverOutputs.map(async (artifact) => {
31566
- if (extname8(artifact.path) !== ".js")
32153
+ if (extname9(artifact.path) !== ".js")
31567
32154
  return;
31568
32155
  const pascalName = stripHash(basename12(artifact.path), artifact.hash);
31569
32156
  if (!pascalName)
@@ -33131,7 +33718,7 @@ __export(exports_resolveOwningComponents, {
33131
33718
  invalidateResourceIndex: () => invalidateResourceIndex
33132
33719
  });
33133
33720
  import { readdirSync as readdirSync8, readFileSync as readFileSync29, statSync as statSync5 } from "fs";
33134
- import { dirname as dirname23, extname as extname9, join as join43, resolve as resolve36 } from "path";
33721
+ import { dirname as dirname23, extname as extname10, join as join43, resolve as resolve36 } from "path";
33135
33722
  import ts16 from "typescript";
33136
33723
  var ENTITY_DECORATORS, isAngularSourceFile = (file5) => file5.endsWith(".ts") || file5.endsWith(".tsx"), walkAngularSourceFiles = (root) => {
33137
33724
  const out = [];
@@ -33248,7 +33835,7 @@ var ENTITY_DECORATORS, isAngularSourceFile = (file5) => file5.endsWith(".ts") ||
33248
33835
  const { changedFilePath, userAngularRoot } = params;
33249
33836
  const changedAbs = safeNormalize(changedFilePath);
33250
33837
  const out = [];
33251
- const ext = extname9(changedAbs).toLowerCase();
33838
+ const ext = extname10(changedAbs).toLowerCase();
33252
33839
  if (ext === ".ts" || ext === ".tsx") {
33253
33840
  const classes = parseDecoratedClasses(changedAbs);
33254
33841
  for (const cls of classes) {
@@ -33517,7 +34104,7 @@ __export(exports_moduleServer, {
33517
34104
  SRC_URL_PREFIX: () => SRC_URL_PREFIX
33518
34105
  });
33519
34106
  import { existsSync as existsSync35, readFileSync as readFileSync30, realpathSync as realpathSync3, statSync as statSync6 } from "fs";
33520
- import { basename as basename14, dirname as dirname24, extname as extname10, join as join44, resolve as resolve37, relative as relative15 } from "path";
34107
+ import { basename as basename14, dirname as dirname24, extname as extname11, join as join44, resolve as resolve37, relative as relative15 } from "path";
33521
34108
  var SRC_PREFIX = "/@src/", jsTranspiler2, legacyDecoratorTsconfig, tsTranspiler2, tsxTranspiler, TRANSPILABLE, ALL_EXPORTS_RE, STRING_CONTENTS_RE, preserveTypeExports = (originalSource, transpiled, valueExports) => {
33522
34109
  const codeOnly = originalSource.replace(STRING_CONTENTS_RE, '""');
33523
34110
  const allExports = [];
@@ -33571,9 +34158,9 @@ ${stubs}
33571
34158
  }, resolveRelativeImport = (relPath, fileDir, projectRoot, extensions) => {
33572
34159
  const absPath = resolve37(fileDir, relPath);
33573
34160
  const rel = relative15(projectRoot, absPath);
33574
- const extension = extname10(rel);
34161
+ const extension = extname11(rel);
33575
34162
  let srcPath = RESOLVED_MODULE_EXTENSIONS.has(extension) ? rel : resolveRelativeExtension(rel, projectRoot, extensions);
33576
- if (extname10(srcPath) === ".svelte") {
34163
+ if (extname11(srcPath) === ".svelte") {
33577
34164
  srcPath = relative15(projectRoot, resolveSvelteModulePath(resolve37(projectRoot, srcPath)));
33578
34165
  }
33579
34166
  return srcUrl(srcPath, projectRoot);
@@ -33714,7 +34301,7 @@ ${transpiled}`;
33714
34301
  return rewriteImports(transpiled, filePath, projectRoot, rewriter);
33715
34302
  }, transformPlainFile = (filePath, projectRoot, rewriter, vueDir) => {
33716
34303
  const raw = readFileSync30(filePath, "utf-8");
33717
- const ext = extname10(filePath);
34304
+ const ext = extname11(filePath);
33718
34305
  const isTS = ext === ".ts" || ext === ".tsx";
33719
34306
  const isTSX = ext === ".tsx" || ext === ".jsx";
33720
34307
  let transpiler6 = jsTranspiler2;
@@ -34138,7 +34725,7 @@ export default {};
34138
34725
  return jsResponse(`var s=document.createElement('style');s.textContent=\`${escaped}\`;s.dataset.svelteHmr=${JSON.stringify(cssCheckPath)};var p=document.querySelector('style[data-svelte-hmr="${cssCheckPath}"]');if(p)p.remove();document.head.appendChild(s);`);
34139
34726
  }, resolveSourcePath = (relPath, projectRoot) => {
34140
34727
  const filePath = resolve37(projectRoot, relPath);
34141
- const ext = extname10(filePath);
34728
+ const ext = extname11(filePath);
34142
34729
  if (ext === ".svelte")
34143
34730
  return { ext, filePath: resolveSvelteModulePath(filePath) };
34144
34731
  if (ext)
@@ -47085,5 +47672,5 @@ export {
47085
47672
  ANGULAR_INIT_TIMEOUT_MS
47086
47673
  };
47087
47674
 
47088
- //# debugId=3B1B82477E3C141D64756E2164756E21
47675
+ //# debugId=06E5FD5939F586B964756E2164756E21
47089
47676
  //# sourceMappingURL=index.js.map