@hero-design/rn 7.1.1 → 7.1.3-alpha2
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/.eslintrc.json +4 -3
- package/.expo/packager-info.json +2 -2
- package/.expo/web/cache/development/babel-loader/015cd4023bdd8e0e3e1de310046d3b16.json +1 -0
- package/.expo/web/cache/development/babel-loader/0255192076dea2c7675549fa263a6722.json +1 -0
- package/.expo/web/cache/development/babel-loader/02c646fdcaa4819674f8e44dc29cc0aa.json +1 -0
- package/.expo/web/cache/development/babel-loader/02e944ba6b7532c77b5ecd94f5a52945.json +1 -0
- package/.expo/web/cache/development/babel-loader/06168282f87d39982c04c3b7725abef8.json +1 -0
- package/.expo/web/cache/development/babel-loader/064867cdc71ec7f38308957641ec0e5c.json +1 -0
- package/.expo/web/cache/development/babel-loader/06ca002e730e83bc0dc273752554bb0c.json +1 -0
- package/.expo/web/cache/development/babel-loader/07e86d93ebd8574948f718d80ecb1fad.json +1 -0
- package/.expo/web/cache/development/babel-loader/081a940d3ae9e0d20d13c22cc43c0a46.json +1 -0
- package/.expo/web/cache/development/babel-loader/085466d1c040fb7ef5d00248adeb9f1d.json +1 -0
- package/.expo/web/cache/development/babel-loader/08b94b37dd81e6f1b9909d84cc376c2e.json +1 -0
- package/.expo/web/cache/development/babel-loader/0a25801a974b0000e0a99da16c026d5c.json +1 -0
- package/.expo/web/cache/development/babel-loader/0a97090e9243b34fc136fda2ec55c961.json +1 -0
- package/.expo/web/cache/development/babel-loader/0c15db912477ec22c24f92d59cd33999.json +1 -0
- package/.expo/web/cache/development/babel-loader/0c784bc417f84aadf97818fbd4054b3f.json +1 -0
- package/.expo/web/cache/development/babel-loader/0eb233e1ecf7aa8cefdf1146268e2ef1.json +1 -0
- package/.expo/web/cache/development/babel-loader/0fa0699844293bd83681296074c82f83.json +1 -0
- package/.expo/web/cache/development/babel-loader/121bdee5f5cb95d16d99e4c933ebf864.json +1 -0
- package/.expo/web/cache/development/babel-loader/124896b4a24d61a32b980cbe17dfd86d.json +1 -0
- package/.expo/web/cache/development/babel-loader/15499f3a2f57c5182f92a767b52ccaa7.json +1 -0
- package/.expo/web/cache/development/babel-loader/15b64eb35bbb00e9b7d2e1ba5de504aa.json +1 -0
- package/.expo/web/cache/development/babel-loader/16f046b2bba77cc6b20c53ab67a8845c.json +1 -0
- package/.expo/web/cache/development/babel-loader/18296da1d79a9b7ed67aa73b3674c98d.json +1 -0
- package/.expo/web/cache/development/babel-loader/183bf8d5b8b0a24f311560391b75fb28.json +1 -0
- package/.expo/web/cache/development/babel-loader/18e69c8d4e2278d3ed0a2a9cf9459979.json +1 -0
- package/.expo/web/cache/development/babel-loader/19f6c3fb7aa14dc1a42f5d75d2b0e267.json +1 -0
- package/.expo/web/cache/development/babel-loader/1a87e69c2765213ad342b5f454c0a058.json +1 -0
- package/.expo/web/cache/development/babel-loader/1ae9718a5291beb1a34921e74351868d.json +1 -0
- package/.expo/web/cache/development/babel-loader/1be8f9a2939f282c2218a492c2083516.json +1 -0
- package/.expo/web/cache/development/babel-loader/1c33ab505b1f55675a070b3f19ab5fc6.json +1 -0
- package/.expo/web/cache/development/babel-loader/1c53ddb06e14036617c6be6b6ec02e93.json +1 -0
- package/.expo/web/cache/development/babel-loader/1ce0f519e92a6f10348175e6fa42fd6a.json +1 -0
- package/.expo/web/cache/development/babel-loader/1e150d4ac2c661fd694b6cddce785558.json +1 -0
- package/.expo/web/cache/development/babel-loader/1e64bc6f174a20385a44365e77cb71ff.json +1 -0
- package/.expo/web/cache/development/babel-loader/2168be4a82a7d5b116dd8fd18bd5ab62.json +1 -0
- package/.expo/web/cache/development/babel-loader/21dae0abf6ef0400ef25dfc87d1f4671.json +1 -0
- package/.expo/web/cache/development/babel-loader/2286dc8cd20eaa8051a3400057edd5ae.json +1 -0
- package/.expo/web/cache/development/babel-loader/22b0965d8ed07fcd7d323d92eb56a91d.json +1 -0
- package/.expo/web/cache/development/babel-loader/243541d6511909b66a90d2824fc71f14.json +1 -0
- package/.expo/web/cache/development/babel-loader/24781a54910c0940c738ec301eff4318.json +1 -0
- package/.expo/web/cache/development/babel-loader/24b80d0446b9c88886cd1f951632ab91.json +1 -0
- package/.expo/web/cache/development/babel-loader/24d40521282cac7bb526f9a7a3ab4de2.json +1 -0
- package/.expo/web/cache/development/babel-loader/260bba3675ce84e0a277a65fdb52f235.json +1 -0
- package/.expo/web/cache/development/babel-loader/266b79a5977223dbee00bdc2732e5697.json +1 -0
- package/.expo/web/cache/development/babel-loader/26879ba706c68b0226a1242f3c28c0e2.json +1 -0
- package/.expo/web/cache/development/babel-loader/2746a8c85fca2064b7728ecfc2d7e022.json +1 -0
- package/.expo/web/cache/development/babel-loader/28308843667ee35631612116de8ee705.json +1 -0
- package/.expo/web/cache/development/babel-loader/2af2c923d4fe0c7736be88b0e2fac2c0.json +1 -0
- package/.expo/web/cache/development/babel-loader/2b00b74ce36325af2dd1ecb817f0b69e.json +1 -0
- package/.expo/web/cache/development/babel-loader/2bf696f8a70361680c8d88ae78227b2c.json +1 -0
- package/.expo/web/cache/development/babel-loader/2fbe5d411c533de433abd361bfba9e2f.json +1 -0
- package/.expo/web/cache/development/babel-loader/308a319d3e13964a95b184dd7e7483a7.json +1 -0
- package/.expo/web/cache/development/babel-loader/30a3d4b4e5bc9d62a22ea1c05d50e3d7.json +1 -0
- package/.expo/web/cache/development/babel-loader/3297de3af524b87977cccb0d51c6fdb7.json +1 -0
- package/.expo/web/cache/development/babel-loader/335055e2588a3f703b6681b513053069.json +1 -0
- package/.expo/web/cache/development/babel-loader/33b1a3e46b0a9c62db1005f57d2ae76d.json +1 -0
- package/.expo/web/cache/development/babel-loader/342f4f51d784f91793e41c4c463ba640.json +1 -0
- package/.expo/web/cache/development/babel-loader/34fbec758cf381ee3d274245596e884e.json +1 -0
- package/.expo/web/cache/development/babel-loader/36b241618bf067485a740d2052476b6b.json +1 -0
- package/.expo/web/cache/development/babel-loader/377d170e62cdfc5531aca97043caa939.json +1 -0
- package/.expo/web/cache/development/babel-loader/383c6c820117d99d43918fdc5646ef07.json +1 -0
- package/.expo/web/cache/development/babel-loader/38845b2c5c1d2ac8c34919b0420e217a.json +1 -0
- package/.expo/web/cache/development/babel-loader/3a1b5dd13338d9b8323cc65ac0ee9084.json +1 -0
- package/.expo/web/cache/development/babel-loader/3b6cafaec7bd951cb292d35b7b777e16.json +1 -0
- package/.expo/web/cache/development/babel-loader/3dde711133a24dc39a127890207efc14.json +1 -0
- package/.expo/web/cache/development/babel-loader/3e411553708caef8421aca4ca7a50a79.json +1 -0
- package/.expo/web/cache/development/babel-loader/3e4bf0afe3180d43e6259fdc9e2cf018.json +1 -0
- package/.expo/web/cache/development/babel-loader/3f45c156aeb578585b9367e9f769213a.json +1 -0
- package/.expo/web/cache/development/babel-loader/401d9d9024ed8c80f8875e3a561ebe52.json +1 -0
- package/.expo/web/cache/development/babel-loader/4119e38050883976b0b6604154ff74b1.json +1 -0
- package/.expo/web/cache/development/babel-loader/43053f3b8cae10481352c2e2515e9d3a.json +1 -0
- package/.expo/web/cache/development/babel-loader/43908b6386757cbdce634000cdb05be5.json +1 -0
- package/.expo/web/cache/development/babel-loader/45b0b2f0892e55f6766ea3f6eedfedc8.json +1 -0
- package/.expo/web/cache/development/babel-loader/4641f770b3a3c0e9d65049d69666f14a.json +1 -0
- package/.expo/web/cache/development/babel-loader/464cf321c96f5d3a11c6e7c9ce022d89.json +1 -0
- package/.expo/web/cache/development/babel-loader/4884e4300b99f1c73a01bc4da1e69e2e.json +1 -0
- package/.expo/web/cache/development/babel-loader/49889d761f9b1b6827a7b9a4c2b63949.json +1 -0
- package/.expo/web/cache/development/babel-loader/49e011b42b0e8b3a01cad47999ddd5f4.json +1 -0
- package/.expo/web/cache/development/babel-loader/4a2372960ee87388844ee5eacf8a4e5d.json +1 -0
- package/.expo/web/cache/development/babel-loader/4d27b44a4344eb5d6a82f929b034fcb6.json +1 -0
- package/.expo/web/cache/development/babel-loader/4d6224362744b0eda6e64e9096c88e5e.json +1 -0
- package/.expo/web/cache/development/babel-loader/4d7371ca965d4e8d8e3b9fe29d72cb56.json +1 -0
- package/.expo/web/cache/development/babel-loader/4decc31212afed6aecb648cd482d8f58.json +1 -0
- package/.expo/web/cache/development/babel-loader/4dfa2b3056c60bce932123f61e4bc6d2.json +1 -0
- package/.expo/web/cache/development/babel-loader/4e008a6aedd78b935cba6d0b3d6bc7ae.json +1 -0
- package/.expo/web/cache/development/babel-loader/4e822161a7bda4d88f0867695e1ecfd9.json +1 -0
- package/.expo/web/cache/development/babel-loader/4f1e0269842359fe96d27c5b9bfd1ac4.json +1 -0
- package/.expo/web/cache/development/babel-loader/4fb1f40f3a67457861766892e335a81d.json +1 -0
- package/.expo/web/cache/development/babel-loader/507a1917d95e59163a96e7784d5288a7.json +1 -0
- package/.expo/web/cache/development/babel-loader/50e87c60a46b4cdf0487b5edc043be30.json +1 -0
- package/.expo/web/cache/development/babel-loader/530461df12ae0b0f45c0d457547c372e.json +1 -0
- package/.expo/web/cache/development/babel-loader/5339c25a34fe42823b7a1d2e1cdc6546.json +1 -0
- package/.expo/web/cache/development/babel-loader/536ca6a6eed1bcdac31786e72dedea80.json +1 -0
- package/.expo/web/cache/development/babel-loader/53cd7a6341558d4da20796dc5ebd58bb.json +1 -0
- package/.expo/web/cache/development/babel-loader/540b224b100181005e79f2dadb1edbf8.json +1 -0
- package/.expo/web/cache/development/babel-loader/542c478f2a9a2ca89b6b87961cb48922.json +1 -0
- package/.expo/web/cache/development/babel-loader/54749024a5585009dc5b67e1b0d9dbdc.json +1 -0
- package/.expo/web/cache/development/babel-loader/5566a5cf483f5a29e31e71e44bd4ee31.json +1 -0
- package/.expo/web/cache/development/babel-loader/56014c53cc4a460aedbf6b315b7a83d1.json +1 -0
- package/.expo/web/cache/development/babel-loader/592bfc0572fc2bceb23e0650a747eaa8.json +1 -0
- package/.expo/web/cache/development/babel-loader/5a57cc696da8aefee15249d630caa27a.json +1 -0
- package/.expo/web/cache/development/babel-loader/5b2adce8bdaf8fa5bdaf1455f271e3c8.json +1 -0
- package/.expo/web/cache/development/babel-loader/5b306fddfa1f5d9e99d311532bd0139c.json +1 -0
- package/.expo/web/cache/development/babel-loader/5bbe045789809b2f64e2bd58eb420aa3.json +1 -0
- package/.expo/web/cache/development/babel-loader/5d7aefda6066de8bdbb1bcb007d1b5db.json +1 -0
- package/.expo/web/cache/development/babel-loader/5d82ac4048edb6410bf53e83cbcbb922.json +1 -0
- package/.expo/web/cache/development/babel-loader/5e11b649fa3602e096c920767cb436e3.json +1 -0
- package/.expo/web/cache/development/babel-loader/5e6d5abccf648c1a866e21ad2a09adfd.json +1 -0
- package/.expo/web/cache/development/babel-loader/5f5b8027c4d87d9e0feea8462780e8ad.json +1 -0
- package/.expo/web/cache/development/babel-loader/5fb192b131f2f50d41e33fe34dbbc297.json +1 -0
- package/.expo/web/cache/development/babel-loader/604249a15ce1c8e541864121ac7ac587.json +1 -0
- package/.expo/web/cache/development/babel-loader/61137d04349f30b618be58175ad9d350.json +1 -0
- package/.expo/web/cache/development/babel-loader/61ce8c3d59dde8eac802f308f9acc828.json +1 -0
- package/.expo/web/cache/development/babel-loader/6391d65a84100349eba3acb527e6b030.json +1 -0
- package/.expo/web/cache/development/babel-loader/6500ab6cfd39dbfff785d348bf367be8.json +1 -0
- package/.expo/web/cache/development/babel-loader/655221527a35c47d0109d3c96a8da168.json +1 -0
- package/.expo/web/cache/development/babel-loader/65568c39c8b15c78a96d4caf9941129b.json +1 -0
- package/.expo/web/cache/development/babel-loader/657adfbea82cd6254f7ac85151e6ea52.json +1 -0
- package/.expo/web/cache/development/babel-loader/66c4915ff6ebfde747894fd3f427b9c7.json +1 -0
- package/.expo/web/cache/development/babel-loader/6b558032ef2af0092093a0e2315e3b37.json +1 -0
- package/.expo/web/cache/development/babel-loader/6cc8c7be4e8e8792ad698f10623c9b11.json +1 -0
- package/.expo/web/cache/development/babel-loader/6e14a5e499ef7e25ca0cccb6269e2f5a.json +1 -0
- package/.expo/web/cache/development/babel-loader/70d42954cfcb018f13bad222cfdd26c2.json +1 -0
- package/.expo/web/cache/development/babel-loader/70e5d0fb55302845630dc7022fcab612.json +1 -0
- package/.expo/web/cache/development/babel-loader/7187c947a3186dfc0857f64da0908ecf.json +1 -0
- package/.expo/web/cache/development/babel-loader/71ff258c6f6d9b34829e45fd9452dd3a.json +1 -0
- package/.expo/web/cache/development/babel-loader/72447ee2c89506d47319627069907f4b.json +1 -0
- package/.expo/web/cache/development/babel-loader/72bfb7460b7b81f7f3bbddc81fc8e7dc.json +1 -0
- package/.expo/web/cache/development/babel-loader/731d03a0a67ecaf9a9383d41beae7fd4.json +1 -0
- package/.expo/web/cache/development/babel-loader/741251e4d56c2c8722a5b9a0bc8b36dd.json +1 -0
- package/.expo/web/cache/development/babel-loader/747257270c398282d135060092b5ffc4.json +1 -0
- package/.expo/web/cache/development/babel-loader/74852aa6ce6f71235218eb6f1a120430.json +1 -0
- package/.expo/web/cache/development/babel-loader/74afe49311fab37261730b1ea83897a1.json +1 -0
- package/.expo/web/cache/development/babel-loader/7535495406e9daac2cf50eddcbcf984f.json +1 -0
- package/.expo/web/cache/development/babel-loader/76a96c09b41232a1027eb57667bed4cd.json +1 -0
- package/.expo/web/cache/development/babel-loader/77b71e7070039d3b0809426997ec6355.json +1 -0
- package/.expo/web/cache/development/babel-loader/79febcd0920ccdc7d95510faa84cd785.json +1 -0
- package/.expo/web/cache/development/babel-loader/7a05a01c29184e51101a5896e6771068.json +1 -0
- package/.expo/web/cache/development/babel-loader/7b67bf87b7a24ce1bd0d21be94d39712.json +1 -0
- package/.expo/web/cache/development/babel-loader/7c10bbaa16fc3f92c14dc81ed9a103e2.json +1 -0
- package/.expo/web/cache/development/babel-loader/7e1434686597dbe27bbdf28db628678b.json +1 -0
- package/.expo/web/cache/development/babel-loader/8168bf7926790fd88c46d02691141eb3.json +1 -0
- package/.expo/web/cache/development/babel-loader/8261d9b6445c3ae4f3db3b5a87a32bfd.json +1 -0
- package/.expo/web/cache/development/babel-loader/82711d1d11135fe3c5f761ef84546cca.json +1 -0
- package/.expo/web/cache/development/babel-loader/82a952063dc4a552385e994d051987da.json +1 -0
- package/.expo/web/cache/development/babel-loader/840477709eff8cb91896d04291047917.json +1 -0
- package/.expo/web/cache/development/babel-loader/84f16ae9077a77a1f938db11c92e5cb0.json +1 -0
- package/.expo/web/cache/development/babel-loader/8611b6dbd6285e6aa281a8560c089b32.json +1 -0
- package/.expo/web/cache/development/babel-loader/877250c4b852a8c68a5787f00473bade.json +1 -0
- package/.expo/web/cache/development/babel-loader/878c86d46f1cc1c2e575715bb753a6c2.json +1 -0
- package/.expo/web/cache/development/babel-loader/89b0b1e82520bf4a83fb46a5d5e3051f.json +1 -0
- package/.expo/web/cache/development/babel-loader/8ace816b6b5d313af06a110d8fffdd29.json +1 -0
- package/.expo/web/cache/development/babel-loader/8c4251482b1bb231323018ad7f762c79.json +1 -0
- package/.expo/web/cache/development/babel-loader/8c852e6d1a4869af48b20deea5689c8e.json +1 -0
- package/.expo/web/cache/development/babel-loader/8cc22acf99bb15df0804268c9936a316.json +1 -0
- package/.expo/web/cache/development/babel-loader/8cda840d3c6065c9f5d94109ac5ceac8.json +1 -0
- package/.expo/web/cache/development/babel-loader/8da5a65a25b8617cc4b0f363b54f17a9.json +1 -0
- package/.expo/web/cache/development/babel-loader/8ed28a112dbd10ae72c4404ed767005a.json +1 -0
- package/.expo/web/cache/development/babel-loader/8f496b2cd6790e83bab10d24aae43247.json +1 -0
- package/.expo/web/cache/development/babel-loader/9066a94a8de4a1e5823cfd03c3c65c22.json +1 -0
- package/.expo/web/cache/development/babel-loader/91ebd1694a594c00836231f13fcb5ab8.json +1 -0
- package/.expo/web/cache/development/babel-loader/954de33d98429fe08ac02c788703effd.json +1 -0
- package/.expo/web/cache/development/babel-loader/954fcaa67e62fee1d0e55770c29643a9.json +1 -0
- package/.expo/web/cache/development/babel-loader/95633d8353ddde580626714ebeff4a3e.json +1 -0
- package/.expo/web/cache/development/babel-loader/95b1ef2ed750aa97d708fa5d1da11701.json +1 -0
- package/.expo/web/cache/development/babel-loader/95d8acbfa7ec33bf53408384561f8f59.json +1 -0
- package/.expo/web/cache/development/babel-loader/961bc9fd17fd516ae1093a6bea77b236.json +1 -0
- package/.expo/web/cache/development/babel-loader/96afd45a8ee5c316e8d2cdeab372d2d1.json +1 -0
- package/.expo/web/cache/development/babel-loader/96f2624d06f0d9c15f72fe52998bb3b5.json +1 -0
- package/.expo/web/cache/development/babel-loader/972f4e43ba279ed169c44d25e0badb76.json +1 -0
- package/.expo/web/cache/development/babel-loader/9800ddc64188c0c913c560451b4f20f9.json +1 -0
- package/.expo/web/cache/development/babel-loader/9a44846903f5dd2ed5c6ca62986c4d7b.json +1 -0
- package/.expo/web/cache/development/babel-loader/9afeae36f511af6858fe68f7e94de5fc.json +1 -0
- package/.expo/web/cache/development/babel-loader/9b9e501c7e3b15da22d1b1519d390a93.json +1 -0
- package/.expo/web/cache/development/babel-loader/9ba221ab0e27ecfc06fa08f1bd338d91.json +1 -0
- package/.expo/web/cache/development/babel-loader/9dc84383648386cdd64384268aaba4cd.json +1 -0
- package/.expo/web/cache/development/babel-loader/9ed0c292f501200dbab3287f89b74285.json +1 -0
- package/.expo/web/cache/development/babel-loader/9ff02f1934b1011e9f1702444f6ade8b.json +1 -0
- package/.expo/web/cache/development/babel-loader/a00673b61f03f25ca7d5dda9ec7f1684.json +1 -0
- package/.expo/web/cache/development/babel-loader/a11f1fec9b3c8224ec8a3561e9d39607.json +1 -0
- package/.expo/web/cache/development/babel-loader/a138071c6b457813fa75f80257c00948.json +1 -0
- package/.expo/web/cache/development/babel-loader/a13f4194bebf279521f1219c7f0edfe5.json +1 -0
- package/.expo/web/cache/development/babel-loader/a20bc8b3ff9c6f0a6d0505119c7c8e4b.json +1 -0
- package/.expo/web/cache/development/babel-loader/a2499bb844484b72ab0bd9e19b577a2a.json +1 -0
- package/.expo/web/cache/development/babel-loader/a3690c2af258782c6e54d70965e2d702.json +1 -0
- package/.expo/web/cache/development/babel-loader/a3b408c4e99dbfe5166c61130962d530.json +1 -0
- package/.expo/web/cache/development/babel-loader/a3d400d230600d4606a39b88b1a50ce9.json +1 -0
- package/.expo/web/cache/development/babel-loader/a576aa09c4387662d5041dc16e071e7d.json +1 -0
- package/.expo/web/cache/development/babel-loader/aadddefc328de2a87f9585c8b9cf1ddb.json +1 -0
- package/.expo/web/cache/development/babel-loader/abfcdee9f49c8512a556c8d96aab05b0.json +1 -0
- package/.expo/web/cache/development/babel-loader/af2abfdb26938b4671383c19a474c162.json +1 -0
- package/.expo/web/cache/development/babel-loader/afe4775e080557f919d69bece91f9b2e.json +1 -0
- package/.expo/web/cache/development/babel-loader/b03a4c4f01d00d65481849a79f542339.json +1 -0
- package/.expo/web/cache/development/babel-loader/b161867d1c22ab0db168cb41f31e3821.json +1 -0
- package/.expo/web/cache/development/babel-loader/b1a28b49b320580ad2d46a362b06190e.json +1 -0
- package/.expo/web/cache/development/babel-loader/b21a05f75cdf7d99468ea135e93764b4.json +1 -0
- package/.expo/web/cache/development/babel-loader/b23f758a73c6ba11c5cbddc73adfe6a0.json +1 -0
- package/.expo/web/cache/development/babel-loader/b2cc4b4fb8a4d19be9c69abaa2a93cb6.json +1 -0
- package/.expo/web/cache/development/babel-loader/b300fad9fcb11f4867e14c4aace9b942.json +1 -0
- package/.expo/web/cache/development/babel-loader/b33a1081489cf7b79984ef0a745448a8.json +1 -0
- package/.expo/web/cache/development/babel-loader/b436db3f88511bc5455c31bd368082c4.json +1 -0
- package/.expo/web/cache/development/babel-loader/b4c9da64b6d0ba5eb3caf414ca166637.json +1 -0
- package/.expo/web/cache/development/babel-loader/b56dceadf60beadf0d3374143c0b1603.json +1 -0
- package/.expo/web/cache/development/babel-loader/b76d9d60e417624f1df89b5add1d2db8.json +1 -0
- package/.expo/web/cache/development/babel-loader/b790b246d8bb0a38f5796cf5799b17f2.json +1 -0
- package/.expo/web/cache/development/babel-loader/b89ff8b3e2ec84a11907141f5e517bfe.json +1 -0
- package/.expo/web/cache/development/babel-loader/b955a4568536fcc96a9f4110da577064.json +1 -0
- package/.expo/web/cache/development/babel-loader/bab60f8582caa8ab641521aa39541ff7.json +1 -0
- package/.expo/web/cache/development/babel-loader/baf8ec42b5295bf9b71564fe06dff559.json +1 -0
- package/.expo/web/cache/development/babel-loader/bbad1fdb8bad7c28c7859a0f188d3a7b.json +1 -0
- package/.expo/web/cache/development/babel-loader/be1eb03dbd5cd69bbffa7ae2a6e9d668.json +1 -0
- package/.expo/web/cache/development/babel-loader/be2fcf3973e484a6a56e37129b5eaaf7.json +1 -0
- package/.expo/web/cache/development/babel-loader/bf8cf6088e983893d5b4c8bc034427e4.json +1 -0
- package/.expo/web/cache/development/babel-loader/bfcb86bceac05155e5308c18bdd3fe08.json +1 -0
- package/.expo/web/cache/development/babel-loader/c172563a78f317bdf0e36e24dde3452d.json +1 -0
- package/.expo/web/cache/development/babel-loader/c46ad8673d03b7db6d8a2c93ed6b3802.json +1 -0
- package/.expo/web/cache/development/babel-loader/c59a0c339fabfd6318413aa25031c201.json +1 -0
- package/.expo/web/cache/development/babel-loader/c62e34d8d462d6191e1dc14c5395d52b.json +1 -0
- package/.expo/web/cache/development/babel-loader/c74e4bc2f5768aff42dd3c55d81749c8.json +1 -0
- package/.expo/web/cache/development/babel-loader/c75a76b3e08859524b69d60f8bf1df0f.json +1 -0
- package/.expo/web/cache/development/babel-loader/c88179e7d8d1ca25305bfc867939f5a3.json +1 -0
- package/.expo/web/cache/development/babel-loader/caf356c64a9f318b905731a25c8caf91.json +1 -0
- package/.expo/web/cache/development/babel-loader/ccaedd363abc01c405579524b8bbaf35.json +1 -0
- package/.expo/web/cache/development/babel-loader/cd79d69eeae7dbcdc442f692ce8a9272.json +1 -0
- package/.expo/web/cache/development/babel-loader/cd9063bacb890d6d5a2e981754ccf164.json +1 -0
- package/.expo/web/cache/development/babel-loader/ce2f3ca01216078ce7e5a74516dbfc4c.json +1 -0
- package/.expo/web/cache/development/babel-loader/ce604f4f65dfe84b11bbec60230afff1.json +1 -0
- package/.expo/web/cache/development/babel-loader/cff5797fff55ca8e98d3118c9e7250d6.json +1 -0
- package/.expo/web/cache/development/babel-loader/d00c274746869d9a4c810f940808ca3e.json +1 -0
- package/.expo/web/cache/development/babel-loader/d139c5fbc81478cca93e6b4a926b7fad.json +1 -0
- package/.expo/web/cache/development/babel-loader/d226ab1782131db078fc56761777579a.json +1 -0
- package/.expo/web/cache/development/babel-loader/d3c10e924f2ce49ca4e0a8bc4d800047.json +1 -0
- package/.expo/web/cache/development/babel-loader/d6f1318a1043ef95ef641a9314445194.json +1 -0
- package/.expo/web/cache/development/babel-loader/d96467b93e0c8535e1d5dac15bda0d22.json +1 -0
- package/.expo/web/cache/development/babel-loader/da79a62f9b35ea1114a46be959df1c0c.json +1 -0
- package/.expo/web/cache/development/babel-loader/dbd0371650c94f023fc4464f7a30c068.json +1 -0
- package/.expo/web/cache/development/babel-loader/ded9ef4c8d70487402a7ed05aaa42bef.json +1 -0
- package/.expo/web/cache/development/babel-loader/e267b9a10da82d7c9d27a0a6d2f15d6b.json +1 -0
- package/.expo/web/cache/development/babel-loader/e3203299dd14cd528fb01e684c97f030.json +1 -0
- package/.expo/web/cache/development/babel-loader/e3403556a7bef19920ff892e7ae71a33.json +1 -0
- package/.expo/web/cache/development/babel-loader/e4d3d45445df8599087f3f379416f83e.json +1 -0
- package/.expo/web/cache/development/babel-loader/e50007c2b54696bab5256823bd8b75b9.json +1 -0
- package/.expo/web/cache/development/babel-loader/e505af1d2b9f766ae21c2c653bc1f0eb.json +1 -0
- package/.expo/web/cache/development/babel-loader/e529cbcc9a784bb39cb3f93b5916cdea.json +1 -0
- package/.expo/web/cache/development/babel-loader/e5e73e920ce1cc98aec12c63b7239f4f.json +1 -0
- package/.expo/web/cache/development/babel-loader/e5f18619a8f76be87191ef677841e2a4.json +1 -0
- package/.expo/web/cache/development/babel-loader/e6eb03aca0506d39f23ca4f3c83aa516.json +1 -0
- package/.expo/web/cache/development/babel-loader/e9a8c10622926d4b2e69ab52bd21997d.json +1 -0
- package/.expo/web/cache/development/babel-loader/eada955a7a1f7eccb8daa2d3e2e00359.json +1 -0
- package/.expo/web/cache/development/babel-loader/eb765434dad51366d5e994157844242b.json +1 -0
- package/.expo/web/cache/development/babel-loader/ebb9e1b4c723d0cd4d0ebac704bdbd2e.json +1 -0
- package/.expo/web/cache/development/babel-loader/ed91f60f62296cb2284d70d9f8e8607e.json +1 -0
- package/.expo/web/cache/development/babel-loader/edb4691fac98a028668fb1f0afd0471c.json +1 -0
- package/.expo/web/cache/development/babel-loader/ef239f9c50d12e0a9514accb8a19aa62.json +1 -0
- package/.expo/web/cache/development/babel-loader/efa1697210dffc161da37a2bf66914eb.json +1 -0
- package/.expo/web/cache/development/babel-loader/f0f1a470b5e186d352c84c767337086f.json +1 -0
- package/.expo/web/cache/development/babel-loader/f232ab08dc4147d3925c210ac21902cf.json +1 -0
- package/.expo/web/cache/development/babel-loader/f24954a77b038f86faabed1c01850607.json +1 -0
- package/.expo/web/cache/development/babel-loader/f260775a30a227263e75172591c552dd.json +1 -0
- package/.expo/web/cache/development/babel-loader/f3ec90f50a726109daca5a9d5c2e70d1.json +1 -0
- package/.expo/web/cache/development/babel-loader/f546bb0d85ea302b502ca4c8f7f2375e.json +1 -0
- package/.expo/web/cache/development/babel-loader/f58eea2525ec523b6cfef3cee01b55cd.json +1 -0
- package/.expo/web/cache/development/babel-loader/f6e983c3ec14d5a79e2fa722aaf4bea5.json +1 -0
- package/.expo/web/cache/development/babel-loader/f75a9c98751a201f9b7c208e0cbc1f19.json +1 -0
- package/.expo/web/cache/development/babel-loader/f7a3bc17fcdef31de4f4fc1152872eca.json +1 -0
- package/.expo/web/cache/development/babel-loader/f7b6d4fe4161fc5d6562a61b0b11f7e2.json +1 -0
- package/.expo/web/cache/development/babel-loader/f8c5e9dacf5878f90c86883e982f0227.json +1 -0
- package/.expo/web/cache/development/babel-loader/f8f784315a22e068136d73f99db42e30.json +1 -0
- package/.expo/web/cache/development/babel-loader/f9f931f3f27e2b3dff7fd9fb4fcf4bf3.json +1 -0
- package/.expo/web/cache/development/babel-loader/fa9d8fc1d56b04d006c0c18688a640fe.json +1 -0
- package/.expo/web/cache/development/babel-loader/fc660bf5528c70224ec6c3295a4f1a5e.json +1 -0
- package/.expo/web/cache/development/babel-loader/fd8b9e4327116ec3a3a6444e0ae6837d.json +1 -0
- package/.expo/web/cache/development/babel-loader/fdd2ca3ec9b54d1f53453b6d8632c0f5.json +1 -0
- package/.expo/web/cache/development/babel-loader/ff2eab785490c90e174666553fff7e66.json +1 -0
- package/.expo/web/cache/development/babel-loader/ffe419731db23fbdcca1bddb7cadae71.json +1 -0
- package/.expo/xcodebuild-error.log +4 -0
- package/.expo/xcodebuild.log +20 -0
- package/.tool-versions +2 -0
- package/assets/fonts/be-vietnam-pro-light.ttf +0 -0
- package/assets/fonts/be-vietnam-pro-regular.ttf +0 -0
- package/assets/fonts/be-vietnam-pro-semibold.ttf +0 -0
- package/es/index.js +485 -127
- package/lib/index.js +485 -126
- package/package.json +4 -3
- package/playground/components/BottomNavigation.tsx +69 -0
- package/playground/components/Card.tsx +131 -70
- package/playground/components/FAB.tsx +30 -28
- package/playground/components/Typography.tsx +4 -2
- package/playground/index.tsx +16 -6
- package/rollup.config.js +1 -1
- package/src/components/Badge/StyledBadge.tsx +1 -1
- package/src/components/Badge/__tests__/__snapshots__/Badge.spec.tsx.snap +4 -4
- package/src/components/BottomNavigation/StyledBottomNavigation.tsx +58 -0
- package/src/components/BottomNavigation/__tests__/BottomNavigation.spec.tsx +95 -0
- package/src/components/BottomNavigation/__tests__/__snapshots__/BottomNavigation.spec.tsx.snap +315 -0
- package/src/components/BottomNavigation/index.tsx +169 -0
- package/src/components/FAB/ActionGroup/ActionItem.tsx +28 -0
- package/src/components/FAB/ActionGroup/StyledActionGroup.tsx +59 -0
- package/src/components/FAB/ActionGroup/StyledActionItem.tsx +29 -0
- package/src/components/FAB/ActionGroup/__tests__/__snapshots__/index.spec.tsx.snap +1019 -0
- package/src/components/FAB/ActionGroup/__tests__/index.spec.tsx +76 -0
- package/src/components/FAB/ActionGroup/index.tsx +120 -0
- package/src/components/FAB/FAB.tsx +54 -0
- package/src/components/FAB/StyledFABIcon.tsx +1 -1
- package/src/components/FAB/__tests__/__snapshots__/AnimatedFABIcon.spec.tsx.snap +2 -2
- package/src/components/FAB/__tests__/__snapshots__/StyledFABContainer.spec.tsx.snap +1 -1
- package/src/components/FAB/__tests__/__snapshots__/StyledFABIcon.spec.tsx.snap +1 -1
- package/src/components/FAB/__tests__/__snapshots__/index.spec.tsx.snap +7 -7
- package/src/components/FAB/__tests__/index.spec.tsx +5 -5
- package/src/components/FAB/index.tsx +5 -55
- package/src/components/Icon/utils.ts +6 -0
- package/src/components/Typography/Text/StyledText.tsx +8 -4
- package/src/components/Typography/Text/__tests__/__snapshots__/StyledText.spec.tsx.snap +9 -9
- package/src/components/Typography/Text/index.tsx +2 -2
- package/src/index.ts +2 -0
- package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +58 -12
- package/src/theme/components/badge.ts +5 -5
- package/src/theme/components/bottomNavigation.ts +23 -0
- package/src/theme/components/fab.ts +33 -2
- package/src/theme/components/typography.ts +8 -7
- package/src/theme/global/index.ts +2 -2
- package/src/theme/global/typography.ts +11 -8
- package/src/theme/index.ts +3 -0
- package/src/utils/helpers.ts +4 -0
- package/types/components/Card/StyledView.d.ts +12 -0
- package/types/components/Card/index.d.ts +0 -0
- package/types/index.d.ts +4 -0
- package/types/playground/components/BottomNavigation.d.ts +2 -0
- package/types/src/components/BottomNavigation/StyledBottomNavigation.d.ts +17 -0
- package/types/src/components/BottomNavigation/__tests__/BottomNavigation.spec.d.ts +1 -0
- package/types/src/components/BottomNavigation/index.d.ts +40 -0
- package/types/src/components/FAB/ActionGroup/ActionItem.d.ts +12 -0
- package/types/src/components/FAB/ActionGroup/StyledActionGroup.d.ts +12 -0
- package/types/src/components/FAB/ActionGroup/StyledActionItem.d.ts +4 -0
- package/types/src/components/FAB/ActionGroup/__tests__/index.spec.d.ts +1 -0
- package/types/src/components/FAB/ActionGroup/index.d.ts +27 -0
- package/types/src/components/FAB/FAB.d.ts +30 -0
- package/types/src/components/FAB/FABButton.d.ts +30 -0
- package/types/src/components/FAB/MenuList/MenuItem.d.ts +15 -0
- package/types/src/components/FAB/MenuList/StyleBackDrop.d.ts +5 -0
- package/types/src/components/FAB/MenuList/StyledHeaderText.d.ts +3 -0
- package/types/src/components/FAB/MenuList/StyledMenuItem.d.ts +4 -0
- package/types/src/components/FAB/MenuList/__tests__/index.spec.d.ts +1 -0
- package/types/src/components/FAB/MenuList/index.d.ts +27 -0
- package/types/src/components/FAB/__tests__/FABButton.spec.d.ts +1 -0
- package/types/src/components/FAB/index.d.ts +4 -30
- package/types/src/components/Icon/utils.d.ts +2 -0
- package/types/src/components/Typography/Text/StyledText.d.ts +1 -1
- package/types/src/components/Typography/Text/__test__/StyledText.spec.d.ts +1 -0
- package/types/src/components/Typography/Text/__test__/index.spec.d.ts +1 -0
- package/types/src/components/Typography/Text/index.d.ts +2 -2
- package/types/src/index.d.ts +2 -1
- package/types/src/theme/components/bottomNavigation.d.ts +17 -0
- package/types/src/theme/components/fab.d.ts +28 -1
- package/types/src/theme/components/typography.d.ts +1 -0
- package/types/src/theme/global/index.d.ts +4 -0
- package/types/src/theme/global/typography.d.ts +4 -0
- package/types/src/theme/index.d.ts +2 -0
- package/types/src/utils/helpers.d.ts +2 -0
- package/types/styled-components.d.ts +6 -0
- package/types/theme/components/exampleComponent.d.ts +14 -0
- package/types/theme/global/colors.d.ts +24 -0
- package/types/theme/global/index.d.ts +58 -0
- package/types/theme/global/space.d.ts +12 -0
- package/types/theme/global/typography.d.ts +21 -0
- package/types/theme/index.d.ts +11 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"ast":null,"code":"import getBoundingClientRect from \"../../modules/getBoundingClientRect\";\nimport setValueForStyles from \"../../modules/setValueForStyles\";\n\nvar getRect = function getRect(node) {\n var _getBoundingClientRec = getBoundingClientRect(node),\n x = _getBoundingClientRec.x,\n y = _getBoundingClientRec.y,\n top = _getBoundingClientRec.top,\n left = _getBoundingClientRec.left;\n\n var width = node.offsetWidth;\n var height = node.offsetHeight;\n return {\n x: x,\n y: y,\n width: width,\n height: height,\n top: top,\n left: left\n };\n};\n\nvar _measureLayout = function measureLayout(node, relativeToNativeNode, callback) {\n var relativeNode = relativeToNativeNode || node && node.parentNode;\n\n if (node && relativeNode) {\n setTimeout(function () {\n var relativeRect = getBoundingClientRect(relativeNode);\n\n var _getRect = getRect(node),\n height = _getRect.height,\n left = _getRect.left,\n top = _getRect.top,\n width = _getRect.width;\n\n var x = left - relativeRect.left;\n var y = top - relativeRect.top;\n callback(x, y, width, height, left, top);\n }, 0);\n }\n};\n\nvar focusableElements = {\n A: true,\n INPUT: true,\n SELECT: true,\n TEXTAREA: true\n};\nvar UIManager = {\n blur: function blur(node) {\n try {\n node.blur();\n } catch (err) {}\n },\n focus: function focus(node) {\n try {\n var name = node.nodeName;\n\n if (node.getAttribute('tabIndex') == null && focusableElements[name] == null) {\n node.setAttribute('tabIndex', '-1');\n }\n\n node.focus();\n } catch (err) {}\n },\n measure: function measure(node, callback) {\n _measureLayout(node, null, callback);\n },\n measureInWindow: function measureInWindow(node, callback) {\n if (node) {\n setTimeout(function () {\n var _getRect2 = getRect(node),\n height = _getRect2.height,\n left = _getRect2.left,\n top = _getRect2.top,\n width = _getRect2.width;\n\n callback(left, top, width, height);\n }, 0);\n }\n },\n measureLayout: function measureLayout(node, relativeToNativeNode, onFail, onSuccess) {\n _measureLayout(node, relativeToNativeNode, onSuccess);\n },\n updateView: function updateView(node, props) {\n for (var prop in props) {\n if (!Object.prototype.hasOwnProperty.call(props, prop)) {\n continue;\n }\n\n var value = props[prop];\n\n switch (prop) {\n case 'style':\n {\n setValueForStyles(node, value);\n break;\n }\n\n case 'class':\n case 'className':\n {\n node.setAttribute('class', value);\n break;\n }\n\n case 'text':\n case 'value':\n node.value = value;\n break;\n\n default:\n node.setAttribute(prop, value);\n }\n }\n },\n configureNextLayoutAnimation: function configureNextLayoutAnimation(config, onAnimationDidEnd) {\n onAnimationDidEnd();\n },\n setLayoutAnimationEnabledExperimental: function setLayoutAnimationEnabledExperimental() {}\n};\nexport default UIManager;","map":{"version":3,"names":["getBoundingClientRect","setValueForStyles","getRect","node","_getBoundingClientRec","x","y","top","left","width","offsetWidth","height","offsetHeight","_measureLayout","measureLayout","relativeToNativeNode","callback","relativeNode","parentNode","setTimeout","relativeRect","_getRect","focusableElements","A","INPUT","SELECT","TEXTAREA","UIManager","blur","err","focus","name","nodeName","getAttribute","setAttribute","measure","measureInWindow","_getRect2","onFail","onSuccess","updateView","props","prop","Object","prototype","hasOwnProperty","call","value","configureNextLayoutAnimation","config","onAnimationDidEnd","setLayoutAnimationEnabledExperimental"],"sources":["/Volumes/ExternalSSD/Projects/hero-design/packages/rn/node_modules/react-native-web/dist/exports/UIManager/index.js"],"sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport getBoundingClientRect from '../../modules/getBoundingClientRect';\nimport setValueForStyles from '../../modules/setValueForStyles';\n\nvar getRect = function getRect(node) {\n // Unlike the DOM's getBoundingClientRect, React Native layout measurements\n // for \"height\" and \"width\" ignore scale transforms.\n // https://developer.mozilla.org/en-US/docs/Web/API/CSS_Object_Model/Determining_the_dimensions_of_elements\n var _getBoundingClientRec = getBoundingClientRect(node),\n x = _getBoundingClientRec.x,\n y = _getBoundingClientRec.y,\n top = _getBoundingClientRec.top,\n left = _getBoundingClientRec.left;\n\n var width = node.offsetWidth;\n var height = node.offsetHeight;\n return {\n x: x,\n y: y,\n width: width,\n height: height,\n top: top,\n left: left\n };\n};\n\nvar _measureLayout = function measureLayout(node, relativeToNativeNode, callback) {\n var relativeNode = relativeToNativeNode || node && node.parentNode;\n\n if (node && relativeNode) {\n setTimeout(function () {\n var relativeRect = getBoundingClientRect(relativeNode);\n\n var _getRect = getRect(node),\n height = _getRect.height,\n left = _getRect.left,\n top = _getRect.top,\n width = _getRect.width;\n\n var x = left - relativeRect.left;\n var y = top - relativeRect.top;\n callback(x, y, width, height, left, top);\n }, 0);\n }\n};\n\nvar focusableElements = {\n A: true,\n INPUT: true,\n SELECT: true,\n TEXTAREA: true\n};\nvar UIManager = {\n blur: function blur(node) {\n try {\n node.blur();\n } catch (err) {}\n },\n focus: function focus(node) {\n try {\n var name = node.nodeName; // A tabIndex of -1 allows element to be programmatically focused but\n // prevents keyboard focus, so we don't want to set the value on elements\n // that support keyboard focus by default.\n\n if (node.getAttribute('tabIndex') == null && focusableElements[name] == null) {\n node.setAttribute('tabIndex', '-1');\n }\n\n node.focus();\n } catch (err) {}\n },\n measure: function measure(node, callback) {\n _measureLayout(node, null, callback);\n },\n measureInWindow: function measureInWindow(node, callback) {\n if (node) {\n setTimeout(function () {\n var _getRect2 = getRect(node),\n height = _getRect2.height,\n left = _getRect2.left,\n top = _getRect2.top,\n width = _getRect2.width;\n\n callback(left, top, width, height);\n }, 0);\n }\n },\n measureLayout: function measureLayout(node, relativeToNativeNode, onFail, onSuccess) {\n _measureLayout(node, relativeToNativeNode, onSuccess);\n },\n updateView: function updateView(node, props) {\n for (var prop in props) {\n if (!Object.prototype.hasOwnProperty.call(props, prop)) {\n continue;\n }\n\n var value = props[prop];\n\n switch (prop) {\n case 'style':\n {\n setValueForStyles(node, value);\n break;\n }\n\n case 'class':\n case 'className':\n {\n node.setAttribute('class', value);\n break;\n }\n\n case 'text':\n case 'value':\n // native platforms use `text` prop to replace text input value\n node.value = value;\n break;\n\n default:\n node.setAttribute(prop, value);\n }\n }\n },\n configureNextLayoutAnimation: function configureNextLayoutAnimation(config, onAnimationDidEnd) {\n onAnimationDidEnd();\n },\n // mocks\n setLayoutAnimationEnabledExperimental: function setLayoutAnimationEnabledExperimental() {}\n};\nexport default UIManager;"],"mappings":"AAQA,OAAOA,q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iB;EAClB,CAzEa;EA2EdC,qCAAqC,EAAE,SAASA,qCAAT,GAAiD,CAAE;AA3E5E,CAAhB;AA6EA,eAAexB,SAAf"},"metadata":{},"sourceType":"module"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"ast":null,"code":"'use strict';\n\nimport invariant from 'fbjs/lib/invariant';\n\nvar EventSubscriptionVendor = function () {\n function EventSubscriptionVendor() {\n this._subscriptionsForType = {};\n }\n\n var _proto = EventSubscriptionVendor.prototype;\n\n _proto.addSubscription = function addSubscription(eventType, subscription) {\n invariant(subscription.subscriber === this, 'The subscriber of the subscription is incorrectly set.');\n\n if (!this._subscriptionsForType[eventType]) {\n this._subscriptionsForType[eventType] = [];\n }\n\n var key = this._subscriptionsForType[eventType].length;\n\n this._subscriptionsForType[eventType].push(subscription);\n\n subscription.eventType = eventType;\n subscription.key = key;\n return subscription;\n };\n\n _proto.removeAllSubscriptions = function removeAllSubscriptions(eventType) {\n if (eventType == null) {\n this._subscriptionsForType = {};\n } else {\n delete this._subscriptionsForType[eventType];\n }\n };\n\n _proto.removeSubscription = function removeSubscription(subscription) {\n var eventType = subscription.eventType;\n var key = subscription.key;\n var subscriptionsForType = this._subscriptionsForType[eventType];\n\n if (subscriptionsForType) {\n delete subscriptionsForType[key];\n }\n };\n\n _proto.getSubscriptionsForType = function getSubscriptionsForType(eventType) {\n return this._subscriptionsForType[eventType];\n };\n\n return EventSubscriptionVendor;\n}();\n\nexport default EventSubscriptionVendor;","map":{"version":3,"names":["invariant","EventSubscriptionVendor","_subscriptionsForType","_proto","prototype","addSubscription","eventType","subscription","subscriber","key","length","push","removeAllSubscriptions","removeSubscription","subscriptionsForType","getSubscriptionsForType"],"sources":["/Volumes/ExternalSSD/Projects/hero-design/packages/rn/node_modules/react-native-web/dist/vendor/react-native/emitter/_EventSubscriptionVendor.js"],"sourcesContent":["/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * \n */\n'use strict';\n\nimport invariant from 'fbjs/lib/invariant';\n\n/**\n * EventSubscriptionVendor stores a set of EventSubscriptions that are\n * subscribed to a particular event type.\n */\nvar EventSubscriptionVendor = /*#__PURE__*/function () {\n function EventSubscriptionVendor() {\n this._subscriptionsForType = {};\n }\n /**\n * Adds a subscription keyed by an event type.\n *\n * @param {string} eventType\n * @param {EventSubscription} subscription\n */\n\n\n var _proto = EventSubscriptionVendor.prototype;\n\n _proto.addSubscription = function addSubscription(eventType, subscription) {\n invariant(subscription.subscriber === this, 'The subscriber of the subscription is incorrectly set.');\n\n if (!this._subscriptionsForType[eventType]) {\n this._subscriptionsForType[eventType] = [];\n }\n\n var key = this._subscriptionsForType[eventType].length;\n\n this._subscriptionsForType[eventType].push(subscription);\n\n subscription.eventType = eventType;\n subscription.key = key;\n return subscription;\n }\n /**\n * Removes a bulk set of the subscriptions.\n *\n * @param {?string} eventType - Optional name of the event type whose\n * registered supscriptions to remove, if null remove all subscriptions.\n */\n ;\n\n _proto.removeAllSubscriptions = function removeAllSubscriptions(eventType) {\n if (eventType == null) {\n this._subscriptionsForType = {};\n } else {\n delete this._subscriptionsForType[eventType];\n }\n }\n /**\n * Removes a specific subscription. Instead of calling this function, call\n * `subscription.remove()` directly.\n *\n * @param {object} subscription\n */\n ;\n\n _proto.removeSubscription = function removeSubscription(subscription) {\n var eventType = subscription.eventType;\n var key = subscription.key;\n var subscriptionsForType = this._subscriptionsForType[eventType];\n\n if (subscriptionsForType) {\n delete subscriptionsForType[key];\n }\n }\n /**\n * Returns the array of subscriptions that are currently registered for the\n * given event type.\n *\n * Note: This array can be potentially sparse as subscriptions are deleted\n * from it when they are removed.\n *\n * TODO: This returns a nullable array. wat?\n *\n * @param {string} eventType\n * @returns {?array}\n */\n ;\n\n _proto.getSubscriptionsForType = function getSubscriptionsForType(eventType) {\n return this._subscriptionsForType[eventType];\n };\n\n return EventSubscriptionVendor;\n}();\n\nexport default EventSubscriptionVendor;"],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AACL,GAAD,CAA3B;IACD;EACF,CARD;;EAuBAN,MAAM,CAACY,uBAAP,GAAiC,SAASA,uBAAT,CAAiCT,SAAjC,EAA4C;IAC3E,OAAO,KAAKJ,qBAAL,CAA2BI,SAA3B,CAAP;EACD,CAFD;;EAIA,OAAOL,uBAAP;AACD,CAhF0C,EAA3C;;AAkFA,eAAeA,uBAAf"},"metadata":{},"sourceType":"module"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"ast":null,"code":"'use strict';\n\nvar NEWTON_ITERATIONS = 4;\nvar NEWTON_MIN_SLOPE = 0.001;\nvar SUBDIVISION_PRECISION = 0.0000001;\nvar SUBDIVISION_MAX_ITERATIONS = 10;\nvar kSplineTableSize = 11;\nvar kSampleStepSize = 1.0 / (kSplineTableSize - 1.0);\nvar float32ArraySupported = typeof Float32Array === 'function';\n\nfunction A(aA1, aA2) {\n return 1.0 - 3.0 * aA2 + 3.0 * aA1;\n}\n\nfunction B(aA1, aA2) {\n return 3.0 * aA2 - 6.0 * aA1;\n}\n\nfunction C(aA1) {\n return 3.0 * aA1;\n}\n\nfunction calcBezier(aT, aA1, aA2) {\n return ((A(aA1, aA2) * aT + B(aA1, aA2)) * aT + C(aA1)) * aT;\n}\n\nfunction getSlope(aT, aA1, aA2) {\n return 3.0 * A(aA1, aA2) * aT * aT + 2.0 * B(aA1, aA2) * aT + C(aA1);\n}\n\nfunction binarySubdivide(aX, _aA, _aB, mX1, mX2) {\n var currentX,\n currentT,\n i = 0,\n aA = _aA,\n aB = _aB;\n\n do {\n currentT = aA + (aB - aA) / 2.0;\n currentX = calcBezier(currentT, mX1, mX2) - aX;\n\n if (currentX > 0.0) {\n aB = currentT;\n } else {\n aA = currentT;\n }\n } while (Math.abs(currentX) > SUBDIVISION_PRECISION && ++i < SUBDIVISION_MAX_ITERATIONS);\n\n return currentT;\n}\n\nfunction newtonRaphsonIterate(aX, _aGuessT, mX1, mX2) {\n var aGuessT = _aGuessT;\n\n for (var i = 0; i < NEWTON_ITERATIONS; ++i) {\n var currentSlope = getSlope(aGuessT, mX1, mX2);\n\n if (currentSlope === 0.0) {\n return aGuessT;\n }\n\n var currentX = calcBezier(aGuessT, mX1, mX2) - aX;\n aGuessT -= currentX / currentSlope;\n }\n\n return aGuessT;\n}\n\nexport default function bezier(mX1, mY1, mX2, mY2) {\n if (!(mX1 >= 0 && mX1 <= 1 && mX2 >= 0 && mX2 <= 1)) {\n throw new Error('bezier x values must be in [0, 1] range');\n }\n\n var sampleValues = float32ArraySupported ? new Float32Array(kSplineTableSize) : new Array(kSplineTableSize);\n\n if (mX1 !== mY1 || mX2 !== mY2) {\n for (var i = 0; i < kSplineTableSize; ++i) {\n sampleValues[i] = calcBezier(i * kSampleStepSize, mX1, mX2);\n }\n }\n\n function getTForX(aX) {\n var intervalStart = 0.0;\n var currentSample = 1;\n var lastSample = kSplineTableSize - 1;\n\n for (; currentSample !== lastSample && sampleValues[currentSample] <= aX; ++currentSample) {\n intervalStart += kSampleStepSize;\n }\n\n --currentSample;\n var dist = (aX - sampleValues[currentSample]) / (sampleValues[currentSample + 1] - sampleValues[currentSample]);\n var guessForT = intervalStart + dist * kSampleStepSize;\n var initialSlope = getSlope(guessForT, mX1, mX2);\n\n if (initialSlope >= NEWTON_MIN_SLOPE) {\n return newtonRaphsonIterate(aX, guessForT, mX1, mX2);\n } else if (initialSlope === 0.0) {\n return guessForT;\n } else {\n return binarySubdivide(aX, intervalStart, intervalStart + kSampleStepSize, mX1, mX2);\n }\n }\n\n return function BezierEasing(x) {\n if (mX1 === mY1 && mX2 === mY2) {\n return x;\n }\n\n if (x === 0) {\n return 0;\n }\n\n if (x === 1) {\n return 1;\n }\n\n return calcBezier(getTForX(x), mY1, mY2);\n };\n}\n;","map":{"version":3,"names":["NEWTON_ITERATIONS","NEWTON_MIN_SLOPE","SUBDIVISION_PRECISION","SUBDIVISION_MAX_ITERATIONS","kSplineTableSize","kSampleStepSize","float32ArraySupported","Float32Array","A","aA1","aA2","B","C","calcBezier","aT","getSlope","binarySubdivide","aX","_aA","_aB","mX1","mX2","currentX","currentT","i","aA","aB","Math","abs","newtonRaphsonIterate","_aGuessT","aGuessT","currentSlope","bezier","mY1","mY2","Error","sampleValues","Array","getTForX","intervalStart","currentSample","lastSample","dist","guessForT","initialSlope","BezierEasing","x"],"sources":["/Volumes/ExternalSSD/Projects/hero-design/packages/rn/node_modules/react-native-web/dist/vendor/react-native/Animated/bezier.js"],"sourcesContent":["/**\n * Portions Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n */\n\n/**\n * BezierEasing - use bezier curve for transition easing function\n * https://github.com/gre/bezier-easing\n * @copyright 2014-2015 Gaëtan Renaudeau. MIT License.\n */\n'use strict'; // These values are established by empiricism with tests (tradeoff: performance VS precision)\n\nvar NEWTON_ITERATIONS = 4;\nvar NEWTON_MIN_SLOPE = 0.001;\nvar SUBDIVISION_PRECISION = 0.0000001;\nvar SUBDIVISION_MAX_ITERATIONS = 10;\nvar kSplineTableSize = 11;\nvar kSampleStepSize = 1.0 / (kSplineTableSize - 1.0);\nvar float32ArraySupported = typeof Float32Array === 'function';\n\nfunction A(aA1, aA2) {\n return 1.0 - 3.0 * aA2 + 3.0 * aA1;\n}\n\nfunction B(aA1, aA2) {\n return 3.0 * aA2 - 6.0 * aA1;\n}\n\nfunction C(aA1) {\n return 3.0 * aA1;\n} // Returns x(t) given t, x1, and x2, or y(t) given t, y1, and y2.\n\n\nfunction calcBezier(aT, aA1, aA2) {\n return ((A(aA1, aA2) * aT + B(aA1, aA2)) * aT + C(aA1)) * aT;\n} // Returns dx/dt given t, x1, and x2, or dy/dt given t, y1, and y2.\n\n\nfunction getSlope(aT, aA1, aA2) {\n return 3.0 * A(aA1, aA2) * aT * aT + 2.0 * B(aA1, aA2) * aT + C(aA1);\n}\n\nfunction binarySubdivide(aX, _aA, _aB, mX1, mX2) {\n var currentX,\n currentT,\n i = 0,\n aA = _aA,\n aB = _aB;\n\n do {\n currentT = aA + (aB - aA) / 2.0;\n currentX = calcBezier(currentT, mX1, mX2) - aX;\n\n if (currentX > 0.0) {\n aB = currentT;\n } else {\n aA = currentT;\n }\n } while (Math.abs(currentX) > SUBDIVISION_PRECISION && ++i < SUBDIVISION_MAX_ITERATIONS);\n\n return currentT;\n}\n\nfunction newtonRaphsonIterate(aX, _aGuessT, mX1, mX2) {\n var aGuessT = _aGuessT;\n\n for (var i = 0; i < NEWTON_ITERATIONS; ++i) {\n var currentSlope = getSlope(aGuessT, mX1, mX2);\n\n if (currentSlope === 0.0) {\n return aGuessT;\n }\n\n var currentX = calcBezier(aGuessT, mX1, mX2) - aX;\n aGuessT -= currentX / currentSlope;\n }\n\n return aGuessT;\n}\n\nexport default function bezier(mX1, mY1, mX2, mY2) {\n if (!(mX1 >= 0 && mX1 <= 1 && mX2 >= 0 && mX2 <= 1)) {\n throw new Error('bezier x values must be in [0, 1] range');\n } // Precompute samples table\n\n\n var sampleValues = float32ArraySupported ? new Float32Array(kSplineTableSize) : new Array(kSplineTableSize);\n\n if (mX1 !== mY1 || mX2 !== mY2) {\n for (var i = 0; i < kSplineTableSize; ++i) {\n sampleValues[i] = calcBezier(i * kSampleStepSize, mX1, mX2);\n }\n }\n\n function getTForX(aX) {\n var intervalStart = 0.0;\n var currentSample = 1;\n var lastSample = kSplineTableSize - 1;\n\n for (; currentSample !== lastSample && sampleValues[currentSample] <= aX; ++currentSample) {\n intervalStart += kSampleStepSize;\n }\n\n --currentSample; // Interpolate to provide an initial guess for t\n\n var dist = (aX - sampleValues[currentSample]) / (sampleValues[currentSample + 1] - sampleValues[currentSample]);\n var guessForT = intervalStart + dist * kSampleStepSize;\n var initialSlope = getSlope(guessForT, mX1, mX2);\n\n if (initialSlope >= NEWTON_MIN_SLOPE) {\n return newtonRaphsonIterate(aX, guessForT, mX1, mX2);\n } else if (initialSlope === 0.0) {\n return guessForT;\n } else {\n return binarySubdivide(aX, intervalStart, intervalStart + kSampleStepSize, mX1, mX2);\n }\n }\n\n return function BezierEasing(x) {\n if (mX1 === mY1 && mX2 === mY2) {\n return x; // linear\n } // Because JavaScript number are imprecise, we should guarantee the extremes are right.\n\n\n if (x === 0) {\n return 0;\n }\n\n if (x === 1) {\n return 1;\n }\n\n return calcBezier(getTForX(x), mY1, mY2);\n };\n}\n;"],"mappings":"AAeA;;AAEA,IAAIA,iBAAiB,GAAG,CAAxB;AACA,IAAIC,gBAAgB,GAAG,KAAvB;AACA,IAAIC,qBAAqB,GAAG,SAA5B;AACA,IAAIC,0BAA0B,GAAG,EAAjC;AACA,IAAIC,gBAAgB,GAAG,EAAvB;AACA,IAAIC,eAAe,GAAG,OAAOD,gBAAgB,GAAG,GAA1B,CAAtB;AACA,IAAIE,qBAAqB,GAAG,OAAOC,YAAP,KAAwB,UAApD;;AAEA,SAASC,CAAT,CAAWC,GAAX,EAAgBC,GAAhB,EAAqB;EACnB,OAAO,MAAM,MAAMA,GAAZ,GAAkB,MAAMD,GAA/B;AACD;;AAED,SAASE,CAAT,CAAWF,GAAX,EAAgBC,GAAhB,EAAqB;EACnB,OAAO,MAAMA,GAAN,GAAY,MAAMD,GAAzB;AACD;;AAED,SAASG,CAAT,CAAWH,GAAX,EAAgB;EACd,OAAO,MAAMA,GAAb;AACD;;AAGD,SAASI,UAAT,CAAoBC,EAApB,EAAwBL,GAAxB,EAA6BC,GAA7B,EAAkC;EAChC,OAAO,CAAC,CAACF,CAAC,CAACC,GAAD,EAAMC,GAAN,CAAD,GAAcI,EAAd,GAAmBH,CAAC,CAACF,GAAD,EAAMC,GAAN,CAArB,IAAmCI,EAAnC,GAAwCF,CAAC,CAACH,GAAD,CAA1C,IAAmDK,EAA1D;AACD;;AAGD,SAASC,QAAT,CAAkBD,EAAlB,EAAsBL,GAAtB,EAA2BC,GAA3B,EAAgC;EAC9B,OAAO,MAAMF,CAAC,CAACC,GAAD,EAAMC,GAAN,CAAP,GAAoBI,EAApB,GAAyBA,EAAzB,GAA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ApF,CAAX;IACA,IAAIG,SAAS,GAAGJ,aAAa,GAAGG,IAAI,GAAGtC,eAAvC;IACA,IAAIwC,YAAY,GAAG9B,QAAQ,CAAC6B,SAAD,EAAYxB,GAAZ,EAAiBC,GAAjB,CAA3B;;IAEA,IAAIwB,YAAY,IAAI5C,gBAApB,EAAsC;MACpC,OAAO4B,oBAAoB,CAACZ,EAAD,EAAK2B,SAAL,EAAgBxB,GAAhB,EAAqBC,GAArB,CAA3B;IACD,CAFD,MAEO,IAAIwB,YAAY,KAAK,GAArB,EAA0B;MAC/B,OAAOD,SAAP;IACD,CAFM,MAEA;MACL,OAAO5B,eAAe,CAACC,EAAD,EAAKuB,aAAL,EAAoBA,aAAa,GAAGnC,eAApC,EAAqDe,GAArD,EAA0DC,GAA1D,CAAtB;IACD;EACF;;EAED,OAAO,SAASyB,YAAT,CAAsBC,CAAtB,EAAyB;IAC9B,IAAI3B,GAAG,KAAKc,GAAR,IAAeb,GAAG,KAAKc,GAA3B,EAAgC;MAC9B,OAAOY,CAAP;IACD;;IAGD,IAAIA,CAAC,KAAK,CAAV,EAAa;MACX,OAAO,CAAP;IACD;;IAED,IAAIA,CAAC,KAAK,CAAV,EAAa;MACX,OAAO,CAAP;IACD;;IAED,OAAOlC,UAAU,CAAC0B,QAAQ,CAACQ,CAAD,CAAT,EAAcb,GAAd,EAAmBC,GAAnB,CAAjB;EACD,CAfD;AAgBD;AACD"},"metadata":{},"sourceType":"module"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"ast":null,"code":"import { systemPalette } from \"../colors\";\nimport { space } from \"../space\";\nvar demoStyleColors = {\n primaryBg: systemPalette.primaryLight,\n dangerBg: systemPalette.dangerBackground,\n warningBg: systemPalette.warningBackground\n};\nvar demoStyleSpace = {\n smallMargin: space.xxsmall,\n mediumMargin: space.medium,\n largeMargin: space.xxxxlarge\n};\nexport { demoStyleColors, demoStyleSpace };","map":{"version":3,"names":["systemPalette","space","demoStyleColors","primaryBg","primaryLight","dangerBg","dangerBackground","warningBg","warningBackground","demoStyleSpace","smallMargin","xxsmall","mediumMargin","medium","largeMargin","xxxxlarge"],"sources":["/Volumes/ExternalSSD/Projects/hero-design/packages/rn/src/theme/components/demoStyle.ts"],"sourcesContent":["import { systemPalette } from '../colors';\nimport { space } from '../space';\n\nconst demoStyleColors = {\n primaryBg: systemPalette.primaryLight,\n dangerBg: systemPalette.dangerBackground,\n warningBg: systemPalette.warningBackground,\n};\n\nconst demoStyleSpace = {\n smallMargin: space.xxsmall,\n mediumMargin: space.medium,\n largeMargin: space.xxxxlarge,\n};\n\nexport { demoStyleColors, demoStyleSpace };\n"],"mappings":"AAAA,SAASA,aAAT;AACA,SAASC,KAAT;AAEA,IAAMC,eAAe,GAAG;EACtBC,SAAS,EAAEH,aAAa,CAACI,YADH;EAEtBC,QAAQ,EAAEL,aAAa,CAACM,gBAFF;EAGtBC,SAAS,EAAEP,aAAa,CAACQ;AAHH,CAAxB;AAMA,IAAMC,cAAc,GAAG;EACrBC,WAAW,EAAET,KAAK,CAACU,OADE;EAErBC,YAAY,EAAEX,KAAK,CAACY,MAFC;EAGrBC,WAAW,EAAEb,KAAK,CAACc;AAHE,CAAvB;AAMA,SAASb,eAAT,EAA0BO,cAA1B"},"metadata":{},"sourceType":"module"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"ast":null,"code":"var slice = Array.prototype.slice;\nexport default function createOrderedCSSStyleSheet(sheet) {\n var groups = {};\n var selectors = {};\n\n if (sheet != null) {\n var group;\n slice.call(sheet.cssRules).forEach(function (cssRule, i) {\n var cssText = cssRule.cssText;\n\n if (cssText.indexOf('stylesheet-group') > -1) {\n group = decodeGroupRule(cssRule);\n groups[group] = {\n start: i,\n rules: [cssText]\n };\n } else {\n var selectorText = getSelectorText(cssText);\n\n if (selectorText != null) {\n selectors[selectorText] = true;\n groups[group].rules.push(cssText);\n }\n }\n });\n }\n\n function sheetInsert(sheet, group, text) {\n var orderedGroups = getOrderedGroups(groups);\n var groupIndex = orderedGroups.indexOf(group);\n var nextGroupIndex = groupIndex + 1;\n var nextGroup = orderedGroups[nextGroupIndex];\n var position = nextGroup != null && groups[nextGroup].start != null ? groups[nextGroup].start : sheet.cssRules.length;\n var isInserted = insertRuleAt(sheet, text, position);\n\n if (isInserted) {\n if (groups[group].start == null) {\n groups[group].start = position;\n }\n\n for (var i = nextGroupIndex; i < orderedGroups.length; i += 1) {\n var groupNumber = orderedGroups[i];\n var previousStart = groups[groupNumber].start || 0;\n groups[groupNumber].start = previousStart + 1;\n }\n }\n\n return isInserted;\n }\n\n var OrderedCSSStyleSheet = {\n getTextContent: function getTextContent() {\n return getOrderedGroups(groups).map(function (group) {\n var rules = groups[group].rules;\n return rules.join('\\n');\n }).join('\\n');\n },\n insert: function insert(cssText, groupValue) {\n var group = Number(groupValue);\n\n if (groups[group] == null) {\n var markerRule = encodeGroupRule(group);\n groups[group] = {\n start: null,\n rules: [markerRule]\n };\n\n if (sheet != null) {\n sheetInsert(sheet, group, markerRule);\n }\n }\n\n var selectorText = getSelectorText(cssText);\n\n if (selectorText != null && selectors[selectorText] == null) {\n selectors[selectorText] = true;\n groups[group].rules.push(cssText);\n\n if (sheet != null) {\n var isInserted = sheetInsert(sheet, group, cssText);\n\n if (!isInserted) {\n groups[group].rules.pop();\n }\n }\n }\n }\n };\n return OrderedCSSStyleSheet;\n}\n\nfunction encodeGroupRule(group) {\n return \"[stylesheet-group=\\\"\" + group + \"\\\"]{}\";\n}\n\nfunction decodeGroupRule(cssRule) {\n return Number(cssRule.selectorText.split(/[\"']/)[1]);\n}\n\nfunction getOrderedGroups(obj) {\n return Object.keys(obj).map(Number).sort(function (a, b) {\n return a > b ? 1 : -1;\n });\n}\n\nvar pattern = /\\s*([,])\\s*/g;\n\nfunction getSelectorText(cssText) {\n var selector = cssText.split('{')[0].trim();\n return selector !== '' ? selector.replace(pattern, '$1') : null;\n}\n\nfunction insertRuleAt(root, cssText, position) {\n try {\n root.insertRule(cssText, position);\n return true;\n } catch (e) {\n return false;\n }\n}","map":{"version":3,"names":["slice","Array","prototype","createOrderedCSSStyleSheet","sheet","groups","selectors","group","call","cssRules","forEach","cssRule","i","cssText","indexOf","decodeGroupRule","start","rules","selectorText","getSelectorText","push","sheetInsert","text","orderedGroups","getOrderedGroups","groupIndex","nextGroupIndex","nextGroup","position","length","isInserted","insertRuleAt","groupNumber","previousStart","OrderedCSSStyleSheet","getTextContent","map","join","insert","groupValue","Number","markerRule","encodeGroupRule","pop","split","obj","Object","keys","sort","a","b","pattern","selector","trim","replace","root","insertRule","e"],"sources":["/Volumes/ExternalSSD/Projects/hero-design/packages/rn/node_modules/react-native-web/dist/exports/StyleSheet/createOrderedCSSStyleSheet.js"],"sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nvar slice = Array.prototype.slice;\n/**\n * Order-based insertion of CSS.\n *\n * Each rule is associated with a numerically defined group.\n * Groups are ordered within the style sheet according to their number, with the\n * lowest first.\n *\n * Groups are implemented using marker rules. The selector of the first rule of\n * each group is used only to encode the group number for hydration. An\n * alternative implementation could rely on CSSMediaRule, allowing groups to be\n * treated as a sub-sheet, but the Edge implementation of CSSMediaRule is\n * broken.\n * https://developer.mozilla.org/en-US/docs/Web/API/CSSMediaRule\n * https://gist.github.com/necolas/aa0c37846ad6bd3b05b727b959e82674\n */\n\nexport default function createOrderedCSSStyleSheet(sheet) {\n var groups = {};\n var selectors = {};\n /**\n * Hydrate approximate record from any existing rules in the sheet.\n */\n\n if (sheet != null) {\n var group;\n slice.call(sheet.cssRules).forEach(function (cssRule, i) {\n var cssText = cssRule.cssText; // Create record of existing selectors and rules\n\n if (cssText.indexOf('stylesheet-group') > -1) {\n group = decodeGroupRule(cssRule);\n groups[group] = {\n start: i,\n rules: [cssText]\n };\n } else {\n var selectorText = getSelectorText(cssText);\n\n if (selectorText != null) {\n selectors[selectorText] = true;\n groups[group].rules.push(cssText);\n }\n }\n });\n }\n\n function sheetInsert(sheet, group, text) {\n var orderedGroups = getOrderedGroups(groups);\n var groupIndex = orderedGroups.indexOf(group);\n var nextGroupIndex = groupIndex + 1;\n var nextGroup = orderedGroups[nextGroupIndex]; // Insert rule before the next group, or at the end of the stylesheet\n\n var position = nextGroup != null && groups[nextGroup].start != null ? groups[nextGroup].start : sheet.cssRules.length;\n var isInserted = insertRuleAt(sheet, text, position);\n\n if (isInserted) {\n // Set the starting index of the new group\n if (groups[group].start == null) {\n groups[group].start = position;\n } // Increment the starting index of all subsequent groups\n\n\n for (var i = nextGroupIndex; i < orderedGroups.length; i += 1) {\n var groupNumber = orderedGroups[i];\n var previousStart = groups[groupNumber].start || 0;\n groups[groupNumber].start = previousStart + 1;\n }\n }\n\n return isInserted;\n }\n\n var OrderedCSSStyleSheet = {\n /**\n * The textContent of the style sheet.\n */\n getTextContent: function getTextContent() {\n return getOrderedGroups(groups).map(function (group) {\n var rules = groups[group].rules;\n return rules.join('\\n');\n }).join('\\n');\n },\n\n /**\n * Insert a rule into the style sheet\n */\n insert: function insert(cssText, groupValue) {\n var group = Number(groupValue); // Create a new group.\n\n if (groups[group] == null) {\n var markerRule = encodeGroupRule(group); // Create the internal record.\n\n groups[group] = {\n start: null,\n rules: [markerRule]\n }; // Update CSSOM.\n\n if (sheet != null) {\n sheetInsert(sheet, group, markerRule);\n }\n } // selectorText is more reliable than cssText for insertion checks. The\n // browser excludes vendor-prefixed properties and rewrites certain values\n // making cssText more likely to be different from what was inserted.\n\n\n var selectorText = getSelectorText(cssText);\n\n if (selectorText != null && selectors[selectorText] == null) {\n // Update the internal records.\n selectors[selectorText] = true;\n groups[group].rules.push(cssText); // Update CSSOM.\n\n if (sheet != null) {\n var isInserted = sheetInsert(sheet, group, cssText);\n\n if (!isInserted) {\n // Revert internal record change if a rule was rejected (e.g.,\n // unrecognized pseudo-selector)\n groups[group].rules.pop();\n }\n }\n }\n }\n };\n return OrderedCSSStyleSheet;\n}\n/**\n * Helper functions\n */\n\nfunction encodeGroupRule(group) {\n return \"[stylesheet-group=\\\"\" + group + \"\\\"]{}\";\n}\n\nfunction decodeGroupRule(cssRule) {\n return Number(cssRule.selectorText.split(/[\"']/)[1]);\n}\n\nfunction getOrderedGroups(obj) {\n return Object.keys(obj).map(Number).sort(function (a, b) {\n return a > b ? 1 : -1;\n });\n}\n\nvar pattern = /\\s*([,])\\s*/g;\n\nfunction getSelectorText(cssText) {\n var selector = cssText.split('{')[0].trim();\n return selector !== '' ? selector.replace(pattern, '$1') : null;\n}\n\nfunction insertRuleAt(root, cssText, position) {\n try {\n // $FlowFixMe: Flow is missing CSSOM types needed to type 'root'.\n root.insertRule(cssText, position);\n return true;\n } catch (e) {\n // JSDOM doesn't support `CSSSMediaRule#insertRule`.\n // Also ignore errors that occur from attempting to insert vendor-prefixed selectors.\n return false;\n }\n}"],"mappings":"AAQA,IAAIA,KAAK,GAAGC,KAAK,CAACC,SAAN,CAAgBF,KAA5B;AAiBA,eAAe,SAASG,0BAAT,CAAoCC,KAApC,EAA2C;EACxD,IAAIC,MAAM,GAAG,EAAb;EACA,IAAIC,SAAS,GAAG,EAAhB;;EAKA,IAAIF,KAAK,IAAI,IAAb,EAAmB;IACjB,IAAIG,KAAJ;IACAP,KAAK,CAACQ,IAAN,CAAWJ,KAAK,CAACK,QAAjB,EAA2BC,OAA3B,CAAmC,UAAUC,OAAV,EAAmBC,CAAnB,EAAsB;MACvD,IAAIC,OAAO,GAAGF,OAAO,CAACE,OAAtB;;MAEA,IAAIA,OAAO,CAACC,OAAR,CAAgB,kBAAhB,IAAsC,CAAC,CAA3C,EAA8C;QAC5CP,KAAK,GAAGQ,eAAe,CAACJ,OAAD,CAAvB;QACAN,MAAM,CAACE,KAAD,CAAN,GAAgB;UACdS,KAAK,EAAEJ,CADO;UAEdK,KAAK,EAAE,CAACJ,OAAD;QAFO,CAAhB;MAID,CAND,MAMO;QACL,IAAIK,YAAY,GAAGC,eAAe,CAACN,OAAD,CAAlC;;QAEA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
|
1
|
+
{"ast":null,"code":"function murmurhash2_32_gc(str, seed) {\n var l = str.length,\n h = seed ^ l,\n i = 0,\n k;\n\n while (l >= 4) {\n k = str.charCodeAt(i) & 0xff | (str.charCodeAt(++i) & 0xff) << 8 | (str.charCodeAt(++i) & 0xff) << 16 | (str.charCodeAt(++i) & 0xff) << 24;\n k = (k & 0xffff) * 0x5bd1e995 + (((k >>> 16) * 0x5bd1e995 & 0xffff) << 16);\n k ^= k >>> 24;\n k = (k & 0xffff) * 0x5bd1e995 + (((k >>> 16) * 0x5bd1e995 & 0xffff) << 16);\n h = (h & 0xffff) * 0x5bd1e995 + (((h >>> 16) * 0x5bd1e995 & 0xffff) << 16) ^ k;\n l -= 4;\n ++i;\n }\n\n switch (l) {\n case 3:\n h ^= (str.charCodeAt(i + 2) & 0xff) << 16;\n\n case 2:\n h ^= (str.charCodeAt(i + 1) & 0xff) << 8;\n\n case 1:\n h ^= str.charCodeAt(i) & 0xff;\n h = (h & 0xffff) * 0x5bd1e995 + (((h >>> 16) * 0x5bd1e995 & 0xffff) << 16);\n }\n\n h ^= h >>> 13;\n h = (h & 0xffff) * 0x5bd1e995 + (((h >>> 16) * 0x5bd1e995 & 0xffff) << 16);\n h ^= h >>> 15;\n return h >>> 0;\n}\n\nvar hash = function hash(str) {\n return murmurhash2_32_gc(str, 1).toString(36);\n};\n\nexport default hash;","map":{"version":3,"names":["murmurhash2_32_gc","str","seed","l","length","h","i","k","charCodeAt","hash","toString"],"sources":["/Volumes/ExternalSSD/Projects/hero-design/packages/rn/node_modules/react-native-web/dist/vendor/hash/index.js"],"sourcesContent":["/* eslint-disable */\n\n/**\n * JS Implementation of MurmurHash2\n *\n * @author <a href=\"mailto:gary.court@gmail.com\">Gary Court</a>\n * @see http://github.com/garycourt/murmurhash-js\n * @author <a href=\"mailto:aappleby@gmail.com\">Austin Appleby</a>\n * @see http://sites.google.com/site/murmurhash/\n *\n * @param {string} str ASCII only\n * @param {number} seed Positive integer only\n * @return {number} 32-bit positive integer hash\n *\n * \n */\nfunction murmurhash2_32_gc(str, seed) {\n var l = str.length,\n h = seed ^ l,\n i = 0,\n k;\n\n while (l >= 4) {\n k = str.charCodeAt(i) & 0xff | (str.charCodeAt(++i) & 0xff) << 8 | (str.charCodeAt(++i) & 0xff) << 16 | (str.charCodeAt(++i) & 0xff) << 24;\n k = (k & 0xffff) * 0x5bd1e995 + (((k >>> 16) * 0x5bd1e995 & 0xffff) << 16);\n k ^= k >>> 24;\n k = (k & 0xffff) * 0x5bd1e995 + (((k >>> 16) * 0x5bd1e995 & 0xffff) << 16);\n h = (h & 0xffff) * 0x5bd1e995 + (((h >>> 16) * 0x5bd1e995 & 0xffff) << 16) ^ k;\n l -= 4;\n ++i;\n }\n\n switch (l) {\n case 3:\n h ^= (str.charCodeAt(i + 2) & 0xff) << 16;\n\n case 2:\n h ^= (str.charCodeAt(i + 1) & 0xff) << 8;\n\n case 1:\n h ^= str.charCodeAt(i) & 0xff;\n h = (h & 0xffff) * 0x5bd1e995 + (((h >>> 16) * 0x5bd1e995 & 0xffff) << 16);\n }\n\n h ^= h >>> 13;\n h = (h & 0xffff) * 0x5bd1e995 + (((h >>> 16) * 0x5bd1e995 & 0xffff) << 16);\n h ^= h >>> 15;\n return h >>> 0;\n}\n\nvar hash = function hash(str) {\n return murmurhash2_32_gc(str, 1).toString(36);\n};\n\nexport default hash;"],"mappings":"AAgBA,SAASA,iBAAT,CAA2BC,GAA3B,EAAgCC,IAAhC,EAAsC;EACpC,IAAIC,CAAC,GAAGF,GAAG,CAACG,MAAZ;EAAA,IACIC,CAAC,GAAGH,IAAI,GAAGC,CADf;EAAA,IAEIG,CAAC,GAAG,CAFR;EAAA,IAGIC,CAHJ;;EAKA,OAAOJ,CAAC,IAAI,CAAZ,EAAe;IACbI,CAAC,GAAGN,GAAG,CAACO,UAAJ,CAAeF,CAAf,IAAoB,IAApB,GAA2B,CAACL,GAAG,CAACO,UAAJ,CAAe,EAAEF,CAAjB,IAAsB,IAAvB,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,CAACA,CAAC,GAAG,MAAL,IAAe,UAAf,IAA6B,CAAC,CAACA,CAAC,KAAK,EAAP,IAAa,UAAb,GAA0B,MAA3B,KAAsC,EAAnE,CAAJ;EACAA,CAAC,IAAIA,CAAC,KAAK,EAAX;EACA,OAAOA,CAAC,KAAK,CAAb;AACD;;AAED,IAAII,IAAI,GAAG,SAASA,IAAT,CAAcR,GAAd,EAAmB;EAC5B,OAAOD,iBAAiB,CAACC,GAAD,EAAM,CAAN,CAAjB,CAA0BS,QAA1B,CAAmC,EAAnC,CAAP;AACD,CAFD;;AAIA,eAAeD,IAAf"},"metadata":{},"sourceType":"module"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"ast":null,"code":"function ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n if (enumerableOnly) symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n });\n keys.push.apply(keys, symbols);\n }\n\n return keys;\n}\n\nfunction _objectSpread(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i] != null ? arguments[i] : {};\n\n if (i % 2) {\n ownKeys(Object(source), true).forEach(function (key) {\n _defineProperty(target, key, source[key]);\n });\n } else if (Object.getOwnPropertyDescriptors) {\n Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));\n } else {\n ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n }\n\n return target;\n}\n\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}\n\nimport UIManager from \"../../exports/UIManager\";\nimport createDOMProps from \"../createDOMProps\";\nimport useStable from \"../useStable\";\nimport { useRef } from 'react';\nvar emptyObject = {};\n\nfunction setNativeProps(node, nativeProps, classList, pointerEvents, style, previousStyleRef) {\n if (node != null && nativeProps) {\n var domProps = createDOMProps(null, _objectSpread(_objectSpread({\n pointerEvents: pointerEvents\n }, nativeProps), {}, {\n classList: [classList, nativeProps.className],\n style: [style, nativeProps.style]\n }));\n var nextDomStyle = domProps.style;\n\n if (previousStyleRef.current != null) {\n if (domProps.style == null) {\n domProps.style = {};\n }\n\n for (var styleName in previousStyleRef.current) {\n if (domProps.style[styleName] == null) {\n domProps.style[styleName] = '';\n }\n }\n }\n\n previousStyleRef.current = nextDomStyle;\n UIManager.updateView(node, domProps);\n }\n}\n\nexport default function usePlatformMethods(_ref) {\n var classList = _ref.classList,\n pointerEvents = _ref.pointerEvents,\n style = _ref.style;\n var previousStyleRef = useRef(null);\n var setNativePropsArgsRef = useRef(null);\n setNativePropsArgsRef.current = {\n classList: classList,\n pointerEvents: pointerEvents,\n style: style\n };\n var ref = useStable(function () {\n return function (hostNode) {\n if (hostNode != null) {\n hostNode.measure = function (callback) {\n return UIManager.measure(hostNode, callback);\n };\n\n hostNode.measureLayout = function (relativeToNode, success, failure) {\n return UIManager.measureLayout(hostNode, relativeToNode, failure, success);\n };\n\n hostNode.measureInWindow = function (callback) {\n return UIManager.measureInWindow(hostNode, callback);\n };\n\n hostNode.setNativeProps = function (nativeProps) {\n var _ref2 = setNativePropsArgsRef.current || emptyObject,\n classList = _ref2.classList,\n style = _ref2.style,\n pointerEvents = _ref2.pointerEvents;\n\n setNativeProps(hostNode, nativeProps, classList, pointerEvents, style, previousStyleRef);\n };\n }\n };\n });\n return ref;\n}","map":{"version":3,"names":["ownKeys","object","enumerableOnly","keys","Object","getOwnPropertySymbols","symbols","filter","sym","getOwnPropertyDescriptor","enumerable","push","apply","_objectSpread","target","i","arguments","length","source","forEach","key","_defineProperty","getOwnPropertyDescriptors","defineProperties","defineProperty","obj","value","configurable","writable","UIManager","createDOMProps","useStable","useRef","emptyObject","setNativeProps","node","nativeProps","classList","pointerEvents","style","previousStyleRef","domProps","className","nextDomStyle","current","styleName","updateView","usePlatformMethods","_ref","setNativePropsArgsRef","ref","hostNode","measure","callback","measureLayout","relativeToNode","success","failure","measureInWindow","_ref2"],"sources":["/Volumes/ExternalSSD/Projects/hero-design/packages/rn/node_modules/react-native-web/dist/modules/usePlatformMethods/index.js"],"sourcesContent":["function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\n/**\n * Copyright (c) Nicolas Gallagher.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport UIManager from '../../exports/UIManager';\nimport createDOMProps from '../createDOMProps';\nimport useStable from '../useStable';\nimport { useRef } from 'react';\nvar emptyObject = {};\n\nfunction setNativeProps(node, nativeProps, classList, pointerEvents, style, previousStyleRef) {\n if (node != null && nativeProps) {\n var domProps = createDOMProps(null, _objectSpread(_objectSpread({\n pointerEvents: pointerEvents\n }, nativeProps), {}, {\n classList: [classList, nativeProps.className],\n style: [style, nativeProps.style]\n }));\n var nextDomStyle = domProps.style;\n\n if (previousStyleRef.current != null) {\n if (domProps.style == null) {\n domProps.style = {};\n }\n\n for (var styleName in previousStyleRef.current) {\n if (domProps.style[styleName] == null) {\n domProps.style[styleName] = '';\n }\n }\n }\n\n previousStyleRef.current = nextDomStyle;\n UIManager.updateView(node, domProps);\n }\n}\n/**\n * Adds non-standard methods to the hode element. This is temporarily until an\n * API like `ReactNative.measure(hostRef, callback)` is added to React Native.\n */\n\n\nexport default function usePlatformMethods(_ref) {\n var classList = _ref.classList,\n pointerEvents = _ref.pointerEvents,\n style = _ref.style;\n var previousStyleRef = useRef(null);\n var setNativePropsArgsRef = useRef(null);\n setNativePropsArgsRef.current = {\n classList: classList,\n pointerEvents: pointerEvents,\n style: style\n }; // Avoid creating a new ref on every render. The props only need to be\n // available to 'setNativeProps' when it is called.\n\n var ref = useStable(function () {\n return function (hostNode) {\n if (hostNode != null) {\n hostNode.measure = function (callback) {\n return UIManager.measure(hostNode, callback);\n };\n\n hostNode.measureLayout = function (relativeToNode, success, failure) {\n return UIManager.measureLayout(hostNode, relativeToNode, failure, success);\n };\n\n hostNode.measureInWindow = function (callback) {\n return UIManager.measureInWindow(hostNode, callback);\n };\n\n hostNode.setNativeProps = function (nativeProps) {\n var _ref2 = setNativePropsArgsRef.current || emptyObject,\n classList = _ref2.classList,\n style = _ref2.style,\n pointerEvents = _ref2.pointerEvents;\n\n setNativeProps(hostNode, nativeProps, classList, pointerEvents, style, previousStyleRef);\n };\n }\n };\n });\n return ref;\n}"],"mappings":"AAAA,SAASA,OAAT,CAAiBC,MAAjB,EAAyBC,cAAzB,EAAyC;EAAE,IAAIC,IAAI,GAAGC,MAAM,CAACD,IAAP,CAAYF,MAAZ,CAAX;;EAAgC,IAAIG,MAAM,CAACC,qBAAX,EAAkC;IAAE,IAAIC,OAAO,GAAGF,MAAM,CAACC,qBAAP,CAA6BJ,MAA7B,CAAd;IAAoD,IAAIC,cAAJ,EAAoBI,OAAO,GAAGA,OAAO,CAACC,MAAR,CAAe,UAAUC,GAAV,EAAe;MAAE,OAAOJ,MAAM,CAACK,wBAAP,CAAgCR,MAAhC,EAAwCO,GAAxC,EAA6CE,UAApD;IAA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OAAtB,IAAiCX,WAA7C;UAAA,IACII,SAAS,GAAGsB,KAAK,CAACtB,SADtB;UAAA,IAEIE,KAAK,GAAGoB,KAAK,CAACpB,KAFlB;UAAA,IAGID,aAAa,GAAGqB,KAAK,CAACrB,aAH1B;;UAKAJ,cAAc,CAACiB,QAAD,EAAWf,WAAX,EAAwBC,SAAxB,EAAmCC,aAAnC,EAAkDC,KAAlD,EAAyDC,gBAAzD,CAAd;QACD,CAPD;MAQD;IACF,CAvBD;EAwBD,CAzBkB,CAAnB;EA0BA,OAAOU,GAAP;AACD"},"metadata":{},"sourceType":"module"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"ast":null,"code":"import \"./environment/react-native-logs.fx\";\nimport { Platform } from 'expo-modules-core';\n\nif (__DEV__) {\n if (Platform.OS === 'web' && !('__fbBatchedBridgeConfig' in global)) {\n Object.defineProperty(global, '__fbBatchedBridgeConfig', {\n get: function get() {\n throw new Error(\"Your web project is importing a module from 'react-native' instead of 'react-native-web'. Learn more: https://expo.fyi/fb-batched-bridge-config-web\");\n }\n });\n }\n}","map":{"version":3,"sources":["../src/Expo.fx.web.ts"],"names":[],"mappings":"AAAA;AAEA,SAAS,QAAT,QAAyB,mBAAzB;;AAKA,IAAI,OAAJ,EAAa;EAEX,IAEE,QAAQ,CAAC,EAAT,KAAgB,KAAhB,IAEA,EAAE,6BAA6B,MAA/B,CAJF,EAKE;IACA,MAAM,CAAC,cAAP,CAAsB,MAAtB,EAA8B,yBAA9B,EAAyD;MACvD,GADuD,iBACpD;QACD,MAAM,IAAI,KAAJ,CACJ,qJADI,CAAN;MAGD;IALsD,CAAzD;EAOD;AACF","sourcesContent":["import './environment/react-native-logs.fx';\n\nimport { Platform } from 'expo-modules-core';\n\n// When users dangerously import a file inside of react-native, it breaks the web alias.\n// This is one of the most common, and cryptic web errors that users encounter.\n// This conditional side-effect provides a more helpful error message for debugging.\nif (__DEV__) {\n // Use a wrapper `__DEV__` to remove this entire block in production.\n if (\n // Only on web platforms.\n Platform.OS === 'web' &&\n // Skip mocking if someone is shimming this value out.\n !('__fbBatchedBridgeConfig' in global)\n ) {\n Object.defineProperty(global, '__fbBatchedBridgeConfig', {\n get() {\n throw new Error(\n \"Your web project is importing a module from 'react-native' instead of 'react-native-web'. Learn more: https://expo.fyi/fb-batched-bridge-config-web\"\n );\n },\n });\n }\n}\n"],"sourceRoot":""},"metadata":{},"sourceType":"module"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"ast":null,"code":"import AccessibilityUtil from \"../../modules/AccessibilityUtil\";\nimport createDOMProps from \"../../modules/createDOMProps\";\nimport React from 'react';\n\nvar createElement = function createElement(component, props) {\n var accessibilityComponent;\n\n if (component && component.constructor === String) {\n accessibilityComponent = AccessibilityUtil.propsToAccessibilityComponent(props);\n }\n\n var Component = accessibilityComponent || component;\n var domProps = createDOMProps(Component, props);\n\n for (var _len = arguments.length, children = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {\n children[_key - 2] = arguments[_key];\n }\n\n return React.createElement.apply(React, [Component, domProps].concat(children));\n};\n\nexport default createElement;","map":{"version":3,"names":["AccessibilityUtil","createDOMProps","React","createElement","component","props","accessibilityComponent","constructor","String","propsToAccessibilityComponent","Component","domProps","_len","arguments","length","children","Array","_key","apply","concat"],"sources":["/Volumes/ExternalSSD/Projects/hero-design/packages/rn/node_modules/react-native-web/dist/exports/createElement/index.js"],"sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport AccessibilityUtil from '../../modules/AccessibilityUtil';\nimport createDOMProps from '../../modules/createDOMProps';\nimport React from 'react';\n\nvar createElement = function createElement(component, props) {\n // Use equivalent platform elements where possible.\n var accessibilityComponent;\n\n if (component && component.constructor === String) {\n accessibilityComponent = AccessibilityUtil.propsToAccessibilityComponent(props);\n }\n\n var Component = accessibilityComponent || component;\n var domProps = createDOMProps(Component, props);\n\n for (var _len = arguments.length, children = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {\n children[_key - 2] = arguments[_key];\n }\n\n return /*#__PURE__*/React.createElement.apply(React, [Component, domProps].concat(children));\n};\n\nexport default createElement;"],"mappings":"AAQA,OAAOA,iBAAP;AACA,OAAOC,cAAP;AACA,OAAOC,KAAP,MAAkB,OAAlB;;AAEA,IAAIC,aAAa,GAAG,SAASA,aAAT,CAAuBC,SAAvB,EAAkCC,KAAlC,EAAyC;EAE3D,IAAIC,sBAAJ;;EAEA,IAAIF,SAAS,IAAIA,SAAS,CAACG,WAAV,KAA0BC,MAA3C,EAAmD;IACjDF,sBAAsB,GAAGN,iBAAiB,CAACS,6BAAlB,CAAgDJ,KAAhD,CAAzB;EACD;;EAED,IAAIK,SAAS,GAAGJ,sBAAsB,IAAIF,SAA1C;EACA,IAAIO,QAAQ,GAAGV,cAAc,CAACS,SAAD,EAAYL,KAAZ,CAA7B;;EAEA,KAAK,IAAIO,IAAI,GAAGC,SAAS,CAACC,MAArB,EAA6BC,QAAQ,GAAG,IAAIC,KAAJ,CAAUJ,IAAI,GAAG,CAAP,GAAWA,IAAI,GAAG,CAAlB,GAAsB,CAAhC,CAAxC,EAA4EK,IAAI,GAAG,CAAxF,EAA2FA,IAAI,GAAGL,IAAlG,EAAwGK,IAAI,EAA5G,EAAgH;IAC9GF,QAAQ,CAACE,IAAI,GAAG,CAAR,CAAR,GAAqBJ,SAAS,CAACI,IAAD,CAA9B;EACD;;EAED,OAAoBf,KAAK,CAACC,aAAN,CAAoBe,KAApB,CAA0BhB,KAA1B,EAAiC,CAACQ,SAAD,EAAYC,QAAZ,EAAsBQ,MAAtB,CAA6BJ,QAA7B,CAAjC,CAApB;AACD,CAhBD;;AAkBA,eAAeZ,aAAf"},"metadata":{},"sourceType":"module"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"ast":null,"code":"import backgroundClip from 'inline-style-prefixer/lib/plugins/backgroundClip';\nimport crossFade from 'inline-style-prefixer/lib/plugins/crossFade';\nimport cursor from 'inline-style-prefixer/lib/plugins/cursor';\nimport filter from 'inline-style-prefixer/lib/plugins/filter';\nimport flex from 'inline-style-prefixer/lib/plugins/flex';\nimport flexboxIE from 'inline-style-prefixer/lib/plugins/flexboxIE';\nimport flexboxOld from 'inline-style-prefixer/lib/plugins/flexboxOld';\nimport gradient from 'inline-style-prefixer/lib/plugins/gradient';\nimport grid from 'inline-style-prefixer/lib/plugins/grid';\nimport imageSet from 'inline-style-prefixer/lib/plugins/imageSet';\nimport logical from 'inline-style-prefixer/lib/plugins/logical';\nimport position from 'inline-style-prefixer/lib/plugins/position';\nimport sizing from 'inline-style-prefixer/lib/plugins/sizing';\nimport transition from 'inline-style-prefixer/lib/plugins/transition';\nvar w = ['Webkit'];\nvar m = ['Moz'];\nvar ms = ['ms'];\nvar wm = ['Webkit', 'Moz'];\nvar wms = ['Webkit', 'ms'];\nvar wmms = ['Webkit', 'Moz', 'ms'];\nexport default {\n plugins: [backgroundClip, crossFade, cursor, filter, flex, flexboxIE, flexboxOld, gradient, grid, imageSet, logical, position, sizing, transition],\n prefixMap: {\n animation: w,\n animationDelay: w,\n animationDirection: w,\n animationFillMode: w,\n animationDuration: w,\n animationIterationCount: w,\n animationName: w,\n animationPlayState: w,\n animationTimingFunction: w,\n appearance: wm,\n userSelect: wmms,\n textEmphasisPosition: w,\n textEmphasis: w,\n textEmphasisStyle: w,\n textEmphasisColor: w,\n boxDecorationBreak: w,\n clipPath: w,\n maskImage: w,\n maskMode: w,\n maskRepeat: w,\n maskPosition: w,\n maskClip: w,\n maskOrigin: w,\n maskSize: w,\n maskComposite: w,\n mask: w,\n maskBorderSource: w,\n maskBorderMode: w,\n maskBorderSlice: w,\n maskBorderWidth: w,\n maskBorderOutset: w,\n maskBorderRepeat: w,\n maskBorder: w,\n maskType: w,\n textDecorationStyle: w,\n textDecorationSkip: w,\n textDecorationLine: w,\n textDecorationColor: w,\n filter: w,\n fontFeatureSettings: w,\n breakAfter: wmms,\n breakBefore: wmms,\n breakInside: wmms,\n columnCount: wm,\n columnFill: wm,\n columnGap: wm,\n columnRule: wm,\n columnRuleColor: wm,\n columnRuleStyle: wm,\n columnRuleWidth: wm,\n columns: wm,\n columnSpan: wm,\n columnWidth: wm,\n writingMode: wms,\n flex: wms,\n flexBasis: w,\n flexDirection: wms,\n flexGrow: w,\n flexFlow: wms,\n flexShrink: w,\n flexWrap: wms,\n alignContent: w,\n alignItems: w,\n alignSelf: w,\n justifyContent: w,\n order: w,\n transform: w,\n transformOrigin: w,\n transformOriginX: w,\n transformOriginY: w,\n backfaceVisibility: w,\n perspective: w,\n perspectiveOrigin: w,\n transformStyle: w,\n transformOriginZ: w,\n backdropFilter: w,\n fontKerning: w,\n scrollSnapType: wms,\n scrollSnapPointsX: wms,\n scrollSnapPointsY: wms,\n scrollSnapDestination: wms,\n scrollSnapCoordinate: wms,\n shapeImageThreshold: w,\n shapeImageMargin: w,\n shapeImageOutside: w,\n hyphens: wmms,\n flowInto: wms,\n flowFrom: wms,\n regionFragment: wms,\n textOrientation: w,\n textAlignLast: m,\n tabSize: m,\n wrapFlow: ms,\n wrapThrough: ms,\n wrapMargin: ms,\n touchAction: ms,\n textSizeAdjust: ['ms', 'Webkit'],\n borderImage: w,\n borderImageOutset: w,\n borderImageRepeat: w,\n borderImageSlice: w,\n borderImageSource: w,\n borderImageWidth: w,\n transitionDelay: w,\n transitionDuration: w,\n transitionProperty: w,\n transitionTimingFunction: w\n }\n};","map":{"version":3,"names":["backgroundClip","crossFade","cursor","filter","flex","flexboxIE","flexboxOld","gradient","grid","imageSet","logical","position","sizing","transition","w","m","ms","wm","wms","wmms","plugins","prefixMap","animation","animationDelay","animationDirection","animationFillMode","animationDuration","animationIterationCount","animationName","animationPlayState","animationTimingFunction","appearance","userSelect","textEmphasisPosition","textEmphasis","textEmphasisStyle","textEmphasisColor","boxDecorationBreak","clipPath","maskImage","maskMode","maskRepeat","maskPosition","maskClip","maskOrigin","maskSize","maskComposite","mask","maskBorderSource","maskBorderMode","maskBorderSlice","maskBorderWidth","maskBorderOutset","maskBorderRepeat","maskBorder","maskType","textDecorationStyle","textDecorationSkip","textDecorationLine","textDecorationColor","fontFeatureSettings","breakAfter","breakBefore","breakInside","columnCount","columnFill","columnGap","columnRule","columnRuleColor","columnRuleStyle","columnRuleWidth","columns","columnSpan","columnWidth","writingMode","flexBasis","flexDirection","flexGrow","flexFlow","flexShrink","flexWrap","alignContent","alignItems","alignSelf","justifyContent","order","transform","transformOrigin","transformOriginX","transformOriginY","backfaceVisibility","perspective","perspectiveOrigin","transformStyle","transformOriginZ","backdropFilter","fontKerning","scrollSnapType","scrollSnapPointsX","scrollSnapPointsY","scrollSnapDestination","scrollSnapCoordinate","shapeImageThreshold","shapeImageMargin","shapeImageOutside","hyphens","flowInto","flowFrom","regionFragment","textOrientation","textAlignLast","tabSize","wrapFlow","wrapThrough","wrapMargin","touchAction","textSizeAdjust","borderImage","borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth","transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"],"sources":["/Volumes/ExternalSSD/Projects/hero-design/packages/rn/node_modules/react-native-web/dist/modules/prefixStyles/static.js"],"sourcesContent":["import backgroundClip from 'inline-style-prefixer/lib/plugins/backgroundClip';\nimport crossFade from 'inline-style-prefixer/lib/plugins/crossFade';\nimport cursor from 'inline-style-prefixer/lib/plugins/cursor';\nimport filter from 'inline-style-prefixer/lib/plugins/filter';\nimport flex from 'inline-style-prefixer/lib/plugins/flex';\nimport flexboxIE from 'inline-style-prefixer/lib/plugins/flexboxIE';\nimport flexboxOld from 'inline-style-prefixer/lib/plugins/flexboxOld';\nimport gradient from 'inline-style-prefixer/lib/plugins/gradient';\nimport grid from 'inline-style-prefixer/lib/plugins/grid';\nimport imageSet from 'inline-style-prefixer/lib/plugins/imageSet';\nimport logical from 'inline-style-prefixer/lib/plugins/logical';\nimport position from 'inline-style-prefixer/lib/plugins/position';\nimport sizing from 'inline-style-prefixer/lib/plugins/sizing';\nimport transition from 'inline-style-prefixer/lib/plugins/transition';\nvar w = ['Webkit'];\nvar m = ['Moz'];\nvar ms = ['ms'];\nvar wm = ['Webkit', 'Moz'];\nvar wms = ['Webkit', 'ms'];\nvar wmms = ['Webkit', 'Moz', 'ms'];\nexport default {\n plugins: [backgroundClip, crossFade, cursor, filter, flex, flexboxIE, flexboxOld, gradient, grid, imageSet, logical, position, sizing, transition],\n prefixMap: {\n animation: w,\n animationDelay: w,\n animationDirection: w,\n animationFillMode: w,\n animationDuration: w,\n animationIterationCount: w,\n animationName: w,\n animationPlayState: w,\n animationTimingFunction: w,\n appearance: wm,\n userSelect: wmms,\n textEmphasisPosition: w,\n textEmphasis: w,\n textEmphasisStyle: w,\n textEmphasisColor: w,\n boxDecorationBreak: w,\n clipPath: w,\n maskImage: w,\n maskMode: w,\n maskRepeat: w,\n maskPosition: w,\n maskClip: w,\n maskOrigin: w,\n maskSize: w,\n maskComposite: w,\n mask: w,\n maskBorderSource: w,\n maskBorderMode: w,\n maskBorderSlice: w,\n maskBorderWidth: w,\n maskBorderOutset: w,\n maskBorderRepeat: w,\n maskBorder: w,\n maskType: w,\n textDecorationStyle: w,\n textDecorationSkip: w,\n textDecorationLine: w,\n textDecorationColor: w,\n filter: w,\n fontFeatureSettings: w,\n breakAfter: wmms,\n breakBefore: wmms,\n breakInside: wmms,\n columnCount: wm,\n columnFill: wm,\n columnGap: wm,\n columnRule: wm,\n columnRuleColor: wm,\n columnRuleStyle: wm,\n columnRuleWidth: wm,\n columns: wm,\n columnSpan: wm,\n columnWidth: wm,\n writingMode: wms,\n flex: wms,\n flexBasis: w,\n flexDirection: wms,\n flexGrow: w,\n flexFlow: wms,\n flexShrink: w,\n flexWrap: wms,\n alignContent: w,\n alignItems: w,\n alignSelf: w,\n justifyContent: w,\n order: w,\n transform: w,\n transformOrigin: w,\n transformOriginX: w,\n transformOriginY: w,\n backfaceVisibility: w,\n perspective: w,\n perspectiveOrigin: w,\n transformStyle: w,\n transformOriginZ: w,\n backdropFilter: w,\n fontKerning: w,\n scrollSnapType: wms,\n scrollSnapPointsX: wms,\n scrollSnapPointsY: wms,\n scrollSnapDestination: wms,\n scrollSnapCoordinate: wms,\n shapeImageThreshold: w,\n shapeImageMargin: w,\n shapeImageOutside: w,\n hyphens: wmms,\n flowInto: wms,\n flowFrom: wms,\n regionFragment: wms,\n textOrientation: w,\n textAlignLast: m,\n tabSize: m,\n wrapFlow: ms,\n wrapThrough: ms,\n wrapMargin: ms,\n touchAction: ms,\n textSizeAdjust: ['ms', 'Webkit'],\n borderImage: w,\n borderImageOutset: w,\n borderImageRepeat: w,\n borderImageSlice: w,\n borderImageSource: w,\n borderImageWidth: w,\n transitionDelay: w,\n transitionDuration: w,\n transitionProperty: w,\n transitionTimingFunction: w\n }\n};"],"mappings":"AAAA,OAAOA,cAAP,MAA2B,kDAA3B;AACA,OAAOC,SAAP,MAAsB,6CAAtB;AACA,OAAOC,MAAP,MAAmB,0CAAnB;AACA,OAAOC,MAAP,MAAmB,0CAAnB;AACA,OAAOC,IAAP,MAAiB,wCAAjB;AACA,OAAOC,SAAP,MAAsB,6CAAtB;AACA,OAAOC,UAAP,MAAuB,8CAAvB;AACA,OAAOC,QAAP,MAAqB,4CAArB;AACA,OAAOC,IAAP,MAAiB,wCAAjB;AACA,OAAOC,QAAP,MAAqB,4CAArB;AACA,OAAOC,OAAP,MAAoB,2CAApB;AACA,OAAOC,QAAP,MAAqB,4CAArB;AACA,OAAOC,MAAP,MAAmB,0CAAnB;AACA,OAAOC,UAAP,MAAuB,8CAAvB;AACA,IAAIC,CAAC,GAAG,CAAC,QAAD,CAAR;AACA,IAAIC,CAAC,GAAG,CAAC,KAAD,CAAR;AACA,IAAIC,EAAE,GAAG,CAAC,IAAD,CAAT;AACA,IAAIC,EAAE,GAAG,CAAC,QAAD,EAAW,KAAX,CAAT;AACA,IAAIC,GAAG,GAAG,CAAC,QAAD,EAAW,IAAX,CAAV;AACA,I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CAAf"},"metadata":{},"sourceType":"module"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"ast":null,"code":"import _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _possibleConstructorReturn from \"@babel/runtime/helpers/possibleConstructorReturn\";\nimport _getPrototypeOf from \"@babel/runtime/helpers/getPrototypeOf\";\nimport _inherits from \"@babel/runtime/helpers/inherits\";\nimport Platform from \"../Platform\";\nimport { CodedError } from \"./CodedError\";\nexport var UnavailabilityError = function (_CodedError) {\n _inherits(UnavailabilityError, _CodedError);\n\n function UnavailabilityError(moduleName, propertyName) {\n _classCallCheck(this, UnavailabilityError);\n\n return _possibleConstructorReturn(this, _getPrototypeOf(UnavailabilityError).call(this, 'ERR_UNAVAILABLE', \"The method or property \" + moduleName + \".\" + propertyName + \" is not available on \" + Platform.OS + \", are you sure you've linked all the native dependencies properly?\"));\n }\n\n return UnavailabilityError;\n}(CodedError);","map":{"version":3,"sources":["../../src/errors/UnavailabilityError.ts"],"names":[],"mappings":";;;;AAAA,OAAO,QAAP;AACA,SAAS,UAAT;AAOA,WAAa,mBAAb;EAAA;;EACE,6BAAY,UAAZ,EAAgC,YAAhC,EAAoD;IAAA;;IAAA,wFAEhD,iBAFgD,8BAGtB,UAHsB,SAGR,YAHQ,6BAG4B,QAAQ,CAAC,EAHrC;EAKnD;;EANH;AAAA,EAAyC,UAAzC","sourcesContent":["import Platform from '../Platform';\nimport { CodedError } from './CodedError';\n\n/**\n * A class for errors to be thrown when a property is accessed which is\n * unavailable, unsupported, or not currently implemented on the running\n * platform.\n */\nexport class UnavailabilityError extends CodedError {\n constructor(moduleName: string, propertyName: string) {\n super(\n 'ERR_UNAVAILABLE',\n `The method or property ${moduleName}.${propertyName} is not available on ${Platform.OS}, are you sure you've linked all the native dependencies properly?`\n );\n }\n}\n"],"sourceRoot":""},"metadata":{},"sourceType":"module"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"ast":null,"code":"import ExecutionEnvironment from 'fbjs/lib/ExecutionEnvironment';\nvar doLeftAndRightSwapInRTL = true;\nvar isPreferredLanguageRTL = false;\nvar isRTLAllowed = true;\nvar isRTLForced = false;\n\nvar isRTL = function isRTL() {\n if (isRTLForced) {\n return true;\n }\n\n return isRTLAllowed && isPreferredLanguageRTL;\n};\n\nvar onDirectionChange = function onDirectionChange() {\n if (ExecutionEnvironment.canUseDOM) {\n if (document.documentElement && document.documentElement.setAttribute) {\n document.documentElement.setAttribute('dir', isRTL() ? 'rtl' : 'ltr');\n }\n }\n};\n\nvar I18nManager = {\n allowRTL: function allowRTL(bool) {\n isRTLAllowed = bool;\n onDirectionChange();\n },\n forceRTL: function forceRTL(bool) {\n isRTLForced = bool;\n onDirectionChange();\n },\n getConstants: function getConstants() {\n return {\n doLeftAndRightSwapInRTL: doLeftAndRightSwapInRTL,\n isRTL: isRTL()\n };\n },\n setPreferredLanguageRTL: function setPreferredLanguageRTL(bool) {\n isPreferredLanguageRTL = bool;\n onDirectionChange();\n },\n swapLeftAndRightInRTL: function swapLeftAndRightInRTL(bool) {\n doLeftAndRightSwapInRTL = bool;\n }\n};\nexport default I18nManager;","map":{"version":3,"names":["ExecutionEnvironment","doLeftAndRightSwapInRTL","isPreferredLanguageRTL","isRTLAllowed","isRTLForced","isRTL","onDirectionChange","canUseDOM","document","documentElement","setAttribute","I18nManager","allowRTL","bool","forceRTL","getConstants","setPreferredLanguageRTL","swapLeftAndRightInRTL"],"sources":["/Volumes/ExternalSSD/Projects/hero-design/packages/rn/node_modules/react-native-web/dist/exports/I18nManager/index.js"],"sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport ExecutionEnvironment from 'fbjs/lib/ExecutionEnvironment';\nvar doLeftAndRightSwapInRTL = true;\nvar isPreferredLanguageRTL = false;\nvar isRTLAllowed = true;\nvar isRTLForced = false;\n\nvar isRTL = function isRTL() {\n if (isRTLForced) {\n return true;\n }\n\n return isRTLAllowed && isPreferredLanguageRTL;\n};\n\nvar onDirectionChange = function onDirectionChange() {\n if (ExecutionEnvironment.canUseDOM) {\n if (document.documentElement && document.documentElement.setAttribute) {\n document.documentElement.setAttribute('dir', isRTL() ? 'rtl' : 'ltr');\n }\n }\n};\n\nvar I18nManager = {\n allowRTL: function allowRTL(bool) {\n isRTLAllowed = bool;\n onDirectionChange();\n },\n forceRTL: function forceRTL(bool) {\n isRTLForced = bool;\n onDirectionChange();\n },\n getConstants: function getConstants() {\n return {\n doLeftAndRightSwapInRTL: doLeftAndRightSwapInRTL,\n isRTL: isRTL()\n };\n },\n setPreferredLanguageRTL: function setPreferredLanguageRTL(bool) {\n isPreferredLanguageRTL = bool;\n onDirectionChange();\n },\n swapLeftAndRightInRTL: function swapLeftAndRightInRTL(bool) {\n doLeftAndRightSwapInRTL = bool;\n }\n};\nexport default I18nManager;"],"mappings":"AASA,OAAOA,oBAAP,MAAiC,+BAAjC;AACA,IAAIC,uBAAuB,GAAG,IAA9B;AACA,IAAIC,sBAAsB,GAAG,KAA7B;AACA,IAAIC,YAAY,GAAG,IAAnB;AACA,IAAIC,WAAW,GAAG,KAAlB;;AAEA,IAAIC,KAAK,GAAG,SAASA,KAAT,GAAiB;EAC3B,IAAID,WAAJ,EAAiB;IACf,OAAO,IAAP;EACD;;EAED,OAAOD,YAAY,IAAID,sBAAvB;AACD,CAND;;AAQA,IAAII,iBAAiB,GAAG,SAASA,iBAAT,GAA6B;EACnD,IAAIN,oBAAoB,CAACO,SAAzB,EAAoC;IAClC,IAAIC,QAAQ,CAACC,eAAT,IAA4BD,QAAQ,CAACC,eAAT,CAAyBC,YAAzD,EAAuE;MACrEF,QAAQ,CAACC,eAAT,CAAyBC,YAAzB,CAAsC,KAAtC,EAA6CL,KAAK,KAAK,KAAL,GAAa,KAA/D;IACD;EACF;AACF,CAND;;AAQA,IAAIM,WAAW,GAAG;EAChBC,QAAQ,EAAE,SAASA,QAAT,CAAkBC,IAAlB,EAAwB;IAChCV,YAAY,GAAGU,IAAf;IACAP,iBAAiB;EAClB,CAJe;EAKhBQ,QAAQ,EAAE,SAASA,QAAT,CAAkBD,IAAlB,EAAwB;IAChCT,WAAW,GAAGS,IAAd;IACAP,iBAAiB;EAClB,CARe;EAShBS,YAAY,EAAE,SAASA,YAAT,GAAwB;IACpC,OAAO;MACLd,uBAAuB,EAAEA,uBADpB;MAELI,KAAK,EAAEA,KAAK;IAFP,CAAP;EAID,CAde;EAehBW,uBAAuB,EAAE,SAASA,uBAAT,CAAiCH,IAAjC,EAAuC;IAC9DX,sBAAsB,GAAGW,IAAzB;IACAP,iBAAiB;EAClB,CAlBe;EAmBhBW,qBAAqB,EAAE,SAASA,qBAAT,CAA+BJ,IAA/B,EAAqC;IAC1DZ,uBAAuB,GAAGY,IAA1B;EACD;AArBe,CAAlB;AAuBA,eAAeF,WAAf"},"metadata":{},"sourceType":"module"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"ast":null,"code":"var promiseMock = function promiseMock() {\n return Promise.resolve(false);\n};\n\nexport default {\n PERMISSIONS: {},\n RESULTS: {},\n checkPermission: promiseMock,\n check: promiseMock,\n requestPermission: promiseMock,\n request: promiseMock,\n requestMultiple: promiseMock\n};","map":{"version":3,"names":["promiseMock","Promise","resolve","PERMISSIONS","RESULTS","checkPermission","check","requestPermission","request","requestMultiple"],"sources":["/Volumes/ExternalSSD/Projects/hero-design/packages/rn/node_modules/react-native-web/dist/exports/PermissionsAndroid/index.js"],"sourcesContent":["var promiseMock = function promiseMock() {\n return Promise.resolve(false);\n};\n\nexport default {\n PERMISSIONS: {},\n RESULTS: {},\n checkPermission: promiseMock,\n check: promiseMock,\n requestPermission: promiseMock,\n request: promiseMock,\n requestMultiple: promiseMock\n};"],"mappings":"AAAA,IAAIA,WAAW,GAAG,SAASA,WAAT,GAAuB;EACvC,OAAOC,OAAO,CAACC,OAAR,CAAgB,KAAhB,CAAP;AACD,CAFD;;AAIA,eAAe;EACbC,WAAW,EAAE,EADA;EAEbC,OAAO,EAAE,EAFI;EAGbC,eAAe,EAAEL,WAHJ;EAIbM,KAAK,EAAEN,WAJM;EAKbO,iBAAiB,EAAEP,WALN;EAMbQ,OAAO,EAAER,WANI;EAObS,eAAe,EAAET;AAPJ,CAAf"},"metadata":{},"sourceType":"module"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"ast":null,"code":"import { canUseDOM } from 'fbjs/lib/ExecutionEnvironment';\nimport { useEffect, useLayoutEffect } from 'react';\nvar useLayoutEffectImpl = canUseDOM ? useLayoutEffect : useEffect;\nexport default useLayoutEffectImpl;","map":{"version":3,"names":["canUseDOM","useEffect","useLayoutEffect","useLayoutEffectImpl"],"sources":["/Volumes/ExternalSSD/Projects/hero-design/packages/rn/node_modules/react-native-web/dist/modules/useLayoutEffect/index.js"],"sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * useLayoutEffect throws an error on the server. On the few occasions where is\n * problematic, use this hook.\n *\n * \n */\nimport { canUseDOM } from 'fbjs/lib/ExecutionEnvironment';\nimport { useEffect, useLayoutEffect } from 'react';\nvar useLayoutEffectImpl = canUseDOM ? useLayoutEffect : useEffect;\nexport default useLayoutEffectImpl;"],"mappings":"AAWA,SAASA,SAAT,QAA0B,+BAA1B;AACA,SAASC,SAAT,EAAoBC,eAApB,QAA2C,OAA3C;AACA,IAAIC,mBAAmB,GAAGH,SAAS,GAAGE,eAAH,GAAqBD,SAAxD;AACA,eAAeE,mBAAf"},"metadata":{},"sourceType":"module"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"ast":null,"code":"'use strict';\n\nimport invariant from 'fbjs/lib/invariant';\n\nfunction elementsThatOverlapOffsets(offsets, itemCount, getFrameMetrics) {\n var out = [];\n var outLength = 0;\n\n for (var ii = 0; ii < itemCount; ii++) {\n var frame = getFrameMetrics(ii);\n var trailingOffset = frame.offset + frame.length;\n\n for (var kk = 0; kk < offsets.length; kk++) {\n if (out[kk] == null && trailingOffset >= offsets[kk]) {\n out[kk] = ii;\n outLength++;\n\n if (kk === offsets.length - 1) {\n invariant(outLength === offsets.length, 'bad offsets input, should be in increasing order: %s', JSON.stringify(offsets));\n return out;\n }\n }\n }\n }\n\n return out;\n}\n\nfunction newRangeCount(prev, next) {\n return next.last - next.first + 1 - Math.max(0, 1 + Math.min(next.last, prev.last) - Math.max(next.first, prev.first));\n}\n\nfunction computeWindowedRenderLimits(props, prev, getFrameMetricsApprox, scrollMetrics) {\n var data = props.data,\n getItemCount = props.getItemCount,\n maxToRenderPerBatch = props.maxToRenderPerBatch,\n windowSize = props.windowSize;\n var itemCount = getItemCount(data);\n\n if (itemCount === 0) {\n return prev;\n }\n\n var offset = scrollMetrics.offset,\n velocity = scrollMetrics.velocity,\n visibleLength = scrollMetrics.visibleLength;\n var visibleBegin = Math.max(0, offset);\n var visibleEnd = visibleBegin + visibleLength;\n var overscanLength = (windowSize - 1) * visibleLength;\n var leadFactor = 0.5;\n var fillPreference = velocity > 1 ? 'after' : velocity < -1 ? 'before' : 'none';\n var overscanBegin = Math.max(0, visibleBegin - (1 - leadFactor) * overscanLength);\n var overscanEnd = Math.max(0, visibleEnd + leadFactor * overscanLength);\n var lastItemOffset = getFrameMetricsApprox(itemCount - 1).offset;\n\n if (lastItemOffset < overscanBegin) {\n return {\n first: Math.max(0, itemCount - 1 - maxToRenderPerBatch),\n last: itemCount - 1\n };\n }\n\n var _elementsThatOverlapO = elementsThatOverlapOffsets([overscanBegin, visibleBegin, visibleEnd, overscanEnd], props.getItemCount(props.data), getFrameMetricsApprox),\n overscanFirst = _elementsThatOverlapO[0],\n first = _elementsThatOverlapO[1],\n last = _elementsThatOverlapO[2],\n overscanLast = _elementsThatOverlapO[3];\n\n overscanFirst = overscanFirst == null ? 0 : overscanFirst;\n first = first == null ? Math.max(0, overscanFirst) : first;\n overscanLast = overscanLast == null ? itemCount - 1 : overscanLast;\n last = last == null ? Math.min(overscanLast, first + maxToRenderPerBatch - 1) : last;\n var visible = {\n first: first,\n last: last\n };\n var newCellCount = newRangeCount(prev, visible);\n\n while (true) {\n if (first <= overscanFirst && last >= overscanLast) {\n break;\n }\n\n var maxNewCells = newCellCount >= maxToRenderPerBatch;\n var firstWillAddMore = first <= prev.first || first > prev.last;\n var firstShouldIncrement = first > overscanFirst && (!maxNewCells || !firstWillAddMore);\n var lastWillAddMore = last >= prev.last || last < prev.first;\n var lastShouldIncrement = last < overscanLast && (!maxNewCells || !lastWillAddMore);\n\n if (maxNewCells && !firstShouldIncrement && !lastShouldIncrement) {\n break;\n }\n\n if (firstShouldIncrement && !(fillPreference === 'after' && lastShouldIncrement && lastWillAddMore)) {\n if (firstWillAddMore) {\n newCellCount++;\n }\n\n first--;\n }\n\n if (lastShouldIncrement && !(fillPreference === 'before' && firstShouldIncrement && firstWillAddMore)) {\n if (lastWillAddMore) {\n newCellCount++;\n }\n\n last++;\n }\n }\n\n if (!(last >= first && first >= 0 && last < itemCount && first >= overscanFirst && last <= overscanLast && first <= visible.first && last >= visible.last)) {\n throw new Error('Bad window calculation ' + JSON.stringify({\n first: first,\n last: last,\n itemCount: itemCount,\n overscanFirst: overscanFirst,\n overscanLast: overscanLast,\n visible: visible\n }));\n }\n\n return {\n first: first,\n last: last\n };\n}\n\nvar VirtualizeUtils = {\n computeWindowedRenderLimits: computeWindowedRenderLimits,\n elementsThatOverlapOffsets: elementsThatOverlapOffsets,\n newRangeCount: newRangeCount\n};\nexport { computeWindowedRenderLimits, elementsThatOverlapOffsets, newRangeCount };\nexport default VirtualizeUtils;","map":{"version":3,"names":["invariant","elementsThatOverlapOffsets","offsets","itemCount","getFrameMetrics","out","outLength","ii","frame","trailingOffset","offset","length","kk","JSON","stringify","newRangeCount","prev","next","last","first","Math","max","min","computeWindowedRenderLimits","props","getFrameMetricsApprox","scrollMetrics","data","getItemCount","maxToRenderPerBatch","windowSize","velocity","visibleLength","visibleBegin","visibleEnd","overscanLength","leadFactor","fillPreference","overscanBegin","overscanEnd","lastItemOffset","_elementsThatOverlapO","overscanFirst","overscanLast","visible","newCellCount","maxNewCells","firstWillAddMore","firstShouldIncrement","lastWillAddMore","lastShouldIncrement","Error","VirtualizeUtils"],"sources":["/Volumes/ExternalSSD/Projects/hero-design/packages/rn/node_modules/react-native-web/dist/vendor/react-native/VirtualizeUtils/index.js"],"sourcesContent":["/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n */\n'use strict';\n\nimport invariant from 'fbjs/lib/invariant';\n/**\n * Used to find the indices of the frames that overlap the given offsets. Useful for finding the\n * items that bound different windows of content, such as the visible area or the buffered overscan\n * area.\n */\n\nfunction elementsThatOverlapOffsets(offsets, itemCount, getFrameMetrics) {\n var out = [];\n var outLength = 0;\n\n for (var ii = 0; ii < itemCount; ii++) {\n var frame = getFrameMetrics(ii);\n var trailingOffset = frame.offset + frame.length;\n\n for (var kk = 0; kk < offsets.length; kk++) {\n if (out[kk] == null && trailingOffset >= offsets[kk]) {\n out[kk] = ii;\n outLength++;\n\n if (kk === offsets.length - 1) {\n invariant(outLength === offsets.length, 'bad offsets input, should be in increasing order: %s', JSON.stringify(offsets));\n return out;\n }\n }\n }\n }\n\n return out;\n}\n/**\n * Computes the number of elements in the `next` range that are new compared to the `prev` range.\n * Handy for calculating how many new items will be rendered when the render window changes so we\n * can restrict the number of new items render at once so that content can appear on the screen\n * faster.\n */\n\n\nfunction newRangeCount(prev, next) {\n return next.last - next.first + 1 - Math.max(0, 1 + Math.min(next.last, prev.last) - Math.max(next.first, prev.first));\n}\n/**\n * Custom logic for determining which items should be rendered given the current frame and scroll\n * metrics, as well as the previous render state. The algorithm may evolve over time, but generally\n * prioritizes the visible area first, then expands that with overscan regions ahead and behind,\n * biased in the direction of scroll.\n */\n\n\nfunction computeWindowedRenderLimits(props, prev, getFrameMetricsApprox, scrollMetrics) {\n var data = props.data,\n getItemCount = props.getItemCount,\n maxToRenderPerBatch = props.maxToRenderPerBatch,\n windowSize = props.windowSize;\n var itemCount = getItemCount(data);\n\n if (itemCount === 0) {\n return prev;\n }\n\n var offset = scrollMetrics.offset,\n velocity = scrollMetrics.velocity,\n visibleLength = scrollMetrics.visibleLength; // Start with visible area, then compute maximum overscan region by expanding from there, biased\n // in the direction of scroll. Total overscan area is capped, which should cap memory consumption\n // too.\n\n var visibleBegin = Math.max(0, offset);\n var visibleEnd = visibleBegin + visibleLength;\n var overscanLength = (windowSize - 1) * visibleLength; // Considering velocity seems to introduce more churn than it's worth.\n\n var leadFactor = 0.5; // Math.max(0, Math.min(1, velocity / 25 + 0.5));\n\n var fillPreference = velocity > 1 ? 'after' : velocity < -1 ? 'before' : 'none';\n var overscanBegin = Math.max(0, visibleBegin - (1 - leadFactor) * overscanLength);\n var overscanEnd = Math.max(0, visibleEnd + leadFactor * overscanLength);\n var lastItemOffset = getFrameMetricsApprox(itemCount - 1).offset;\n\n if (lastItemOffset < overscanBegin) {\n // Entire list is before our overscan window\n return {\n first: Math.max(0, itemCount - 1 - maxToRenderPerBatch),\n last: itemCount - 1\n };\n } // Find the indices that correspond to the items at the render boundaries we're targeting.\n\n\n var _elementsThatOverlapO = elementsThatOverlapOffsets([overscanBegin, visibleBegin, visibleEnd, overscanEnd], props.getItemCount(props.data), getFrameMetricsApprox),\n overscanFirst = _elementsThatOverlapO[0],\n first = _elementsThatOverlapO[1],\n last = _elementsThatOverlapO[2],\n overscanLast = _elementsThatOverlapO[3];\n\n overscanFirst = overscanFirst == null ? 0 : overscanFirst;\n first = first == null ? Math.max(0, overscanFirst) : first;\n overscanLast = overscanLast == null ? itemCount - 1 : overscanLast;\n last = last == null ? Math.min(overscanLast, first + maxToRenderPerBatch - 1) : last;\n var visible = {\n first: first,\n last: last\n }; // We want to limit the number of new cells we're rendering per batch so that we can fill the\n // content on the screen quickly. If we rendered the entire overscan window at once, the user\n // could be staring at white space for a long time waiting for a bunch of offscreen content to\n // render.\n\n var newCellCount = newRangeCount(prev, visible);\n\n while (true) {\n if (first <= overscanFirst && last >= overscanLast) {\n // If we fill the entire overscan range, we're done.\n break;\n }\n\n var maxNewCells = newCellCount >= maxToRenderPerBatch;\n var firstWillAddMore = first <= prev.first || first > prev.last;\n var firstShouldIncrement = first > overscanFirst && (!maxNewCells || !firstWillAddMore);\n var lastWillAddMore = last >= prev.last || last < prev.first;\n var lastShouldIncrement = last < overscanLast && (!maxNewCells || !lastWillAddMore);\n\n if (maxNewCells && !firstShouldIncrement && !lastShouldIncrement) {\n // We only want to stop if we've hit maxNewCells AND we cannot increment first or last\n // without rendering new items. This let's us preserve as many already rendered items as\n // possible, reducing render churn and keeping the rendered overscan range as large as\n // possible.\n break;\n }\n\n if (firstShouldIncrement && !(fillPreference === 'after' && lastShouldIncrement && lastWillAddMore)) {\n if (firstWillAddMore) {\n newCellCount++;\n }\n\n first--;\n }\n\n if (lastShouldIncrement && !(fillPreference === 'before' && firstShouldIncrement && firstWillAddMore)) {\n if (lastWillAddMore) {\n newCellCount++;\n }\n\n last++;\n }\n }\n\n if (!(last >= first && first >= 0 && last < itemCount && first >= overscanFirst && last <= overscanLast && first <= visible.first && last >= visible.last)) {\n throw new Error('Bad window calculation ' + JSON.stringify({\n first: first,\n last: last,\n itemCount: itemCount,\n overscanFirst: overscanFirst,\n overscanLast: overscanLast,\n visible: visible\n }));\n }\n\n return {\n first: first,\n last: last\n };\n}\n\nvar VirtualizeUtils = {\n computeWindowedRenderLimits: computeWindowedRenderLimits,\n elementsThatOverlapOffsets: elementsThatOverlapOffsets,\n newRangeCount: newRangeCount\n};\nexport { computeWindowedRenderLimits, elementsThatOverlapOffsets, newRangeCount };\nexport default VirtualizeUtils;"],"mappings":"AASA;;AAEA,OAAOA,SAAP,MAAsB,oBAAtB;;AAOA,SAASC,0BAAT,CAAoCC,OAApC,EAA6CC,SAA7C,EAAwDC,eAAxD,EAAyE;EAC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a,EAAEA,aAJ0C;MAKzDC,YAAY,EAAEA,YAL2C;MAMzDC,OAAO,EAAEA;IANgD,CAAf,CAAtC,CAAN;EAQD;;EAED,OAAO;IACLzB,KAAK,EAAEA,KADF;IAELD,IAAI,EAAEA;EAFD,CAAP;AAID;;AAED,IAAIkC,eAAe,GAAG;EACpB7B,2BAA2B,EAAEA,2BADT;EAEpBtB,0BAA0B,EAAEA,0BAFR;EAGpBc,aAAa,EAAEA;AAHK,CAAtB;AAKA,SAASQ,2BAAT,EAAsCtB,0BAAtC,EAAkEc,aAAlE;AACA,eAAeqC,eAAf"},"metadata":{},"sourceType":"module"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"ast":null,"code":"function _extends() {\n _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n };\n\n return _extends.apply(this, arguments);\n}\n\nimport * as React from 'react';\nimport FlatList from \"../../../../exports/FlatList\";\nimport createAnimatedComponent from \"../createAnimatedComponent\";\nvar FlatListWithEventThrottle = React.forwardRef(function (props, ref) {\n return React.createElement(FlatList, _extends({\n scrollEventThrottle: 0.0001\n }, props, {\n ref: ref\n }));\n});\nexport default createAnimatedComponent(FlatListWithEventThrottle);","map":{"version":3,"names":["_extends","Object","assign","target","i","arguments","length","source","key","prototype","hasOwnProperty","call","apply","React","FlatList","createAnimatedComponent","FlatListWithEventThrottle","forwardRef","props","ref","createElement","scrollEventThrottle"],"sources":["/Volumes/ExternalSSD/Projects/hero-design/packages/rn/node_modules/react-native-web/dist/vendor/react-native/Animated/components/AnimatedFlatList.js"],"sourcesContent":["function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\n/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n */\nimport * as React from 'react';\nimport FlatList from '../../../../exports/FlatList';\nimport createAnimatedComponent from '../createAnimatedComponent';\n\n/**\n * @see https://github.com/facebook/react-native/commit/b8c8562\n */\nvar FlatListWithEventThrottle = /*#__PURE__*/React.forwardRef(function (props, ref) {\n return /*#__PURE__*/React.createElement(FlatList, _extends({\n scrollEventThrottle: 0.0001\n }, props, {\n ref: ref\n }));\n});\nexport default createAnimatedComponent(FlatListWithEventThrottle);"],"mappings":"AAAA,SAASA,QAAT,GAAoB;EAAEA,QAAQ,GAAGC,MAAM,CAACC,MAAP,IAAiB,UAAUC,MAAV,EAAkB;IAAE,KAAK,IAAIC,CAAC,GAAG,CAAb,EAAgBA,CAAC,GAAGC,SAAS,CAACC,MAA9B,EAAsCF,CAAC,EAAvC,EAA2C;MAAE,IAAIG,MAAM,GAAGF,SAAS,CAACD,CAAD,CAAtB;;MAA2B,KAAK,IAAII,GAAT,IAAgBD,MAAhB,EAAwB;QAAE,IAAIN,MAAM,CAACQ,SAAP,CAAiBC,cAAjB,CAAgCC,IAAhC,CAAqCJ,MAArC,EAA6CC,GAA7C,CAAJ,EAAuD;UAAEL,MAAM,CAACK,GAAD,CAAN,GAAcD,MAAM,CAACC,GAAD,CAApB;QAA4B;MAAE;IAAE;;IAAC,OAAOL,MAAP;EAAgB,CAA5P;;EAA8P,OAAOH,QAAQ,CAACY,KAAT,CAAe,IAAf,EAAqBP,SAArB,CAAP;AAAyC;;AAW7T,OAAO,KAAKQ,KAAZ,MAAuB,OAAvB;AACA,OAAOC,QAAP;AACA,OAAOC,uBAAP;AAKA,IAAIC,yBAAyB,GAAgBH,KAAK,CAACI,UAAN,CAAiB,UAAUC,KAAV,EAAiBC,GAAjB,EAAsB;EAClF,OAAoBN,KAAK,CAACO,aAAN,CAAoBN,QAApB,EAA8Bd,QAAQ,CAAC;IACzDqB,mBAAmB,EAAE;EADoC,CAAD,EAEvDH,KAFuD,EAEhD;IACRC,GAAG,EAAEA;EADG,CAFgD,CAAtC,CAApB;AAKD,CAN4C,CAA7C;AAOA,eAAeJ,uBAAuB,CAACC,yBAAD,CAAtC"},"metadata":{},"sourceType":"module"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"ast":null,"code":"'use strict';\n\nimport PressResponder from \"./PressResponder\";\nimport { useDebugValue, useEffect, useRef } from 'react';\nexport default function usePressEvents(hostRef, config) {\n var pressResponderRef = useRef(null);\n\n if (pressResponderRef.current == null) {\n pressResponderRef.current = new PressResponder(config);\n }\n\n var pressResponder = pressResponderRef.current;\n useEffect(function () {\n pressResponder.configure(config);\n }, [config, pressResponder]);\n useEffect(function () {\n return function () {\n pressResponder.reset();\n };\n }, [pressResponder]);\n useDebugValue(config);\n return pressResponder.getEventHandlers();\n}","map":{"version":3,"names":["PressResponder","useDebugValue","useEffect","useRef","usePressEvents","hostRef","config","pressResponderRef","current","pressResponder","configure","reset","getEventHandlers"],"sources":["/Volumes/ExternalSSD/Projects/hero-design/packages/rn/node_modules/react-native-web/dist/modules/usePressEvents/index.js"],"sourcesContent":["/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n */\n'use strict';\n\nimport PressResponder from './PressResponder';\nimport { useDebugValue, useEffect, useRef } from 'react';\nexport default function usePressEvents(hostRef, config) {\n var pressResponderRef = useRef(null);\n\n if (pressResponderRef.current == null) {\n pressResponderRef.current = new PressResponder(config);\n }\n\n var pressResponder = pressResponderRef.current; // Re-configure to use the current node and configuration.\n\n useEffect(function () {\n pressResponder.configure(config);\n }, [config, pressResponder]); // Reset the `pressResponder` when cleanup needs to occur. This is\n // a separate effect because we do not want to rest the responder when `config` changes.\n\n useEffect(function () {\n return function () {\n pressResponder.reset();\n };\n }, [pressResponder]);\n useDebugValue(config);\n return pressResponder.getEventHandlers();\n}"],"mappings":"AASA;;AAEA,OAAOA,cAAP;AACA,SAASC,aAAT,EAAwBC,SAAxB,EAAmCC,MAAnC,QAAiD,OAAjD;AACA,eAAe,SAASC,cAAT,CAAwBC,OAAxB,EAAiCC,MAAjC,EAAyC;EACtD,IAAIC,iBAAiB,GAAGJ,MAAM,CAAC,IAAD,CAA9B;;EAEA,IAAII,iBAAiB,CAACC,OAAlB,IAA6B,IAAjC,EAAuC;IACrCD,iBAAiB,CAACC,OAAlB,GAA4B,IAAIR,cAAJ,CAAmBM,MAAnB,CAA5B;EACD;;EAED,IAAIG,cAAc,GAAGF,iBAAiB,CAACC,OAAvC;EAEAN,SAAS,CAAC,YAAY;IACpBO,cAAc,CAACC,SAAf,CAAyBJ,MAAzB;EACD,CAFQ,EAEN,CAACA,MAAD,EAASG,cAAT,CAFM,CAAT;EAKAP,SAAS,CAAC,YAAY;IACpB,OAAO,YAAY;MACjBO,cAAc,CAACE,KAAf;IACD,CAFD;EAGD,CAJQ,EAIN,CAACF,cAAD,CAJM,CAAT;EAKAR,aAAa,CAACK,MAAD,CAAb;EACA,OAAOG,cAAc,CAACG,gBAAf,EAAP;AACD"},"metadata":{},"sourceType":"module"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"ast":null,"code":"function _defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n}\n\nfunction _createClass(Constructor, protoProps, staticProps) {\n if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n if (staticProps) _defineProperties(Constructor, staticProps);\n return Constructor;\n}\n\nimport invariant from 'fbjs/lib/invariant';\n\nvar Share = function () {\n function Share() {}\n\n Share.share = function share(content, options) {\n if (options === void 0) {\n options = {};\n }\n\n invariant(typeof content === 'object' && content !== null, 'Content to share must be a valid object');\n invariant(typeof content.url === 'string' || typeof content.message === 'string', 'At least one of URL and message is required');\n invariant(typeof options === 'object' && options !== null, 'Options must be a valid object');\n invariant(!content.title || typeof content.title === 'string', 'Invalid title: title should be a string.');\n\n if (window.navigator.share !== undefined) {\n return window.navigator.share({\n title: content.title,\n text: content.message,\n url: content.url\n });\n } else {\n return Promise.reject(new Error('Share is not supported in this browser'));\n }\n };\n\n _createClass(Share, null, [{\n key: \"sharedAction\",\n get: function get() {\n return 'sharedAction';\n }\n }, {\n key: \"dismissedAction\",\n get: function get() {\n return 'dismissedAction';\n }\n }]);\n\n return Share;\n}();\n\nexport default Share;","map":{"version":3,"names":["_defineProperties","target","props","i","length","descriptor","enumerable","configurable","writable","Object","defineProperty","key","_createClass","Constructor","protoProps","staticProps","prototype","invariant","Share","share","content","options","url","message","title","window","navigator","undefined","text","Promise","reject","Error","get"],"sources":["/Volumes/ExternalSSD/Projects/hero-design/packages/rn/node_modules/react-native-web/dist/exports/Share/index.js"],"sourcesContent":["function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\n/**\n * Copyright (c) Nicolas Gallagher.\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport invariant from 'fbjs/lib/invariant';\n\nvar Share = /*#__PURE__*/function () {\n function Share() {}\n\n Share.share = function share(content, options) {\n if (options === void 0) {\n options = {};\n }\n\n invariant(typeof content === 'object' && content !== null, 'Content to share must be a valid object');\n invariant(typeof content.url === 'string' || typeof content.message === 'string', 'At least one of URL and message is required');\n invariant(typeof options === 'object' && options !== null, 'Options must be a valid object');\n invariant(!content.title || typeof content.title === 'string', 'Invalid title: title should be a string.');\n\n if (window.navigator.share !== undefined) {\n return window.navigator.share({\n title: content.title,\n text: content.message,\n url: content.url\n });\n } else {\n return Promise.reject(new Error('Share is not supported in this browser'));\n }\n }\n /**\n * The content was successfully shared.\n */\n ;\n\n _createClass(Share, null, [{\n key: \"sharedAction\",\n get: function get() {\n return 'sharedAction';\n }\n /**\n * The dialog has been dismissed.\n * @platform ios\n */\n\n }, {\n key: \"dismissedAction\",\n get: function get() {\n return 'dismissedAction';\n }\n }]);\n\n return Share;\n}();\n\nexport default Share;"],"mappings":"AAAA,SAASA,iBAAT,CAA2BC,MAA3B,EAAmCC,KAAnC,EAA0C;EAAE,KAAK,IAAIC,CAAC,GAAG,CAAb,EAAgBA,CAAC,GAAGD,KAAK,CAACE,MAA1B,EAAkCD,CAAC,EAAnC,EAAuC;IAAE,IAAIE,UAAU,GAAGH,KAAK,CAACC,CAAD,CAAtB;IAA2BE,UAAU,CAACC,UAAX,GAAwBD,UAAU,CAACC,UAAX,IAAyB,KAAjD;IAAwDD,UAAU,CAACE,YAAX,GAA0B,IAA1B;IAAgC,IAAI,WAAWF,UAAf,EAA2BA,UAAU,CAACG,QAAX,GAAsB,IAAtB;IAA4BC,MAAM,CAACC,cAAP,CAAsBT,MAAtB,EAA8BI,UAAU,CAACM,GAAzC,EAA8CN,UAA9C;EAA4D;AAAE;;AAE7T,SAASO,YAAT,CAAsBC,WAAtB,EAAmCC,UAAnC,EAA+CC,WAA/C,EAA4D;EAAE,IAAID,UAAJ,EAAgBd,iBAAiB,CAACa,WAAW,CAACG,SAAb,EAAwBF,UAAxB,CAAjB;EAAsD,IAAIC,WAAJ,EAAiBf,iBAAiB,CAACa,WAAD,EAAcE,WAAd,CAAjB;EAA6C,OAAOF,WAAP;AAAqB;;AAWvN,OAAOI,SAAP,MAAsB,oBAAtB;;AAEA,IAAIC,KAAK,GAAgB,YAAY;EACnC,SAASA,KAAT,GAAiB,CAAE;;EAEnBA,KAAK,CA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,KAAP;AACD,CA9CwB,EAAzB;;AAgDA,eAAeA,KAAf"},"metadata":{},"sourceType":"module"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"ast":null,"code":"'use strict';\n\nfunction _inheritsLoose(subClass, superClass) {\n subClass.prototype = Object.create(superClass.prototype);\n subClass.prototype.constructor = subClass;\n\n _setPrototypeOf(subClass, superClass);\n}\n\nfunction _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n\n return _setPrototypeOf(o, p);\n}\n\nimport AnimatedInterpolation from \"./AnimatedInterpolation\";\nimport AnimatedNode from \"./AnimatedNode\";\nimport AnimatedValue from \"./AnimatedValue\";\nimport AnimatedWithChildren from \"./AnimatedWithChildren\";\n\nvar AnimatedSubtraction = function (_AnimatedWithChildren) {\n _inheritsLoose(AnimatedSubtraction, _AnimatedWithChildren);\n\n function AnimatedSubtraction(a, b) {\n var _this;\n\n _this = _AnimatedWithChildren.call(this) || this;\n _this._a = typeof a === 'number' ? new AnimatedValue(a) : a;\n _this._b = typeof b === 'number' ? new AnimatedValue(b) : b;\n return _this;\n }\n\n var _proto = AnimatedSubtraction.prototype;\n\n _proto.__makeNative = function __makeNative() {\n this._a.__makeNative();\n\n this._b.__makeNative();\n\n _AnimatedWithChildren.prototype.__makeNative.call(this);\n };\n\n _proto.__getValue = function __getValue() {\n return this._a.__getValue() - this._b.__getValue();\n };\n\n _proto.interpolate = function interpolate(config) {\n return new AnimatedInterpolation(this, config);\n };\n\n _proto.__attach = function __attach() {\n this._a.__addChild(this);\n\n this._b.__addChild(this);\n };\n\n _proto.__detach = function __detach() {\n this._a.__removeChild(this);\n\n this._b.__removeChild(this);\n\n _AnimatedWithChildren.prototype.__detach.call(this);\n };\n\n _proto.__getNativeConfig = function __getNativeConfig() {\n return {\n type: 'subtraction',\n input: [this._a.__getNativeTag(), this._b.__getNativeTag()]\n };\n };\n\n return AnimatedSubtraction;\n}(AnimatedWithChildren);\n\nexport default AnimatedSubtraction;","map":{"version":3,"names":["_inheritsLoose","subClass","superClass","prototype","Object","create","constructor","_setPrototypeOf","o","p","setPrototypeOf","__proto__","AnimatedInterpolation","AnimatedNode","AnimatedValue","AnimatedWithChildren","AnimatedSubtraction","_AnimatedWithChildren","a","b","_this","call","_a","_b","_proto","__makeNative","__getValue","interpolate","config","__attach","__addChild","__detach","__removeChild","__getNativeConfig","type","input","__getNativeTag"],"sources":["/Volumes/ExternalSSD/Projects/hero-design/packages/rn/node_modules/react-native-web/dist/vendor/react-native/Animated/nodes/AnimatedSubtraction.js"],"sourcesContent":["/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n */\n'use strict';\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _setPrototypeOf(subClass, superClass); }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\nimport AnimatedInterpolation from './AnimatedInterpolation';\nimport AnimatedNode from './AnimatedNode';\nimport AnimatedValue from './AnimatedValue';\nimport AnimatedWithChildren from './AnimatedWithChildren';\n\nvar AnimatedSubtraction = /*#__PURE__*/function (_AnimatedWithChildren) {\n _inheritsLoose(AnimatedSubtraction, _AnimatedWithChildren);\n\n function AnimatedSubtraction(a, b) {\n var _this;\n\n _this = _AnimatedWithChildren.call(this) || this;\n _this._a = typeof a === 'number' ? new AnimatedValue(a) : a;\n _this._b = typeof b === 'number' ? new AnimatedValue(b) : b;\n return _this;\n }\n\n var _proto = AnimatedSubtraction.prototype;\n\n _proto.__makeNative = function __makeNative() {\n this._a.__makeNative();\n\n this._b.__makeNative();\n\n _AnimatedWithChildren.prototype.__makeNative.call(this);\n };\n\n _proto.__getValue = function __getValue() {\n return this._a.__getValue() - this._b.__getValue();\n };\n\n _proto.interpolate = function interpolate(config) {\n return new AnimatedInterpolation(this, config);\n };\n\n _proto.__attach = function __attach() {\n this._a.__addChild(this);\n\n this._b.__addChild(this);\n };\n\n _proto.__detach = function __detach() {\n this._a.__removeChild(this);\n\n this._b.__removeChild(this);\n\n _AnimatedWithChildren.prototype.__detach.call(this);\n };\n\n _proto.__getNativeConfig = function __getNativeConfig() {\n return {\n type: 'subtraction',\n input: [this._a.__getNativeTag(), this._b.__getNativeTag()]\n };\n };\n\n return AnimatedSubtraction;\n}(AnimatedWithChildren);\n\nexport default AnimatedSubtraction;"],"mappings":"AASA;;AAEA,SAASA,cAAT,CAAwBC,QAAxB,EAAkCC,UAAlC,EAA8C;EAAED,QAAQ,CAACE,SAAT,GAAqBC,MAAM,CAACC,MAAP,CAAcH,UAAU,CAACC,SAAzB,CAArB;EAA0DF,QAAQ,CAACE,SAAT,CAAmBG,WAAnB,GAAiCL,QAAjC;;EAA2CM,eAAe,CAACN,QAAD,EAAWC,UAAX,CAAf;AAAwC;;AAE7L,SAASK,eAAT,CAAyBC,CAAzB,EAA4BC,CAA5B,EAA+B;EAAEF,eAAe,GAAGH,MAAM,CAACM,cAAP,IAAyB,SAASH,eAAT,CAAyBC,CAAzB,EAA4BC,CAA5B,EAA+B;IAAED,CAAC,CAACG,SAAF,GAAcF,CAAd;IAAiB,OAAOD,CAAP;EAAW,CAAxG;;EAA0G,OAAOD,eAAe,CAACC,CAAD,EAAIC,CAAJ,CAAtB;AAA+B;;AAE1K,OAAOG,qBAAP;AACA,OAAOC,YAAP;AACA,OAAOC,aAAP;AACA,OAAOC,oBAAP;;AAEA,IAAIC,mBAAmB,GAAgB,UAAUC,qBAAV,EAAiC;EACtEjB,cAAc,CAACgB,mBAAD,EAAsBC,qBAAtB,CAAd;;EAEA,SAASD,mBAAT,CAA6BE,CAA7B,EAAgCC,CAAhC,EAAmC;IACjC,IAAIC,KAAJ;;IAEAA,KAAK,GAAGH,qBAAqB,C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D,CAND;;EAQAG,MAAM,CAACS,iBAAP,GAA2B,SAASA,iBAAT,GAA6B;IACtD,OAAO;MACLC,IAAI,EAAE,aADD;MAELC,KAAK,EAAE,CAAC,KAAKb,EAAL,CAAQc,cAAR,EAAD,EAA2B,KAAKb,EAAL,CAAQa,cAAR,EAA3B;IAFF,CAAP;EAID,CALD;;EAOA,OAAOpB,mBAAP;AACD,CApDsC,CAoDrCD,oBApDqC,CAAvC;;AAsDA,eAAeC,mBAAf"},"metadata":{},"sourceType":"module"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"ast":null,"code":"import * as React from 'react';\nimport { canUseDOM } from 'fbjs/lib/ExecutionEnvironment';\nimport View from \"../View\";\nimport StyleSheet from \"../StyleSheet\";\nvar ModalContent = React.forwardRef(function (props, forwardedRef) {\n var active = props.active,\n children = props.children,\n onRequestClose = props.onRequestClose,\n transparent = props.transparent;\n React.useEffect(function () {\n if (canUseDOM) {\n var closeOnEscape = function closeOnEscape(e) {\n if (active && e.key === 'Escape') {\n e.stopPropagation();\n\n if (onRequestClose) {\n onRequestClose();\n }\n }\n };\n\n document.addEventListener('keyup', closeOnEscape, false);\n return function () {\n return document.removeEventListener('keyup', closeOnEscape, false);\n };\n }\n }, [active, onRequestClose]);\n var style = React.useMemo(function () {\n return [styles.modal, transparent ? styles.modalTransparent : styles.modalOpaque];\n }, [transparent]);\n return React.createElement(View, {\n accessibilityRole: active ? 'dialog' : null,\n \"aria-modal\": true,\n ref: forwardedRef,\n style: style\n }, React.createElement(View, {\n style: styles.container\n }, children));\n});\nvar styles = StyleSheet.create({\n modal: {\n position: 'fixed',\n top: 0,\n right: 0,\n bottom: 0,\n left: 0\n },\n modalTransparent: {\n backgroundColor: 'transparent'\n },\n modalOpaque: {\n backgroundColor: 'white'\n },\n container: {\n top: 0,\n flex: 1\n }\n});\nexport default ModalContent;","map":{"version":3,"names":["React","canUseDOM","View","StyleSheet","ModalContent","forwardRef","props","forwardedRef","active","children","onRequestClose","transparent","useEffect","closeOnEscape","e","key","stopPropagation","document","addEventListener","removeEventListener","style","useMemo","styles","modal","modalTransparent","modalOpaque","createElement","accessibilityRole","ref","container","create","position","top","right","bottom","left","backgroundColor","flex"],"sources":["/Volumes/ExternalSSD/Projects/hero-design/packages/rn/node_modules/react-native-web/dist/exports/Modal/ModalContent.js"],"sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport * as React from 'react';\nimport { canUseDOM } from 'fbjs/lib/ExecutionEnvironment';\nimport View from '../View';\nimport StyleSheet from '../StyleSheet';\nvar ModalContent = /*#__PURE__*/React.forwardRef(function (props, forwardedRef) {\n var active = props.active,\n children = props.children,\n onRequestClose = props.onRequestClose,\n transparent = props.transparent;\n React.useEffect(function () {\n if (canUseDOM) {\n var closeOnEscape = function closeOnEscape(e) {\n if (active && e.key === 'Escape') {\n e.stopPropagation();\n\n if (onRequestClose) {\n onRequestClose();\n }\n }\n };\n\n document.addEventListener('keyup', closeOnEscape, false);\n return function () {\n return document.removeEventListener('keyup', closeOnEscape, false);\n };\n }\n }, [active, onRequestClose]);\n var style = React.useMemo(function () {\n return [styles.modal, transparent ? styles.modalTransparent : styles.modalOpaque];\n }, [transparent]);\n return /*#__PURE__*/React.createElement(View, {\n accessibilityRole: active ? 'dialog' : null,\n \"aria-modal\": true,\n ref: forwardedRef,\n style: style\n }, /*#__PURE__*/React.createElement(View, {\n style: styles.container\n }, children));\n});\nvar styles = StyleSheet.create({\n modal: {\n position: 'fixed',\n top: 0,\n right: 0,\n bottom: 0,\n left: 0\n },\n modalTransparent: {\n backgroundColor: 'transparent'\n },\n modalOpaque: {\n backgroundColor: 'white'\n },\n container: {\n top: 0,\n flex: 1\n }\n});\nexport default ModalContent;"],"mappings":"AASA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AACA,SAASC,SAAT,QAA0B,+BAA1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qC,CAA1B,EAKJpB,KAAK,CAAC0B,aAAN,CAAoBxB,IAApB,EAA0B;IACxCkB,KAAK,EAAEE,MAAM,CAACO;EAD0B,CAA1B,EAEbpB,QAFa,CALI,CAApB;AAQD,CAlC+B,CAAhC;AAmCA,IAAIa,MAAM,GAAGnB,UAAU,CAAC2B,MAAX,CAAkB;EAC7BP,KAAK,EAAE;IACLQ,QAAQ,EAAE,OADL;IAELC,GAAG,EAAE,CAFA;IAGLC,KAAK,EAAE,CAHF;IAILC,MAAM,EAAE,CAJH;IAKLC,IAAI,EAAE;EALD,CADsB;EAQ7BX,gBAAgB,EAAE;IAChBY,eAAe,EAAE;EADD,CARW;EAW7BX,WAAW,EAAE;IACXW,eAAe,EAAE;EADN,CAXgB;EAc7BP,SAAS,EAAE;IACTG,GAAG,EAAE,CADI;IAETK,IAAI,EAAE;EAFG;AAdkB,CAAlB,CAAb;AAmBA,eAAejC,YAAf"},"metadata":{},"sourceType":"module"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"ast":null,"code":"'use strict';\n\nexports.decode = exports.parse = require(\"./decode\");\nexports.encode = exports.stringify = require(\"./encode\");","map":{"version":3,"names":["exports","decode","parse","require","encode","stringify"],"sources":["/Users/kientran/.nvm/versions/node/v14.18.1/lib/node_modules/expo-cli/node_modules/querystring-es3/index.js"],"sourcesContent":["'use strict';\n\nexports.decode = exports.parse = require('./decode');\nexports.encode = exports.stringify = require('./encode');\n"],"mappings":"AAAA;;AAEAA,OAAO,CAACC,MAAR,GAAiBD,OAAO,CAACE,KAAR,GAAgBC,OAAO,YAAxC;AACAH,OAAO,CAACI,MAAR,GAAiBJ,OAAO,CAACK,SAAR,GAAoBF,OAAO,YAA5C"},"metadata":{},"sourceType":"script"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"ast":null,"code":"import dismissKeyboard from \"../../modules/dismissKeyboard\";\nvar Keyboard = {\n addListener: function addListener() {\n return {\n remove: function remove() {}\n };\n },\n dismiss: function dismiss() {\n dismissKeyboard();\n },\n removeAllListeners: function removeAllListeners() {},\n removeListener: function removeListener() {}\n};\nexport default Keyboard;","map":{"version":3,"names":["dismissKeyboard","Keyboard","addListener","remove","dismiss","removeAllListeners","removeListener"],"sources":["/Volumes/ExternalSSD/Projects/hero-design/packages/rn/node_modules/react-native-web/dist/exports/Keyboard/index.js"],"sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport dismissKeyboard from '../../modules/dismissKeyboard';\nvar Keyboard = {\n addListener: function addListener() {\n return {\n remove: function remove() {}\n };\n },\n dismiss: function dismiss() {\n dismissKeyboard();\n },\n removeAllListeners: function removeAllListeners() {},\n removeListener: function removeListener() {}\n};\nexport default Keyboard;"],"mappings":"AASA,OAAOA,eAAP;AACA,IAAIC,QAAQ,GAAG;EACbC,WAAW,EAAE,SAASA,WAAT,GAAuB;IAClC,OAAO;MACLC,MAAM,EAAE,SAASA,MAAT,GAAkB,CAAE;IADvB,CAAP;EAGD,CALY;EAMbC,OAAO,EAAE,SAASA,OAAT,GAAmB;IAC1BJ,eAAe;EAChB,CARY;EASbK,kBAAkB,EAAE,SAASA,kBAAT,GAA8B,CAAE,CATvC;EAUbC,cAAc,EAAE,SAASA,cAAT,GAA0B,CAAE;AAV/B,CAAf;AAYA,eAAeL,QAAf"},"metadata":{},"sourceType":"module"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"ast":null,"code":"import _defineProperty from \"@babel/runtime/helpers/defineProperty\";\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport _possibleConstructorReturn from \"@babel/runtime/helpers/possibleConstructorReturn\";\nimport _getPrototypeOf from \"@babel/runtime/helpers/getPrototypeOf\";\nimport _inherits from \"@babel/runtime/helpers/inherits\";\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\n\nimport * as React from 'react';\nimport { attachRecoveredProps } from \"./RecoveryProps\";\nexport default function withExpoRoot(AppRootComponent) {\n return function (_React$Component) {\n _inherits(ExpoRootComponent, _React$Component);\n\n function ExpoRootComponent() {\n _classCallCheck(this, ExpoRootComponent);\n\n return _possibleConstructorReturn(this, _getPrototypeOf(ExpoRootComponent).apply(this, arguments));\n }\n\n _createClass(ExpoRootComponent, [{\n key: \"render\",\n value: function render() {\n var combinedProps = attachRecoveredProps(this.props);\n return React.createElement(AppRootComponent, _objectSpread({}, combinedProps));\n }\n }]);\n\n return ExpoRootComponent;\n }(React.Component);\n}","map":{"version":3,"sources":["../../src/launch/withExpoRoot.web.tsx"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AAEA,SAAS,oBAAT;AAGA,eAAc,SAAU,YAAV,CACZ,gBADY,EAC4B;EAExC;IAAA;;IAAA;MAAA;;MAAA;IAAA;;IAAA;MAAA;MAAA,yBACQ;QACJ,IAAM,aAAa,GAAG,oBAAoB,CAAC,KAAK,KAAN,CAA1C;QACA,OAAO,KAAA,CAAA,aAAA,CAAC,gBAAD,oBAAsB,aAAtB,EAAP;MACD;IAJH;;IAAA;EAAA,EAAuC,KAAK,CAAC,SAA7C;AAMD","sourcesContent":["import * as React from 'react';\n\nimport { attachRecoveredProps } from './RecoveryProps';\nimport { InitialProps } from './withExpoRoot.types';\n\nexport default function withExpoRoot<P extends InitialProps>(\n AppRootComponent: React.ComponentType<P>\n): React.ComponentClass<P> {\n return class ExpoRootComponent extends React.Component<P> {\n render() {\n const combinedProps = attachRecoveredProps(this.props);\n return <AppRootComponent {...combinedProps} />;\n }\n };\n}\n"],"sourceRoot":""},"metadata":{},"sourceType":"module"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"ast":null,"code":"import { UnavailabilityError } from \"./errors/UnavailabilityError\";\nexport function requireNativeViewManager(viewName) {\n throw new UnavailabilityError('expo-modules-core', 'requireNativeViewManager');\n}","map":{"version":3,"sources":["../src/NativeViewManagerAdapter.tsx"],"names":[],"mappings":"AAEA,SAAS,mBAAT;AAEA,OAAM,SAAU,wBAAV,CAA4C,QAA5C,EAA4D;EAChE,MAAM,IAAI,mBAAJ,CAAwB,mBAAxB,EAA6C,0BAA7C,CAAN;AACD","sourcesContent":["import React from 'react';\n\nimport { UnavailabilityError } from './errors/UnavailabilityError';\n\nexport function requireNativeViewManager<P = any>(viewName: string): React.ComponentType<P> {\n throw new UnavailabilityError('expo-modules-core', 'requireNativeViewManager');\n}\n"],"sourceRoot":""},"metadata":{},"sourceType":"module"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"ast":null,"code":"var BASE = 16;\nvar fontSizes = {\n xlarge: BASE * 1.125,\n large: BASE,\n medium: BASE * 0.875,\n small: BASE * 0.75,\n xsmall: BASE * 0.625\n};\nvar fontWeights = {\n light: 200,\n regular: 400,\n semiBold: 600,\n bold: 700\n};\nvar lineHeights = {\n xlarge: fontSizes.xlarge + 8,\n large: fontSizes.large + 8,\n medium: fontSizes.medium + 8,\n small: fontSizes.small + 8,\n xsmall: fontSizes.xsmall + 8\n};\nexport { fontSizes, fontWeights, lineHeights };","map":{"version":3,"names":["BASE","fontSizes","xlarge","large","medium","small","xsmall","fontWeights","light","regular","semiBold","bold","lineHeights"],"sources":["/Volumes/ExternalSSD/Projects/hero-design/packages/rn/src/theme/typography.ts"],"sourcesContent":["const BASE = 16;\n\nconst fontSizes = {\n xlarge: BASE * 1.125, // 18\n large: BASE, // 16\n medium: BASE * 0.875, // 14\n small: BASE * 0.75, // 12\n xsmall: BASE * 0.625, // 10\n};\n\nconst fontWeights = {\n light: 200,\n regular: 400,\n semiBold: 600,\n bold: 700,\n};\n\nconst lineHeights = {\n xlarge: fontSizes.xlarge + 8,\n large: fontSizes.large + 8,\n medium: fontSizes.medium + 8,\n small: fontSizes.small + 8,\n xsmall: fontSizes.xsmall + 8,\n};\n\nexport { fontSizes, fontWeights, lineHeights };\n"],"mappings":"AAAA,IAAMA,IAAI,GAAG,EAAb;AAEA,IAAMC,SAAS,GAAG;EAChBC,MAAM,EAAEF,IAAI,GAAG,KADC;EAEhBG,KAAK,EAAEH,IAFS;EAGhBI,MAAM,EAAEJ,IAAI,GAAG,KAHC;EAIhBK,KAAK,EAAEL,IAAI,GAAG,IAJE;EAKhBM,MAAM,EAAEN,IAAI,GAAG;AALC,CAAlB;AAQA,IAAMO,WAAW,GAAG;EAClBC,KAAK,EAAE,GADW;EAElBC,OAAO,EAAE,GAFS;EAGlBC,QAAQ,EAAE,GAHQ;EAIlBC,IAAI,EAAE;AAJY,CAApB;AAOA,IAAMC,WAAW,GAAG;EAClBV,MAAM,EAAED,SAAS,CAACC,MAAV,GAAmB,CADT;EAElBC,KAAK,EAAEF,SAAS,CAACE,KAAV,GAAkB,CAFP;EAGlBC,MAAM,EAAEH,SAAS,CAACG,MAAV,GAAmB,CAHT;EAIlBC,KAAK,EAAEJ,SAAS,CAACI,KAAV,GAAkB,CAJP;EAKlBC,MAAM,EAAEL,SAAS,CAACK,MAAV,GAAmB;AALT,CAApB;AAQA,SAASL,SAAT,EAAoBM,WAApB,EAAiCK,WAAjC"},"metadata":{},"sourceType":"module"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"ast":null,"code":"import SafeAreaView from \"react-native-web/dist/exports/SafeAreaView\";\nimport View from \"react-native-web/dist/exports/View\";\nimport React from 'react';\nimport { theme, ThemeProvider, ExampleComponent } from \"../src/index\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\n\nvar App = function App() {\n return _jsx(ThemeProvider, {\n theme: theme,\n children: _jsx(SafeAreaView, {\n style: {\n flex: 1,\n justifyContent: 'center',\n alignItems: 'center'\n },\n children: _jsx(View, {\n style: {\n borderWidth: 1\n },\n children: _jsx(ExampleComponent, {\n boxSize: \"medium\",\n boxSpace: \"medium\",\n bgColor: \"danger\"\n })\n })\n })\n });\n};\n\nexport default App;","map":{"version":3,"names":["React","theme","ThemeProvider","ExampleComponent","App","flex","justifyContent","alignItems","borderWidth"],"sources":["/Volumes/ExternalSSD/Projects/hero-design/packages/rn/playground/index.tsx"],"sourcesContent":["import { SafeAreaView, View } from 'react-native';\nimport React from 'react';\nimport { theme, ThemeProvider, ExampleComponent } from '../src/index';\n\nconst App = () => (\n <ThemeProvider theme={theme}>\n <SafeAreaView\n style={{\n flex: 1,\n justifyContent: 'center',\n alignItems: 'center',\n }}\n >\n <View\n style={{\n borderWidth: 1,\n }}\n >\n <ExampleComponent boxSize=\"medium\" boxSpace=\"medium\" bgColor=\"danger\" />\n </View>\n </SafeAreaView>\n </ThemeProvider>\n);\n\nexport default App;\n"],"mappings":";;AACA,OAAOA,KAAP,MAAkB,OAAlB;AACA,SAASC,KAAT,EAAgBC,aAAhB,EAA+BC,gBAA/B;;;AAEA,IAAMC,GAAG,GAAG,SAANA,GAAM;EAAA,OACV,KAAC,aAAD;IAAe,KAAK,EAAEH,KAAtB;IAAA,UACE,KAAC,YAAD;MACE,KAAK,EAAE;QACLI,IAAI,EAAE,CADD;QAELC,cAAc,EAAE,QAFX;QAGLC,UAAU,EAAE;MAHP,CADT;MAAA,UAOE,KAAC,IAAD;QACE,KAAK,EAAE;UACLC,WAAW,EAAE;QADR,CADT;QAAA,UAKE,KAAC,gBAAD;UAAkB,OAAO,EAAC,QAA1B;UAAmC,QAAQ,EAAC,QAA5C;UAAqD,OAAO,EAAC;QAA7D;MALF;IAPF;EADF,EADU;AAAA,CAAZ;;AAoBA,eAAeJ,GAAf"},"metadata":{},"sourceType":"module"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"ast":null,"code":"export default {};","map":{"version":3,"names":[],"sources":["/Volumes/ExternalSSD/Projects/hero-design/packages/rn/node_modules/react-native-web/dist/exports/TVEventHandler/index.js"],"sourcesContent":["export default {};"],"mappings":"AAAA,eAAe,EAAf"},"metadata":{},"sourceType":"module"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"ast":null,"code":"import { canUseDOM } from 'fbjs/lib/ExecutionEnvironment';\n\nfunction isScreenReaderEnabled() {\n return new Promise(function (resolve, reject) {\n resolve(true);\n });\n}\n\nvar prefersReducedMotionMedia = canUseDOM && typeof window.matchMedia === 'function' ? window.matchMedia('(prefers-reduced-motion: reduce)') : null;\n\nfunction isReduceMotionEnabled() {\n return new Promise(function (resolve, reject) {\n resolve(prefersReducedMotionMedia ? prefersReducedMotionMedia.matches : true);\n });\n}\n\nfunction addChangeListener(fn) {\n if (prefersReducedMotionMedia != null) {\n prefersReducedMotionMedia.addEventListener != null ? prefersReducedMotionMedia.addEventListener('change', fn) : prefersReducedMotionMedia.addListener(fn);\n }\n}\n\nfunction removeChangeListener(fn) {\n if (prefersReducedMotionMedia != null) {\n prefersReducedMotionMedia.removeEventListener != null ? prefersReducedMotionMedia.removeEventListener('change', fn) : prefersReducedMotionMedia.removeListener(fn);\n }\n}\n\nvar handlers = {};\nvar AccessibilityInfo = {\n isScreenReaderEnabled: isScreenReaderEnabled,\n isReduceMotionEnabled: isReduceMotionEnabled,\n fetch: isScreenReaderEnabled,\n addEventListener: function addEventListener(eventName, handler) {\n if (eventName === 'reduceMotionChanged') {\n if (!prefersReducedMotionMedia) {\n return;\n }\n\n var listener = function listener(event) {\n handler(event.matches);\n };\n\n addChangeListener(listener);\n handlers[handler] = listener;\n }\n\n return {\n remove: function remove() {\n return AccessibilityInfo.removeEventListener(eventName, handler);\n }\n };\n },\n setAccessibilityFocus: function setAccessibilityFocus(reactTag) {},\n announceForAccessibility: function announceForAccessibility(announcement) {},\n removeEventListener: function removeEventListener(eventName, handler) {\n if (eventName === 'reduceMotionChanged') {\n var listener = handlers[handler];\n\n if (!listener || !prefersReducedMotionMedia) {\n return;\n }\n\n removeChangeListener(listener);\n }\n\n return;\n }\n};\nexport default AccessibilityInfo;","map":{"version":3,"names":["canUseDOM","isScreenReaderEnabled","Promise","resolve","reject","prefersReducedMotionMedia","window","matchMedia","isReduceMotionEnabled","matches","addChangeListener","fn","addEventListener","addListener","removeChangeListener","removeEventListener","removeListener","handlers","AccessibilityInfo","fetch","eventName","handler","listener","event","remove","setAccessibilityFocus","reactTag","announceForAccessibility","announcement"],"sources":["/Volumes/ExternalSSD/Projects/hero-design/packages/rn/node_modules/react-native-web/dist/exports/AccessibilityInfo/index.js"],"sourcesContent":["/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport { canUseDOM } from 'fbjs/lib/ExecutionEnvironment';\n\nfunction isScreenReaderEnabled() {\n return new Promise(function (resolve, reject) {\n resolve(true);\n });\n}\n\nvar prefersReducedMotionMedia = canUseDOM && typeof window.matchMedia === 'function' ? window.matchMedia('(prefers-reduced-motion: reduce)') : null;\n\nfunction isReduceMotionEnabled() {\n return new Promise(function (resolve, reject) {\n resolve(prefersReducedMotionMedia ? prefersReducedMotionMedia.matches : true);\n });\n}\n\nfunction addChangeListener(fn) {\n if (prefersReducedMotionMedia != null) {\n prefersReducedMotionMedia.addEventListener != null ? prefersReducedMotionMedia.addEventListener('change', fn) : prefersReducedMotionMedia.addListener(fn);\n }\n}\n\nfunction removeChangeListener(fn) {\n if (prefersReducedMotionMedia != null) {\n prefersReducedMotionMedia.removeEventListener != null ? prefersReducedMotionMedia.removeEventListener('change', fn) : prefersReducedMotionMedia.removeListener(fn);\n }\n}\n\nvar handlers = {};\nvar AccessibilityInfo = {\n /**\n * Query whether a screen reader is currently enabled.\n *\n * Returns a promise which resolves to a boolean.\n * The result is `true` when a screen reader is enabled and `false` otherwise.\n */\n isScreenReaderEnabled: isScreenReaderEnabled,\n\n /**\n * Query whether the user prefers reduced motion.\n *\n * Returns a promise which resolves to a boolean.\n * The result is `true` when a screen reader is enabled and `false` otherwise.\n */\n isReduceMotionEnabled: isReduceMotionEnabled,\n\n /**\n * Deprecated\n */\n fetch: isScreenReaderEnabled,\n\n /**\n * Add an event handler. Supported events: reduceMotionChanged\n */\n addEventListener: function addEventListener(eventName, handler) {\n if (eventName === 'reduceMotionChanged') {\n if (!prefersReducedMotionMedia) {\n return;\n }\n\n var listener = function listener(event) {\n handler(event.matches);\n };\n\n addChangeListener(listener);\n handlers[handler] = listener;\n }\n\n return {\n remove: function remove() {\n return AccessibilityInfo.removeEventListener(eventName, handler);\n }\n };\n },\n\n /**\n * Set accessibility focus to a react component.\n */\n setAccessibilityFocus: function setAccessibilityFocus(reactTag) {},\n\n /**\n * Post a string to be announced by the screen reader.\n */\n announceForAccessibility: function announceForAccessibility(announcement) {},\n\n /**\n * Remove an event handler.\n */\n removeEventListener: function removeEventListener(eventName, handler) {\n if (eventName === 'reduceMotionChanged') {\n var listener = handlers[handler];\n\n if (!listener || !prefersReducedMotionMedia) {\n return;\n }\n\n removeChangeListener(listener);\n }\n\n return;\n }\n};\nexport default AccessibilityInfo;"],"mappings":"AAQA,SAASA,SAAT,QAA0B,+BAA1B;;AAEA,SAASC,qBAAT,GAAiC;EAC/B,OAAO,IAAIC,OAAJ,CAAY,UAAUC,OAAV,EAAmBC,MAAnB,EAA2B;IAC5CD,OAAO,CAAC,IAAD,CAAP;EACD,CAFM,CAAP;AAGD;;AAED,IAAIE,yBAAyB,GAAGL,SAAS,IAAI,OAAOM,MAAM,CAACC,UAAd,KAA6B,UAA1C,GAAuDD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D,CAAjB;MACAL,QAAQ,CAACI,OAAD,CAAR,GAAoBC,QAApB;IACD;;IAED,OAAO;MACLE,MAAM,EAAE,SAASA,MAAT,GAAkB;QACxB,OAAON,iBAAiB,CAACH,mBAAlB,CAAsCK,SAAtC,EAAiDC,OAAjD,CAAP;MACD;IAHI,CAAP;EAKD,CA5CqB;EAiDtBI,qBAAqB,EAAE,SAASA,qBAAT,CAA+BC,QAA/B,EAAyC,CAAE,CAjD5C;EAsDtBC,wBAAwB,EAAE,SAASA,wBAAT,CAAkCC,YAAlC,EAAgD,CAAE,CAtDtD;EA2DtBb,mBAAmB,EAAE,SAASA,mBAAT,CAA6BK,SAA7B,EAAwCC,OAAxC,EAAiD;IACpE,IAAID,SAAS,KAAK,qBAAlB,EAAyC;MACvC,IAAIE,QAAQ,GAAGL,QAAQ,CAACI,OAAD,CAAvB;;MAEA,IAAI,CAACC,QAAD,IAAa,CAACjB,yBAAlB,EAA6C;QAC3C;MACD;;MAEDS,oBAAoB,CAACQ,QAAD,CAApB;IACD;;IAED;EACD;AAvEqB,CAAxB;AAyEA,eAAeJ,iBAAf"},"metadata":{},"sourceType":"module"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"ast":null,"code":"'use strict';\n\nfunction stiffnessFromOrigamiValue(oValue) {\n return (oValue - 30) * 3.62 + 194;\n}\n\nfunction dampingFromOrigamiValue(oValue) {\n return (oValue - 8) * 3 + 25;\n}\n\nfunction fromOrigamiTensionAndFriction(tension, friction) {\n return {\n stiffness: stiffnessFromOrigamiValue(tension),\n damping: dampingFromOrigamiValue(friction)\n };\n}\n\nfunction fromBouncinessAndSpeed(bounciness, speed) {\n function normalize(value, startValue, endValue) {\n return (value - startValue) / (endValue - startValue);\n }\n\n function projectNormal(n, start, end) {\n return start + n * (end - start);\n }\n\n function linearInterpolation(t, start, end) {\n return t * end + (1 - t) * start;\n }\n\n function quadraticOutInterpolation(t, start, end) {\n return linearInterpolation(2 * t - t * t, start, end);\n }\n\n function b3Friction1(x) {\n return 0.0007 * Math.pow(x, 3) - 0.031 * Math.pow(x, 2) + 0.64 * x + 1.28;\n }\n\n function b3Friction2(x) {\n return 0.000044 * Math.pow(x, 3) - 0.006 * Math.pow(x, 2) + 0.36 * x + 2;\n }\n\n function b3Friction3(x) {\n return 0.00000045 * Math.pow(x, 3) - 0.000332 * Math.pow(x, 2) + 0.1078 * x + 5.84;\n }\n\n function b3Nobounce(tension) {\n if (tension <= 18) {\n return b3Friction1(tension);\n } else if (tension > 18 && tension <= 44) {\n return b3Friction2(tension);\n } else {\n return b3Friction3(tension);\n }\n }\n\n var b = normalize(bounciness / 1.7, 0, 20);\n b = projectNormal(b, 0, 0.8);\n var s = normalize(speed / 1.7, 0, 20);\n var bouncyTension = projectNormal(s, 0.5, 200);\n var bouncyFriction = quadraticOutInterpolation(b, b3Nobounce(bouncyTension), 0.01);\n return {\n stiffness: stiffnessFromOrigamiValue(bouncyTension),\n damping: dampingFromOrigamiValue(bouncyFriction)\n };\n}\n\nexport default {\n fromOrigamiTensionAndFriction: fromOrigamiTensionAndFriction,\n fromBouncinessAndSpeed: fromBouncinessAndSpeed\n};","map":{"version":3,"names":["stiffnessFromOrigamiValue","oValue","dampingFromOrigamiValue","fromOrigamiTensionAndFriction","tension","friction","stiffness","damping","fromBouncinessAndSpeed","bounciness","speed","normalize","value","startValue","endValue","projectNormal","n","start","end","linearInterpolation","t","quadraticOutInterpolation","b3Friction1","x","Math","pow","b3Friction2","b3Friction3","b3Nobounce","b","s","bouncyTension","bouncyFriction"],"sources":["/Volumes/ExternalSSD/Projects/hero-design/packages/rn/node_modules/react-native-web/dist/vendor/react-native/Animated/SpringConfig.js"],"sourcesContent":["/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * \n */\n'use strict';\n\nfunction stiffnessFromOrigamiValue(oValue) {\n return (oValue - 30) * 3.62 + 194;\n}\n\nfunction dampingFromOrigamiValue(oValue) {\n return (oValue - 8) * 3 + 25;\n}\n\nfunction fromOrigamiTensionAndFriction(tension, friction) {\n return {\n stiffness: stiffnessFromOrigamiValue(tension),\n damping: dampingFromOrigamiValue(friction)\n };\n}\n\nfunction fromBouncinessAndSpeed(bounciness, speed) {\n function normalize(value, startValue, endValue) {\n return (value - startValue) / (endValue - startValue);\n }\n\n function projectNormal(n, start, end) {\n return start + n * (end - start);\n }\n\n function linearInterpolation(t, start, end) {\n return t * end + (1 - t) * start;\n }\n\n function quadraticOutInterpolation(t, start, end) {\n return linearInterpolation(2 * t - t * t, start, end);\n }\n\n function b3Friction1(x) {\n return 0.0007 * Math.pow(x, 3) - 0.031 * Math.pow(x, 2) + 0.64 * x + 1.28;\n }\n\n function b3Friction2(x) {\n return 0.000044 * Math.pow(x, 3) - 0.006 * Math.pow(x, 2) + 0.36 * x + 2;\n }\n\n function b3Friction3(x) {\n return 0.00000045 * Math.pow(x, 3) - 0.000332 * Math.pow(x, 2) + 0.1078 * x + 5.84;\n }\n\n function b3Nobounce(tension) {\n if (tension <= 18) {\n return b3Friction1(tension);\n } else if (tension > 18 && tension <= 44) {\n return b3Friction2(tension);\n } else {\n return b3Friction3(tension);\n }\n }\n\n var b = normalize(bounciness / 1.7, 0, 20);\n b = projectNormal(b, 0, 0.8);\n var s = normalize(speed / 1.7, 0, 20);\n var bouncyTension = projectNormal(s, 0.5, 200);\n var bouncyFriction = quadraticOutInterpolation(b, b3Nobounce(bouncyTension), 0.01);\n return {\n stiffness: stiffnessFromOrigamiValue(bouncyTension),\n damping: dampingFromOrigamiValue(bouncyFriction)\n };\n}\n\nexport default {\n fromOrigamiTensionAndFriction: fromOrigamiTensionAndFriction,\n fromBouncinessAndSpeed: fromBouncinessAndSpeed\n};"],"mappings":"AASA;;AAEA,SAASA,yBAAT,CAAmCC,MAAnC,EAA2C;EACzC,OAAO,CAACA,MAAM,GAAG,EAAV,IAAgB,IAAhB,GAAuB,GAA9B;AACD;;AAED,SAASC,uBA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