Compare commits
	
		
			354 Commits
		
	
	
		
			v21.2.1
			...
			49016e57e4
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 49016e57e4 | |||
| 9856c34adc | |||
|  | 1e589edc23 | ||
|  | d63e60e096 | ||
|  | ac56c71181 | ||
| db39fea577 | |||
|  | c4ebdb93fb | ||
|  | ab80d6e868 | ||
|  | fbaf6e0a80 | ||
|  | a36116be0a | ||
|  | c7fa139cef | ||
|  | 276751f206 | ||
|  | a550841eeb | ||
|  | 4dfad6aa02 | ||
|  | 131c68dd66 | ||
|  | 2bb8032ea9 | ||
|  | 64d93d92d7 | ||
|  | 492b9efcf0 | ||
|  | cb8a2cac14 | ||
|  | 8e7608921a | ||
|  | 52b7eec8d7 | ||
|  | 72ce1b80c4 | ||
|  | bfacf0fb51 | ||
|  | aa41adebc0 | ||
|  | 2eef97be6f | ||
|  | a68d0d8516 | ||
|  | b60852c67c | ||
|  | 744705ca2a | ||
|  | 019c4d8e96 | ||
| f45ab949b2 | |||
|  | ab460d1401 | ||
|  | 679151e8ea | ||
|  | da76c6732d | ||
|  | b108f0e09d | ||
|  | 8d30d5d6dc | ||
|  | 8b5a9520b2 | ||
|  | 0f99a1098e | ||
|  | a773315bf6 | ||
|  | 6e247502da | ||
|  | 3151ed383e | ||
|  | 607a6a204b | ||
|  | 0dae100c84 | ||
|  | d011c94ea2 | ||
|  | cd59a644a5 | ||
|  | 31ebb2df3f | ||
|  | 9c49a78318 | ||
|  | e3c10550d5 | ||
|  | 75dd9174a8 | ||
|  | d62bc57368 | ||
|  | 184a2bf3aa | ||
|  | 49c4c3f23f | ||
|  | aa377b78e0 | ||
|  | a64813d2d9 | ||
|  | ffcbe71ecb | ||
|  | f9462ad5ae | ||
|  | bb73a7eda7 | ||
|  | 36ad187296 | ||
|  | 5621ffbe42 | ||
|  | 9758a2a7d8 | ||
|  | d6fd519086 | ||
|  | b9ff0ec817 | ||
|  | 3601bfc664 | ||
|  | 73a8a117b0 | ||
|  | 4af29e0caa | ||
|  | 8519980638 | ||
|  | c7df190d79 | ||
|  | 9290c146e3 | ||
|  | 7769113b3c | ||
|  | dafc36b01d | ||
|  | 55a3571edd | ||
|  | bdae21bd12 | ||
|  | ac26f2ca6b | ||
|  | 723ff59a21 | ||
|  | c3feca504c | ||
|  | a294b1143b | ||
|  | 541826f2fd | ||
|  | aa6c2ad186 | ||
|  | c51dae6d60 | ||
|  | b2a87ae99d | ||
|  | 5230c6d672 | ||
|  | 29d0e80f24 | ||
|  | 4b147593ca | ||
|  | b1137d175a | ||
|  | bbc90b6d6f | ||
|  | 9fe9bcd04e | ||
|  | 79ae11aea8 | ||
|  | 50582d49f0 | ||
|  | 897fb3082d | ||
|  | 947d0b77bd | ||
|  | e07e79a918 | ||
|  | cdc3b22752 | ||
|  | 0988728bb2 | ||
|  | 0ad628b259 | ||
|  | 44af72f9e6 | ||
|  | 2d0316035f | ||
|  | 735c2e153e | ||
|  | 6f9d6cb35f | ||
|  | de796db39a | ||
|  | 88cb706ff5 | ||
|  | 6bc19354c9 | ||
|  | c70b69d043 | ||
|  | f53e0f4550 | ||
|  | 672de930ce | ||
|  | d3d3d6a0aa | ||
|  | 2ba4d2303a | ||
|  | 8acf86d9cb | ||
|  | 5de0ede4e1 | ||
|  | 7db8989cd8 | ||
|  | b047c80768 | ||
|  | d224e597fd | ||
|  | f5956fed06 | ||
|  | 28f6ccbfee | ||
|  | e9aa22f5cf | ||
|  | 2c3fc66b0f | ||
|  | d2ac0f8421 | ||
|  | d20d7c622f | ||
|  | 297306491e | ||
|  | 70f5fefeab | ||
|  | da054f0a2e | ||
|  | ef1a16516f | ||
|  | f570ed36e8 | ||
|  | 8bcd23c0ea | ||
|  | b3d6d582d9 | ||
|  | bfcda76819 | ||
|  | 6a48143b20 | ||
|  | 05ca174df8 | ||
|  | a7349d574d | ||
|  | 3e0a048e28 | ||
|  | 54031da417 | ||
|  | fcedefe815 | ||
|  | c35a27eda6 | ||
|  | b6b8fa27d5 | ||
|  | 59a0aae887 | ||
|  | 0698ce07fd | ||
|  | 77e4dd6c41 | ||
|  | db90eddf31 | ||
|  | a8f060578a | ||
|  | 8621b66203 | ||
|  | cff6be6af0 | ||
|  | 57b4518b61 | ||
|  | de13191674 | ||
|  | 6b609a1877 | ||
|  | 901c536974 | ||
|  | f719caab4b | ||
|  | 6a1e5e9e40 | ||
|  | 4b30c22cfb | ||
|  | 6384d0ea8c | ||
|  | 77f832447e | ||
|  | d7eadd03f2 | ||
|  | c7b55f6edb | ||
|  | 48b98eb55a | ||
|  | 7d318a688c | ||
|  | 93b5b98f23 | ||
|  | f27737158c | ||
|  | 63bcb03abd | ||
|  | 660c91e230 | ||
|  | 594a8c9494 | ||
|  | 83dee56266 | ||
|  | 4e2f3ad68a | ||
|  | 36d1293759 | ||
|  | 6ba75c93e4 | ||
|  | ef8074b9cb | ||
|  | ad5d15b0c3 | ||
|  | aa7d5e4586 | ||
|  | e2c0fda4c9 | ||
|  | b42105fabe | ||
|  | 816665f7d3 | ||
|  | 6e75ea7f37 | ||
|  | 7feea86cf7 | ||
|  | 269405a40f | ||
|  | 062eff98c4 | ||
|  | 6c829d2fd8 | ||
|  | 3be6d0cda0 | ||
|  | 0142113bc6 | ||
|  | e0afa2b4a0 | ||
|  | 270b85ec7c | ||
|  | 6adfca8f52 | ||
|  | 9050569ccc | ||
|  | 7c0a38d265 | ||
|  | f793db8d45 | ||
|  | 4748ec70c5 | ||
|  | eaaae91305 | ||
|  | 54a83d6b2b | ||
|  | 877b7a3634 | ||
|  | bb61ee9465 | ||
|  | 25883ae602 | ||
|  | bf44e062b4 | ||
|  | 10cdd72cf7 | ||
|  | 42e5ad4c59 | ||
|  | 2135f2e4f4 | ||
|  | 2e84fc5cdc | ||
|  | bb60f28b63 | ||
|  | 5cb184505c | ||
|  | f80b8d031e | ||
|  | 8ae6f3b140 | ||
|  | 5f1b5d03ba | ||
|  | ce158a9f48 | ||
|  | 96539567a1 | ||
|  | 0026460c16 | ||
|  | 2b1dda2baa | ||
|  | 8d31910e20 | ||
|  | 7f79f1773d | ||
|  | 3f844bfe60 | ||
|  | 4a5fb81170 | ||
|  | 1ee47045ed | ||
|  | fad5f5505f | ||
|  | b822eb9cbf | ||
|  | c2519f2dff | ||
|  | eff4bb0e2a | ||
|  | d2c9917b7f | ||
|  | acf8d73c0c | ||
|  | 7281db2375 | ||
|  | 2699d51301 | ||
|  | e8c1dad86b | ||
|  | 72b279a107 | ||
|  | 73894c7e37 | ||
|  | 12dee56919 | ||
|  | e9c5709095 | ||
|  | 10358cb317 | ||
|  | 7d6d0b5628 | ||
|  | e6eeff56e3 | ||
|  | 0f3be2fdc4 | ||
|  | 8c1ba088be | ||
|  | 5d5e3c77e1 | ||
|  | 995f677d8f | ||
|  | 8e71e973d6 | ||
|  | c7f1bb9b76 | ||
|  | 3cc1f427ce | ||
|  | 3621be674f | ||
|  | ef1ecd5db3 | ||
|  | a0a0802784 | ||
|  | 3b96bf3c25 | ||
|  | 87c747cb93 | ||
|  | 83b2138b26 | ||
|  | 23a72c1dc5 | ||
|  | 9413d9c4b8 | ||
|  | 78ea495969 | ||
|  | a2c8d5fd37 | ||
|  | 31b5df7f42 | ||
|  | 28a0419d2c | ||
|  | 88214e5a33 | ||
|  | 277f61826f | ||
|  | 447aeea0cb | ||
|  | cc5ba8af0f | ||
|  | 9e62d15576 | ||
|  | eaec63adb8 | ||
|  | 57ca23e4e5 | ||
|  | e97ac5008a | ||
|  | 8c2d17d096 | ||
|  | 7763ad98ad | ||
|  | d6a32fbeae | ||
|  | aeaca51334 | ||
|  | f4d6ff8ee3 | ||
|  | f0a25df38f | ||
|  | 89b25c56e7 | ||
|  | f0f8ed5eca | ||
|  | 793a511bc3 | ||
|  | 22299eaf33 | ||
|  | 8745f94d81 | ||
|  | ecff3c7f8f | ||
|  | 5cee604d51 | ||
|  | f12f9ed047 | ||
|  | 7f4e752b21 | ||
|  | 3ad4aca4a7 | ||
|  | 4fbe7218e6 | ||
|  | 46bc9474a0 | ||
|  | 40ac7b33a1 | ||
|  | 1db56bcfbb | ||
|  | 4612dbe591 | ||
|  | 0a74b9c54b | ||
|  | a10a4d02b4 | ||
|  | 6805ed32fb | ||
|  | 1f2740b01e | ||
|  | 74af696ad5 | ||
|  | ec3c2369bc | ||
|  | c0a6ecec4d | ||
|  | 7169f1147b | ||
|  | 8873af4597 | ||
|  | 859acad27c | ||
|  | 44943e0e14 | ||
|  | 640847416a | ||
|  | 35122db142 | ||
|  | 994ec964d6 | ||
|  | 5508862ba1 | ||
|  | 075a120856 | ||
|  | f34e2e6bbf | ||
|  | 64296c69d3 | ||
|  | f4d250eeb3 | ||
|  | 750c74ae69 | ||
|  | 525dd5ec52 | ||
|  | 89bb8d6496 | ||
|  | a7399db3f1 | ||
|  | 790ab2065c | ||
|  | fa20278727 | ||
|  | f2a4900f18 | ||
|  | fd3afb6354 | ||
|  | 4a4dc82c40 | ||
|  | 54db978b6f | ||
|  | 1a35eda46f | ||
|  | 7d9ab19eef | ||
|  | bdfeae20f2 | ||
|  | 9931ecd577 | ||
|  | 99c2f0fc8d | ||
|  | 58d9228aec | ||
|  | 85738d72ae | ||
|  | 2fe60a3b69 | ||
|  | 06c944a35d | ||
|  | 0f75972616 | ||
|  | f55b08cbf3 | ||
|  | 51814e49d7 | ||
|  | 36d8a00a49 | ||
|  | 1c8ca3b5f9 | ||
|  | 1cbd6992e3 | ||
|  | 1f3a27325b | ||
|  | 890ec772f9 | ||
|  | b072012976 | ||
|  | 8982058a25 | ||
|  | fb95e077e9 | ||
|  | dc08f46909 | ||
|  | 3e6a47d5f7 | ||
|  | aabcfb230f | ||
|  | ee99a660c2 | ||
|  | 5063061a70 | ||
|  | c3ce7bd516 | ||
|  | 95efd96c3e | ||
|  | abf5274c06 | ||
|  | db5d3182bc | ||
|  | 0527c978ce | ||
|  | b36de5dc26 | ||
|  | 92b47e56f7 | ||
|  | fc967f92f3 | ||
|  | 1882bbf0b6 | ||
|  | a3fed1f6f0 | ||
|  | eae0fd1768 | ||
|  | a7a99fc3a2 | ||
|  | fedd80477b | ||
|  | 844d145e09 | ||
|  | a817c14925 | ||
|  | 70e145eceb | ||
|  | 438f11c11d | ||
|  | edf75d1915 | ||
|  | 9de26d9998 | ||
|  | ab5a786197 | ||
|  | 272b613e18 | ||
|  | 35c10e0c7d | ||
|  | 7795adf173 | ||
|  | dca2e5fdab | ||
|  | eb6dcdfa5d | ||
|  | 9f4f788519 | ||
|  | 1d7588e4e4 | ||
|  | 81c476c1bb | ||
|  | db4d457325 | ||
|  | d87245899e | ||
|  | ac6260ab24 | 
							
								
								
									
										49
									
								
								.github/dependabot.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										49
									
								
								.github/dependabot.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,49 @@ | |||||||
|  | version: 2 | ||||||
|  | updates: | ||||||
|  | - package-ecosystem: npm | ||||||
|  |   directory: "/app" | ||||||
|  |   schedule: | ||||||
|  |     interval: daily | ||||||
|  |     time: "20:00" | ||||||
|  |   open-pull-requests-limit: 10 | ||||||
|  |   ignore: | ||||||
|  |   - dependency-name: font-manager | ||||||
|  |     versions: | ||||||
|  |     - "> 0.3.0, < 0.4" | ||||||
|  |   - dependency-name: sweetalert2 | ||||||
|  |     versions: | ||||||
|  |     - 10.14.1 | ||||||
|  |     - 10.15.0 | ||||||
|  |     - 10.15.1 | ||||||
|  |     - 10.15.2 | ||||||
|  |     - 10.15.3 | ||||||
|  |     - 10.15.5 | ||||||
|  |     - 10.15.6 | ||||||
|  |     - 10.16.0 | ||||||
|  |     - 10.16.2 | ||||||
|  |     - 10.16.5 | ||||||
|  |   - dependency-name: electron | ||||||
|  |     versions: | ||||||
|  |     - 11.2.1 | ||||||
|  |     - 12.0.2 | ||||||
|  |     - 12.0.3 | ||||||
|  |     - 12.0.4 | ||||||
|  |   - dependency-name: eslint | ||||||
|  |     versions: | ||||||
|  |     - 7.18.0 | ||||||
|  |     - 7.19.0 | ||||||
|  |     - 7.20.0 | ||||||
|  |     - 7.21.0 | ||||||
|  |     - 7.22.0 | ||||||
|  |     - 7.24.0 | ||||||
|  |   - dependency-name: itunes-nowplaying-mac | ||||||
|  |     versions: | ||||||
|  |     - 0.4.0 | ||||||
|  |   - dependency-name: electron-dl | ||||||
|  |     versions: | ||||||
|  |     - 3.0.3 | ||||||
|  |     - 3.1.0 | ||||||
|  |     - 3.2.0 | ||||||
|  |   - dependency-name: electron-rebuild | ||||||
|  |     versions: | ||||||
|  |     - 2.3.4 | ||||||
							
								
								
									
										43
									
								
								.github/workflows/build-linux.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										43
									
								
								.github/workflows/build-linux.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,43 @@ | |||||||
|  | # This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node | ||||||
|  | # For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions | ||||||
|  |  | ||||||
|  | name: Linux build | ||||||
|  |  | ||||||
|  | on: | ||||||
|  |   release: | ||||||
|  |     types: | ||||||
|  |       - created | ||||||
|  |  | ||||||
|  | jobs: | ||||||
|  |   build: | ||||||
|  |  | ||||||
|  |     runs-on: ubuntu-latest | ||||||
|  |  | ||||||
|  |     strategy: | ||||||
|  |       matrix: | ||||||
|  |         node-version: [14.x] | ||||||
|  |         # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ | ||||||
|  |  | ||||||
|  |     steps: | ||||||
|  |     - uses: actions/checkout@v2 | ||||||
|  |     - uses: actions/setup-node@v2 | ||||||
|  |       with: | ||||||
|  |         node-version: ${{ matrix.node-version }} | ||||||
|  |     - run: cd app && yarn | ||||||
|  |     - run: cd app && yarn build:all | ||||||
|  |     - uses: shogo82148/actions-upload-release-asset@v1 | ||||||
|  |       with: | ||||||
|  |           upload_url: ${{ github.event.release.upload_url }} | ||||||
|  |           asset_path: "build/*.zip" | ||||||
|  |     - uses: shogo82148/actions-upload-release-asset@v1 | ||||||
|  |       with: | ||||||
|  |           upload_url: ${{ github.event.release.upload_url }} | ||||||
|  |           asset_path: "build/*.snap" | ||||||
|  |     - uses: shogo82148/actions-upload-release-asset@v1 | ||||||
|  |       with: | ||||||
|  |           upload_url: ${{ github.event.release.upload_url }} | ||||||
|  |           asset_path: "build/*.deb" | ||||||
|  |     - uses: shogo82148/actions-upload-release-asset@v1 | ||||||
|  |       with: | ||||||
|  |           upload_url: ${{ github.event.release.upload_url }} | ||||||
|  |           asset_path: "build/*.AppImage" | ||||||
							
								
								
									
										42
									
								
								.github/workflows/build-macos.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										42
									
								
								.github/workflows/build-macos.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,42 @@ | |||||||
|  | # This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node | ||||||
|  | # For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions | ||||||
|  |  | ||||||
|  | name: macOS build | ||||||
|  |  | ||||||
|  | on: | ||||||
|  |   release: | ||||||
|  |     types: | ||||||
|  |       - created | ||||||
|  |  | ||||||
|  | jobs: | ||||||
|  |   build: | ||||||
|  |  | ||||||
|  |     runs-on: macos-latest | ||||||
|  |     environment: | ||||||
|  |       name: build | ||||||
|  |     env:  | ||||||
|  |       APPLEID: ${{ secrets.APPLEID }} | ||||||
|  |       APPLEIDPASS: ${{ secrets.APPLEIDPASS }} | ||||||
|  |       CSC_KEY_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }} | ||||||
|  |       CSC_LINK: ${{ secrets.CSC_LINK}} | ||||||
|  |  | ||||||
|  |     strategy: | ||||||
|  |       matrix: | ||||||
|  |         node-version: [14.x] | ||||||
|  |         # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ | ||||||
|  |  | ||||||
|  |     steps: | ||||||
|  |     - uses: actions/checkout@v2 | ||||||
|  |     - uses: actions/setup-node@v2 | ||||||
|  |       with: | ||||||
|  |         node-version: ${{ matrix.node-version }} | ||||||
|  |     - run: cd app && yarn | ||||||
|  |     - run: cd app && yarn build:all | ||||||
|  |     - uses: shogo82148/actions-upload-release-asset@v1 | ||||||
|  |       with: | ||||||
|  |           upload_url: ${{ github.event.release.upload_url }} | ||||||
|  |           asset_path: "build/*.zip" | ||||||
|  |     - uses: shogo82148/actions-upload-release-asset@v1 | ||||||
|  |       with: | ||||||
|  |           upload_url: ${{ github.event.release.upload_url }} | ||||||
|  |           asset_path: "build/*.dmg" | ||||||
							
								
								
									
										35
									
								
								.github/workflows/build.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										35
									
								
								.github/workflows/build.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,35 @@ | |||||||
|  | # This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node | ||||||
|  | # For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions | ||||||
|  |  | ||||||
|  | name: Windows build | ||||||
|  |  | ||||||
|  | on: | ||||||
|  |   release: | ||||||
|  |     types: | ||||||
|  |       - created | ||||||
|  |  | ||||||
|  | jobs: | ||||||
|  |   build: | ||||||
|  |  | ||||||
|  |     runs-on: windows-latest | ||||||
|  |  | ||||||
|  |     strategy: | ||||||
|  |       matrix: | ||||||
|  |         node-version: [14.x] | ||||||
|  |         # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ | ||||||
|  |  | ||||||
|  |     steps: | ||||||
|  |     - uses: actions/checkout@v2 | ||||||
|  |     - uses: actions/setup-node@v2 | ||||||
|  |       with: | ||||||
|  |         node-version: ${{ matrix.node-version }} | ||||||
|  |     - run: cd app && yarn | ||||||
|  |     - run: cd app && yarn build:all | ||||||
|  |     - uses: shogo82148/actions-upload-release-asset@v1 | ||||||
|  |       with: | ||||||
|  |           upload_url: ${{ github.event.release.upload_url }} | ||||||
|  |           asset_path: "build/*.exe" | ||||||
|  |     - uses: shogo82148/actions-upload-release-asset@v1 | ||||||
|  |       with: | ||||||
|  |           upload_url: ${{ github.event.release.upload_url }} | ||||||
|  |           asset_path: "build/*.appx" | ||||||
							
								
								
									
										16
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										16
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							| @@ -20,7 +20,23 @@ app/view/bg | |||||||
| app/view/cs | app/view/cs | ||||||
| app/view/ps | app/view/ps | ||||||
| app/view/es-AR | app/view/es-AR | ||||||
|  | app/view/it-IT | ||||||
|  | app/view/pl-PL | ||||||
| app/git | app/git | ||||||
| *.code-workspace | *.code-workspace | ||||||
| releasenote.md | releasenote.md | ||||||
| app/yarn-error.log | app/yarn-error.log | ||||||
|  | app/js/platform/native.js | ||||||
|  | app/view/es-ES | ||||||
|  | app/view/fr-FR | ||||||
|  | app/view/no-NO | ||||||
|  | app/view/zh-CN | ||||||
|  | app/view/ru-RU | ||||||
|  | app/view/zh-TW | ||||||
|  | app/view/pt-BR | ||||||
|  | app/view/si-LK | ||||||
|  | app/build.js | ||||||
|  | app/view/make/make.js | ||||||
|  | app/view/make/makeCli.ts | ||||||
|  | app/.env | ||||||
|  | app/view/make/index.generated.html | ||||||
							
								
								
									
										8
									
								
								.prettierrc
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								.prettierrc
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,8 @@ | |||||||
|  | { | ||||||
|  |     "tabWidth": 4, | ||||||
|  |     "useTabs": true, | ||||||
|  |     "semi": false, | ||||||
|  |     "singleQuote": true, | ||||||
|  |     "printWidth": 200, | ||||||
|  |     "jsxBracketSameLine": true | ||||||
|  | } | ||||||
							
								
								
									
										48
									
								
								.travis.yml
									
									
									
									
									
								
							
							
						
						
									
										48
									
								
								.travis.yml
									
									
									
									
									
								
							| @@ -1,53 +1,19 @@ | |||||||
| os:  | matrix: | ||||||
|  - windows |   include: | ||||||
|  - linux |   - os: osx | ||||||
|  - osx |     osx_image: xcode11.3 | ||||||
| language: node_js | language: node_js | ||||||
| env: | env: | ||||||
|   - YARN_GPG=no |   - YARN_GPG=no | ||||||
| node_js: | node_js: | ||||||
| - '10.15.2' | - '14.16.1' | ||||||
| cache: | cache: | ||||||
|   yarn: true |   yarn: true | ||||||
| script: node -v | script: node -v | ||||||
| before_deploy: | before_deploy: | ||||||
|   - yarn global add electron-builder |  | ||||||
|   - cd app |   - cd app | ||||||
|   - VERSION=$(cat package.json | grep version | head -1 | awk -F= "{ print $2 }" | sed 's/[version:,\",]//g' | tr -d '[[:space:]]') |   - yarn | ||||||
|   - yarn install --no-lockfile --prod |   - yarn build:all | ||||||
|   - yarn construct:store |  | ||||||
|   - if [ "$TRAVIS_OS_NAME" = "osx" ];then electron-builder --mac -p never;else :;fi |  | ||||||
|   - if [ "$TRAVIS_OS_NAME" = "osx" ];then cd ../build;else :;fi |  | ||||||
|   - if [ "$TRAVIS_OS_NAME" = "osx" ];then mv *.dmg TheDesk-$VERSION-store.dmg;else :;fi |  | ||||||
|   - if [ "$TRAVIS_OS_NAME" = "osx" ];then cd ../app;else :;fi |  | ||||||
|   - if [ "$TRAVIS_OS_NAME" = "linux" ];then electron-builder --linux snap:x64 -p never;else :;fi |  | ||||||
|   - if [ "$TRAVIS_OS_NAME" = "linux" ];then cd ../build;else :;fi |  | ||||||
|   - if [ "$TRAVIS_OS_NAME" = "linux" ];then mv *.snap TheDesk-$VERSION-store.snap;else :;fi |  | ||||||
|   - if [ "$TRAVIS_OS_NAME" = "linux" ];then cd ../app;else :;fi |  | ||||||
|   - if [ "$TRAVIS_OS_NAME" = "windows" ];then yarn add electron-builder;else :;fi |  | ||||||
|   - if [ "$TRAVIS_OS_NAME" = "windows" ];then electron-builder --win appx:x64 -p never ;else :;fi |  | ||||||
|   - if [ "$TRAVIS_OS_NAME" = "windows" ];then cd ../build;else :;fi |  | ||||||
|   - if [ "$TRAVIS_OS_NAME" = "windows" ];then mv *.appx TheDesk-$VERSION-store.appx;else :;fi |  | ||||||
|   - if [ "$TRAVIS_OS_NAME" = "windows" ];then cd ../app;else :;fi |  | ||||||
|   - yarn construct |  | ||||||
|   - if [ "$TRAVIS_OS_NAME" = "osx" ];then electron-builder --mac -p never;else :;fi |  | ||||||
|   - if [ "$TRAVIS_OS_NAME" = "linux" ];then electron-builder --linux --x64 -p never;else :;fi |  | ||||||
|   - if [ "$TRAVIS_OS_NAME" = "linux" ];then cd ../build;else :;fi |  | ||||||
|   - if [ "$TRAVIS_OS_NAME" = "linux" ];then ls;else :;fi |  | ||||||
|   - if [ "$TRAVIS_OS_NAME" = "linux" ];then mv thedesk-*.zip thedesk.zip;else :;fi |  | ||||||
|   - if [ "$TRAVIS_OS_NAME" = "linux" ];then cd ../app;else :;fi |  | ||||||
|   - if [ "$TRAVIS_OS_NAME" = "windows" ];then electron-builder --win --ia32 -p never;else :;fi |  | ||||||
|   - if [ "$TRAVIS_OS_NAME" = "windows" ];then cd ../build;else :;fi |  | ||||||
|   - if [ "$TRAVIS_OS_NAME" = "windows" ];then ls;else :;fi |  | ||||||
|   - if [ "$TRAVIS_OS_NAME" = "windows" ];then mv TheDesk-setup.exe TheDesk-setup-ia32.exe;else :;fi |  | ||||||
|   - if [ "$TRAVIS_OS_NAME" = "windows" ];then mv *$VERSION.exe TheDesk-ia32.exe;else :;fi |  | ||||||
|   - if [ "$TRAVIS_OS_NAME" = "windows" ];then cd ../app;else :;fi |  | ||||||
|   - if [ "$TRAVIS_OS_NAME" = "windows" ];then electron-builder --win --x64 -p never;else :;fi |  | ||||||
|   - if [ "$TRAVIS_OS_NAME" = "windows" ];then cd ../build;else :;fi |  | ||||||
|   - if [ "$TRAVIS_OS_NAME" = "windows" ];then ls;else :;fi |  | ||||||
|   - if [ "$TRAVIS_OS_NAME" = "windows" ];then mv ../build/TheDesk-setup.exe ../build/TheDesk-setup.exe;else :;fi |  | ||||||
|   - if [ "$TRAVIS_OS_NAME" = "windows" ];then mv ../build/*$VERSION.exe ../build/TheDesk.exe;else :;fi |  | ||||||
|   - if [ "$TRAVIS_OS_NAME" = "windows" ];then cd ../app;else :;fi |  | ||||||
|   - cd ../ |   - cd ../ | ||||||
|   - ls build |   - ls build | ||||||
| deploy: | deploy: | ||||||
|   | |||||||
							
								
								
									
										175
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										175
									
								
								README.md
									
									
									
									
									
								
							| @@ -1,9 +1,14 @@ | |||||||
| <img src="https://thedesk.top/img/top.png" width="300" align="left"> |  **English** | [日本語](README_ja.md) | ||||||
| <img src="https://thedesk.top/img/desk.png" width="150" align="right"> |  | ||||||
|   |   | ||||||
| # TheDesk | <div align="center"> | ||||||
|  |  | ||||||
| [](https://travis-ci.org/cutls/TheDesk) | <img src="https://thedesk.top/img/desk.png" width="150" align="center"> | ||||||
|  |  | ||||||
|  | <h1 align="center">TheDesk</h1> | ||||||
|  |  | ||||||
|  | [](https://github.com/cutls/TheDesk/actions/workflows/build.yml) | ||||||
|  | [](https://github.com/cutls/TheDesk/actions/workflows/build-linux.yml) | ||||||
|  | [](https://github.com/cutls/TheDesk/actions/workflows/build-macos.yml)   | ||||||
| [](https://translate.thedesk.top/project/thedesk) | [](https://translate.thedesk.top/project/thedesk) | ||||||
| [](https://bit.ly/31zqMmZ) | [](https://bit.ly/31zqMmZ) | ||||||
| [](https://github.com/cutls/TheDesk/releases) | [](https://github.com/cutls/TheDesk/releases) | ||||||
| @@ -11,160 +16,40 @@ | |||||||
| Mastodon/Misskey client for PC(Windows/Linux/macOS)   | Mastodon/Misskey client for PC(Windows/Linux/macOS)   | ||||||
| オープンソースSNSマストドン/MisskeyのPC向けクライアント[日本語はこちら](README_ja.md)   | オープンソースSNSマストドン/MisskeyのPC向けクライアント[日本語はこちら](README_ja.md)   | ||||||
|    |    | ||||||
| Download:[TheDesk](https://thedesk.top) [](https://status.cutls.com) | [](https://thedesk.top) | ||||||
|  |  | ||||||
| On GitHub Releases, `-store.*` assets are made for some application store or manager(Snapcraft, Homebrew, Microsoft Store).  | </div> | ||||||
| They do not check the latest version(Which you can get the latest ver or not depends on the store) |  | ||||||
|  |  | ||||||
| <a href="https://www.patreon.com/cutls"><img src="https://c5.patreon.com/external/logo/become_a_patron_button@2x.png" alt="Become a Patron!" width="160"></a>   |  | ||||||
| <a href="https://liberapay.com/cutls/donate"><img alt="Donate using Liberapay" src="https://liberapay.com/assets/widgets/donate.svg"></a> |  | ||||||
|    |    | ||||||
|  |  | ||||||
| ## License | ## Build and Development | ||||||
|  |  | ||||||
| [GNU General Public License v3.0](https://github.com/cutls/TheDesk/blob/master/LICENSE)   | See [Wiki](https://github.com/cutls/TheDesk/wiki) | ||||||
|  |  | ||||||
| The icon is provided under [Creative Commons BY-NC-SA](https://creativecommons.org/licenses/by-nc-sa/4.0/) | ## Translation | ||||||
| [Press Kit](https://d2upiril6ywqp9.cloudfront.net/press/TheDesk+PressKit.zip)   |  | ||||||
|  |  | ||||||
| * [PNG 512x512](https://d2upiril6ywqp9.cloudfront.net/press/thedesk.png) |  | ||||||
| * [SVG 4095x4096](https://d2upiril6ywqp9.cloudfront.net/press/thedesk-fullcolor.svg) |  | ||||||
| * [ico 256x256](https://d2upiril6ywqp9.cloudfront.net/press/thedesk.ico) |  | ||||||
| * [icns old](https://d2upiril6ywqp9.cloudfront.net/press/thedesk.icns) |  | ||||||
|  |  | ||||||
| The default sounds of notifications is provided [Creative Commons BY](https://creativecommons.org/licenses/by/4.0/) |  | ||||||
|  |  | ||||||
| ## Terms of Use |  | ||||||
|  |  | ||||||
| * [利用規約(Terms of Use(ja))](https://thedesk.top/tos.html) |  | ||||||
| * [プライバシーポリシー(Privacy Policy(ja))](https://thedesk.top/priv.html) |  | ||||||
|  |  | ||||||
| ## Language |  | ||||||
|  |  | ||||||
| * 日本語(Japanese) |  | ||||||
| * English |  | ||||||
| * de, cs, bg(from Crowdin) |  | ||||||
|  |  | ||||||
| ### Translation |  | ||||||
|  |  | ||||||
| Crowdin project is available! Visit: https://translate.thedesk.top | Crowdin project is available! Visit: https://translate.thedesk.top | ||||||
|  |  | ||||||
| ### Run on developer mode |  | ||||||
|  |  | ||||||
| `npm run dev` on `app` folder. |  | ||||||
|  |  | ||||||
| ## Contributors |  | ||||||
|  |  | ||||||
| Build for macOS   |  | ||||||
|  |  | ||||||
| * [toneji](https://minohdon.jp/@toneji) |  | ||||||
|  |  | ||||||
| Build for Linux   |  | ||||||
|  |  | ||||||
| * [popn_ja](https://popon.pptdn.jp/@popn_ja) |  | ||||||
|  |  | ||||||
| Fellow coder |  | ||||||
|  |  | ||||||
| * [kPherox](https://pl.kpherox.dev/kPherox) |  | ||||||
|  |  | ||||||
| ## Build |  | ||||||
|  |  | ||||||
| You have to use either **npm** or **yarn**. Whichever you use, it works well. |  | ||||||
|  |  | ||||||
| ### npm |  | ||||||
|  |  | ||||||
| ```sh |  | ||||||
| git clone https://github.com/cutls/TheDesk |  | ||||||
| cd TheDesk/app |  | ||||||
| npm install |  | ||||||
| npm install --only=dev |  | ||||||
| npm run construct |  | ||||||
| ``` |  | ||||||
|  |  | ||||||
| ### yarn |  | ||||||
|  |  | ||||||
| ```sh |  | ||||||
| git clone https://github.com/cutls/TheDesk |  | ||||||
| cd TheDesk/app |  | ||||||
| # Linux or macOS |  | ||||||
| yarn install --no-lockfile |  | ||||||
| # Windows |  | ||||||
| yarn install |  | ||||||
|  |  | ||||||
| yarn construct |  | ||||||
| ``` |  | ||||||
|  |  | ||||||
| run `npm run dev` or `yarn dev` to launch developer version with console(click `view`) |  | ||||||
|  |  | ||||||
| ### electron-builder(Recommended) |  | ||||||
| Use scripts(they can work well with npm, **yarn**).   |  | ||||||
|  |  | ||||||
| #### npm |  | ||||||
|  |  | ||||||
| ```sh |  | ||||||
| # Build for current platform |  | ||||||
| npm run build |  | ||||||
|  |  | ||||||
| # Select build target |  | ||||||
| ## Windows |  | ||||||
| npm run build:win |  | ||||||
|  |  | ||||||
| ## Windows and Linux (The macOS target should run on macOS. So, this option hasn't include the build for macOS) |  | ||||||
| npm run build:all |  | ||||||
| ``` |  | ||||||
|  |  | ||||||
| #### yarn |  | ||||||
|  |  | ||||||
| ```sh |  | ||||||
| # Build for current platform |  | ||||||
| yarn build |  | ||||||
|  |  | ||||||
| # Select build target |  | ||||||
| ## Windows |  | ||||||
| yarn build:win |  | ||||||
|  |  | ||||||
| ## Windows and Linux (The macOS target should run on macOS. So, this option hasn't include the build for macOS) |  | ||||||
| yarn build:all |  | ||||||
| ``` |  | ||||||
|  |  | ||||||
|  |  | ||||||
| Config is all on package.json   |  | ||||||
|  |  | ||||||
| ### electron-packager |  | ||||||
| `npm install --save-dev electron-rebuild`   |  | ||||||
|    |  | ||||||
| Linux/macOS   |  | ||||||
| `./node_modules/.bin/electron-rebuild`   |  | ||||||
| Windows   |  | ||||||
| `.\node_modules\.bin\electron-rebuild.cmd`   |  | ||||||
|    |  | ||||||
| To install Python 2.x and Visual C++ for Windows, before running `npm install --save-dev electron-rebuild`   |  | ||||||
| `npm install --global windows-build-tools`   |  | ||||||
|  |  | ||||||
| Windows   |  | ||||||
| `electron-packager ./app TheDesk --executable-name="TheDesk" --app-copyright="Copyright (c) TheDesk 2018 Cutls.com 2015 All Right Reserved" --win32metadata.CompanyName="TheDesk&Cutls.com" --win32metadata.FileDescription="TheDesk" --win32metadata.OriginalFilename="TheDesk" --win32metadata.InternalName="TheDesk" --win32metadata.ProductName="TheDesk" --platform=win32 --arch=all --electron-version=4.0.5 --icon=.\app\thedesk.ico --overwrite`   |  | ||||||
| Linux   |  | ||||||
| `electron-packager ./app TheDesk --executable-name="TheDesk" --app-copyright="Copyright (c) TheDesk 2018 Cutls.com 2015 All Right Reserved" --platform=linux --arch=x64,ia32 --electron-version=4.0.5 --overwrite`   |  | ||||||
| macOS   |  | ||||||
| `electron-packager ./app TheDesk --executable-name="TheDesk" --app-copyright="Copyright (c) TheDesk 2018 Cutls.com 2015 All Right Reserved" --platform=darwin --arch=all --electron-version=4.0.5 --icon=./app/icon.icns --overwrite`   |  | ||||||
|  |  | ||||||
| ### PWA support |  | ||||||
|  |  | ||||||
| TheDesk is a wed-based app, so you can run it on a browser. Of course, the main stream is as Electron. Some features won't work as well as Electron. |  | ||||||
|  |  | ||||||
| You can run `npm run build:pwa` to build as PWA, including `manifest.json` and the ServiceWorker. |  | ||||||
|  |  | ||||||
| **You have to rename `node_modules` to `dependencies` to run as a web application. (restricted by Netlify)** |  | ||||||
|  |  | ||||||
| Check the app on Chrome or Firefox: [Here](https://app.thedesk.top) (it follows the `master` branch, so not stable.)   |  | ||||||
| [](https://app.netlify.com/sites/thedesk/deploys) |  | ||||||
|  |  | ||||||
| ## Pleroma support | ## Pleroma support | ||||||
|  |  | ||||||
| Did you find a bug with Pleroma accounts?   | Did you find a bug with Pleroma accounts?   | ||||||
| Pleroma **does not** follow Mastodon API rules completely although Pleroma developers say so.   | Pleroma **does not** follow Mastodon API rules completely although Pleroma developers say so.   | ||||||
| Please write issues to improve TheDesk affinity with Pleroma. | Please write issues to improve TheDesk affinity with Pleroma. | ||||||
|  |  | ||||||
| ## Vulnerabilities when `npm i`??? | ## License | ||||||
|  |  | ||||||
| No, if your npm says materialize-css has vulnerabilities(CVE-2019-11002/3/4), look at [here](https://github.com/Dogfalo/materialize/issues/6286) under discussion. | * [GNU General Public License v3.0](https://github.com/cutls/TheDesk/blob/master/LICENSE) | ||||||
|  | * [License of other assets](https://github.com/cutls/TheDesk/wiki/License-of-other-assets) | ||||||
|  | * [プライバシーポリシー(Privacy Policy(ja))](https://thedesk.top/priv.html) | ||||||
|  |  | ||||||
|  | ## Contributors | ||||||
|  |  | ||||||
|  | [](https://github.com/cutls/TheDesk/graphs/contributors) | ||||||
|  |  | ||||||
|  | ## Support | ||||||
|  |  | ||||||
|  | <a href="https://www.patreon.com/cutls"><img src="https://c5.patreon.com/external/logo/become_a_patron_button@2x.png" alt="Become a Patron!" height="30"></a> | ||||||
|  | <a href="https://liberapay.com/cutls/donate"><img alt="Donate using Liberapay" src="https://liberapay.com/assets/widgets/donate.svg" height="30"></a> | ||||||
|  | <a href="https://cutls.fanbox.cc"><img alt="PixivFANBOX" src="https://thedesk.top/img/fanbox.png" height="30"></a> | ||||||
|  |  | ||||||
|  | Or [others](https://cutls.dev) to support me. | ||||||
|   | |||||||
							
								
								
									
										180
									
								
								README_ja.md
									
									
									
									
									
								
							
							
						
						
									
										180
									
								
								README_ja.md
									
									
									
									
									
								
							| @@ -1,173 +1,59 @@ | |||||||
| <img src="https://thedesk.top/img/top.png" width="300" align="left"> | [English](README.md) | **日本語** | ||||||
| <img src="https://thedesk.top/img/desk.png" width="150" align="right"> |  | ||||||
|   |   | ||||||
| # TheDesk | <div align="center"> | ||||||
|  |  | ||||||
| [](https://travis-ci.org/cutls/TheDesk) | <img src="https://thedesk.top/img/desk.png" width="150" align="center"> | ||||||
|  |  | ||||||
|  | <h1 align="center">TheDesk</h1> | ||||||
|  |  | ||||||
|  | [](https://github.com/cutls/TheDesk/actions/workflows/build.yml) | ||||||
|  | [](https://github.com/cutls/TheDesk/actions/workflows/build-linux.yml) | ||||||
|  | [](https://github.com/cutls/TheDesk/actions/workflows/build-macos.yml)   | ||||||
| [](https://translate.thedesk.top/project/thedesk) | [](https://translate.thedesk.top/project/thedesk) | ||||||
| [](https://bit.ly/31zqMmZ) | [](https://bit.ly/31zqMmZ) | ||||||
| [](https://github.com/cutls/TheDesk/releases) | [](https://github.com/cutls/TheDesk/releases) | ||||||
|    |    | ||||||
| Mastodon/Misskey client for PC(Windows/Linux/macOS)   | Mastodon/Misskey client for PC(Windows/Linux/macOS)   | ||||||
| オープンソースSNSマストドン/MisskeyのPC向けクライアント   | オープンソースSNSマストドン/MisskeyのPC向けクライアント   | ||||||
| Download:[TheDesk](https://thedesk.top) [](https://status.cutls.com)     |  | ||||||
|  |  | ||||||
| [Pixiv FANBOX](https://www.pixiv.net/fanbox/creator/28105985) | [](https://thedesk.top) | ||||||
|  |  | ||||||
| `-store.*`とあるアセットはストアやパッケージマネージャ向けのもので、アップデートの確認をソフト本体で行いません。 | </div> | ||||||
|  |  | ||||||
|    |    | ||||||
|  |  | ||||||
| ## ライセンス | ## 翻訳 | ||||||
|  |  | ||||||
| [GNU General Public License v3.0](https://github.com/cutls/TheDesk/blob/master/LICENSE)   |  | ||||||
|  |  | ||||||
| アイコンは[クリエイティブ・コモンズ 表示-非営利-継承](https://creativecommons.org/licenses/by-nc-sa/4.0/)で提供されています。   |  | ||||||
| [プレスキット](https://d2upiril6ywqp9.cloudfront.net/press/TheDesk+PressKit.zip)   |  | ||||||
|  |  | ||||||
| * [PNG 512x512](https://d2upiril6ywqp9.cloudfront.net/press/thedesk.png) |  | ||||||
| * [SVG 4095x4096](https://d2upiril6ywqp9.cloudfront.net/press/thedesk-fullcolor.svg) |  | ||||||
| * [ico 256x256](https://d2upiril6ywqp9.cloudfront.net/press/thedesk.ico) |  | ||||||
| * [icns old](https://d2upiril6ywqp9.cloudfront.net/press/thedesk.icns) |  | ||||||
| * [Illustrator .ai](https://d2upiril6ywqp9.cloudfront.net/press/thedesk.ai) |  | ||||||
|  |  | ||||||
| 標準の通知音は [Creative Commons BY](https://creativecommons.org/licenses/by/4.0/) で提供されています。 |  | ||||||
|  |  | ||||||
| ## 利用規約 |  | ||||||
|  |  | ||||||
| * [利用規約](https://thedesk.top/tos.html) |  | ||||||
| * [プライバシーポリシー](https://thedesk.top/priv.html) |  | ||||||
|  |  | ||||||
| ## 言語 |  | ||||||
|  |  | ||||||
| * 日本語 |  | ||||||
| * English(英語) |  | ||||||
| * ドイツ語, チェコ語, ブルガリア語(from Crowdin) |  | ||||||
|  |  | ||||||
| ### 翻訳 |  | ||||||
|    |    | ||||||
| Crowdinから翻訳に参加してみませんか?: https://translate.thedesk.top   | Crowdinから翻訳に参加してみませんか?: https://translate.thedesk.top   | ||||||
|  |  | ||||||
| ### デベロッパーモード | ## ビルドと開発 | ||||||
|  |  | ||||||
| `npm run dev`を`app`フォルダ内で実行 | [Wiki](https://github.com/cutls/TheDesk/wiki)を参照。 | ||||||
|  |  | ||||||
| ## 主なコントリビューター |  | ||||||
|  |  | ||||||
| macOSビルダー   |  | ||||||
|  |  | ||||||
| * [とねぢ](https://minohdon.jp/@toneji) |  | ||||||
|  |  | ||||||
| Linuxビルダー   |  | ||||||
|  |  | ||||||
| * [ぽぷんじゃ](https://popon.pptdn.jp/@popn_ja) |  | ||||||
|  |  | ||||||
| コーダー |  | ||||||
|  |  | ||||||
| * [kPherox](https://pl.kpherox.dev/kPherox) |  | ||||||
|  |  | ||||||
| ## ビルド |  | ||||||
|  |  | ||||||
| npmでもyarnでも好きな方を選んでください。 |  | ||||||
|  |  | ||||||
| ### npm |  | ||||||
|  |  | ||||||
| ```sh |  | ||||||
| git clone https://github.com/cutls/TheDesk |  | ||||||
| cd TheDesk/app |  | ||||||
| npm install |  | ||||||
| npm install --only=dev |  | ||||||
| npm run construct |  | ||||||
| ``` |  | ||||||
|  |  | ||||||
| ### yarn |  | ||||||
|  |  | ||||||
| ```sh |  | ||||||
| git clone https://github.com/cutls/TheDesk |  | ||||||
| cd TheDesk/app |  | ||||||
| # Linux or macOS |  | ||||||
| yarn install --no-lockfile |  | ||||||
| # Windows |  | ||||||
| yarn install |  | ||||||
|  |  | ||||||
| yarn construct |  | ||||||
| ``` |  | ||||||
|  |  | ||||||
| ### electron-builder(推奨) |  | ||||||
|  |  | ||||||
| scriptsを利用します |  | ||||||
|  |  | ||||||
| #### npm |  | ||||||
|  |  | ||||||
| ```sh |  | ||||||
| # 実行している環境向けにビルド |  | ||||||
| npm run build |  | ||||||
|  |  | ||||||
| # ターゲットを指定してビルド |  | ||||||
| ## Windows |  | ||||||
| npm run build:win |  | ||||||
|  |  | ||||||
| ## macOS向けのビルドにはmacOSで実行する必要があるためこのコマンドではビルドされません |  | ||||||
| npm run build:all |  | ||||||
| ``` |  | ||||||
|  |  | ||||||
| #### yarn |  | ||||||
|  |  | ||||||
| ```sh |  | ||||||
| # 実行している環境向けにビルド |  | ||||||
| yarn build |  | ||||||
|  |  | ||||||
| # ターゲットを指定してビルド |  | ||||||
| ## Windows |  | ||||||
| yarn build:win |  | ||||||
|  |  | ||||||
| ## macOS向けのビルドにはmacOSで実行する必要があるためこのコマンドではビルドされません |  | ||||||
| yarn build:all |  | ||||||
| ``` |  | ||||||
|  |  | ||||||
| ビルド設定はすべてpackage.jsonに記載しています。   |  | ||||||
|  |  | ||||||
| ### electron-packager(非推奨) |  | ||||||
| `npm install --save-dev electron-rebuild`   |  | ||||||
|    |  | ||||||
| Linux/macOS   |  | ||||||
| `./node_modules/.bin/electron-rebuild`   |  | ||||||
| Windows   |  | ||||||
| `.\node_modules\.bin\electron-rebuild.cmd`   |  | ||||||
|    |  | ||||||
| WindowsでPython 2.xやVisualC++を一発でインストールできるツールもあります(`npm install --save-dev electron-rebuild`の前に)   |  | ||||||
| `npm install --global windows-build-tools`   |  | ||||||
|    |  | ||||||
| 日本語話者向けですが、macOSビルドにはXCodeが要るとの情報があります。([とねぢ](https://minohdon.jp/@toneji)氏談)   |  | ||||||
|  |  | ||||||
| Windows   |  | ||||||
| `electron-packager ./app TheDesk --executable-name="TheDesk" --app-copyright="Copyright (c) TheDesk 2018 Cutls.com 2015 All Right Reserved" --win32metadata.CompanyName="TheDesk&Cutls.com" --win32metadata.FileDescription="TheDesk" --win32metadata.OriginalFilename="TheDesk" --win32metadata.InternalName="TheDesk" --win32metadata.ProductName="TheDesk" --platform=win32 --arch=all --electron-version=4.0.5 --icon=.\app\thedesk.ico --overwrite`   |  | ||||||
| Linux   |  | ||||||
| `electron-packager ./app TheDesk --executable-name="TheDesk" --app-copyright="Copyright (c) TheDesk 2018 Cutls.com 2015 All Right Reserved" --platform=linux --arch=x64,ia32 --electron-version=4.0.5 --overwrite`   |  | ||||||
| macOS   |  | ||||||
| `electron-packager ./app TheDesk --executable-name="TheDesk" --app-copyright="Copyright (c) TheDesk 2018 Cutls.com 2015 All Right Reserved" --platform=darwin --arch=all --electron-version=4.0.5 --icon=./app/icon.icns --overwrite`   |  | ||||||
|  |  | ||||||
| ### PWAとして実行 |  | ||||||
|  |  | ||||||
| TheDeskはウェブ技術を使用して作られているので、ブラウザで動かすこともできます。もちろん、Electron向けに設計されているので一部機能は動きません。 |  | ||||||
|  |  | ||||||
| `npm run build:pwa`でビルドできます。PWAに必要な`manifest.json`やサービスワーカーなども要員されています。 |  | ||||||
|  |  | ||||||
| **`node_modules`を`dependencies`にリネームしないと動きません。(Netlifyの制限です)** |  | ||||||
|  |  | ||||||
| ChromeまたはFirefoxでチェック: [こちら](https://app.thedesk.top) (`master`ブランチに追従しています。不安定です。)   |  | ||||||
| [](https://app.netlify.com/sites/thedesk/deploys) |  | ||||||
|  |  | ||||||
| ## Pleromaのサポート | ## Pleromaのサポート | ||||||
|  |  | ||||||
| Pleromaは、Mastodon APIとの互換性を謳っていますが、実際には様々な差異があり、TheDeskで不具合が発生することがあります。   | Pleromaは、Mastodon APIとの互換性を謳っていますが、実際には様々な差異があり、TheDeskで不具合が発生することがあります。   | ||||||
| Issuesに書いてある問題についてはなるべく対処しますので、ぜひお知らせください。 | Issuesに書いてある問題についてはなるべく対処しますので、ぜひお知らせください。 | ||||||
|  |  | ||||||
| ## 詳しく | ## よみもの | ||||||
|  |  | ||||||
| [TheDesk - マストドン日本語ウィキ](https://ja.mstdn.wiki/TheDesk) | * [TheDesk - マストドン日本語ウィキ](https://ja.mstdn.wiki/TheDesk) | ||||||
|  | * [TheDeskを作って思う今クライアントを作る意味 | Cutls Code Archives ](https://code.cutls.com/thedesk-log/) | ||||||
|  |  | ||||||
| ## `npm i`したら脆弱性あるって言われた | ## ライセンス | ||||||
|  |  | ||||||
| materialize-cssの脆弱性(CVE-2019-11002/3/4)については[こちら](https://github.com/Dogfalo/materialize/issues/6286)で本当に脆弱性かどうか議論しています。   | * [GNU General Public License v3.0](https://github.com/cutls/TheDesk/blob/master/LICENSE) | ||||||
| 実際には害が無いものと思われます。 | * [License of other assets](https://github.com/cutls/TheDesk/wiki/License-of-other-assets) | ||||||
|  | * [プライバシーポリシー](https://thedesk.top/priv.html) | ||||||
|  |  | ||||||
|  | ## 主なコントリビューター | ||||||
|  |  | ||||||
|  | [](https://github.com/cutls/TheDesk/graphs/contributors) | ||||||
|  |  | ||||||
|  | ## 支援 | ||||||
|  |  | ||||||
|  | <a href="https://www.patreon.com/cutls"><img src="https://c5.patreon.com/external/logo/become_a_patron_button@2x.png" alt="Become a Patron!" height="30"></a> | ||||||
|  | <a href="https://liberapay.com/cutls/donate"><img alt="Donate using Liberapay" src="https://liberapay.com/assets/widgets/donate.svg" height="30"></a> | ||||||
|  | <a href="https://cutls.fanbox.cc"><img alt="PixivFANBOX" src="https://thedesk.top/img/fanbox.png" height="30"></a> | ||||||
|  |  | ||||||
|  | [その他の支援法](https://cutls.dev) | ||||||
| @@ -1,6 +1,7 @@ | |||||||
| <!DOCTYPE html> | <!DOCTYPE html> | ||||||
| <html lang="ja"> | <html lang="ja"> | ||||||
| 	<head> |  | ||||||
|  | <head> | ||||||
|     <title>TheDesk</title> |     <title>TheDesk</title> | ||||||
|     <meta content="width=device-width,initial-scale=1.0" name="viewport" /> |     <meta content="width=device-width,initial-scale=1.0" name="viewport" /> | ||||||
|     <link href="./node_modules/materialize-css/dist/css/materialize.css" type="text/css" rel="stylesheet" /> |     <link href="./node_modules/materialize-css/dist/css/materialize.css" type="text/css" rel="stylesheet" /> | ||||||
| @@ -81,13 +82,13 @@ | |||||||
|             grid-area: data6; |             grid-area: data6; | ||||||
|         } |         } | ||||||
|     </style> |     </style> | ||||||
| 	</head> | </head> | ||||||
|  |  | ||||||
| 	<body class="center" style="overflow: hidden;"> | <body class="center" style="overflow: hidden;"> | ||||||
|     <script type="text/javascript" src="./node_modules/jquery/dist/jquery.js"></script> |     <script type="text/javascript" src="./node_modules/jquery/dist/jquery.js"></script> | ||||||
|     <script type="text/javascript" src="./js/platform/first-not-view.js"></script> |     <script type="text/javascript" src="./js/platform/first-not-view.js"></script> | ||||||
|     <script type="text/javascript" src="./node_modules/materialize-css/dist/js/materialize.js"></script> |     <script type="text/javascript" src="./node_modules/materialize-css/dist/js/materialize.js"></script> | ||||||
| 		<img src="./img/desk.svg" style="max-width: 62%;" /> |     <img src="./img/desk.svg" style="max-width: 58%;" /> | ||||||
|     <h5>TheDesk</h5> |     <h5>TheDesk</h5> | ||||||
|     <div class="container"> |     <div class="container"> | ||||||
|         <div class="area-name1">Display version</div> |         <div class="area-name1">Display version</div> | ||||||
| @@ -104,15 +105,8 @@ | |||||||
|         <div class="area-data6" id="node"></div> |         <div class="area-data6" id="node"></div> | ||||||
|     </div> |     </div> | ||||||
|     <div class="cp"> |     <div class="cp"> | ||||||
| 			Copyright © TheDesk 2018<br /> |         Copyright © TheDesk 2018<br /> Main developer(author): <a href="https://1m.cutls.com/@Cutls" target="_blank">Cutls P</a><br /> | ||||||
| 			Main developer(author): <a href="https://cutls.com/@Cutls" target="_blank">Cutls P</a><br /> |         <a href="https://github.com/cutls/TheDesk/graphs/contributors" style="text-align: center; user-select: none;"><img src="https://opencollective.com/TheDesk/contributors.svg?width=700&button=false" style="width: 100%"></a> | ||||||
| 			Thanks:<a href="https://minohdon.jp/@toneji" target="_blank">toneji</a>/<a href="https://popon.pptdn.jp/@popn_ja" target="_blank">popn_ja</a>/<a |  | ||||||
| 				href="https://pl.kpherox.dev/kPherox" |  | ||||||
| 				target="_blank" |  | ||||||
| 				>kPherox</a |  | ||||||
| 			> |  | ||||||
| 			and all users |  | ||||||
| 			<img draggable="false" style="width: 0.8rem; top: 1px; margin-left: 1px; position: relative;" alt="❤️" title=":heart:" src="https://twemoji.maxcdn.com/2/72x72/2764.png" /> |  | ||||||
|         <br /><a href="https://thedesk.top" target="_blank">Web site</a> |         <br /><a href="https://thedesk.top" target="_blank">Web site</a> | ||||||
|     </div> |     </div> | ||||||
|     <button onclick="window.close()" class="btn waves-effect indigo" style="width: calc(100% - 10px);"><i class="material-icons left">close</i>Close</button> |     <button onclick="window.close()" class="btn waves-effect indigo" style="width: calc(100% - 10px);"><i class="material-icons left">close</i>Close</button> | ||||||
| @@ -135,5 +129,6 @@ | |||||||
|             return false |             return false | ||||||
|         }) |         }) | ||||||
|     </script> |     </script> | ||||||
| 	</body> | </body> | ||||||
|  |  | ||||||
| </html> | </html> | ||||||
							
								
								
									
										14
									
								
								app/build.d.ts
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								app/build.d.ts
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,14 @@ | |||||||
|  | declare function _exports(options?: { | ||||||
|  |     onlyStore?: boolean; | ||||||
|  |     withStore?: boolean; | ||||||
|  |     withIa32?: boolean; | ||||||
|  |     withArm64?: boolean; | ||||||
|  |     windows?: boolean; | ||||||
|  |     linux?: boolean; | ||||||
|  |     macOS?: boolean; | ||||||
|  |     skipWindows?: boolean; | ||||||
|  |     skipLinux?: boolean; | ||||||
|  |     skipMacOS?: boolean; | ||||||
|  |     unnotarize?: boolean; | ||||||
|  | }): void; | ||||||
|  | export = _exports; | ||||||
							
								
								
									
										322
									
								
								app/build.js
									
									
									
									
									
								
							
							
						
						
									
										322
									
								
								app/build.js
									
									
									
									
									
								
							| @@ -1,112 +1,254 @@ | |||||||
| const builder = require("electron-builder"); | const builder = require('electron-builder') | ||||||
| const fs = require('fs'); | const path = require('path') | ||||||
| const os = process.platform; | const fs = require('fs') | ||||||
|  | const basefile = __dirname + '/' | ||||||
|  | const package = fs.readFileSync(basefile + 'package.json') | ||||||
|  | const data = JSON.parse(package) | ||||||
|  | const version = data.version | ||||||
|  | const codename = data.codename | ||||||
|  | const ver = `${version} (${codename})` | ||||||
|  | const construct = require('./view/make/make.js') | ||||||
|  | const { platform, arch } = process | ||||||
| const Platform = builder.Platform | const Platform = builder.Platform | ||||||
| const Arch = builder.Arch | const Arch = builder.Arch | ||||||
| const targets = new Map(); | const artifactName = 'TheDesk-setup-${arch}.${ext}' | ||||||
| const archToType = new Map(); | const config = { | ||||||
| const pref = { |     productName: 'TheDesk', | ||||||
|     productName: "TheDesk", |     appId: 'top.thedesk', | ||||||
|     appId: "top.thedesk", |     asarUnpack: ['node_modules/itunes-nowplaying-mac', 'main/script'], | ||||||
|     asarUnpack: [ |     afterSign: 'build/notarize.js', | ||||||
|         "node_modules/itunes-nowplaying-mac" |  | ||||||
|     ], |  | ||||||
|     directories: { |     directories: { | ||||||
|         output: "../build/" |         output: '../build', | ||||||
|     }, |     }, | ||||||
|     win: { |     win: { | ||||||
|         icon: "build/thedesk.ico", |         icon: 'build/thedesk.ico', | ||||||
|         target: [ |         target: ['nsis', 'appx', 'portable'], | ||||||
|             "nsis", |         publish: [] | ||||||
|             "portable", |  | ||||||
|             "appx" |  | ||||||
|         ] |  | ||||||
|     }, |     }, | ||||||
|     appx: { |     appx: { | ||||||
|         identityName: "53491Cutls.TheDesk", |         identityName: '53491Cutls.TheDesk', | ||||||
|         applicationId: "Cutls.TheDesk", |         applicationId: 'Cutls.TheDesk', | ||||||
|         publisherDisplayName: "Cutls", |         publisherDisplayName: 'Cutls', | ||||||
|         publisher: "CN=629757F5-A5EE-474F-9562-B304A89A9FD1", |         publisher: 'CN=629757F5-A5EE-474F-9562-B304A89A9FD1', | ||||||
|         languages: [ |         languages: ['JA-JP', 'EN-US'], | ||||||
|             "JA-JP", |  | ||||||
|             "EN-US" |  | ||||||
|         ] |  | ||||||
|     }, |     }, | ||||||
|     nsis: { |     nsis: { | ||||||
|         oneClick: false, |         oneClick: false, | ||||||
|         allowToChangeInstallationDirectory: true |         allowToChangeInstallationDirectory: true, | ||||||
|  |         artifactName: 'TheDesk-setup-${arch}.${ext}', | ||||||
|     }, |     }, | ||||||
|     linux: { |     linux: { | ||||||
|         icon: "build/icons", |         target: ['zip', 'appImage', 'snap', 'deb'], | ||||||
|         target: [ |         category: 'Network', | ||||||
|             "zip", |  | ||||||
|             "snap" |  | ||||||
|         ], |  | ||||||
|         category: "Network" |  | ||||||
|     }, |     }, | ||||||
|     mac: { |     mac: { | ||||||
|         target: [ |         hardenedRuntime: true, | ||||||
|             "dmg", |         gatekeeperAssess: false, | ||||||
|             "zip" |         entitlements: 'build/entitlements.mac.plist', | ||||||
|         ] |         entitlementsInherit: 'build/entitlements.mac.plist', | ||||||
|     }, |     }, | ||||||
|     electronDownload: { |     dmg: { | ||||||
|         version: "5.0.1" |         sign: false, | ||||||
|     }, |     }, | ||||||
|     electronVersion: "5.0.1" |  | ||||||
| } | } | ||||||
| const json = JSON.parse(fs.readFileSync("package.json", 'utf8')); |  | ||||||
| const version = json.version; |  | ||||||
|  |  | ||||||
|  | async function build(os, arch, config) { | ||||||
|  |     let targets = new Map() | ||||||
|  |     let archToType = new Map() | ||||||
|  |     archToType.set(arch, []) | ||||||
|  |     targets.set(os, archToType) | ||||||
|  |     await builder.build({ | ||||||
|  |         targets: targets, | ||||||
|  |         config: config, | ||||||
|  |         publish: 'never' | ||||||
|  |     }) | ||||||
|  | } | ||||||
|  | async function cmd(options) { | ||||||
|  |     if (isTrue(options, 'help', 'h')) { | ||||||
|  |         return console.log(help()) | ||||||
|  |     } | ||||||
|  |     if (isTrue(options, 'onlyStore') || isTrue(options, 'withStore')) { | ||||||
|  |         console.log('start building for application stores') | ||||||
|  |         construct(ver, basefile, false, true) | ||||||
|  |         if ((platform === 'win32' && !isTrue(options, 'skiWindows')) || isTrue(options, 'windows', 'w')) { | ||||||
|  |             if ((isTrue(options, 'withIa32') && arch === 'x64') || arch === 'ia32') { | ||||||
|  |                 config.nsis.artifactName = artifactName.replace('${arch}', 'ia32') | ||||||
|  |                 await build(Platform.WINDOWS, Arch.ia32, config) | ||||||
|  |                 fs.renameSync( | ||||||
|  |                     `../build/TheDesk ${version}.exe`, | ||||||
|  |                     '../build/TheDesk-ia32-store.exe' | ||||||
|  |                 ) | ||||||
|  |                 fs.renameSync( | ||||||
|  |                     `../build/TheDesk-setup-ia32.exe`, | ||||||
|  |                     '../build/TheDesk-setup-ia32-store.exe' | ||||||
|  |                 ) | ||||||
|  |             } | ||||||
|  |             if (arch === 'x64') { | ||||||
|  |                 config.nsis.artifactName = artifactName.replace('${arch}', 'x64') | ||||||
|  |                 await build(Platform.WINDOWS, Arch.x64, config) | ||||||
|  |                 fs.renameSync( | ||||||
|  |                     `../build/TheDesk ${version}.exe`, | ||||||
|  |                     '../build/TheDesk-store.exe' | ||||||
|  |                 ) | ||||||
|  |                 fs.renameSync( | ||||||
|  |                     `../build/TheDesk-setup-x64.exe`, | ||||||
|  |                     '../build/TheDesk-setup-store.exe' | ||||||
|  |                 ) | ||||||
|  |             } | ||||||
|  |         } | ||||||
|  |         if ((platform === 'linux' && !isTrue(options, 'skipLinux')) || isTrue(options, 'linux', 'l')) { | ||||||
|  |             if (arch === 'ia32') { | ||||||
|  |                 await build(Platform.LINUX, Arch.ia32, config) | ||||||
|  |             } | ||||||
|  |             if ((isTrue(options, 'withIa32') && arch === 'x64')) { | ||||||
|  |                 console.log('snapcraft does not curretly support builing i386 on amd64') | ||||||
|  |             } | ||||||
|  |             if (arch === 'x64') { | ||||||
|  |                 await build(Platform.LINUX, Arch.x64, config) | ||||||
|  |                 if (!isTrue(options, 'onlyStore')) { | ||||||
|  |                     fs.renameSync( | ||||||
|  |                         `../build/thedesk_${version}_amd64.snap`, | ||||||
|  |                         `../build/thedesk_${version}_amd64-store.snap` | ||||||
|  |                     ) | ||||||
|  |                 } | ||||||
|  |             } | ||||||
|  |         } | ||||||
|  |     } | ||||||
|  |     if (!isTrue(options, 'onlyStore')) { | ||||||
|  |         console.log('start building for normal usage') | ||||||
|  |         construct(ver, basefile, false, false) | ||||||
|  |         if ((platform === 'win32' && !isTrue(options, 'skiWindows')) || isTrue(options, 'windows', 'w')) { | ||||||
|  |             if ((isTrue(options, 'withIa32') && arch === 'x64') || arch === 'ia32') { | ||||||
|  |                 config.nsis.artifactName = artifactName.replace('${arch}', 'ia32') | ||||||
|  |                 await build(Platform.WINDOWS, Arch.ia32, config) | ||||||
|  |                 fs.renameSync( | ||||||
|  |                     `../build/TheDesk ${version}.exe`, | ||||||
|  |                     '../build/TheDesk-ia32.exe' | ||||||
|  |                 ) | ||||||
|  |             } | ||||||
|  |             if (arch === 'x64') { | ||||||
|  |                 config.nsis.artifactName = artifactName.replace('${arch}', 'x64') | ||||||
|  |                 await build(Platform.WINDOWS, Arch.x64, config) | ||||||
|  |                 fs.renameSync( | ||||||
|  |                     `../build/TheDesk ${version}.exe`, | ||||||
|  |                     '../build/TheDesk.exe' | ||||||
|  |                 ) | ||||||
|  |                 fs.renameSync( | ||||||
|  |                     `../build/TheDesk-setup-x64.exe`, | ||||||
|  |                     '../build/TheDesk-setup.exe' | ||||||
|  |                 ) | ||||||
|  |             } | ||||||
|  |             if ((isTrue(options, 'withArm64') && arch === 'x64') || arch === 'arm64') { | ||||||
|  |                 config.nsis.artifactName = artifactName.replace('${arch}', 'arm64') | ||||||
|  |                 await build(Platform.WINDOWS, Arch.arm64, config) | ||||||
|  |                 fs.renameSync( | ||||||
|  |                     `../build/TheDesk ${version}.exe`, | ||||||
|  |                     '../build/TheDesk-arm64.exe' | ||||||
|  |                 ) | ||||||
|  |             } | ||||||
|  |         } | ||||||
|  |         if ((platform === 'linux' && !isTrue(options, 'skipLinux')) || isTrue(options, 'linux', 'l')) { | ||||||
|  |             if (arch === 'ia32') { | ||||||
|  |                 await build(Platform.LINUX, Arch.ia32, config) | ||||||
|  |             } | ||||||
|  |             if (isTrue(options, 'withIa32') && arch === 'x64') { | ||||||
|  |                 console.log('snapcraft does not curretly support builing i386 on amd64') | ||||||
|  |             } | ||||||
|  |             if (arch === 'x64') { | ||||||
|  |                 await build(Platform.LINUX, Arch.x64, config) | ||||||
|  |                 fs.renameSync( | ||||||
|  |                     `../build/thedesk_${version}_amd64.snap`, | ||||||
|  |                     `../build/thedesk_${version}_amd64-normal.snap` | ||||||
|  |                 ) | ||||||
|  |                 if (isTrue(options, 'onlyStore') || isTrue(options, 'withStore')) { | ||||||
|  |                     fs.renameSync( | ||||||
|  |                         `../build/thedesk_${version}_amd64-store.snap`, | ||||||
|  |                         `../build/thedesk_${version}_amd64.snap` | ||||||
|  |                     ) | ||||||
|  |                 } | ||||||
|  |             } | ||||||
|  |         } | ||||||
|  |         if (platform === 'darwin' && !isTrue(options, 'skipMacOS')) { | ||||||
|  |             if(isTrue(options, 'unnotarize')) delete config.afterSign | ||||||
|  |             if (arch === 'x64') { | ||||||
|  |                 await build(Platform.MAC, Arch.x64, config) | ||||||
|  |                 fs.renameSync( | ||||||
|  |                     `../build/TheDesk-${version}.dmg`, | ||||||
|  |                     `../build/TheDesk-${version}-x64.dmg` | ||||||
|  |                 ) | ||||||
|  |                 if (isTrue(options, 'withArm64')) { | ||||||
|  |                     delete config.afterSign | ||||||
|  |                     await build(Platform.MAC, Arch.arm64, config) | ||||||
|  |                     fs.renameSync( | ||||||
|  |                         `../build/TheDesk-${version}.dmg`, | ||||||
|  |                         `../build/TheDesk-${version}-arm64.dmg` | ||||||
|  |                     ) | ||||||
|  |                 } | ||||||
|  |                 fs.renameSync( | ||||||
|  |                     `../build/TheDesk-${version}-x64.dmg`, | ||||||
|  |                     `../build/TheDesk-${version}.dmg` | ||||||
|  |                 ) | ||||||
|  |             } | ||||||
|  |             if (arch === 'arm64') { | ||||||
|  |                 delete config.afterSign | ||||||
|  |                 await build(Platform.MAC, Arch.arm64, config) | ||||||
|  |                 fs.renameSync( | ||||||
|  |                     `../build/TheDesk-${version}.dmg`, | ||||||
|  |                     `../build/TheDesk-${version}-arm64.dmg` | ||||||
|  |                 ) | ||||||
|  |                 if(isTrue(options, 'skipX64')) await build(Platform.MAC, Arch.x64, config) | ||||||
|  |             } | ||||||
|  |  | ||||||
| if (os == "win32") { |         } | ||||||
|     archToType.set(Arch.ia32, []); |     } | ||||||
|     targets.set(Platform.WINDOWS, archToType); | } | ||||||
| } else if (os == "linux") { | function isTrue(options, long, short) { | ||||||
|     archToType.set(Arch.x64, []); |     const { argv } = process | ||||||
|     archToType.set(Arch.ia32, []); |     if (options ? options[long] : 0) return true | ||||||
|     targets.set(Platform.LINUX, archToType); |     if (argv.includes(`--${long}`)) return true | ||||||
| } else if (os == "darwin") { |     if (short && argv.includes(`-${short}`)) return true | ||||||
|     archToType.set(Arch.x64, []); |  | ||||||
|     targets.set(Platform.MAC, archToType); |  | ||||||
| } else { |  | ||||||
|     return false |     return false | ||||||
| } | } | ||||||
| builder.build({ | function help() { | ||||||
|     targets: targets, |     return ` | ||||||
|     config: pref | TheDesk Builder command tool | ||||||
| }) |     yarn build [options] (or node build.js [options]) | ||||||
|     .then(() => { |     yarn build:[preset] (check package.json) | ||||||
|         console.log("Done on "+os) |  | ||||||
|         if (os == "win32") { |     --help or -h: show help | ||||||
|             console.log("Windows") |  | ||||||
|             fs.renameSync('../build/TheDesk ' + version + '.exe', '../build/TheDesk-ia32.exe'); |     [Build for other platforms] | ||||||
|             fs.renameSync('../build/TheDesk Setup ' + version + '.exe', '../build/TheDesk-setup-ia32.exe'); |     --windows (-w) | ||||||
|             retry() |     --linux (-l) | ||||||
|         }else if (os == "linux") { |  | ||||||
|             console.log("Linux") |     --skipWindows | ||||||
|             fs.renameSync('../build/thedesk-' + version + '.zip', '../build/TheDesk.zip'); |     --skipLinux | ||||||
|             fs.renameSync('../build/TheDesk Setup ' + version + '.exe', '../build/TheDesk-setup-ia32.exe'); |     --skipMacOS | ||||||
|         } |         To skip building for itself platform. | ||||||
|     }) |  | ||||||
|     .catch((error) => { |  | ||||||
|         // handle error |     [only Windows, Linux] | ||||||
|     }) |     --onlyStore: application store of platforms assets(without update check) | ||||||
| function retry(){ |     --withStore: application store assets and normal version | ||||||
|     console.log("Windows x64") |  | ||||||
|     const targetsAlt = new Map(); |     [only Windows] | ||||||
|     const archToTypeAlt = new Map(); |  | ||||||
|     targetsAlt.set(Platform.WINDOWS, archToTypeAlt); |     --withIa32: ia32 build on x64 system(if your machine is ia32, it will be built if this arg is not passed) | ||||||
|     archToTypeAlt.set(Arch.x64, []); |     --withArm64(beta) arm64 build on x64 system(if your machine is arm64, it will be built if this arg is not passed, and not build store build for arm64) | ||||||
|     builder.build({ |  | ||||||
|         targets: targetsAlt, |     [only macOS] | ||||||
|         config: pref |     --unnotarize: Without notarize | ||||||
|     }) |     ` | ||||||
|         .then(() => { |  | ||||||
|             fs.renameSync('../build/TheDesk Setup ' + version + '.exe', '../build/TheDesk-setup.exe'); |  | ||||||
|             fs.renameSync('../build/TheDesk ' + version + '.exe', '../build/TheDesk.exe'); |  | ||||||
|         }) |  | ||||||
|         .catch((error) => { |  | ||||||
|             // handle error |  | ||||||
|         }) |  | ||||||
| } | } | ||||||
|  |  | ||||||
|  | /** | ||||||
|  |  * Builder | ||||||
|  |  * @module builder | ||||||
|  |  * @param {Object} [options] - Options | ||||||
|  |  * @param {boolean} [options.onlyStore] - App Store of platforms assets(without update check) | ||||||
|  |  * @param {boolean} [options.withStore] - App Store of platforms assets(without update check) assets and normal version | ||||||
|  |  * @param {boolean} [options.withIa32] - [Windows only] ia32 build on x64 system(if your machine is ia32, it will be built if this arg is not passed) | ||||||
|  |  * @param {boolean} [options.withArm64] - [Windows only(beta)] arm64 build on x64 system(if your machine is arm64, it will be built if this arg is not passed, and not build store build for arm64) | ||||||
|  |  * @return {void} | ||||||
|  |  */ | ||||||
|  |  module.exports = cmd | ||||||
							
								
								
									
										8
									
								
								app/build/entitlements.mac.plist
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								app/build/entitlements.mac.plist
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,8 @@ | |||||||
|  | <?xml version="1.0" encoding="UTF-8"?> | ||||||
|  | <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||||||
|  | <plist version="1.0"> | ||||||
|  |   <dict> | ||||||
|  |     <key>com.apple.security.cs.allow-unsigned-executable-memory</key> | ||||||
|  |     <true/> | ||||||
|  |   </dict> | ||||||
|  | </plist> | ||||||
							
								
								
									
										23
									
								
								app/build/notarize.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								app/build/notarize.js
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,23 @@ | |||||||
|  | require('dotenv').config() | ||||||
|  | const { notarize } = require('electron-notarize') | ||||||
|  |  | ||||||
|  | // Notarizeをしない場合、下のuseNotarizeをtrueからfalseに変更してください。 | ||||||
|  | const useNotarize = true | ||||||
|  |  | ||||||
|  |  | ||||||
|  | exports.default = async function notarizing(context) { | ||||||
|  |     const { electronPlatformName, appOutDir } = context | ||||||
|  |     if (electronPlatformName !== 'darwin' || !useNotarize) return | ||||||
|  |     const appName = context.packager.appInfo.productFilename | ||||||
|  |     console.log(`start notarize: ${appOutDir}/${appName}.app`) | ||||||
|  |     try { | ||||||
|  |         return await notarize({ | ||||||
|  |             appBundleId: 'top.thedesk', | ||||||
|  |             appPath: `${appOutDir}/${appName}.app`, | ||||||
|  |             appleId: process.env.APPLEID, | ||||||
|  |             appleIdPassword: process.env.APPLEIDPASS, | ||||||
|  |         }) | ||||||
|  |     } catch (e) { | ||||||
|  |         throw console.log(e) | ||||||
|  |     } | ||||||
|  | } | ||||||
							
								
								
									
										2
									
								
								app/buildCli.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								app/buildCli.js
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,2 @@ | |||||||
|  | const cmd = require('./build') | ||||||
|  | cmd() | ||||||
| @@ -89,3 +89,21 @@ i.left { | |||||||
| #domain-list .title { | #domain-list .title { | ||||||
|    font-size: 1.3rem; |    font-size: 1.3rem; | ||||||
| } | } | ||||||
|  | .text-line-icon { | ||||||
|  | 	font-size: 1rem; | ||||||
|  | } | ||||||
|  | .loginBtnWrap { | ||||||
|  | 	padding-top: 10px !important; | ||||||
|  | } | ||||||
|  | #add { | ||||||
|  | 	max-width: 1000px; | ||||||
|  | } | ||||||
|  | .autocomplete-content { | ||||||
|  | 	min-width: 450px; | ||||||
|  | } | ||||||
|  | .autocomplete-content li { | ||||||
|  |     white-space: nowrap; | ||||||
|  |     text-overflow: ellipsis; | ||||||
|  |     word-break: break-word; | ||||||
|  |     overflow: hidden; | ||||||
|  | } | ||||||
| @@ -21,13 +21,16 @@ html { | |||||||
| .action-menu-item:hover { | .action-menu-item:hover { | ||||||
| 	filter: brightness(80%) !important; | 	filter: brightness(80%) !important; | ||||||
| } | } | ||||||
| .btn, .btn-flat { | .btn, | ||||||
|  | .btn-flat { | ||||||
| 	font-size: 1.1rem; | 	font-size: 1.1rem; | ||||||
| 	margin: 0.4rem; | 	margin: 0.4rem; | ||||||
| 	text-transform: none; | 	text-transform: none; | ||||||
| 	height: 2.76rem; | 	height: 2.76rem; | ||||||
| 	line-height: 2.76rem; | 	line-height: 2.76rem; | ||||||
|  | 	border-radius: 0.5rem; | ||||||
| } | } | ||||||
|  |  | ||||||
| .markdown { | .markdown { | ||||||
| 	display: none; | 	display: none; | ||||||
| } | } | ||||||
| @@ -83,17 +86,26 @@ option { | |||||||
| #imagemodal .modal-footer { | #imagemodal .modal-footer { | ||||||
| 	overflow-x: hidden; | 	overflow-x: hidden; | ||||||
| 	overflow-y: hidden; | 	overflow-y: hidden; | ||||||
|  | 	height: 56px; | ||||||
| } | } | ||||||
|  |  | ||||||
| #imagewrap { | #imagewrap { | ||||||
| 	width: 100%; | 	width: 100%; | ||||||
| 	height: 100%; | 	height: calc(100% - 4px); | ||||||
|  | } | ||||||
|  | #imagewrap img.rotate-90 { | ||||||
|  | 	transform: rotate(-90deg); | ||||||
|  | } | ||||||
|  | #imagewrap img.rotate-180 { | ||||||
|  | 	transform: rotate(-180deg); | ||||||
|  | } | ||||||
|  | #imagewrap img.rotate-270 { | ||||||
|  | 	transform: rotate(-270deg); | ||||||
| } | } | ||||||
| .pointer { | .pointer { | ||||||
| 	cursor: pointer; | 	cursor: pointer; | ||||||
| } | } | ||||||
| .badge { | .badge { | ||||||
| 	min-width: 0 !important; |  | ||||||
| 	margin-left: 0.4rem !important; | 	margin-left: 0.4rem !important; | ||||||
| } | } | ||||||
| .unvisible { | .unvisible { | ||||||
| @@ -225,6 +237,12 @@ blockquote:before, | |||||||
| 	right: 0; | 	right: 0; | ||||||
| 	top: 0; | 	top: 0; | ||||||
| } | } | ||||||
|  | .menu-icon { | ||||||
|  | 	font-size: 1.4rem !important; | ||||||
|  | 	top: 0.3rem; | ||||||
|  | 	line-height: 1rem !important; | ||||||
|  | 	position: relative; | ||||||
|  | } | ||||||
| #start { | #start { | ||||||
| 	display: none; | 	display: none; | ||||||
| 	position: fixed; | 	position: fixed; | ||||||
| @@ -320,8 +338,26 @@ blockquote:before, | |||||||
| .collapsible-header:focus { | .collapsible-header:focus { | ||||||
| 	background-color: var(--thirdColor) !important; | 	background-color: var(--thirdColor) !important; | ||||||
| } | } | ||||||
| .modal-footer { | .modal .modal-footer { | ||||||
| 	background-color: var(--modalfooter) !important; | 	background-color: var(--modalfooter) !important; | ||||||
|  | 	border-radius: 0; | ||||||
|  | 	padding: 0; | ||||||
|  | } | ||||||
|  | .modal { | ||||||
|  | 	border-radius: 1.5rem; | ||||||
|  | } | ||||||
|  | .progress .determinate, | ||||||
|  | .progress .indeterminate { | ||||||
|  | 	background-color: var(--active); | ||||||
|  | } | ||||||
|  | .nomargin { | ||||||
|  | 	margin: 0; | ||||||
|  | } | ||||||
|  | #imginfo { | ||||||
|  | 	float: left; | ||||||
|  | 	padding-top: 0.23rem; | ||||||
|  | 	line-height: normal; | ||||||
|  | 	padding-left: 1rem; | ||||||
| } | } | ||||||
| .font { | .font { | ||||||
| 	font-size: 1.5rem; | 	font-size: 1.5rem; | ||||||
| @@ -333,23 +369,24 @@ blockquote:before, | |||||||
| .release-do { | .release-do { | ||||||
| 	border: solid 2px; | 	border: solid 2px; | ||||||
| 	border-color: var(--text); | 	border-color: var(--text); | ||||||
| 	padding: 5px; | 	padding: 1.5rem; | ||||||
|  | 	border-radius: 0.5rem; | ||||||
| } | } | ||||||
| #pickers { | #pickers { | ||||||
| 	display: flex; | 	display: flex; | ||||||
| 	flex-wrap: wrap; | 	flex-wrap: wrap; | ||||||
| 	flex-direction: column; | 	flex-direction: column; | ||||||
| } | } | ||||||
| input[type="color"] { | input[type='color'] { | ||||||
| 	-webkit-appearance: none; | 	-webkit-appearance: none; | ||||||
| 	border: none; | 	border: none; | ||||||
| 	width: 32px; | 	width: 32px; | ||||||
| 	height: 32px; | 	height: 32px; | ||||||
| } | } | ||||||
| input[type="color"]::-webkit-color-swatch-wrapper { | input[type='color']::-webkit-color-swatch-wrapper { | ||||||
| 	padding: 0; | 	padding: 0; | ||||||
| } | } | ||||||
| input[type="color"]::-webkit-color-swatch { | input[type='color']::-webkit-color-swatch { | ||||||
| 	border: none; | 	border: none; | ||||||
| } | } | ||||||
| #menu { | #menu { | ||||||
| @@ -383,7 +420,8 @@ input[type="color"]::-webkit-color-swatch { | |||||||
| 	color: var(--text); | 	color: var(--text); | ||||||
| } | } | ||||||
| #left-menu a:hover { | #left-menu a:hover { | ||||||
| 	background-color: var(--beforehover); | 	background-color: var(--emphasized); | ||||||
|  |     filter: brightness(80%); | ||||||
| } | } | ||||||
| #left-menu span { | #left-menu span { | ||||||
| 	margin-left: 0.4rem; | 	margin-left: 0.4rem; | ||||||
| @@ -392,7 +430,9 @@ input[type="color"]::-webkit-color-swatch { | |||||||
| 	background-color: var(--emphasized); | 	background-color: var(--emphasized); | ||||||
| } | } | ||||||
| #left-menu a.active span { | #left-menu a.active span { | ||||||
| 	text-decoration: underline; | 	text-decoration: none; | ||||||
|  | 	border-bottom: 1px solid; | ||||||
|  | 	padding-bottom: 0.5px; | ||||||
| } | } | ||||||
| #right-menu { | #right-menu { | ||||||
| 	width: 100%; | 	width: 100%; | ||||||
| @@ -408,16 +448,27 @@ input[type="color"]::-webkit-color-swatch { | |||||||
| 	display: flex; | 	display: flex; | ||||||
| 	flex-wrap: wrap; | 	flex-wrap: wrap; | ||||||
| 	align-items: center; | 	align-items: center; | ||||||
| 	width: 13rem; | 	min-width: 150px; | ||||||
| 	height: 3.1rem; | 	width: 50%; | ||||||
|  | 	height: 2.5rem; | ||||||
| 	cursor: pointer; | 	cursor: pointer; | ||||||
| 	color: var(--text); | 	color: var(--text); | ||||||
| } | } | ||||||
|  | #tltype .type div { | ||||||
|  | 	margin-left: 5px; | ||||||
|  | 	margin-right: 5px; | ||||||
|  | 	margin-top: 3px; | ||||||
|  | } | ||||||
| #tltype .type span { | #tltype .type span { | ||||||
| 	width: calc(100% - 2.3rem); | 	width: calc(100% - 4rem); | ||||||
|  | 	white-space: nowrap; | ||||||
|  | 	text-overflow: ellipsis; | ||||||
|  | 	word-break: break-word; | ||||||
|  | 	overflow: hidden; | ||||||
| } | } | ||||||
| #tltype .type:hover { | #tltype .type:hover { | ||||||
| 	background-color: var(--beforehover); | 	background-color: var(--emphasized); | ||||||
|  |     filter: brightness(80%); | ||||||
| } | } | ||||||
| #tltype .active { | #tltype .active { | ||||||
| 	background-color: var(--emphasized); | 	background-color: var(--emphasized); | ||||||
| @@ -489,13 +540,25 @@ textarea { | |||||||
| 	font-size: 1rem !important; | 	font-size: 1rem !important; | ||||||
| 	font-family: inherit; | 	font-family: inherit; | ||||||
| } | } | ||||||
| .swal2-popup { | .swal2-popup, | ||||||
|  | .swal2-header { | ||||||
| 	background-color: var(--subcolor) !important; | 	background-color: var(--subcolor) !important; | ||||||
| } | } | ||||||
| .swal2-title, | .swal2-title, | ||||||
| .swal2-content { | .swal2-content { | ||||||
| 	color: var(--text) !important; | 	color: var(--text) !important; | ||||||
| } | } | ||||||
|  | h2.swal2-title { | ||||||
|  | 	margin: 0; | ||||||
|  | 	line-height: 100%; | ||||||
|  | } | ||||||
|  | .swal2-close:focus { | ||||||
|  | 	background-color: inherit !important; | ||||||
|  | 	box-shadow: none !important; | ||||||
|  | } | ||||||
|  | .swal2-actions { | ||||||
|  | 	background-color: var(--modalfooter); | ||||||
|  | } | ||||||
| #src-contents svg { | #src-contents svg { | ||||||
| 	margin-right: 0.4rem; | 	margin-right: 0.4rem; | ||||||
| } | } | ||||||
| @@ -538,6 +601,7 @@ textarea { | |||||||
| 	background-color: var(--emphasized); | 	background-color: var(--emphasized); | ||||||
| } | } | ||||||
| #pageSrc { | #pageSrc { | ||||||
|  | 	border-radius: 10px; | ||||||
| 	position: absolute; | 	position: absolute; | ||||||
| 	top: 0; | 	top: 0; | ||||||
| 	left: calc(50vw - 11.53rem); | 	left: calc(50vw - 11.53rem); | ||||||
| @@ -545,10 +609,22 @@ textarea { | |||||||
| 	max-width: 100%; | 	max-width: 100%; | ||||||
| 	background-color: var(--subcolor); | 	background-color: var(--subcolor); | ||||||
| 	z-index: 501; | 	z-index: 501; | ||||||
| 	padding: 0.4rem; |  | ||||||
| } | } | ||||||
| #pageSrcInput { | .pageSrcBtn:hover { | ||||||
| 	width: 12.3rem; | 	background-color: var(--selected); | ||||||
|  | } | ||||||
|  | .srcQ { | ||||||
|  | 	margin-top: 0.4rem; | ||||||
|  | 	padding-left: 0.5rem; | ||||||
|  | 	padding-right: 0.5rem; | ||||||
|  | 	border-bottom: 1px solid; | ||||||
|  | } | ||||||
|  | .lastPSB { | ||||||
|  | 	margin-bottom: 0.4rem; | ||||||
|  | } | ||||||
|  | .pageSrcBtn { | ||||||
|  | 	padding-left: 0.5rem; | ||||||
|  | 	padding-right: 0.5rem; | ||||||
| } | } | ||||||
| .voice { | .voice { | ||||||
| 	clip: rect(1px, 1px, 1px, 1px); | 	clip: rect(1px, 1px, 1px, 1px); | ||||||
| @@ -567,9 +643,15 @@ textarea { | |||||||
| /*スクロールバー*/ | /*スクロールバー*/ | ||||||
| ::-webkit-scrollbar { | ::-webkit-scrollbar { | ||||||
| 	width: 5px; | 	width: 5px; | ||||||
| 	height: 10px; | 	height: 12px; | ||||||
| 	background: rgba(0, 0, 0, 0.05); | 	background: rgba(0, 0, 0, 0.05); | ||||||
| } | } | ||||||
|  | .thickScrollBar ::-webkit-scrollbar { | ||||||
|  | 	height: 18px; | ||||||
|  | } | ||||||
|  | .thinScrollBar ::-webkit-scrollbar { | ||||||
|  | 	height: 5px; | ||||||
|  | } | ||||||
| ::-webkit-scrollbar-track { | ::-webkit-scrollbar-track { | ||||||
| 	-webkit-border-radius: 5px; | 	-webkit-border-radius: 5px; | ||||||
| 	border-radius: 5px; | 	border-radius: 5px; | ||||||
| @@ -581,6 +663,15 @@ textarea { | |||||||
| 	background: #607d8b; | 	background: #607d8b; | ||||||
| 	-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5); | 	-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5); | ||||||
| } | } | ||||||
|  | ::-webkit-scrollbar-thumb::after { | ||||||
|  | 	content: ''; | ||||||
|  | 	position: absolute; | ||||||
|  | 	top: 100%; | ||||||
|  | 	left: 50%; | ||||||
|  | 	margin-left: -15px; | ||||||
|  | 	border: 15px solid transparent; | ||||||
|  | 	border-top: 15px solid #e0edff; | ||||||
|  | } | ||||||
| /* Web Fonts */ | /* Web Fonts */ | ||||||
| @font-face { | @font-face { | ||||||
| 	font-family: 'Open Sans'; | 	font-family: 'Open Sans'; | ||||||
| @@ -634,3 +725,39 @@ button { | |||||||
| 	white-space: nowrap; | 	white-space: nowrap; | ||||||
| 	overflow-x: hidden; | 	overflow-x: hidden; | ||||||
| } | } | ||||||
|  | #re-online { | ||||||
|  | 	background-color: rgb(38, 92, 153); | ||||||
|  | 	position: fixed; | ||||||
|  | 	width: 100vw; | ||||||
|  | 	height: 2rem; | ||||||
|  | 	padding: 0.25rem; | ||||||
|  | 	color: white; | ||||||
|  | 	z-index: 1000; | ||||||
|  | } | ||||||
|  | #offline { | ||||||
|  | 	background-color: rgb(153, 38, 38); | ||||||
|  | 	position: fixed; | ||||||
|  | 	width: 100vw; | ||||||
|  | 	height: 2rem; | ||||||
|  | 	padding: 0.25rem; | ||||||
|  | 	color: white; | ||||||
|  | 	z-index: 999; | ||||||
|  | } | ||||||
|  | .pluginNex { | ||||||
|  | 	width: 2rem; | ||||||
|  | 	text-align: center; | ||||||
|  | } | ||||||
|  | .pluginNex span { | ||||||
|  | 	font-size: 2rem; | ||||||
|  | 	position: relative; | ||||||
|  | 	top: -4px; | ||||||
|  | } | ||||||
|  | #fonts { | ||||||
|  | 	overflow-y: scroll; | ||||||
|  | 	width: 22rem; | ||||||
|  | 	height: 40rem; | ||||||
|  | 	position: absolute; | ||||||
|  | 	background-color: var(--bg); | ||||||
|  | 	z-index: 2; | ||||||
|  | 	padding: 5px; | ||||||
|  | } | ||||||
|   | |||||||
| @@ -64,9 +64,24 @@ textarea { | |||||||
| } | } | ||||||
| #emoji { | #emoji { | ||||||
| } | } | ||||||
| #suggest { | #suggest, #draft { | ||||||
| 	max-height: 23rem; | 	max-height: 23rem; | ||||||
| 	overflow-y: scroll; | 	overflow-y: scroll; | ||||||
|  | 	overflow-x: hidden; | ||||||
|  | } | ||||||
|  | #suggest { | ||||||
|  | 	position: absolute; | ||||||
|  | 	top: 0; | ||||||
|  | 	left: 0; | ||||||
|  | 	background-color: var(--bg); | ||||||
|  | 	z-index: 2; | ||||||
|  | 	border-radius: 0.5rem; | ||||||
|  | 	display: none; | ||||||
|  | 	max-height: 10rem; | ||||||
|  | } | ||||||
|  | #suggest a { | ||||||
|  | 	margin-left: 0.5rem; | ||||||
|  | 	margin-right: 0.5rem; | ||||||
| } | } | ||||||
| #emoji-list { | #emoji-list { | ||||||
| 	width: 100%; | 	width: 100%; | ||||||
|   | |||||||
							
								
								
									
										1577
									
								
								app/css/sweetalert2-material.css
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1577
									
								
								app/css/sweetalert2-material.css
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										164
									
								
								app/css/tl.css
									
									
									
									
									
								
							
							
						
						
									
										164
									
								
								app/css/tl.css
									
									
									
									
									
								
							| @@ -93,7 +93,7 @@ | |||||||
| 	display: grid; | 	display: grid; | ||||||
| 	grid-template-columns: 3rem 2.3rem 2.5fr 1fr 4.6rem; | 	grid-template-columns: 3rem 2.3rem 2.5fr 1fr 4.6rem; | ||||||
| 	grid-template-rows: 1.7rem 1.5rem; | 	grid-template-rows: 1.7rem 1.5rem; | ||||||
| 	grid-template-areas: 'cover name name artist refresh' 'cover progress progress progress time'; | 	grid-template-areas: 'cover name name name refresh' 'cover progress progress progress time'; | ||||||
| } | } | ||||||
| #spot-refresh { | #spot-refresh { | ||||||
| 	grid-area: refresh; | 	grid-area: refresh; | ||||||
| @@ -108,18 +108,12 @@ | |||||||
| 	overflow: hidden; | 	overflow: hidden; | ||||||
| 	line-height: 1.92rem; | 	line-height: 1.92rem; | ||||||
| } | } | ||||||
| #spot-artist { |  | ||||||
| 	grid-area: artist; |  | ||||||
| 	white-space: nowrap; |  | ||||||
| 	text-overflow: ellipsis; |  | ||||||
| 	overflow: hidden; |  | ||||||
| 	line-height: 1.92rem; |  | ||||||
| } |  | ||||||
| #spot-img { | #spot-img { | ||||||
| 	width: 90%; | 	width: 90%; | ||||||
| } | } | ||||||
| #spot-time { | #spot-time { | ||||||
| 	grid-area: time; | 	grid-area: time; | ||||||
|  | 	line-height: 0.5rem; | ||||||
| } | } | ||||||
| .progress { | .progress { | ||||||
| 	grid-area: progress; | 	grid-area: progress; | ||||||
| @@ -243,7 +237,6 @@ iframe, | |||||||
| 	flex: 1; | 	flex: 1; | ||||||
| 	overflow-y: scroll; | 	overflow-y: scroll; | ||||||
| 	overflow-x: hidden; | 	overflow-x: hidden; | ||||||
| 	background-color: var(--bg); |  | ||||||
| } | } | ||||||
| .additional { | .additional { | ||||||
| 	overflow-x: scroll; | 	overflow-x: scroll; | ||||||
| @@ -267,7 +260,7 @@ iframe, | |||||||
| 	width: 100%; | 	width: 100%; | ||||||
| 	display: grid; | 	display: grid; | ||||||
| 	grid-template-columns: 3.3rem 2fr 1fr; | 	grid-template-columns: 3.3rem 2fr 1fr; | ||||||
| 	grid-template-rows: auto 1.6rem 1fr auto 2.5rem; | 	grid-template-rows: auto 1.6rem 1fr auto 1.9rem; | ||||||
| 	grid-template-areas: 'notice notice notice' 'icon display_name display_name' 'space toot toot' 'space additional additional' 'vis actions side'; | 	grid-template-areas: 'notice notice notice' 'icon display_name display_name' 'space toot toot' 'space additional additional' 'vis actions side'; | ||||||
| } | } | ||||||
| .hide-actions { | .hide-actions { | ||||||
| @@ -360,15 +353,26 @@ iframe, | |||||||
| .area-actions { | .area-actions { | ||||||
| 	padding: 0; | 	padding: 0; | ||||||
| 	margin: 0; | 	margin: 0; | ||||||
| 	top: -0.4rem; |  | ||||||
| 	position: relative; |  | ||||||
| 	display: flex; | 	display: flex; | ||||||
| 	justify-content: space-around; | 	justify-content: space-around; | ||||||
| 	max-width: 100%; | 	max-width: 100%; | ||||||
| 	grid-area: actions; | 	grid-area: actions; | ||||||
| } | } | ||||||
|  | .area-actions .btn-flat { | ||||||
|  | 	height: 1.3rem; | ||||||
|  | 	line-height: 1.3rem; | ||||||
|  | } | ||||||
|  | .area-actions .btn-flat, | ||||||
|  | .area-vis i, | ||||||
|  | .area-side .btn-flat { | ||||||
|  | 	margin: 0; | ||||||
|  | } | ||||||
|  | .area-side i { | ||||||
|  | 	line-height: initial; | ||||||
|  | } | ||||||
|  |  | ||||||
| .area-vis { | .area-vis { | ||||||
| 	margin: 0.4rem; | 	margin: 0.2rem; | ||||||
| 	grid-area: vis; | 	grid-area: vis; | ||||||
| 	text-align: center; | 	text-align: center; | ||||||
| } | } | ||||||
| @@ -380,7 +384,16 @@ iframe, | |||||||
| 	margin: 0.15rem; | 	margin: 0.15rem; | ||||||
| 	grid-area: side; | 	grid-area: side; | ||||||
| } | } | ||||||
|  | .notf-udg-text { | ||||||
|  | 	white-space: nowrap; | ||||||
|  | 	text-overflow: ellipsis; | ||||||
|  | 	word-break: break-word; | ||||||
|  | 	overflow: hidden; | ||||||
|  | 	max-width: calc(100% - 150px); | ||||||
|  | 	display: inline-block; | ||||||
|  | 	position: relative; | ||||||
|  | 	top: 0.2rem; | ||||||
|  | } | ||||||
| .cusr { | .cusr { | ||||||
| 	user-select: text; | 	user-select: text; | ||||||
| 	padding-left: 0.4rem; | 	padding-left: 0.4rem; | ||||||
| @@ -405,6 +418,12 @@ iframe, | |||||||
| 	margin-top: 0.46rem; | 	margin-top: 0.46rem; | ||||||
| 	margin-left: 0.46rem; | 	margin-left: 0.46rem; | ||||||
| } | } | ||||||
|  | .landing { | ||||||
|  | 	text-align: center; | ||||||
|  | 	display: flex; | ||||||
|  | 	flex-direction: column; | ||||||
|  | 	align-items: center; | ||||||
|  | } | ||||||
|  |  | ||||||
| .quote-inline { | .quote-inline { | ||||||
| 	display: none; | 	display: none; | ||||||
| @@ -438,6 +457,12 @@ iframe, | |||||||
| .btn-flat { | .btn-flat { | ||||||
| 	color: var(--text); | 	color: var(--text); | ||||||
| } | } | ||||||
|  | .sublink { | ||||||
|  | 	font-size: 1.4rem !important; | ||||||
|  | 	position: relative; | ||||||
|  | 	top: 0.4rem; | ||||||
|  | 	cursor: pointer; | ||||||
|  | } | ||||||
| .area-side i { | .area-side i { | ||||||
| 	margin-left: 0.75rem; | 	margin-left: 0.75rem; | ||||||
| } | } | ||||||
| @@ -448,6 +473,9 @@ iframe, | |||||||
| 	font-size: 1.2rem; | 	font-size: 1.2rem; | ||||||
| 	margin-right: 0.15rem; | 	margin-right: 0.15rem; | ||||||
| } | } | ||||||
|  | .action li i { | ||||||
|  | 	margin-right: 0.5rem; | ||||||
|  | } | ||||||
| .action .fa-quote-right { | .action .fa-quote-right { | ||||||
| 	margin-top: 0.15rem; | 	margin-top: 0.15rem; | ||||||
| } | } | ||||||
| @@ -541,15 +569,67 @@ p:not(:last-child) { | |||||||
| 	grid-template-rows: 2.3rem 2.3rem; | 	grid-template-rows: 2.3rem 2.3rem; | ||||||
| 	grid-template-areas: 'notice notice_name notice_name a2' 'notice a1 sta a3' 'notf-box notf-box notf-box notf-box'; | 	grid-template-areas: 'notice notice_name notice_name a2' 'notice a1 sta a3' 'notf-box notf-box notf-box notf-box'; | ||||||
| } | } | ||||||
|  | .small-header.notice-box { | ||||||
|  | 	min-height: 2rem; | ||||||
|  | 	grid-template-columns: 2.3rem 1fr 5rem 2rem 2rem; | ||||||
|  | 	grid-template-rows: 1.8rem; | ||||||
|  | 	grid-template-areas: 'notice notice_name a1 a3 a2'; | ||||||
|  | } | ||||||
|  | .small-header.has-notf.notice-box { | ||||||
|  | 	min-height: 2rem; | ||||||
|  | 	grid-template-columns: 2.3rem 1fr 8rem 5rem 2rem 2rem; | ||||||
|  | 	grid-template-rows: 1.8rem; | ||||||
|  | 	grid-template-areas: 'notice notice_name sta a1 a3 a2'; | ||||||
|  | } | ||||||
| .emp { | .emp { | ||||||
| 	font-weight: bold; | 	font-weight: bold; | ||||||
| 	text-decoration: underline; | 	text-decoration: underline; | ||||||
| } | } | ||||||
|  | .rotate-90 { | ||||||
|  | 	transform: rotate(90deg); | ||||||
|  | } | ||||||
| .area-notice { | .area-notice { | ||||||
| 	grid-area: notice; | 	grid-area: notice; | ||||||
| } | } | ||||||
|  | .small-header .area-notice { | ||||||
|  | 	margin: 0; | ||||||
|  | } | ||||||
|  | .small-header .area-sta { | ||||||
|  | 	display: none; | ||||||
|  | } | ||||||
|  | .small-header.has-notf .area-sta { | ||||||
|  | 	overflow-x: scroll; | ||||||
|  | 	overflow-y: hidden; | ||||||
|  | 	height: 2rem; | ||||||
|  | 	width: 8rem; | ||||||
|  | 	display: flex; | ||||||
|  | } | ||||||
|  | .small-header .area-sta::-webkit-scrollbar { | ||||||
|  | 	height: 5px; | ||||||
|  | } | ||||||
|  | #tagContextMenu { | ||||||
|  | 	position: absolute; | ||||||
|  | 	top: 0; | ||||||
|  | 	left: 0; | ||||||
|  | 	background-color: var(--subcolor); | ||||||
|  | 	z-index: 2; | ||||||
|  | 	border-radius: 0.4rem; | ||||||
|  | } | ||||||
|  | #tagContextMenu a { | ||||||
|  | 	display: block; | ||||||
|  | 	color: var(--text); | ||||||
|  | 	padding-left: 0.5rem; | ||||||
|  | 	padding-right: 0.5rem; | ||||||
|  | } | ||||||
|  | #tagContextMenu a:hover { | ||||||
|  | 	background-color: var(--selected); | ||||||
|  | } | ||||||
|  | .firstTCM { | ||||||
|  | 	margin-top: 0.4rem; | ||||||
|  | } | ||||||
|  | .lastTCM { | ||||||
|  | 	margin-bottom: 0.4rem; | ||||||
|  | } | ||||||
| .area-notice_name { | .area-notice_name { | ||||||
| 	grid-area: notice_name; | 	grid-area: notice_name; | ||||||
| 	overflow: hidden; | 	overflow: hidden; | ||||||
| @@ -565,6 +645,10 @@ p:not(:last-child) { | |||||||
| 	grid-area: a1; | 	grid-area: a1; | ||||||
| } | } | ||||||
| .area-sta { | .area-sta { | ||||||
|  | 	display: none; | ||||||
|  | } | ||||||
|  | .has-notf .area-sta { | ||||||
|  | 	display: block; | ||||||
| 	text-align: center; | 	text-align: center; | ||||||
| 	grid-area: sta; | 	grid-area: sta; | ||||||
| } | } | ||||||
| @@ -631,23 +715,37 @@ p:not(:last-child) { | |||||||
| 	border: thin solid gray; | 	border: thin solid gray; | ||||||
| 	border-bottom: 2px solid white; | 	border-bottom: 2px solid white; | ||||||
| 	grid-area: notf-box; | 	grid-area: notf-box; | ||||||
| 	box-shadow: 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12), | 	box-shadow: 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12), 0 5px 5px -3px rgba(0, 0, 0, 0.3), 0px -10px 10px 0px rgba(0, 0, 0, 0.3) inset; | ||||||
| 		0 5px 5px -3px rgba(0, 0, 0, 0.3), 0px -10px 10px 0px rgba(0, 0, 0, 0.3) inset; |  | ||||||
| } | } | ||||||
| .notf-indv-box label span { | .notf-indv-box label span { | ||||||
| 	padding-left: 23px !important; | 	padding-left: 23px !important; | ||||||
| 	margin-right: 5px; | 	margin-right: 5px; | ||||||
| } | } | ||||||
|  | .columnSettings { | ||||||
|  | 	display: flex; | ||||||
|  | 	flex-wrap: wrap; | ||||||
|  | } | ||||||
| .notf-indv-box .setting { | .notf-indv-box .setting { | ||||||
| 	font-size: 1rem; | 	font-size: 1rem; | ||||||
| 	width: calc(25% - 3px); | 	width: calc(25% - 6px); | ||||||
| 	text-align: left; | 	margin: 3px; | ||||||
| 	padding: 5px; | 	height: 100px; | ||||||
| 	height: 70px; | 	text-align: center; | ||||||
|  | 	display: flex; | ||||||
|  | 	flex-direction: column; | ||||||
|  | 	padding-top: 17px; | ||||||
|  | 	border: 1px solid; | ||||||
|  | 	border-radius: 5px; | ||||||
|  | } | ||||||
|  | .notf-indv-box .setting:hover { | ||||||
|  | 	color: var(--text); | ||||||
|  | } | ||||||
|  | .notf-exclude-btn { | ||||||
|  | 	border: 1px solid; | ||||||
| } | } | ||||||
| .notf-exclude-btn:hover { | .notf-exclude-btn:hover { | ||||||
| 	background-color: inherit !important; | 	background-color: inherit !important; | ||||||
| 	border: 1px solid; | 	filter: brightness(70%); | ||||||
| } | } | ||||||
| .type-b { | .type-b { | ||||||
| 	display: none; | 	display: none; | ||||||
| @@ -679,6 +777,14 @@ p:not(:last-child) { | |||||||
| 	overflow: hidden; | 	overflow: hidden; | ||||||
| 	position: relative; | 	position: relative; | ||||||
| } | } | ||||||
|  | .dropdown-content li { | ||||||
|  | 	padding-top: 0.4rem; | ||||||
|  | } | ||||||
|  | .dropdown-content li > a, .dropdown-content li > span { | ||||||
|  | 	white-space: nowrap; | ||||||
|  | 	overflow: hidden; | ||||||
|  | 	text-overflow: ellipsis; | ||||||
|  | } | ||||||
| .fa-2x > .emoji-img { | .fa-2x > .emoji-img { | ||||||
| 	width: 2.3rem !important; | 	width: 2.3rem !important; | ||||||
| 	height: 2.3rem !important; | 	height: 2.3rem !important; | ||||||
| @@ -762,7 +868,9 @@ p:not(:last-child) { | |||||||
| 	width: 100%; | 	width: 100%; | ||||||
| 	height: 100%; | 	height: 100%; | ||||||
| } | } | ||||||
| .fav_ct, .rt_ct, .rep_ct { | .fav_ct, | ||||||
|  | .rt_ct, | ||||||
|  | .rep_ct { | ||||||
| 	font-size: 1.1rem; | 	font-size: 1.1rem; | ||||||
| } | } | ||||||
| .shared.selectedToot { | .shared.selectedToot { | ||||||
| @@ -862,6 +970,14 @@ audio { | |||||||
| .box .ui-resizable-se { | .box .ui-resizable-se { | ||||||
| 	display: none !important; | 	display: none !important; | ||||||
| } | } | ||||||
|  | .small-header .top-icon { | ||||||
|  | 	font-size: 2rem !important; | ||||||
|  | 	padding-top: 0%; | ||||||
|  | } | ||||||
|  | .top-icon { | ||||||
|  | 	font-size: 40px !important; | ||||||
|  | 	padding-top: 25%; | ||||||
|  | } | ||||||
| .announcement { | .announcement { | ||||||
| 	padding: 0.38rem; | 	padding: 0.38rem; | ||||||
| 	border-bottom: 1px solid; | 	border-bottom: 1px solid; | ||||||
|   | |||||||
| @@ -1,51 +1,66 @@ | |||||||
| /*アイコンをクリックした時とかにでてくるユーザーデータ*/ | /*アイコンをクリックした時とかにでてくるユーザーデータ*/ | ||||||
|  |  | ||||||
| #his-data { | #his-data { | ||||||
|     background-repeat: no-repeat; |     background-repeat: no-repeat; | ||||||
|   background-image: url("../img/loading.svg"); |     background-image: url('../img/loading.svg'); | ||||||
|     overflow-y: hidden; |     overflow-y: hidden; | ||||||
| } | } | ||||||
| #his-data .btn .material-icons{ |  | ||||||
|   float:left; | #his-data .btn .material-icons { | ||||||
|  |     float: left; | ||||||
| } | } | ||||||
|  |  | ||||||
| #his-data-content { | #his-data-content { | ||||||
|     display: flex; |     display: flex; | ||||||
|     justify-content: center; |     justify-content: center; | ||||||
| } | } | ||||||
|  |  | ||||||
| #his-name { | #his-name { | ||||||
|     font-size: 1.5rem; |     font-size: 1.5rem; | ||||||
| } | } | ||||||
|  |  | ||||||
| #his-prof { | #his-prof { | ||||||
|   float: left; |  | ||||||
|     width: 7.7rem; |     width: 7.7rem; | ||||||
|     margin-right: 0.4rem; |     margin-right: 0.4rem; | ||||||
| } | } | ||||||
|  |  | ||||||
| .his-float { | .his-float { | ||||||
|     overflow-y: scroll; |     overflow-y: scroll; | ||||||
|     padding: 0.4rem; |     padding: 0.4rem; | ||||||
| } | } | ||||||
|  |  | ||||||
| #his-float-data { | #his-float-data { | ||||||
|     height: 100%; |     height: 100%; | ||||||
|     overflow-y: hidden; |     overflow-y: hidden; | ||||||
| } | } | ||||||
|  |  | ||||||
| #his-leftside { | #his-leftside { | ||||||
|   width: 38.4rem; |     width: 28.4rem; | ||||||
|  |     max-width: 30vw; | ||||||
| } | } | ||||||
|  |  | ||||||
| #his-float-timeline { | #his-float-timeline { | ||||||
|   max-width: 59.6rem; |     max-width: 47.5rem; | ||||||
|  |     width: calc(100% - 28.4rem); | ||||||
|     height: 100%; |     height: 100%; | ||||||
|     overflow-y: hidden; |     overflow-y: hidden; | ||||||
| } | } | ||||||
|  |  | ||||||
| #his-basic-prof { | #his-basic-prof { | ||||||
|  |     display: flex; | ||||||
|     min-height: 10rem; |     min-height: 10rem; | ||||||
| } | } | ||||||
|  |  | ||||||
| #his-field { | #his-field { | ||||||
|     vertical-align: baseline; |     vertical-align: baseline; | ||||||
|     text-align: center; |     text-align: center; | ||||||
|     padding: 0; |     padding: 0; | ||||||
| } | } | ||||||
|  |  | ||||||
| #his-field tr { | #his-field tr { | ||||||
|     height: 1.5rem; |     height: 1.5rem; | ||||||
| } | } | ||||||
|  |  | ||||||
| .his-field-title { | .his-field-title { | ||||||
|     height: 1.5rem; |     height: 1.5rem; | ||||||
|     padding: 0; |     padding: 0; | ||||||
| @@ -55,22 +70,27 @@ | |||||||
|     margin-bottom: 1px; |     margin-bottom: 1px; | ||||||
|     width: 30%; |     width: 30%; | ||||||
| } | } | ||||||
|  |  | ||||||
| .his-field-content { | .his-field-content { | ||||||
|     height: 1.5rem; |     height: 1.5rem; | ||||||
|     padding: 0; |     padding: 0; | ||||||
|     padding-left: 0.4rem; |     padding-left: 0.4rem; | ||||||
| } | } | ||||||
|  |  | ||||||
| .his-var-content a span.ellipsis:after { | .his-var-content a span.ellipsis:after { | ||||||
|   content: "..."; |     content: '...'; | ||||||
| } | } | ||||||
|  |  | ||||||
| .his-var-content a:not(.mention) span:last-of-type { | .his-var-content a:not(.mention) span:last-of-type { | ||||||
|     display: none; |     display: none; | ||||||
| } | } | ||||||
|  |  | ||||||
| #his-data a .rep_ct, | #his-data a .rep_ct, | ||||||
| #his-data a .rt_ct, | #his-data a .rt_ct, | ||||||
| #his-data a .fav_ct { | #his-data a .fav_ct { | ||||||
|     display: inline !important; |     display: inline !important; | ||||||
| } | } | ||||||
|  |  | ||||||
| #his-data-show { | #his-data-show { | ||||||
|     margin: 1.5rem; |     margin: 1.5rem; | ||||||
|     margin-left: 3.8rem; |     margin-left: 3.8rem; | ||||||
| @@ -80,39 +100,51 @@ | |||||||
|     margin-bottom: 0; |     margin-bottom: 0; | ||||||
|     padding: 0.4rem; |     padding: 0.4rem; | ||||||
| } | } | ||||||
|  |  | ||||||
| #his-data-wrap { | #his-data-wrap { | ||||||
|     display: flex; |     display: flex; | ||||||
| } | } | ||||||
|  |  | ||||||
| .his-var-content { | .his-var-content { | ||||||
|     overflow-y: scroll; |     overflow-y: scroll; | ||||||
|     overflow-x: hidden; |     overflow-x: hidden; | ||||||
|     height: calc(100% - 3.4rem); |     height: calc(100% - 3.4rem); | ||||||
|     padding-bottom: 60px; |     padding-bottom: 60px; | ||||||
| } | } | ||||||
|  |  | ||||||
| #my-data-nav .btn { | #my-data-nav .btn { | ||||||
|   width: 10.7rem; |     width: 10.6rem; | ||||||
| } | } | ||||||
| .active-back { |  | ||||||
|   background-color: var(--active); | #my-data-nav .active-back { | ||||||
|  |     display: none; | ||||||
| } | } | ||||||
|  |  | ||||||
| #his-name .emojione, | #his-name .emojione, | ||||||
| #his-name .emoji-img { | #his-name .emoji-img { | ||||||
|     width: 1.538rem; |     width: 1.538rem; | ||||||
| } | } | ||||||
|  |  | ||||||
| #his-plus-action .btn { | #his-plus-action .btn { | ||||||
|     padding-right: 0.4rem; |     padding-right: 0.4rem; | ||||||
|     padding-left: 0.4rem; |     padding-left: 0.4rem; | ||||||
| } | } | ||||||
|  |  | ||||||
| .tabs { | .tabs { | ||||||
|     display: flex; |     display: flex; | ||||||
| } | } | ||||||
|  |  | ||||||
| .tabs .tab a { | .tabs .tab a { | ||||||
|     padding: 0.6rem 0.9rem; |     padding: 0.6rem 0.9rem; | ||||||
| } | } | ||||||
|  |  | ||||||
| #his-des { | #his-des { | ||||||
|     max-height: 17.7rem; |     max-height: 17.7rem; | ||||||
|     overflow-y: scroll; |     overflow-y: scroll; | ||||||
|  |     user-select: text; | ||||||
|  |     cursor: text; | ||||||
| } | } | ||||||
|  |  | ||||||
| #his-sign-action { | #his-sign-action { | ||||||
|     border: 1px solid; |     border: 1px solid; | ||||||
|     border-radius: 0.4rem; |     border-radius: 0.4rem; | ||||||
| @@ -122,17 +154,31 @@ | |||||||
|     padding-right: 0.75rem; |     padding-right: 0.75rem; | ||||||
|     flex-wrap: wrap; |     flex-wrap: wrap; | ||||||
| } | } | ||||||
| #his-sign-action .btn { |  | ||||||
|   flex-basis: 31.2%; | #his-sign-action .shrinker { | ||||||
|  |     margin-right: 0.5rem; | ||||||
|  |     flex-basis: calc(50% - 1rem); | ||||||
| } | } | ||||||
|  |  | ||||||
|  | #his-sign-action .shrinker.btn { | ||||||
|  |     width: 100%; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | #his-sign-action .dropdown-trigger { | ||||||
|  |     flex-basis: 100%; | ||||||
|  | } | ||||||
|  |  | ||||||
| #his-des .mention { | #his-des .mention { | ||||||
|     color: #039be5; |     color: #039be5; | ||||||
|     cursor: pointer; |     cursor: pointer; | ||||||
| } | } | ||||||
| #his-table{ |  | ||||||
|   max-height: 11.538rem; | #his-table { | ||||||
|  |     max-height: 9.2rem; | ||||||
|     overflow-y: scroll; |     overflow-y: scroll; | ||||||
|  |     user-select: text; | ||||||
| } | } | ||||||
|  |  | ||||||
| #his-float-blocked { | #his-float-blocked { | ||||||
|     display: flex; |     display: flex; | ||||||
|     justify-content: center; |     justify-content: center; | ||||||
| @@ -140,12 +186,34 @@ | |||||||
|     font-size: 2rem; |     font-size: 2rem; | ||||||
|     height: 100%; |     height: 100%; | ||||||
| } | } | ||||||
| #hisdropdown{ |  | ||||||
|  | #hisdropdown { | ||||||
|     background-color: var(--bg); |     background-color: var(--bg); | ||||||
| } | } | ||||||
|  |  | ||||||
| #hisdropdown li a { | #hisdropdown li a { | ||||||
|   color: white; |     color: var(--text); | ||||||
| } | } | ||||||
| #hisdropdown li:hover{ |  | ||||||
|  | #hisdropdown li:hover { | ||||||
|     background-color: var(--active); |     background-color: var(--active); | ||||||
| } | } | ||||||
|  |  | ||||||
|  | #his-data-title-wrap { | ||||||
|  |     width: 100%; | ||||||
|  |     text-align: center; | ||||||
|  |     font-size: 1.5rem; | ||||||
|  |     display: flex; | ||||||
|  |     justify-content: center; | ||||||
|  |     align-items: center; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | #his-data-title .material-icons { | ||||||
|  |     position: relative; | ||||||
|  |     top: 5px; | ||||||
|  |     margin-right: 3px; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | #his-data-title a { | ||||||
|  |     color: white; | ||||||
|  | } | ||||||
							
								
								
									
										6
									
								
								app/gitHash.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								app/gitHash.js
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,6 @@ | |||||||
|  | const fs = require('fs') | ||||||
|  | const execSync = require('child_process').execSync | ||||||
|  | const gitHash = execSync('git rev-parse HEAD') | ||||||
|  |     .toString() | ||||||
|  |     .trim() | ||||||
|  | fs.writeFileSync('git', gitHash) | ||||||
							
								
								
									
										50
									
								
								app/img/aiscript.svg
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										50
									
								
								app/img/aiscript.svg
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,50 @@ | |||||||
|  | <?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||||||
|  | <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> | ||||||
|  | <svg width="100%" height="100%" viewBox="0 0 687 72" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;"> | ||||||
|  |     <g id="アートボード1" transform="matrix(1,0,0,1,-168.896,-476)"> | ||||||
|  |         <rect x="168.896" y="476" width="686.208" height="72" style="fill:none;"/> | ||||||
|  |         <clipPath id="_clip1"> | ||||||
|  |             <rect x="168.896" y="476" width="686.208" height="72"/> | ||||||
|  |         </clipPath> | ||||||
|  |         <g clip-path="url(#_clip1)"> | ||||||
|  |             <g transform="matrix(1,0,0,1,77.6363,162.413)"> | ||||||
|  |                 <g transform="matrix(96,0,0,96,88.3157,385.587)"> | ||||||
|  |                     <path d="M0.463,-0.571C0.452,-0.59 0.436,-0.602 0.415,-0.608C0.394,-0.613 0.374,-0.611 0.356,-0.6L0.08,-0.443C0.053,-0.428 0.04,-0.405 0.04,-0.374C0.04,-0.344 0.053,-0.321 0.08,-0.306L0.356,-0.148C0.368,-0.141 0.381,-0.138 0.395,-0.138C0.425,-0.138 0.448,-0.151 0.463,-0.178C0.474,-0.197 0.476,-0.217 0.47,-0.237C0.465,-0.259 0.453,-0.274 0.434,-0.285L0.278,-0.374L0.434,-0.464C0.453,-0.474 0.465,-0.49 0.47,-0.511C0.476,-0.532 0.474,-0.552 0.463,-0.571Z" style="fill:rgb(129,201,196);fill-rule:nonzero;"/> | ||||||
|  |                 </g> | ||||||
|  |                 <g transform="matrix(96,0,0,96,137.468,385.587)"> | ||||||
|  |                     <path d="M0.197,-0.67C0.197,-0.691 0.189,-0.71 0.174,-0.725C0.159,-0.74 0.14,-0.748 0.118,-0.748C0.096,-0.748 0.078,-0.74 0.063,-0.725C0.047,-0.71 0.04,-0.691 0.04,-0.67C0.04,-0.648 0.047,-0.629 0.063,-0.614C0.078,-0.599 0.096,-0.591 0.118,-0.591C0.14,-0.591 0.159,-0.599 0.174,-0.614C0.189,-0.629 0.197,-0.648 0.197,-0.67ZM0.197,-0.079C0.197,-0.101 0.189,-0.119 0.174,-0.135C0.159,-0.15 0.14,-0.158 0.118,-0.158C0.096,-0.158 0.078,-0.15 0.063,-0.135C0.047,-0.119 0.04,-0.101 0.04,-0.079C0.04,-0.057 0.047,-0.038 0.063,-0.023C0.078,-0.008 0.096,0 0.118,0C0.14,0 0.159,-0.008 0.174,-0.023C0.189,-0.038 0.197,-0.057 0.197,-0.079Z" style="fill:rgb(129,201,196);fill-rule:nonzero;"/> | ||||||
|  |                 </g> | ||||||
|  |                 <g transform="matrix(96,0,0,96,201.74,385.587)"> | ||||||
|  |                     <path d="M0.118,-0.75C0.097,-0.75 0.078,-0.742 0.063,-0.727C0.047,-0.712 0.04,-0.693 0.04,-0.671L0.04,-0.573C0.04,-0.551 0.047,-0.532 0.063,-0.517C0.078,-0.502 0.097,-0.494 0.118,-0.494C0.14,-0.494 0.159,-0.502 0.174,-0.517C0.189,-0.532 0.197,-0.551 0.197,-0.573L0.197,-0.671C0.197,-0.693 0.189,-0.712 0.174,-0.727C0.159,-0.742 0.14,-0.75 0.118,-0.75ZM0.355,-0.75C0.333,-0.75 0.314,-0.742 0.299,-0.727C0.284,-0.712 0.276,-0.693 0.276,-0.671L0.276,-0.573C0.276,-0.551 0.284,-0.532 0.299,-0.517C0.314,-0.502 0.333,-0.494 0.355,-0.494C0.377,-0.494 0.395,-0.502 0.41,-0.517C0.426,-0.532 0.434,-0.551 0.434,-0.573L0.434,-0.671C0.434,-0.693 0.426,-0.712 0.41,-0.727C0.395,-0.742 0.377,-0.75 0.355,-0.75Z" style="fill:rgb(129,201,196);fill-rule:nonzero;"/> | ||||||
|  |                 </g> | ||||||
|  |                 <g transform="matrix(96,0,0,96,247.1,385.587)"> | ||||||
|  |                     <path d="M0.394,-0.494L0.488,-0.306L0.3,-0.306L0.394,-0.494ZM0.063,-0.009C0.082,0.001 0.102,0.002 0.123,-0.005C0.144,-0.011 0.159,-0.024 0.169,-0.044L0.221,-0.148L0.566,-0.148L0.619,-0.044C0.625,-0.03 0.635,-0.02 0.648,-0.012C0.661,-0.004 0.674,0 0.689,0C0.701,0 0.713,-0.003 0.724,-0.009C0.743,-0.018 0.756,-0.033 0.763,-0.054C0.771,-0.075 0.769,-0.095 0.759,-0.114L0.464,-0.705C0.457,-0.718 0.448,-0.729 0.435,-0.737C0.422,-0.745 0.408,-0.749 0.394,-0.749C0.379,-0.749 0.365,-0.745 0.352,-0.737C0.339,-0.729 0.33,-0.718 0.323,-0.705L0.028,-0.114C0.018,-0.095 0.017,-0.075 0.024,-0.054C0.03,-0.033 0.043,-0.018 0.063,-0.009Z" style="fill:rgb(129,201,196);fill-rule:nonzero;"/> | ||||||
|  |                 </g> | ||||||
|  |                 <g transform="matrix(96,0,0,96,322.7,385.587)"> | ||||||
|  |                     <path d="M0.158,0C0.18,0 0.198,-0.008 0.214,-0.023C0.229,-0.038 0.236,-0.057 0.236,-0.079L0.236,-0.67C0.236,-0.691 0.229,-0.71 0.214,-0.725C0.198,-0.741 0.18,-0.749 0.158,-0.749C0.136,-0.749 0.117,-0.741 0.102,-0.725C0.087,-0.71 0.079,-0.691 0.079,-0.67L0.079,-0.079C0.079,-0.057 0.087,-0.038 0.102,-0.023C0.117,-0.008 0.136,0 0.158,0Z" style="fill:rgb(129,201,196);fill-rule:nonzero;"/> | ||||||
|  |                 </g> | ||||||
|  |                 <g transform="matrix(96,0,0,96,352.988,385.587)"> | ||||||
|  |                     <path d="M0.118,-0.158C0.097,-0.158 0.078,-0.15 0.063,-0.135C0.047,-0.119 0.04,-0.101 0.04,-0.079C0.04,-0.057 0.047,-0.038 0.063,-0.023C0.078,-0.008 0.097,0 0.118,0L0.463,0C0.525,0 0.579,-0.022 0.623,-0.067C0.667,-0.111 0.69,-0.164 0.69,-0.227C0.69,-0.289 0.667,-0.342 0.623,-0.387C0.579,-0.431 0.525,-0.453 0.463,-0.453L0.266,-0.453C0.247,-0.453 0.231,-0.46 0.218,-0.473C0.204,-0.487 0.197,-0.503 0.197,-0.522C0.197,-0.541 0.204,-0.557 0.218,-0.571C0.231,-0.584 0.247,-0.591 0.266,-0.591L0.611,-0.591C0.632,-0.591 0.651,-0.599 0.667,-0.614C0.682,-0.629 0.69,-0.648 0.69,-0.67C0.69,-0.691 0.682,-0.71 0.667,-0.725C0.651,-0.741 0.632,-0.749 0.611,-0.749L0.266,-0.749C0.204,-0.749 0.15,-0.726 0.106,-0.682C0.062,-0.638 0.04,-0.584 0.04,-0.522C0.04,-0.459 0.062,-0.406 0.106,-0.362C0.15,-0.318 0.204,-0.296 0.266,-0.296L0.463,-0.296C0.482,-0.296 0.498,-0.289 0.511,-0.275C0.525,-0.262 0.532,-0.246 0.532,-0.227C0.532,-0.207 0.525,-0.191 0.511,-0.178C0.498,-0.164 0.482,-0.158 0.463,-0.158L0.118,-0.158Z" style="fill:rgb(129,201,196);fill-rule:nonzero;"/> | ||||||
|  |                 </g> | ||||||
|  |                 <g transform="matrix(96,0,0,96,422.924,385.587)"> | ||||||
|  |                     <path d="M0.413,0C0.517,0 0.605,-0.037 0.678,-0.11C0.693,-0.125 0.701,-0.143 0.701,-0.166C0.701,-0.187 0.693,-0.206 0.678,-0.221C0.663,-0.236 0.644,-0.244 0.623,-0.244C0.601,-0.244 0.582,-0.236 0.567,-0.221C0.524,-0.179 0.473,-0.158 0.413,-0.158C0.354,-0.158 0.303,-0.179 0.261,-0.221C0.218,-0.263 0.197,-0.314 0.197,-0.374C0.197,-0.434 0.218,-0.485 0.261,-0.528C0.303,-0.57 0.354,-0.591 0.413,-0.591C0.473,-0.591 0.524,-0.57 0.567,-0.528C0.582,-0.512 0.601,-0.504 0.623,-0.504C0.644,-0.504 0.663,-0.512 0.678,-0.528C0.693,-0.543 0.701,-0.561 0.701,-0.583C0.701,-0.605 0.693,-0.623 0.678,-0.639C0.605,-0.712 0.517,-0.749 0.413,-0.749C0.31,-0.749 0.222,-0.712 0.149,-0.639C0.076,-0.566 0.04,-0.478 0.04,-0.374C0.04,-0.271 0.076,-0.183 0.149,-0.11C0.222,-0.037 0.31,0 0.413,0Z" style="fill:rgb(129,201,196);fill-rule:nonzero;"/> | ||||||
|  |                 </g> | ||||||
|  |                 <g transform="matrix(96,0,0,96,492.86,385.587)"> | ||||||
|  |                     <path d="M0.572,-0.472C0.572,-0.44 0.56,-0.412 0.537,-0.389C0.514,-0.366 0.486,-0.355 0.453,-0.355L0.236,-0.355L0.236,-0.591L0.453,-0.591C0.486,-0.591 0.514,-0.579 0.537,-0.556C0.56,-0.533 0.572,-0.505 0.572,-0.472ZM0.421,-0.197L0.595,-0.023C0.61,-0.008 0.628,0 0.65,0C0.672,0 0.69,-0.008 0.706,-0.023C0.721,-0.038 0.729,-0.057 0.729,-0.079C0.729,-0.101 0.721,-0.119 0.706,-0.135L0.601,-0.24C0.64,-0.265 0.671,-0.298 0.694,-0.338C0.717,-0.38 0.729,-0.425 0.729,-0.472C0.729,-0.549 0.702,-0.614 0.648,-0.668C0.594,-0.722 0.529,-0.749 0.453,-0.749L0.158,-0.749C0.136,-0.749 0.117,-0.741 0.102,-0.725C0.087,-0.71 0.079,-0.691 0.079,-0.67L0.079,-0.079C0.079,-0.057 0.087,-0.038 0.102,-0.023C0.117,-0.008 0.136,0 0.158,0C0.18,0 0.198,-0.008 0.214,-0.023C0.229,-0.038 0.236,-0.057 0.236,-0.079L0.236,-0.197L0.421,-0.197Z" style="fill:rgb(129,201,196);fill-rule:nonzero;"/> | ||||||
|  |                 </g> | ||||||
|  |                 <g transform="matrix(96,0,0,96,566.588,385.587)"> | ||||||
|  |                     <path d="M0.158,0C0.18,0 0.198,-0.008 0.214,-0.023C0.229,-0.038 0.236,-0.057 0.236,-0.079L0.236,-0.67C0.236,-0.691 0.229,-0.71 0.214,-0.725C0.198,-0.741 0.18,-0.749 0.158,-0.749C0.136,-0.749 0.117,-0.741 0.102,-0.725C0.087,-0.71 0.079,-0.691 0.079,-0.67L0.079,-0.079C0.079,-0.057 0.087,-0.038 0.102,-0.023C0.117,-0.008 0.136,0 0.158,0Z" style="fill:rgb(129,201,196);fill-rule:nonzero;"/> | ||||||
|  |                 </g> | ||||||
|  |                 <g transform="matrix(96,0,0,96,596.876,385.587)"> | ||||||
|  |                     <path d="M0.572,-0.472C0.572,-0.44 0.56,-0.412 0.537,-0.389C0.514,-0.366 0.486,-0.355 0.453,-0.355L0.236,-0.355L0.236,-0.591L0.453,-0.591C0.486,-0.591 0.514,-0.579 0.537,-0.556C0.56,-0.533 0.572,-0.505 0.572,-0.472ZM0.158,0C0.18,0 0.198,-0.008 0.214,-0.023C0.229,-0.038 0.236,-0.057 0.236,-0.079L0.236,-0.197L0.453,-0.197C0.529,-0.197 0.594,-0.224 0.648,-0.278C0.702,-0.332 0.729,-0.397 0.729,-0.472C0.729,-0.549 0.702,-0.614 0.648,-0.668C0.594,-0.722 0.529,-0.749 0.453,-0.749L0.158,-0.749C0.136,-0.749 0.117,-0.741 0.102,-0.725C0.087,-0.71 0.079,-0.691 0.079,-0.67L0.079,-0.079C0.079,-0.057 0.087,-0.038 0.102,-0.023C0.117,-0.008 0.136,0 0.158,0Z" style="fill:rgb(129,201,196);fill-rule:nonzero;"/> | ||||||
|  |                 </g> | ||||||
|  |                 <g transform="matrix(96,0,0,96,670.604,385.587)"> | ||||||
|  |                     <path d="M0.266,-0.591L0.266,-0.079C0.266,-0.057 0.273,-0.038 0.289,-0.023C0.304,-0.008 0.323,0 0.344,0C0.366,0 0.385,-0.008 0.4,-0.023C0.415,-0.038 0.423,-0.057 0.423,-0.079L0.423,-0.591L0.591,-0.591C0.612,-0.591 0.631,-0.599 0.647,-0.614C0.662,-0.629 0.67,-0.648 0.67,-0.67C0.67,-0.691 0.662,-0.71 0.647,-0.725C0.631,-0.741 0.612,-0.749 0.591,-0.749L0.099,-0.749C0.077,-0.749 0.058,-0.741 0.043,-0.725C0.027,-0.71 0.02,-0.691 0.02,-0.67C0.02,-0.648 0.027,-0.629 0.043,-0.614C0.058,-0.599 0.077,-0.591 0.099,-0.591L0.266,-0.591Z" style="fill:rgb(129,201,196);fill-rule:nonzero;"/> | ||||||
|  |                 </g> | ||||||
|  |                 <g transform="matrix(96,0,0,96,736.748,385.587)"> | ||||||
|  |                     <path d="M0.118,-0.75C0.097,-0.75 0.078,-0.742 0.063,-0.727C0.047,-0.712 0.04,-0.693 0.04,-0.671L0.04,-0.573C0.04,-0.551 0.047,-0.532 0.063,-0.517C0.078,-0.502 0.097,-0.494 0.118,-0.494C0.14,-0.494 0.159,-0.502 0.174,-0.517C0.189,-0.532 0.197,-0.551 0.197,-0.573L0.197,-0.671C0.197,-0.693 0.189,-0.712 0.174,-0.727C0.159,-0.742 0.14,-0.75 0.118,-0.75ZM0.355,-0.75C0.333,-0.75 0.314,-0.742 0.299,-0.727C0.284,-0.712 0.276,-0.693 0.276,-0.671L0.276,-0.573C0.276,-0.551 0.284,-0.532 0.299,-0.517C0.314,-0.502 0.333,-0.494 0.355,-0.494C0.377,-0.494 0.395,-0.502 0.41,-0.517C0.426,-0.532 0.434,-0.551 0.434,-0.573L0.434,-0.671C0.434,-0.693 0.426,-0.712 0.41,-0.727C0.395,-0.742 0.377,-0.75 0.355,-0.75Z" style="fill:rgb(129,201,196);fill-rule:nonzero;"/> | ||||||
|  |                 </g> | ||||||
|  |             </g> | ||||||
|  |         </g> | ||||||
|  |     </g> | ||||||
|  | </svg> | ||||||
| After Width: | Height: | Size: 10 KiB | 
							
								
								
									
										18
									
								
								app/js/ace/ace.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								app/js/ace/ace.js
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										9
									
								
								app/js/ace/ext-beautify.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								app/js/ace/ext-beautify.js
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,9 @@ | |||||||
|  | define("ace/ext/beautify",["require","exports","module","ace/token_iterator"],function(e,t,n){"use strict";function i(e,t){return e.type.lastIndexOf(t+".xml")>-1}var r=e("../token_iterator").TokenIterator;t.singletonTags=["area","base","br","col","command","embed","hr","html","img","input","keygen","link","meta","param","source","track","wbr"],t.blockTags=["article","aside","blockquote","body","div","dl","fieldset","footer","form","head","header","html","nav","ol","p","script","section","style","table","tbody","tfoot","thead","ul"],t.beautify=function(e){var n=new r(e,0,0),s=n.getCurrentToken(),o=e.getTabString(),u=t.singletonTags,a=t.blockTags,f,l=!1,c=!1,h=!1,p="",d="",v="",m=0,g=0,y=0,b=0,w=0,E=0,S=0,x,T=0,N=0,C=[],k=!1,L,A=!1,O=!1,M=!1,_=!1,D={0:0},P=[],H=!1,B=function(){f&&f.value&&f.type!=="string.regexp"&&(f.value=f.value.replace(/^\s*/,""))},j=function(){p=p.replace(/ +$/,"")},F=function(){p=p.trimRight(),l=!1};while(s!==null){T=n.getCurrentTokenRow(),C=n.$rowTokens,f=n.stepForward();if(typeof s!="undefined"){d=s.value,w=0,M=v==="style"||e.$modeId==="ace/mode/css",i(s,"tag-open")?(O=!0,f&&(_=a.indexOf(f.value)!==-1),d==="</"&&(_&&!l&&N<1&&N++,M&&(N=1),w=1,_=!1)):i(s,"tag-close")?O=!1:i(s,"comment.start")?_=!0:i(s,"comment.end")&&(_=!1),!O&&!N&&s.type==="paren.rparen"&&s.value.substr(0,1)==="}"&&N++,T!==x&&(N=T,x&&(N-=x));if(N){F();for(;N>0;N--)p+="\n";l=!0,!i(s,"comment")&&!s.type.match(/^(comment|string)$/)&&(d=d.trimLeft())}if(d){s.type==="keyword"&&d.match(/^(if|else|elseif|for|foreach|while|switch)$/)?(P[m]=d,B(),h=!0,d.match(/^(else|elseif)$/)&&p.match(/\}[\s]*$/)&&(F(),c=!0)):s.type==="paren.lparen"?(B(),d.substr(-1)==="{"&&(h=!0,A=!1,O||(N=1)),d.substr(0,1)==="{"&&(c=!0,p.substr(-1)!=="["&&p.trimRight().substr(-1)==="["?(F(),c=!1):p.trimRight().substr(-1)===")"?F():j())):s.type==="paren.rparen"?(w=1,d.substr(0,1)==="}"&&(P[m-1]==="case"&&w++,p.trimRight().substr(-1)==="{"?F():(c=!0,M&&(N+=2))),d.substr(0,1)==="]"&&p.substr(-1)!=="}"&&p.trimRight().substr(-1)==="}"&&(c=!1,b++,F()),d.substr(0,1)===")"&&p.substr(-1)!=="("&&p.trimRight().substr(-1)==="("&&(c=!1,b++,F()),j()):s.type!=="keyword.operator"&&s.type!=="keyword"||!d.match(/^(=|==|===|!=|!==|&&|\|\||and|or|xor|\+=|.=|>|>=|<|<=|=>)$/)?s.type==="punctuation.operator"&&d===";"?(F(),B(),h=!0,M&&N++):s.type==="punctuation.operator"&&d.match(/^(:|,)$/)?(F(),B(),d.match(/^(,)$/)&&S>0&&E===0?N++:(h=!0,l=!1)):s.type==="support.php_tag"&&d==="?>"&&!l?(F(),c=!0):i(s,"attribute-name")&&p.substr(-1).match(/^\s$/)?c=!0:i(s,"attribute-equals")?(j(),B()):i(s,"tag-close")?(j(),d==="/>"&&(c=!0)):s.type==="keyword"&&d.match(/^(case|default)$/)&&H&&(w=1):(F(),B(),c=!0,h=!0);if(l&&(!s.type.match(/^(comment)$/)||!!d.substr(0,1).match(/^[/#]$/))&&(!s.type.match(/^(string)$/)||!!d.substr(0,1).match(/^['"]$/))){b=y;if(m>g){b++;for(L=m;L>g;L--)D[L]=b}else m<g&&(b=D[m]);g=m,y=b,w&&(b-=w),A&&!E&&(b++,A=!1);for(L=0;L<b;L++)p+=o}s.type==="keyword"&&d.match(/^(case|default)$/)?H===!1&&(P[m]=d,m++,H=!0):s.type==="keyword"&&d.match(/^(break)$/)&&P[m-1]&&P[m-1].match(/^(case|default)$/)&&(m--,H=!1),s.type==="paren.lparen"&&(E+=(d.match(/\(/g)||[]).length,S+=(d.match(/\{/g)||[]).length,m+=d.length),s.type==="keyword"&&d.match(/^(if|else|elseif|for|while)$/)?(A=!0,E=0):!E&&d.trim()&&s.type!=="comment"&&(A=!1);if(s.type==="paren.rparen"){E-=(d.match(/\)/g)||[]).length,S-=(d.match(/\}/g)||[]).length;for(L=0;L<d.length;L++)m--,d.substr(L,1)==="}"&&P[m]==="case"&&m--}s.type=="text"&&(d=d.replace(/\s+$/," ")),c&&!l&&(j(),p.substr(-1)!=="\n"&&(p+=" ")),p+=d,h&&(p+=" "),l=!1,c=!1,h=!1;if(i(s,"tag-close")&&(_||a.indexOf(v)!==-1)||i(s,"doctype")&&d===">")_&&f&&f.value==="</"?N=-1:N=1;i(s,"tag-open")&&d==="</"?m--:i(s,"tag-open")&&d==="<"&&u.indexOf(f.value)===-1?m++:i(s,"tag-name")?v=d:i(s,"tag-close")&&d==="/>"&&u.indexOf(v)===-1&&m--,x=T}}s=f}p=p.trim(),e.doc.setValue(p)},t.commands=[{name:"beautify",description:"Format selection (Beautify)",exec:function(e){t.beautify(e.session)},bindKey:"Ctrl-Shift-B"}]}); | ||||||
|  |                 (function() { | ||||||
|  |                     window.require(["ace/ext/beautify"], function(m) { | ||||||
|  |                         if (typeof module == "object" && typeof exports == "object" && module) { | ||||||
|  |                             module.exports = m; | ||||||
|  |                         } | ||||||
|  |                     }); | ||||||
|  |                 })(); | ||||||
|  |              | ||||||
							
								
								
									
										9
									
								
								app/js/ace/ext-code_lens.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								app/js/ace/ext-code_lens.js
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,9 @@ | |||||||
|  | define("ace/ext/code_lens",["require","exports","module","ace/line_widgets","ace/lib/event","ace/lib/lang","ace/lib/dom","ace/editor","ace/config"],function(e,t,n){"use strict";function u(e){var t=e.$textLayer,n=t.$lenses;n&&n.forEach(function(e){e.remove()}),t.$lenses=null}function a(e,t){var n=e&t.CHANGE_LINES||e&t.CHANGE_FULL||e&t.CHANGE_SCROLL||e&t.CHANGE_TEXT;if(!n)return;var r=t.session,i=t.session.lineWidgets,s=t.$textLayer,a=s.$lenses;if(!i){a&&u(t);return}var f=t.$textLayer.$lines.cells,l=t.layerConfig,c=t.$padding;a||(a=s.$lenses=[]);var h=0;for(var p=0;p<f.length;p++){var d=f[p].row,v=i[d],m=v&&v.lenses;if(!m||!m.length)continue;var g=a[h];g||(g=a[h]=o.buildDom(["div",{"class":"ace_codeLens"}],t.container)),g.style.height=l.lineHeight+"px",h++;for(var y=0;y<m.length;y++){var b=g.childNodes[2*y];b||(y!=0&&g.appendChild(o.createTextNode("\u00a0|\u00a0")),b=o.buildDom(["a"],g)),b.textContent=m[y].title,b.lensCommand=m[y]}while(g.childNodes.length>2*y-1)g.lastChild.remove();var w=t.$cursorLayer.getPixelPosition({row:d,column:0},!0).top-l.lineHeight*v.rowsAbove-l.offset;g.style.top=w+"px";var E=t.gutterWidth,S=r.getLine(d).search(/\S|$/);S==-1&&(S=0),E+=S*l.characterWidth,E-=t.scrollLeft,g.style.paddingLeft=c+E+"px"}while(h<a.length)a.pop().remove()}function f(e){if(!e.lineWidgets)return;var t=e.widgetManager;e.lineWidgets.forEach(function(e){e&&e.lenses&&t.removeLineWidget(e)})}function l(e){e.codeLensProviders=[],e.renderer.on("afterRender",a),e.$codeLensClickHandler||(e.$codeLensClickHandler=function(t){var n=t.target.lensCommand;n&&e.execCommand(n.id,n.arguments)},i.addListener(e.container,"click",e.$codeLensClickHandler,e)),e.$updateLenses=function(){function o(){var r=n.selection.cursor,i=n.documentToScreenRow(r);t.setLenses(n,s);var o=n.$undoManager&&n.$undoManager.$lastDelta;if(o&&o.action=="remove"&&o.lines.length>1)return;var u=n.documentToScreenRow(r),a=e.renderer.layerConfig.lineHeight,f=n.getScrollTop()+(u-i)*a;n.setScrollTop(f)}var n=e.session;if(!n)return;n.widgetManager||(n.widgetManager=new r(n),n.widgetManager.attach(e));var i=e.codeLensProviders.length,s=[];e.codeLensProviders.forEach(function(e){e.provideCodeLenses(n,function(e,t){if(e)return;t.forEach(function(e){s.push(e)}),i--,i==0&&o()})})};var n=s.delayedCall(e.$updateLenses);e.$updateLensesOnInput=function(){n.delay(250)},e.on("input",e.$updateLensesOnInput)}function c(e){e.off("input",e.$updateLensesOnInput),e.renderer.off("afterRender",a),e.$codeLensClickHandler&&e.container.removeEventListener("click",e.$codeLensClickHandler)}var r=e("../line_widgets").LineWidgets,i=e("../lib/event"),s=e("../lib/lang"),o=e("../lib/dom");t.setLenses=function(e,t){var n=Number.MAX_VALUE;f(e),t&&t.forEach(function(t){var r=t.start.row,i=t.start.column,s=e.lineWidgets&&e.lineWidgets[r];if(!s||!s.lenses)s=e.widgetManager.$registerLineWidget({rowCount:1,rowsAbove:1,row:r,column:i,lenses:[]});s.lenses.push(t.command),r<n&&(n=r)}),e._emit("changeFold",{data:{start:{row:n}}})},t.registerCodeLensProvider=function(e,t){e.setOption("enableCodeLens",!0),e.codeLensProviders.push(t),e.$updateLensesOnInput()},t.clear=function(e){t.setLenses(e,null)};var h=e("../editor").Editor;e("../config").defineOptions(h.prototype,"editor",{enableCodeLens:{set:function(e){e?l(this):c(this)}}}),o.importCssString(".ace_codeLens {    position: absolute;    color: #aaa;    font-size: 88%;    background: inherit;    width: 100%;    display: flex;    align-items: flex-end;    pointer-events: none;}.ace_codeLens > a {    cursor: pointer;    pointer-events: auto;}.ace_codeLens > a:hover {    color: #0000ff;    text-decoration: underline;}.ace_dark > .ace_codeLens > a:hover {    color: #4e94ce;}","")}); | ||||||
|  |                 (function() { | ||||||
|  |                     window.require(["ace/ext/code_lens"], function(m) { | ||||||
|  |                         if (typeof module == "object" && typeof exports == "object" && module) { | ||||||
|  |                             module.exports = m; | ||||||
|  |                         } | ||||||
|  |                     }); | ||||||
|  |                 })(); | ||||||
|  |              | ||||||
							
								
								
									
										9
									
								
								app/js/ace/ext-elastic_tabstops_lite.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								app/js/ace/ext-elastic_tabstops_lite.js
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,9 @@ | |||||||
|  | define("ace/ext/elastic_tabstops_lite",["require","exports","module","ace/editor","ace/config"],function(e,t,n){"use strict";var r=function(e){this.$editor=e;var t=this,n=[],r=!1;this.onAfterExec=function(){r=!1,t.processRows(n),n=[]},this.onExec=function(){r=!0},this.onChange=function(e){r&&(n.indexOf(e.start.row)==-1&&n.push(e.start.row),e.end.row!=e.start.row&&n.push(e.end.row))}};(function(){this.processRows=function(e){this.$inChange=!0;var t=[];for(var n=0,r=e.length;n<r;n++){var i=e[n];if(t.indexOf(i)>-1)continue;var s=this.$findCellWidthsForBlock(i),o=this.$setBlockCellWidthsToMax(s.cellWidths),u=s.firstRow;for(var a=0,f=o.length;a<f;a++){var l=o[a];t.push(u),this.$adjustRow(u,l),u++}}this.$inChange=!1},this.$findCellWidthsForBlock=function(e){var t=[],n,r=e;while(r>=0){n=this.$cellWidthsForRow(r);if(n.length==0)break;t.unshift(n),r--}var i=r+1;r=e;var s=this.$editor.session.getLength();while(r<s-1){r++,n=this.$cellWidthsForRow(r);if(n.length==0)break;t.push(n)}return{cellWidths:t,firstRow:i}},this.$cellWidthsForRow=function(e){var t=this.$selectionColumnsForRow(e),n=[-1].concat(this.$tabsForRow(e)),r=n.map(function(e){return 0}).slice(1),i=this.$editor.session.getLine(e);for(var s=0,o=n.length-1;s<o;s++){var u=n[s]+1,a=n[s+1],f=this.$rightmostSelectionInCell(t,a),l=i.substring(u,a);r[s]=Math.max(l.replace(/\s+$/g,"").length,f-u)}return r},this.$selectionColumnsForRow=function(e){var t=[],n=this.$editor.getCursorPosition();return this.$editor.session.getSelection().isEmpty()&&e==n.row&&t.push(n.column),t},this.$setBlockCellWidthsToMax=function(e){var t=!0,n,r,i,s=this.$izip_longest(e);for(var o=0,u=s.length;o<u;o++){var a=s[o];if(!a.push){console.error(a);continue}a.push(NaN);for(var f=0,l=a.length;f<l;f++){var c=a[f];t&&(n=f,i=0,t=!1);if(isNaN(c)){r=f;for(var h=n;h<r;h++)e[h][o]=i;t=!0}i=Math.max(i,c)}}return e},this.$rightmostSelectionInCell=function(e,t){var n=0;if(e.length){var r=[];for(var i=0,s=e.length;i<s;i++)e[i]<=t?r.push(i):r.push(0);n=Math.max.apply(Math,r)}return n},this.$tabsForRow=function(e){var t=[],n=this.$editor.session.getLine(e),r=/\t/g,i;while((i=r.exec(n))!=null)t.push(i.index);return t},this.$adjustRow=function(e,t){var n=this.$tabsForRow(e);if(n.length==0)return;var r=0,i=-1,s=this.$izip(t,n);for(var o=0,u=s.length;o<u;o++){var a=s[o][0],f=s[o][1];i+=1+a,f+=r;var l=i-f;if(l==0)continue;var c=this.$editor.session.getLine(e).substr(0,f),h=c.replace(/\s*$/g,""),p=c.length-h.length;l>0&&(this.$editor.session.getDocument().insertInLine({row:e,column:f+1},Array(l+1).join(" ")+"	"),this.$editor.session.getDocument().removeInLine(e,f,f+1),r+=l),l<0&&p>=-l&&(this.$editor.session.getDocument().removeInLine(e,f+l,f),r+=l)}},this.$izip_longest=function(e){if(!e[0])return[];var t=e[0].length,n=e.length;for(var r=1;r<n;r++){var i=e[r].length;i>t&&(t=i)}var s=[];for(var o=0;o<t;o++){var u=[];for(var r=0;r<n;r++)e[r][o]===""?u.push(NaN):u.push(e[r][o]);s.push(u)}return s},this.$izip=function(e,t){var n=e.length>=t.length?t.length:e.length,r=[];for(var i=0;i<n;i++){var s=[e[i],t[i]];r.push(s)}return r}}).call(r.prototype),t.ElasticTabstopsLite=r;var i=e("../editor").Editor;e("../config").defineOptions(i.prototype,"editor",{useElasticTabstops:{set:function(e){e?(this.elasticTabstops||(this.elasticTabstops=new r(this)),this.commands.on("afterExec",this.elasticTabstops.onAfterExec),this.commands.on("exec",this.elasticTabstops.onExec),this.on("change",this.elasticTabstops.onChange)):this.elasticTabstops&&(this.commands.removeListener("afterExec",this.elasticTabstops.onAfterExec),this.commands.removeListener("exec",this.elasticTabstops.onExec),this.removeListener("change",this.elasticTabstops.onChange))}}})}); | ||||||
|  |                 (function() { | ||||||
|  |                     window.require(["ace/ext/elastic_tabstops_lite"], function(m) { | ||||||
|  |                         if (typeof module == "object" && typeof exports == "object" && module) { | ||||||
|  |                             module.exports = m; | ||||||
|  |                         } | ||||||
|  |                     }); | ||||||
|  |                 })(); | ||||||
|  |              | ||||||
							
								
								
									
										9
									
								
								app/js/ace/ext-emmet.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								app/js/ace/ext-emmet.js
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										9
									
								
								app/js/ace/ext-error_marker.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								app/js/ace/ext-error_marker.js
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,9 @@ | |||||||
|  | ; | ||||||
|  |                 (function() { | ||||||
|  |                     window.require(["ace/ext/error_marker"], function(m) { | ||||||
|  |                         if (typeof module == "object" && typeof exports == "object" && module) { | ||||||
|  |                             module.exports = m; | ||||||
|  |                         } | ||||||
|  |                     }); | ||||||
|  |                 })(); | ||||||
|  |              | ||||||
							
								
								
									
										9
									
								
								app/js/ace/ext-keybinding_menu.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								app/js/ace/ext-keybinding_menu.js
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,9 @@ | |||||||
|  | define("ace/ext/menu_tools/overlay_page",["require","exports","module","ace/lib/dom"],function(e,t,n){"use strict";var r=e("../../lib/dom"),i="#ace_settingsmenu, #kbshortcutmenu {background-color: #F7F7F7;color: black;box-shadow: -5px 4px 5px rgba(126, 126, 126, 0.55);padding: 1em 0.5em 2em 1em;overflow: auto;position: absolute;margin: 0;bottom: 0;right: 0;top: 0;z-index: 9991;cursor: default;}.ace_dark #ace_settingsmenu, .ace_dark #kbshortcutmenu {box-shadow: -20px 10px 25px rgba(126, 126, 126, 0.25);background-color: rgba(255, 255, 255, 0.6);color: black;}.ace_optionsMenuEntry:hover {background-color: rgba(100, 100, 100, 0.1);transition: all 0.3s}.ace_closeButton {background: rgba(245, 146, 146, 0.5);border: 1px solid #F48A8A;border-radius: 50%;padding: 7px;position: absolute;right: -8px;top: -8px;z-index: 100000;}.ace_closeButton{background: rgba(245, 146, 146, 0.9);}.ace_optionsMenuKey {color: darkslateblue;font-weight: bold;}.ace_optionsMenuCommand {color: darkcyan;font-weight: normal;}.ace_optionsMenuEntry input, .ace_optionsMenuEntry button {vertical-align: middle;}.ace_optionsMenuEntry button[ace_selected_button=true] {background: #e7e7e7;box-shadow: 1px 0px 2px 0px #adadad inset;border-color: #adadad;}.ace_optionsMenuEntry button {background: white;border: 1px solid lightgray;margin: 0px;}.ace_optionsMenuEntry button:hover{background: #f0f0f0;}";r.importCssString(i),n.exports.overlayPage=function(t,n,r){function o(e){e.keyCode===27&&u()}function u(){if(!i)return;document.removeEventListener("keydown",o),i.parentNode.removeChild(i),t&&t.focus(),i=null,r&&r()}function a(e){s=e,e&&(i.style.pointerEvents="none",n.style.pointerEvents="auto")}var i=document.createElement("div"),s=!1;return i.style.cssText="margin: 0; padding: 0; position: fixed; top:0; bottom:0; left:0; right:0;z-index: 9990; "+(t?"background-color: rgba(0, 0, 0, 0.3);":""),i.addEventListener("click",function(e){s||u()}),document.addEventListener("keydown",o),n.addEventListener("click",function(e){e.stopPropagation()}),i.appendChild(n),document.body.appendChild(i),t&&t.blur(),{close:u,setIgnoreFocusOut:a}}}),define("ace/ext/menu_tools/get_editor_keyboard_shortcuts",["require","exports","module","ace/lib/keys"],function(e,t,n){"use strict";var r=e("../../lib/keys");n.exports.getEditorKeybordShortcuts=function(e){var t=r.KEY_MODS,n=[],i={};return e.keyBinding.$handlers.forEach(function(e){var t=e.commandKeyBinding;for(var r in t){var s=r.replace(/(^|-)\w/g,function(e){return e.toUpperCase()}),o=t[r];Array.isArray(o)||(o=[o]),o.forEach(function(e){typeof e!="string"&&(e=e.name),i[e]?i[e].key+="|"+s:(i[e]={key:s,command:e},n.push(i[e]))})}}),n}}),define("ace/ext/keybinding_menu",["require","exports","module","ace/editor","ace/ext/menu_tools/overlay_page","ace/ext/menu_tools/get_editor_keyboard_shortcuts"],function(e,t,n){"use strict";function i(t){if(!document.getElementById("kbshortcutmenu")){var n=e("./menu_tools/overlay_page").overlayPage,r=e("./menu_tools/get_editor_keyboard_shortcuts").getEditorKeybordShortcuts,i=r(t),s=document.createElement("div"),o=i.reduce(function(e,t){return e+'<div class="ace_optionsMenuEntry"><span class="ace_optionsMenuCommand">'+t.command+"</span> : "+'<span class="ace_optionsMenuKey">'+t.key+"</span></div>"},"");s.id="kbshortcutmenu",s.innerHTML="<h1>Keyboard Shortcuts</h1>"+o+"</div>",n(t,s)}}var r=e("../editor").Editor;n.exports.init=function(e){r.prototype.showKeyboardShortcuts=function(){i(this)},e.commands.addCommands([{name:"showKeyboardShortcuts",bindKey:{win:"Ctrl-Alt-h",mac:"Command-Alt-h"},exec:function(e,t){e.showKeyboardShortcuts()}}])}}); | ||||||
|  |                 (function() { | ||||||
|  |                     window.require(["ace/ext/keybinding_menu"], function(m) { | ||||||
|  |                         if (typeof module == "object" && typeof exports == "object" && module) { | ||||||
|  |                             module.exports = m; | ||||||
|  |                         } | ||||||
|  |                     }); | ||||||
|  |                 })(); | ||||||
|  |              | ||||||
							
								
								
									
										9
									
								
								app/js/ace/ext-language_tools.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								app/js/ace/ext-language_tools.js
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										9
									
								
								app/js/ace/ext-linking.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								app/js/ace/ext-linking.js
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,9 @@ | |||||||
|  | define("ace/ext/linking",["require","exports","module","ace/editor","ace/config"],function(e,t,n){function i(e){var n=e.editor,r=e.getAccelKey();if(r){var n=e.editor,i=e.getDocumentPosition(),s=n.session,o=s.getTokenAt(i.row,i.column);t.previousLinkingHover&&t.previousLinkingHover!=o&&n._emit("linkHoverOut"),n._emit("linkHover",{position:i,token:o}),t.previousLinkingHover=o}else t.previousLinkingHover&&(n._emit("linkHoverOut"),t.previousLinkingHover=!1)}function s(e){var t=e.getAccelKey(),n=e.getButton();if(n==0&&t){var r=e.editor,i=e.getDocumentPosition(),s=r.session,o=s.getTokenAt(i.row,i.column);r._emit("linkClick",{position:i,token:o})}}var r=e("../editor").Editor;e("../config").defineOptions(r.prototype,"editor",{enableLinking:{set:function(e){e?(this.on("click",s),this.on("mousemove",i)):(this.off("click",s),this.off("mousemove",i))},value:!1}}),t.previousLinkingHover=!1}); | ||||||
|  |                 (function() { | ||||||
|  |                     window.require(["ace/ext/linking"], function(m) { | ||||||
|  |                         if (typeof module == "object" && typeof exports == "object" && module) { | ||||||
|  |                             module.exports = m; | ||||||
|  |                         } | ||||||
|  |                     }); | ||||||
|  |                 })(); | ||||||
|  |              | ||||||
							
								
								
									
										9
									
								
								app/js/ace/ext-modelist.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								app/js/ace/ext-modelist.js
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,9 @@ | |||||||
|  | define("ace/ext/modelist",["require","exports","module"],function(e,t,n){"use strict";function i(e){var t=a.text,n=e.split(/[\/\\]/).pop();for(var i=0;i<r.length;i++)if(r[i].supportsFile(n)){t=r[i];break}return t}var r=[],s=function(e,t,n){this.name=e,this.caption=t,this.mode="ace/mode/"+e,this.extensions=n;var r;/\^/.test(n)?r=n.replace(/\|(\^)?/g,function(e,t){return"$|"+(t?"^":"^.*\\.")})+"$":r="^.*\\.("+n+")$",this.extRe=new RegExp(r,"gi")};s.prototype.supportsFile=function(e){return e.match(this.extRe)};var o={ABAP:["abap"],ABC:["abc"],ActionScript:["as"],ADA:["ada|adb"],aiscript:[""],Alda:["alda"],Apache_Conf:["^htaccess|^htgroups|^htpasswd|^conf|htaccess|htgroups|htpasswd"],Apex:["apex|cls|trigger|tgr"],AQL:["aql"],AsciiDoc:["asciidoc|adoc"],ASL:["dsl|asl"],Assembly_x86:["asm|a"],AutoHotKey:["ahk"],BatchFile:["bat|cmd"],C_Cpp:["cpp|c|cc|cxx|h|hh|hpp|ino"],C9Search:["c9search_results"],Cirru:["cirru|cr"],Clojure:["clj|cljs"],Cobol:["CBL|COB"],coffee:["coffee|cf|cson|^Cakefile"],ColdFusion:["cfm"],Crystal:["cr"],CSharp:["cs"],Csound_Document:["csd"],Csound_Orchestra:["orc"],Csound_Score:["sco"],CSS:["css"],Curly:["curly"],D:["d|di"],Dart:["dart"],Diff:["diff|patch"],Dockerfile:["^Dockerfile"],Dot:["dot"],Drools:["drl"],Edifact:["edi"],Eiffel:["e|ge"],EJS:["ejs"],Elixir:["ex|exs"],Elm:["elm"],Erlang:["erl|hrl"],Forth:["frt|fs|ldr|fth|4th"],Fortran:["f|f90"],FSharp:["fsi|fs|ml|mli|fsx|fsscript"],FSL:["fsl"],FTL:["ftl"],Gcode:["gcode"],Gherkin:["feature"],Gitignore:["^.gitignore"],Glsl:["glsl|frag|vert"],Gobstones:["gbs"],golang:["go"],GraphQLSchema:["gql"],Groovy:["groovy"],HAML:["haml"],Handlebars:["hbs|handlebars|tpl|mustache"],Haskell:["hs"],Haskell_Cabal:["cabal"],haXe:["hx"],Hjson:["hjson"],HTML:["html|htm|xhtml|vue|we|wpy"],HTML_Elixir:["eex|html.eex"],HTML_Ruby:["erb|rhtml|html.erb"],INI:["ini|conf|cfg|prefs"],Io:["io"],Jack:["jack"],Jade:["jade|pug"],Java:["java"],JavaScript:["js|jsm|jsx"],JSON:["json"],JSON5:["json5"],JSONiq:["jq"],JSP:["jsp"],JSSM:["jssm|jssm_state"],JSX:["jsx"],Julia:["jl"],Kotlin:["kt|kts"],LaTeX:["tex|latex|ltx|bib"],Latte:["latte"],LESS:["less"],Liquid:["liquid"],Lisp:["lisp"],LiveScript:["ls"],LogiQL:["logic|lql"],LSL:["lsl"],Lua:["lua"],LuaPage:["lp"],Lucene:["lucene"],Makefile:["^Makefile|^GNUmakefile|^makefile|^OCamlMakefile|make"],Markdown:["md|markdown"],Mask:["mask"],MATLAB:["matlab"],Maze:["mz"],MediaWiki:["wiki|mediawiki"],MEL:["mel"],MIPS:["s|asm"],MIXAL:["mixal"],MUSHCode:["mc|mush"],MySQL:["mysql"],Nginx:["nginx|conf"],Nim:["nim"],Nix:["nix"],NSIS:["nsi|nsh"],Nunjucks:["nunjucks|nunjs|nj|njk"],ObjectiveC:["m|mm"],OCaml:["ml|mli"],Pascal:["pas|p"],Perl:["pl|pm"],pgSQL:["pgsql"],PHP:["php|inc|phtml|shtml|php3|php4|php5|phps|phpt|aw|ctp|module"],PHP_Laravel_blade:["blade.php"],Pig:["pig"],Powershell:["ps1"],Praat:["praat|praatscript|psc|proc"],Prisma:["prisma"],Prolog:["plg|prolog"],Properties:["properties"],Protobuf:["proto"],Puppet:["epp|pp"],Python:["py"],QML:["qml"],R:["r"],Raku:["raku|rakumod|rakutest|p6|pl6|pm6"],Razor:["cshtml|asp"],RDoc:["Rd"],Red:["red|reds"],RHTML:["Rhtml"],RST:["rst"],Ruby:["rb|ru|gemspec|rake|^Guardfile|^Rakefile|^Gemfile"],Rust:["rs"],SASS:["sass"],SCAD:["scad"],Scala:["scala|sbt"],Scheme:["scm|sm|rkt|oak|scheme"],SCSS:["scss"],SH:["sh|bash|^.bashrc"],SJS:["sjs"],Slim:["slim|skim"],Smarty:["smarty|tpl"],Smithy:["smithy"],snippets:["snippets"],Soy_Template:["soy"],Space:["space"],SQL:["sql"],SQLServer:["sqlserver"],Stylus:["styl|stylus"],SVG:["svg"],Swift:["swift"],Tcl:["tcl"],Terraform:["tf","tfvars","terragrunt"],Tex:["tex"],Text:["txt"],Textile:["textile"],Toml:["toml"],TSX:["tsx"],Twig:["twig|swig"],Typescript:["ts|typescript|str"],Vala:["vala"],VBScript:["vbs|vb"],Velocity:["vm"],Verilog:["v|vh|sv|svh"],VHDL:["vhd|vhdl"],Visualforce:["vfp|component|page"],Wollok:["wlk|wpgm|wtest"],XML:["xml|rdf|rss|wsdl|xslt|atom|mathml|mml|xul|xbl|xaml"],XQuery:["xq"],YAML:["yaml|yml"],Zeek:["zeek|bro"],Django:["html"]},u={ObjectiveC:"Objective-C",CSharp:"C#",golang:"Go",C_Cpp:"C and C++",Csound_Document:"Csound Document",Csound_Orchestra:"Csound",Csound_Score:"Csound Score",coffee:"CoffeeScript",HTML_Ruby:"HTML (Ruby)",HTML_Elixir:"HTML (Elixir)",FTL:"FreeMarker",PHP_Laravel_blade:"PHP (Blade Template)",Perl6:"Perl 6",AutoHotKey:"AutoHotkey / AutoIt"},a={};for(var f in o){var l=o[f],c=(u[f]||f).replace(/_/g," "),h=f.toLowerCase(),p=new s(h,c,l[0]);a[h]=p,r.push(p)}n.exports={getModeForPath:i,modes:r,modesByName:a}}); | ||||||
|  |                 (function() { | ||||||
|  |                     window.require(["ace/ext/modelist"], function(m) { | ||||||
|  |                         if (typeof module == "object" && typeof exports == "object" && module) { | ||||||
|  |                             module.exports = m; | ||||||
|  |                         } | ||||||
|  |                     }); | ||||||
|  |                 })(); | ||||||
|  |              | ||||||
							
								
								
									
										9
									
								
								app/js/ace/ext-options.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								app/js/ace/ext-options.js
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										9
									
								
								app/js/ace/ext-prompt.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								app/js/ace/ext-prompt.js
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										9
									
								
								app/js/ace/ext-rtl.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								app/js/ace/ext-rtl.js
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,9 @@ | |||||||
|  | define("ace/ext/rtl",["require","exports","module","ace/editor","ace/config"],function(e,t,n){"use strict";function s(e,t){var n=t.getSelection().lead;t.session.$bidiHandler.isRtlLine(n.row)&&n.column===0&&(t.session.$bidiHandler.isMoveLeftOperation&&n.row>0?t.getSelection().moveCursorTo(n.row-1,t.session.getLine(n.row-1).length):t.getSelection().isEmpty()?n.column+=1:n.setPosition(n.row,n.column+1))}function o(e){e.editor.session.$bidiHandler.isMoveLeftOperation=/gotoleft|selectleft|backspace|removewordleft/.test(e.command.name)}function u(e,t){var n=t.session;n.$bidiHandler.currentRow=null;if(n.$bidiHandler.isRtlLine(e.start.row)&&e.action==="insert"&&e.lines.length>1)for(var r=e.start.row;r<e.end.row;r++)n.getLine(r+1).charAt(0)!==n.$bidiHandler.RLE&&(n.doc.$lines[r+1]=n.$bidiHandler.RLE+n.getLine(r+1))}function a(e,t){var n=t.session,r=n.$bidiHandler,i=t.$textLayer.$lines.cells,s=t.layerConfig.width-t.layerConfig.padding+"px";i.forEach(function(e){var t=e.element.style;r&&r.isRtlLine(e.row)?(t.direction="rtl",t.textAlign="right",t.width=s):(t.direction="",t.textAlign="",t.width="")})}function f(e){function n(e){var t=e.element.style;t.direction=t.textAlign=t.width=""}var t=e.$textLayer.$lines;t.cells.forEach(n),t.cellCache.forEach(n)}var r=[{name:"leftToRight",bindKey:{win:"Ctrl-Alt-Shift-L",mac:"Command-Alt-Shift-L"},exec:function(e){e.session.$bidiHandler.setRtlDirection(e,!1)},readOnly:!0},{name:"rightToLeft",bindKey:{win:"Ctrl-Alt-Shift-R",mac:"Command-Alt-Shift-R"},exec:function(e){e.session.$bidiHandler.setRtlDirection(e,!0)},readOnly:!0}],i=e("../editor").Editor;e("../config").defineOptions(i.prototype,"editor",{rtlText:{set:function(e){e?(this.on("change",u),this.on("changeSelection",s),this.renderer.on("afterRender",a),this.commands.on("exec",o),this.commands.addCommands(r)):(this.off("change",u),this.off("changeSelection",s),this.renderer.off("afterRender",a),this.commands.off("exec",o),this.commands.removeCommands(r),f(this.renderer)),this.renderer.updateFull()}},rtl:{set:function(e){this.session.$bidiHandler.$isRtl=e,e?(this.setOption("rtlText",!1),this.renderer.on("afterRender",a),this.session.$bidiHandler.seenBidi=!0):(this.renderer.off("afterRender",a),f(this.renderer)),this.renderer.updateFull()}}})}); | ||||||
|  |                 (function() { | ||||||
|  |                     window.require(["ace/ext/rtl"], function(m) { | ||||||
|  |                         if (typeof module == "object" && typeof exports == "object" && module) { | ||||||
|  |                             module.exports = m; | ||||||
|  |                         } | ||||||
|  |                     }); | ||||||
|  |                 })(); | ||||||
|  |              | ||||||
							
								
								
									
										9
									
								
								app/js/ace/ext-searchbox.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								app/js/ace/ext-searchbox.js
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										9
									
								
								app/js/ace/ext-settings_menu.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								app/js/ace/ext-settings_menu.js
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										9
									
								
								app/js/ace/ext-spellcheck.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								app/js/ace/ext-spellcheck.js
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,9 @@ | |||||||
|  | define("ace/ext/spellcheck",["require","exports","module","ace/lib/event","ace/editor","ace/config"],function(e,t,n){"use strict";var r=e("../lib/event");t.contextMenuHandler=function(e){var t=e.target,n=t.textInput.getElement();if(!t.selection.isEmpty())return;var i=t.getCursorPosition(),s=t.session.getWordRange(i.row,i.column),o=t.session.getTextRange(s);t.session.tokenRe.lastIndex=0;if(!t.session.tokenRe.test(o))return;var u="\x01\x01",a=o+" "+u;n.value=a,n.setSelectionRange(o.length,o.length+1),n.setSelectionRange(0,0),n.setSelectionRange(0,o.length);var f=!1;r.addListener(n,"keydown",function l(){r.removeListener(n,"keydown",l),f=!0}),t.textInput.setInputHandler(function(e){if(e==a)return"";if(e.lastIndexOf(a,0)===0)return e.slice(a.length);if(e.substr(n.selectionEnd)==a)return e.slice(0,-a.length);if(e.slice(-2)==u){var r=e.slice(0,-2);if(r.slice(-1)==" ")return f?r.substring(0,n.selectionEnd):(r=r.slice(0,-1),t.session.replace(s,r),"")}return e})};var i=e("../editor").Editor;e("../config").defineOptions(i.prototype,"editor",{spellcheck:{set:function(e){var n=this.textInput.getElement();n.spellcheck=!!e,e?this.on("nativecontextmenu",t.contextMenuHandler):this.removeListener("nativecontextmenu",t.contextMenuHandler)},value:!0}})}); | ||||||
|  |                 (function() { | ||||||
|  |                     window.require(["ace/ext/spellcheck"], function(m) { | ||||||
|  |                         if (typeof module == "object" && typeof exports == "object" && module) { | ||||||
|  |                             module.exports = m; | ||||||
|  |                         } | ||||||
|  |                     }); | ||||||
|  |                 })(); | ||||||
|  |              | ||||||
							
								
								
									
										9
									
								
								app/js/ace/ext-split.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								app/js/ace/ext-split.js
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,9 @@ | |||||||
|  | define("ace/split",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/lib/event_emitter","ace/editor","ace/virtual_renderer","ace/edit_session"],function(e,t,n){"use strict";var r=e("./lib/oop"),i=e("./lib/lang"),s=e("./lib/event_emitter").EventEmitter,o=e("./editor").Editor,u=e("./virtual_renderer").VirtualRenderer,a=e("./edit_session").EditSession,f=function(e,t,n){this.BELOW=1,this.BESIDE=0,this.$container=e,this.$theme=t,this.$splits=0,this.$editorCSS="",this.$editors=[],this.$orientation=this.BESIDE,this.setSplits(n||1),this.$cEditor=this.$editors[0],this.on("focus",function(e){this.$cEditor=e}.bind(this))};(function(){r.implement(this,s),this.$createEditor=function(){var e=document.createElement("div");e.className=this.$editorCSS,e.style.cssText="position: absolute; top:0px; bottom:0px",this.$container.appendChild(e);var t=new o(new u(e,this.$theme));return t.on("focus",function(){this._emit("focus",t)}.bind(this)),this.$editors.push(t),t.setFontSize(this.$fontSize),t},this.setSplits=function(e){var t;if(e<1)throw"The number of splits have to be > 0!";if(e==this.$splits)return;if(e>this.$splits){while(this.$splits<this.$editors.length&&this.$splits<e)t=this.$editors[this.$splits],this.$container.appendChild(t.container),t.setFontSize(this.$fontSize),this.$splits++;while(this.$splits<e)this.$createEditor(),this.$splits++}else while(this.$splits>e)t=this.$editors[this.$splits-1],this.$container.removeChild(t.container),this.$splits--;this.resize()},this.getSplits=function(){return this.$splits},this.getEditor=function(e){return this.$editors[e]},this.getCurrentEditor=function(){return this.$cEditor},this.focus=function(){this.$cEditor.focus()},this.blur=function(){this.$cEditor.blur()},this.setTheme=function(e){this.$editors.forEach(function(t){t.setTheme(e)})},this.setKeyboardHandler=function(e){this.$editors.forEach(function(t){t.setKeyboardHandler(e)})},this.forEach=function(e,t){this.$editors.forEach(e,t)},this.$fontSize="",this.setFontSize=function(e){this.$fontSize=e,this.forEach(function(t){t.setFontSize(e)})},this.$cloneSession=function(e){var t=new a(e.getDocument(),e.getMode()),n=e.getUndoManager();return t.setUndoManager(n),t.setTabSize(e.getTabSize()),t.setUseSoftTabs(e.getUseSoftTabs()),t.setOverwrite(e.getOverwrite()),t.setBreakpoints(e.getBreakpoints()),t.setUseWrapMode(e.getUseWrapMode()),t.setUseWorker(e.getUseWorker()),t.setWrapLimitRange(e.$wrapLimitRange.min,e.$wrapLimitRange.max),t.$foldData=e.$cloneFoldData(),t},this.setSession=function(e,t){var n;t==null?n=this.$cEditor:n=this.$editors[t];var r=this.$editors.some(function(t){return t.session===e});return r&&(e=this.$cloneSession(e)),n.setSession(e),e},this.getOrientation=function(){return this.$orientation},this.setOrientation=function(e){if(this.$orientation==e)return;this.$orientation=e,this.resize()},this.resize=function(){var e=this.$container.clientWidth,t=this.$container.clientHeight,n;if(this.$orientation==this.BESIDE){var r=e/this.$splits;for(var i=0;i<this.$splits;i++)n=this.$editors[i],n.container.style.width=r+"px",n.container.style.top="0px",n.container.style.left=i*r+"px",n.container.style.height=t+"px",n.resize()}else{var s=t/this.$splits;for(var i=0;i<this.$splits;i++)n=this.$editors[i],n.container.style.width=e+"px",n.container.style.top=i*s+"px",n.container.style.left="0px",n.container.style.height=s+"px",n.resize()}}}).call(f.prototype),t.Split=f}),define("ace/ext/split",["require","exports","module","ace/split"],function(e,t,n){"use strict";n.exports=e("../split")}); | ||||||
|  |                 (function() { | ||||||
|  |                     window.require(["ace/ext/split"], function(m) { | ||||||
|  |                         if (typeof module == "object" && typeof exports == "object" && module) { | ||||||
|  |                             module.exports = m; | ||||||
|  |                         } | ||||||
|  |                     }); | ||||||
|  |                 })(); | ||||||
|  |              | ||||||
							
								
								
									
										9
									
								
								app/js/ace/ext-static_highlight.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								app/js/ace/ext-static_highlight.js
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,9 @@ | |||||||
|  | define("ace/ext/static_highlight",["require","exports","module","ace/edit_session","ace/layer/text","ace/config","ace/lib/dom","ace/lib/lang"],function(e,t,n){"use strict";function f(e){this.type=e,this.style={},this.textContent=""}var r=e("../edit_session").EditSession,i=e("../layer/text").Text,s=".ace_static_highlight {font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro', 'Droid Sans Mono', monospace;font-size: 12px;white-space: pre-wrap}.ace_static_highlight .ace_gutter {width: 2em;text-align: right;padding: 0 3px 0 0;margin-right: 3px;contain: none;}.ace_static_highlight.ace_show_gutter .ace_line {padding-left: 2.6em;}.ace_static_highlight .ace_line { position: relative; }.ace_static_highlight .ace_gutter-cell {-moz-user-select: -moz-none;-khtml-user-select: none;-webkit-user-select: none;user-select: none;top: 0;bottom: 0;left: 0;position: absolute;}.ace_static_highlight .ace_gutter-cell:before {content: counter(ace_line, decimal);counter-increment: ace_line;}.ace_static_highlight {counter-reset: ace_line;}",o=e("../config"),u=e("../lib/dom"),a=e("../lib/lang").escapeHTML;f.prototype.cloneNode=function(){return this},f.prototype.appendChild=function(e){this.textContent+=e.toString()},f.prototype.toString=function(){var e=[];if(this.type!="fragment"){e.push("<",this.type),this.className&&e.push(" class='",this.className,"'");var t=[];for(var n in this.style)t.push(n,":",this.style[n]);t.length&&e.push(" style='",t.join(""),"'"),e.push(">")}return this.textContent&&e.push(this.textContent),this.type!="fragment"&&e.push("</",this.type,">"),e.join("")};var l={createTextNode:function(e,t){return a(e)},createElement:function(e){return new f(e)},createFragment:function(){return new f("fragment")}},c=function(){this.config={},this.dom=l};c.prototype=i.prototype;var h=function(e,t,n){var r=e.className.match(/lang-(\w+)/),i=t.mode||r&&"ace/mode/"+r[1];if(!i)return!1;var s=t.theme||"ace/theme/textmate",o="",a=[];if(e.firstElementChild){var f=0;for(var l=0;l<e.childNodes.length;l++){var c=e.childNodes[l];c.nodeType==3?(f+=c.data.length,o+=c.data):a.push(f,c)}}else o=e.textContent,t.trim&&(o=o.trim());h.render(o,i,s,t.firstLineNumber,!t.showGutter,function(t){u.importCssString(t.css,"ace_highlight"),e.innerHTML=t.html;var r=e.firstChild.firstChild;for(var i=0;i<a.length;i+=2){var s=t.session.doc.indexToPosition(a[i]),o=a[i+1],f=r.children[s.row];f&&f.appendChild(o)}n&&n()})};h.render=function(e,t,n,i,s,u){function c(){var r=h.renderSync(e,t,n,i,s);return u?u(r):r}var a=1,f=r.prototype.$modes;typeof n=="string"&&(a++,o.loadModule(["theme",n],function(e){n=e,--a||c()}));var l;return t&&typeof t=="object"&&!t.getTokenizer&&(l=t,t=l.path),typeof t=="string"&&(a++,o.loadModule(["mode",t],function(e){if(!f[t]||l)f[t]=new e.Mode(l);t=f[t],--a||c()})),--a||c()},h.renderSync=function(e,t,n,i,o){i=parseInt(i||1,10);var u=new r("");u.setUseWorker(!1),u.setMode(t);var a=new c;a.setSession(u),Object.keys(a.$tabStrings).forEach(function(e){if(typeof a.$tabStrings[e]=="string"){var t=l.createFragment();t.textContent=a.$tabStrings[e],a.$tabStrings[e]=t}}),u.setValue(e);var f=u.getLength(),h=l.createElement("div");h.className=n.cssClass;var p=l.createElement("div");p.className="ace_static_highlight"+(o?"":" ace_show_gutter"),p.style["counter-reset"]="ace_line "+(i-1);for(var d=0;d<f;d++){var v=l.createElement("div");v.className="ace_line";if(!o){var m=l.createElement("span");m.className="ace_gutter ace_gutter-cell",m.textContent="",v.appendChild(m)}a.$renderLine(v,d,!1),v.textContent+="\n",p.appendChild(v)}return h.appendChild(p),{css:s+n.cssText,html:h.toString(),session:u}},n.exports=h,n.exports.highlight=h}); | ||||||
|  |                 (function() { | ||||||
|  |                     window.require(["ace/ext/static_highlight"], function(m) { | ||||||
|  |                         if (typeof module == "object" && typeof exports == "object" && module) { | ||||||
|  |                             module.exports = m; | ||||||
|  |                         } | ||||||
|  |                     }); | ||||||
|  |                 })(); | ||||||
|  |              | ||||||
							
								
								
									
										9
									
								
								app/js/ace/ext-statusbar.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								app/js/ace/ext-statusbar.js
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,9 @@ | |||||||
|  | define("ace/ext/statusbar",["require","exports","module","ace/lib/dom","ace/lib/lang"],function(e,t,n){"use strict";var r=e("../lib/dom"),i=e("../lib/lang"),s=function(e,t){this.element=r.createElement("div"),this.element.className="ace_status-indicator",this.element.style.cssText="display: inline-block;",t.appendChild(this.element);var n=i.delayedCall(function(){this.updateStatus(e)}.bind(this)).schedule.bind(null,100);e.on("changeStatus",n),e.on("changeSelection",n),e.on("keyboardActivity",n)};(function(){this.updateStatus=function(e){function n(e,n){e&&t.push(e,n||"|")}var t=[];n(e.keyBinding.getStatusText(e)),e.commands.recording&&n("REC");var r=e.selection,i=r.lead;if(!r.isEmpty()){var s=e.getSelectionRange();n("("+(s.end.row-s.start.row)+":"+(s.end.column-s.start.column)+")"," ")}n(i.row+":"+i.column," "),r.rangeCount&&n("["+r.rangeCount+"]"," "),t.pop(),this.element.textContent=t.join("")}}).call(s.prototype),t.StatusBar=s}); | ||||||
|  |                 (function() { | ||||||
|  |                     window.require(["ace/ext/statusbar"], function(m) { | ||||||
|  |                         if (typeof module == "object" && typeof exports == "object" && module) { | ||||||
|  |                             module.exports = m; | ||||||
|  |                         } | ||||||
|  |                     }); | ||||||
|  |                 })(); | ||||||
|  |              | ||||||
							
								
								
									
										9
									
								
								app/js/ace/ext-textarea.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								app/js/ace/ext-textarea.js
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										9
									
								
								app/js/ace/ext-themelist.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								app/js/ace/ext-themelist.js
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,9 @@ | |||||||
|  | define("ace/ext/themelist",["require","exports","module"],function(e,t,n){"use strict";var r=[["Chrome"],["Clouds"],["Crimson Editor"],["Dawn"],["Dreamweaver"],["Eclipse"],["GitHub"],["IPlastic"],["Solarized Light"],["TextMate"],["Tomorrow"],["Xcode"],["Kuroir"],["KatzenMilch"],["SQL Server","sqlserver","light"],["Ambiance","ambiance","dark"],["Chaos","chaos","dark"],["Clouds Midnight","clouds_midnight","dark"],["Dracula","","dark"],["Cobalt","cobalt","dark"],["Gruvbox","gruvbox","dark"],["Green on Black","gob","dark"],["idle Fingers","idle_fingers","dark"],["krTheme","kr_theme","dark"],["Merbivore","merbivore","dark"],["Merbivore Soft","merbivore_soft","dark"],["Mono Industrial","mono_industrial","dark"],["Monokai","monokai","dark"],["Nord Dark","nord_dark","dark"],["One Dark","one_dark","dark"],["Pastel on dark","pastel_on_dark","dark"],["Solarized Dark","solarized_dark","dark"],["Terminal","terminal","dark"],["Tomorrow Night","tomorrow_night","dark"],["Tomorrow Night Blue","tomorrow_night_blue","dark"],["Tomorrow Night Bright","tomorrow_night_bright","dark"],["Tomorrow Night 80s","tomorrow_night_eighties","dark"],["Twilight","twilight","dark"],["Vibrant Ink","vibrant_ink","dark"]];t.themesByName={},t.themes=r.map(function(e){var n=e[1]||e[0].replace(/ /g,"_").toLowerCase(),r={caption:e[0],theme:"ace/theme/"+n,isDark:e[2]=="dark",name:n};return t.themesByName[n]=r,r})}); | ||||||
|  |                 (function() { | ||||||
|  |                     window.require(["ace/ext/themelist"], function(m) { | ||||||
|  |                         if (typeof module == "object" && typeof exports == "object" && module) { | ||||||
|  |                             module.exports = m; | ||||||
|  |                         } | ||||||
|  |                     }); | ||||||
|  |                 })(); | ||||||
|  |              | ||||||
							
								
								
									
										9
									
								
								app/js/ace/ext-whitespace.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								app/js/ace/ext-whitespace.js
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,9 @@ | |||||||
|  | define("ace/ext/whitespace",["require","exports","module","ace/lib/lang"],function(e,t,n){"use strict";var r=e("../lib/lang");t.$detectIndentation=function(e,t){function c(e){var t=0;for(var r=e;r<n.length;r+=e)t+=n[r]||0;return t}var n=[],r=[],i=0,s=0,o=Math.min(e.length,1e3);for(var u=0;u<o;u++){var a=e[u];if(!/^\s*[^*+\-\s]/.test(a))continue;if(a[0]=="	")i++,s=-Number.MAX_VALUE;else{var f=a.match(/^ */)[0].length;if(f&&a[f]!="	"){var l=f-s;l>0&&!(s%l)&&!(f%l)&&(r[l]=(r[l]||0)+1),n[f]=(n[f]||0)+1}s=f}while(u<o&&a[a.length-1]=="\\")a=e[u++]}var h=r.reduce(function(e,t){return e+t},0),p={score:0,length:0},d=0;for(var u=1;u<12;u++){var v=c(u);u==1?(d=v,v=n[1]?.9:.8,n.length||(v=0)):v/=d,r[u]&&(v+=r[u]/h),v>p.score&&(p={score:v,length:u})}if(p.score&&p.score>1.4)var m=p.length;if(i>d+1){if(m==1||d<i/4||p.score<1.8)m=undefined;return{ch:"	",length:m}}if(d>i+1)return{ch:" ",length:m}},t.detectIndentation=function(e){var n=e.getLines(0,1e3),r=t.$detectIndentation(n)||{};return r.ch&&e.setUseSoftTabs(r.ch==" "),r.length&&e.setTabSize(r.length),r},t.trimTrailingSpace=function(e,t){var n=e.getDocument(),r=n.getAllLines(),i=t&&t.trimEmpty?-1:0,s=[],o=-1;t&&t.keepCursorPosition&&(e.selection.rangeCount?e.selection.rangeList.ranges.forEach(function(e,t,n){var r=n[t+1];if(r&&r.cursor.row==e.cursor.row)return;s.push(e.cursor)}):s.push(e.selection.getCursor()),o=0);var u=s[o]&&s[o].row;for(var a=0,f=r.length;a<f;a++){var l=r[a],c=l.search(/\s+$/);a==u&&(c<s[o].column&&c>i&&(c=s[o].column),o++,u=s[o]?s[o].row:-1),c>i&&n.removeInLine(a,c,l.length)}},t.convertIndentation=function(e,t,n){var i=e.getTabString()[0],s=e.getTabSize();n||(n=s),t||(t=i);var o=t=="	"?t:r.stringRepeat(t,n),u=e.doc,a=u.getAllLines(),f={},l={};for(var c=0,h=a.length;c<h;c++){var p=a[c],d=p.match(/^\s*/)[0];if(d){var v=e.$getStringScreenWidth(d)[0],m=Math.floor(v/s),g=v%s,y=f[m]||(f[m]=r.stringRepeat(o,m));y+=l[g]||(l[g]=r.stringRepeat(" ",g)),y!=d&&(u.removeInLine(c,0,d.length),u.insertInLine({row:c,column:0},y))}}e.setTabSize(n),e.setUseSoftTabs(t==" ")},t.$parseStringArg=function(e){var t={};/t/.test(e)?t.ch="	":/s/.test(e)&&(t.ch=" ");var n=e.match(/\d+/);return n&&(t.length=parseInt(n[0],10)),t},t.$parseArg=function(e){return e?typeof e=="string"?t.$parseStringArg(e):typeof e.text=="string"?t.$parseStringArg(e.text):e:{}},t.commands=[{name:"detectIndentation",description:"Detect indentation from content",exec:function(e){t.detectIndentation(e.session)}},{name:"trimTrailingSpace",description:"Trim trailing whitespace",exec:function(e,n){t.trimTrailingSpace(e.session,n)}},{name:"convertIndentation",description:"Convert indentation to ...",exec:function(e,n){var r=t.$parseArg(n);t.convertIndentation(e.session,r.ch,r.length)}},{name:"setIndentation",description:"Set indentation",exec:function(e,n){var r=t.$parseArg(n);r.length&&e.session.setTabSize(r.length),r.ch&&e.session.setUseSoftTabs(r.ch==" ")}}]}); | ||||||
|  |                 (function() { | ||||||
|  |                     window.require(["ace/ext/whitespace"], function(m) { | ||||||
|  |                         if (typeof module == "object" && typeof exports == "object" && module) { | ||||||
|  |                             module.exports = m; | ||||||
|  |                         } | ||||||
|  |                     }); | ||||||
|  |                 })(); | ||||||
|  |              | ||||||
							
								
								
									
										9
									
								
								app/js/ace/keybinding-emacs.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								app/js/ace/keybinding-emacs.js
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										9
									
								
								app/js/ace/keybinding-sublime.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								app/js/ace/keybinding-sublime.js
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										9
									
								
								app/js/ace/keybinding-vim.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								app/js/ace/keybinding-vim.js
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										9
									
								
								app/js/ace/keybinding-vscode.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								app/js/ace/keybinding-vscode.js
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										9
									
								
								app/js/ace/mode-abap.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								app/js/ace/mode-abap.js
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										9
									
								
								app/js/ace/mode-abc.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								app/js/ace/mode-abc.js
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,9 @@ | |||||||
|  | define("ace/mode/abc_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text_highlight_rules").TextHighlightRules,s=function(){this.$rules={start:[{token:["zupfnoter.information.comment.line.percentage","information.keyword","in formation.keyword.embedded"],regex:"(%%%%)(hn\\.[a-z]*)(.*)",comment:"Instruction Comment"},{token:["information.comment.line.percentage","information.keyword.embedded"],regex:"(%%)(.*)",comment:"Instruction Comment"},{token:"comment.line.percentage",regex:"%.*",comment:"Comments"},{token:"barline.keyword.operator",regex:"[\\[:]*[|:][|\\]:]*(?:\\[?[0-9]+)?|\\[[0-9]+",comment:"Bar lines"},{token:["information.keyword.embedded","information.argument.string.unquoted"],regex:"(\\[[A-Za-z]:)([^\\]]*\\])",comment:"embedded Header lines"},{token:["information.keyword","information.argument.string.unquoted"],regex:"^([A-Za-z]:)([^%\\\\]*)",comment:"Header lines"},{token:["text","entity.name.function","string.unquoted","text"],regex:"(\\[)([A-Z]:)(.*?)(\\])",comment:"Inline fields"},{token:["accent.constant.language","pitch.constant.numeric","duration.constant.numeric"],regex:"([\\^=_]*)([A-Ga-gz][,']*)([0-9]*/*[><0-9]*)",comment:"Notes"},{token:"zupfnoter.jumptarget.string.quoted",regex:'[\\"!]\\^\\:.*?[\\"!]',comment:"Zupfnoter jumptarget"},{token:"zupfnoter.goto.string.quoted",regex:'[\\"!]\\^\\@.*?[\\"!]',comment:"Zupfnoter goto"},{token:"zupfnoter.annotation.string.quoted",regex:'[\\"!]\\^\\!.*?[\\"!]',comment:"Zupfnoter annoation"},{token:"zupfnoter.annotationref.string.quoted",regex:'[\\"!]\\^\\#.*?[\\"!]',comment:"Zupfnoter annotation reference"},{token:"chordname.string.quoted",regex:'[\\"!]\\^.*?[\\"!]',comment:"abc chord"},{token:"string.quoted",regex:'[\\"!].*?[\\"!]',comment:"abc annotation"}]},this.normalizeRules()};s.metaData={fileTypes:["abc"],name:"ABC",scopeName:"text.abcnotation"},r.inherits(s,i),t.ABCHighlightRules=s}),define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],function(e,t,n){"use strict";var r=e("../../lib/oop"),i=e("../../range").Range,s=e("./fold_mode").FoldMode,o=t.FoldMode=function(e){e&&(this.foldingStartMarker=new RegExp(this.foldingStartMarker.source.replace(/\|[^|]*?$/,"|"+e.start)),this.foldingStopMarker=new RegExp(this.foldingStopMarker.source.replace(/\|[^|]*?$/,"|"+e.end)))};r.inherits(o,s),function(){this.foldingStartMarker=/([\{\[\(])[^\}\]\)]*$|^\s*(\/\*)/,this.foldingStopMarker=/^[^\[\{\(]*([\}\]\)])|^[\s\*]*(\*\/)/,this.singleLineBlockCommentRe=/^\s*(\/\*).*\*\/\s*$/,this.tripleStarBlockCommentRe=/^\s*(\/\*\*\*).*\*\/\s*$/,this.startRegionRe=/^\s*(\/\*|\/\/)#?region\b/,this._getFoldWidgetBase=this.getFoldWidget,this.getFoldWidget=function(e,t,n){var r=e.getLine(n);if(this.singleLineBlockCommentRe.test(r)&&!this.startRegionRe.test(r)&&!this.tripleStarBlockCommentRe.test(r))return"";var i=this._getFoldWidgetBase(e,t,n);return!i&&this.startRegionRe.test(r)?"start":i},this.getFoldWidgetRange=function(e,t,n,r){var i=e.getLine(n);if(this.startRegionRe.test(i))return this.getCommentRegionBlock(e,i,n);var s=i.match(this.foldingStartMarker);if(s){var o=s.index;if(s[1])return this.openingBracketBlock(e,s[1],n,o);var u=e.getCommentFoldRange(n,o+s[0].length,1);return u&&!u.isMultiLine()&&(r?u=this.getSectionRange(e,n):t!="all"&&(u=null)),u}if(t==="markbegin")return;var s=i.match(this.foldingStopMarker);if(s){var o=s.index+s[0].length;return s[1]?this.closingBracketBlock(e,s[1],n,o):e.getCommentFoldRange(n,o,-1)}},this.getSectionRange=function(e,t){var n=e.getLine(t),r=n.search(/\S/),s=t,o=n.length;t+=1;var u=t,a=e.getLength();while(++t<a){n=e.getLine(t);var f=n.search(/\S/);if(f===-1)continue;if(r>f)break;var l=this.getFoldWidgetRange(e,"all",t);if(l){if(l.start.row<=s)break;if(l.isMultiLine())t=l.end.row;else if(r==f)break}u=t}return new i(s,o,u,e.getLine(u).length)},this.getCommentRegionBlock=function(e,t,n){var r=t.search(/\s*$/),s=e.getLength(),o=n,u=/^\s*(?:\/\*|\/\/|--)#?(end)?region\b/,a=1;while(++n<s){t=e.getLine(n);var f=u.exec(t);if(!f)continue;f[1]?a--:a++;if(!a)break}var l=n;if(l>o)return new i(o,r,l,t.length)}}.call(o.prototype)}),define("ace/mode/abc",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/abc_highlight_rules","ace/mode/folding/cstyle"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text").Mode,s=e("./abc_highlight_rules").ABCHighlightRules,o=e("./folding/cstyle").FoldMode,u=function(){this.HighlightRules=s,this.foldingRules=new o,this.$behaviour=this.$defaultBehaviour};r.inherits(u,i),function(){this.lineCommentStart="%",this.$id="ace/mode/abc",this.snippetFileId="ace/snippets/abc"}.call(u.prototype),t.Mode=u}); | ||||||
|  |                 (function() { | ||||||
|  |                     window.require(["ace/mode/abc"], function(m) { | ||||||
|  |                         if (typeof module == "object" && typeof exports == "object" && module) { | ||||||
|  |                             module.exports = m; | ||||||
|  |                         } | ||||||
|  |                     }); | ||||||
|  |                 })(); | ||||||
|  |              | ||||||
							
								
								
									
										9
									
								
								app/js/ace/mode-actionscript.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								app/js/ace/mode-actionscript.js
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										9
									
								
								app/js/ace/mode-ada.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								app/js/ace/mode-ada.js
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,9 @@ | |||||||
|  | define("ace/mode/ada_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text_highlight_rules").TextHighlightRules,s=function(){var e="abort|else|new|return|abs|elsif|not|reverse|abstract|end|null|accept|entry|select|access|exception|of|separate|aliased|exit|or|some|all|others|subtype|and|for|out|synchronized|array|function|overriding|at|tagged|generic|package|task|begin|goto|pragma|terminate|body|private|then|if|procedure|type|case|in|protected|constant|interface|until||is|raise|use|declare|range|delay|limited|record|when|delta|loop|rem|while|digits|renames|with|do|mod|requeue|xor",t="true|false|null",n="count|min|max|avg|sum|rank|now|coalesce|main",r=this.createKeywordMapper({"support.function":n,keyword:e,"constant.language":t},"identifier",!0);this.$rules={start:[{token:"comment",regex:"--.*$"},{token:"string",regex:'".*?"'},{token:"string",regex:"'.'"},{token:"constant.numeric",regex:"[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b"},{token:r,regex:"[a-zA-Z_$][a-zA-Z0-9_$]*\\b"},{token:"keyword.operator",regex:"\\+|\\-|\\/|\\/\\/|%|<@>|@>|<@|&|\\^|~|<|>|<=|=>|==|!=|<>|="},{token:"paren.lparen",regex:"[\\(]"},{token:"paren.rparen",regex:"[\\)]"},{token:"text",regex:"\\s+"}]}};r.inherits(s,i),t.AdaHighlightRules=s}),define("ace/mode/ada",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/ada_highlight_rules","ace/range"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text").Mode,s=e("./ada_highlight_rules").AdaHighlightRules,o=e("../range").Range,u=function(){this.HighlightRules=s,this.$behaviour=this.$defaultBehaviour};r.inherits(u,i),function(){this.lineCommentStart="--",this.getNextLineIndent=function(e,t,n){var r=this.$getIndent(t),i=this.getTokenizer().getLineTokens(t,e),s=i.tokens;if(s.length&&s[s.length-1].type=="comment")return r;if(e=="start"){var o=t.match(/^.*(begin|loop|then|is|do)\s*$/);o&&(r+=n)}return r},this.checkOutdent=function(e,t,n){var r=t+n;return r.match(/^\s*(begin|end)$/)?!0:!1},this.autoOutdent=function(e,t,n){var r=t.getLine(n),i=t.getLine(n-1),s=this.$getIndent(i).length,u=this.$getIndent(r).length;if(u<=s)return;t.outdentRows(new o(n,0,n+2,0))},this.$id="ace/mode/ada"}.call(u.prototype),t.Mode=u}); | ||||||
|  |                 (function() { | ||||||
|  |                     window.require(["ace/mode/ada"], function(m) { | ||||||
|  |                         if (typeof module == "object" && typeof exports == "object" && module) { | ||||||
|  |                             module.exports = m; | ||||||
|  |                         } | ||||||
|  |                     }); | ||||||
|  |                 })(); | ||||||
|  |              | ||||||
							
								
								
									
										9
									
								
								app/js/ace/mode-aiscript.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								app/js/ace/mode-aiscript.js
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										9
									
								
								app/js/ace/mode-alda.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								app/js/ace/mode-alda.js
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										9
									
								
								app/js/ace/mode-apache_conf.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								app/js/ace/mode-apache_conf.js
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										9
									
								
								app/js/ace/mode-apex.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								app/js/ace/mode-apex.js
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										9
									
								
								app/js/ace/mode-applescript.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								app/js/ace/mode-applescript.js
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										9
									
								
								app/js/ace/mode-aql.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								app/js/ace/mode-aql.js
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,9 @@ | |||||||
|  | define("ace/mode/aql_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text_highlight_rules").TextHighlightRules,s=function(){var e="for|search|outbound|inbound|any|graph|prune|options|shortest_path|to|in|return|filter|sort|limit|let|collect|remove|update|replace|insers|upsert|with",t="true|false",n="append|contains_array|count|count_distinct|count_unique|first|flatten|intersection|last|length|minus|nth|outersection|pop|position|push|remove_nth|remove_value|remove_values|reverse|shift|slice|sorted|sorted_unique|union|union_distinct|unique|unshift|date_now|date_iso8601|date_timestamp|is_datestring|date_dayofweek|date_year|date_month|date_day|date_hour|date_minute|date_second|date_millisecond|date_dayofyear|date_isoweek|date_leapyear|date_quarter|date_days_in_month|date_trunc|date_format|date_add|date_subtract|date_diff|date_compare|attributes|count|has|is_same_collection|keep|length|matches|merge|merge_recursive|parse_identifier|translate|unset|unset_recursive|values|zip|fulltext|distance|geo_contains|geo_distance|geo_equals|geo_intersects|is_in_polygon|not_null|first_list|first_document|check_document|collection_count|collections|count|current_user|document|length|hash|apply|assert|/ warn|call|fail|noopt|passthru|sleep|v8|version|abs|acos|asin|atan|atan2|average|avg|ceil|cos|degrees|exp|exp2|floor|log|log2|log10|max|median|min|percentile|pi|pow|radians|rand|range|round|sin|sqrt|stddev_population|stddev_sample|stddev|sum|tan|variance_population|variance_sample|variance|char_length|concat|concat_separator|contains|count|encode_uri_component|find_first|find_last|json_parse|json_stringify|left|length|levenshtein_distance|like|lower|ltrim|md5|random_token|regex_matches|regex_split|regex_test|regex_replace|reverse|right|rtrim|sha1|sha512|split|soundex|substitute|substring|tokens|to_base64|to_hex|trim|upper|uuid|to_bool|to_number|to_string|to_array|to_list|is_null|is_bool|is_number|is_string|is_array|is_list|is_object|is_document|is_datestring|is_key|typename|",r=this.createKeywordMapper({"support.function":n,keyword:e,"constant.language":t},"identifier",!0);this.$rules={start:[{token:"comment",regex:"//.*$"},{token:"string",regex:'".*?"'},{token:"string",regex:"'.*?'"},{token:"constant.numeric",regex:"[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b"},{token:r,regex:"[a-zA-Z_$][a-zA-Z0-9_$]*\\b"},{token:"keyword.operator",regex:"\\+|\\-|\\/|\\/\\/|%|<@>|@>|<@|&|\\^|~|<|>|<=|=>|==|!=|<>|="},{token:"paren.lparen",regex:"[\\(]"},{token:"paren.rparen",regex:"[\\)]"},{token:"text",regex:"\\s+"}]},this.normalizeRules()};r.inherits(s,i),t.AqlHighlightRules=s}),define("ace/mode/aql",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/aql_highlight_rules"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text").Mode,s=e("./aql_highlight_rules").AqlHighlightRules,o=function(){this.HighlightRules=s,this.$behaviour=this.$defaultBehaviour};r.inherits(o,i),function(){this.lineCommentStart="//",this.$id="ace/mode/aql"}.call(o.prototype),t.Mode=o}); | ||||||
|  |                 (function() { | ||||||
|  |                     window.require(["ace/mode/aql"], function(m) { | ||||||
|  |                         if (typeof module == "object" && typeof exports == "object" && module) { | ||||||
|  |                             module.exports = m; | ||||||
|  |                         } | ||||||
|  |                     }); | ||||||
|  |                 })(); | ||||||
|  |              | ||||||
							
								
								
									
										9
									
								
								app/js/ace/mode-asciidoc.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								app/js/ace/mode-asciidoc.js
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										9
									
								
								app/js/ace/mode-asl.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								app/js/ace/mode-asl.js
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										9
									
								
								app/js/ace/mode-assembly_x86.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								app/js/ace/mode-assembly_x86.js
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										9
									
								
								app/js/ace/mode-autohotkey.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								app/js/ace/mode-autohotkey.js
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										9
									
								
								app/js/ace/mode-batchfile.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								app/js/ace/mode-batchfile.js
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,9 @@ | |||||||
|  | define("ace/mode/batchfile_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text_highlight_rules").TextHighlightRules,s=function(){this.$rules={start:[{token:"keyword.command.dosbatch",regex:"\\b(?:append|assoc|at|attrib|break|cacls|cd|chcp|chdir|chkdsk|chkntfs|cls|cmd|color|comp|compact|convert|copy|date|del|dir|diskcomp|diskcopy|doskey|echo|endlocal|erase|fc|find|findstr|format|ftype|graftabl|help|keyb|label|md|mkdir|mode|more|move|path|pause|popd|print|prompt|pushd|rd|recover|ren|rename|replace|restore|rmdir|set|setlocal|shift|sort|start|subst|time|title|tree|type|ver|verify|vol|xcopy)\\b",caseInsensitive:!0},{token:"keyword.control.statement.dosbatch",regex:"\\b(?:goto|call|exit)\\b",caseInsensitive:!0},{token:"keyword.control.conditional.if.dosbatch",regex:"\\bif\\s+not\\s+(?:exist|defined|errorlevel|cmdextversion)\\b",caseInsensitive:!0},{token:"keyword.control.conditional.dosbatch",regex:"\\b(?:if|else)\\b",caseInsensitive:!0},{token:"keyword.control.repeat.dosbatch",regex:"\\bfor\\b",caseInsensitive:!0},{token:"keyword.operator.dosbatch",regex:"\\b(?:EQU|NEQ|LSS|LEQ|GTR|GEQ)\\b"},{token:["doc.comment","comment"],regex:"(?:^|\\b)(rem)($|\\s.*$)",caseInsensitive:!0},{token:"comment.line.colons.dosbatch",regex:"::.*$"},{include:"variable"},{token:"punctuation.definition.string.begin.shell",regex:'"',push:[{token:"punctuation.definition.string.end.shell",regex:'"',next:"pop"},{include:"variable"},{defaultToken:"string.quoted.double.dosbatch"}]},{token:"keyword.operator.pipe.dosbatch",regex:"[|]"},{token:"keyword.operator.redirect.shell",regex:"&>|\\d*>&\\d*|\\d*(?:>>|>|<)|\\d*<&|\\d*<>"}],variable:[{token:"constant.numeric",regex:"%%\\w+|%[*\\d]|%\\w+%"},{token:"constant.numeric",regex:"%~\\d+"},{token:["markup.list","constant.other","markup.list"],regex:"(%)(\\w+)(%?)"}]},this.normalizeRules()};s.metaData={name:"Batch File",scopeName:"source.dosbatch",fileTypes:["bat"]},r.inherits(s,i),t.BatchFileHighlightRules=s}),define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],function(e,t,n){"use strict";var r=e("../../lib/oop"),i=e("../../range").Range,s=e("./fold_mode").FoldMode,o=t.FoldMode=function(e){e&&(this.foldingStartMarker=new RegExp(this.foldingStartMarker.source.replace(/\|[^|]*?$/,"|"+e.start)),this.foldingStopMarker=new RegExp(this.foldingStopMarker.source.replace(/\|[^|]*?$/,"|"+e.end)))};r.inherits(o,s),function(){this.foldingStartMarker=/([\{\[\(])[^\}\]\)]*$|^\s*(\/\*)/,this.foldingStopMarker=/^[^\[\{\(]*([\}\]\)])|^[\s\*]*(\*\/)/,this.singleLineBlockCommentRe=/^\s*(\/\*).*\*\/\s*$/,this.tripleStarBlockCommentRe=/^\s*(\/\*\*\*).*\*\/\s*$/,this.startRegionRe=/^\s*(\/\*|\/\/)#?region\b/,this._getFoldWidgetBase=this.getFoldWidget,this.getFoldWidget=function(e,t,n){var r=e.getLine(n);if(this.singleLineBlockCommentRe.test(r)&&!this.startRegionRe.test(r)&&!this.tripleStarBlockCommentRe.test(r))return"";var i=this._getFoldWidgetBase(e,t,n);return!i&&this.startRegionRe.test(r)?"start":i},this.getFoldWidgetRange=function(e,t,n,r){var i=e.getLine(n);if(this.startRegionRe.test(i))return this.getCommentRegionBlock(e,i,n);var s=i.match(this.foldingStartMarker);if(s){var o=s.index;if(s[1])return this.openingBracketBlock(e,s[1],n,o);var u=e.getCommentFoldRange(n,o+s[0].length,1);return u&&!u.isMultiLine()&&(r?u=this.getSectionRange(e,n):t!="all"&&(u=null)),u}if(t==="markbegin")return;var s=i.match(this.foldingStopMarker);if(s){var o=s.index+s[0].length;return s[1]?this.closingBracketBlock(e,s[1],n,o):e.getCommentFoldRange(n,o,-1)}},this.getSectionRange=function(e,t){var n=e.getLine(t),r=n.search(/\S/),s=t,o=n.length;t+=1;var u=t,a=e.getLength();while(++t<a){n=e.getLine(t);var f=n.search(/\S/);if(f===-1)continue;if(r>f)break;var l=this.getFoldWidgetRange(e,"all",t);if(l){if(l.start.row<=s)break;if(l.isMultiLine())t=l.end.row;else if(r==f)break}u=t}return new i(s,o,u,e.getLine(u).length)},this.getCommentRegionBlock=function(e,t,n){var r=t.search(/\s*$/),s=e.getLength(),o=n,u=/^\s*(?:\/\*|\/\/|--)#?(end)?region\b/,a=1;while(++n<s){t=e.getLine(n);var f=u.exec(t);if(!f)continue;f[1]?a--:a++;if(!a)break}var l=n;if(l>o)return new i(o,r,l,t.length)}}.call(o.prototype)}),define("ace/mode/batchfile",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/batchfile_highlight_rules","ace/mode/folding/cstyle"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text").Mode,s=e("./batchfile_highlight_rules").BatchFileHighlightRules,o=e("./folding/cstyle").FoldMode,u=function(){this.HighlightRules=s,this.foldingRules=new o,this.$behaviour=this.$defaultBehaviour};r.inherits(u,i),function(){this.lineCommentStart="::",this.blockComment="",this.$id="ace/mode/batchfile"}.call(u.prototype),t.Mode=u}); | ||||||
|  |                 (function() { | ||||||
|  |                     window.require(["ace/mode/batchfile"], function(m) { | ||||||
|  |                         if (typeof module == "object" && typeof exports == "object" && module) { | ||||||
|  |                             module.exports = m; | ||||||
|  |                         } | ||||||
|  |                     }); | ||||||
|  |                 })(); | ||||||
|  |              | ||||||
							
								
								
									
										9
									
								
								app/js/ace/mode-c9search.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								app/js/ace/mode-c9search.js
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,9 @@ | |||||||
|  | define("ace/mode/c9search_highlight_rules",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/mode/text_highlight_rules"],function(e,t,n){"use strict";function o(e,t){try{return new RegExp(e,t)}catch(n){}}var r=e("../lib/oop"),i=e("../lib/lang"),s=e("./text_highlight_rules").TextHighlightRules,u=function(){this.$rules={start:[{tokenNames:["c9searchresults.constant.numeric","c9searchresults.text","c9searchresults.text","c9searchresults.keyword"],regex:/(^\s+[0-9]+)(:)(\d*\s?)([^\r\n]+)/,onMatch:function(e,t,n){var r=this.splitRegex.exec(e),i=this.tokenNames,s=[{type:i[0],value:r[1]},{type:i[1],value:r[2]}];r[3]&&(r[3]==" "?s[1]={type:i[1],value:r[2]+" "}:s.push({type:i[1],value:r[3]}));var o=n[1],u=r[4],a,f=0;if(o&&o.exec){o.lastIndex=0;while(a=o.exec(u)){var l=u.substring(f,a.index);f=o.lastIndex,l&&s.push({type:i[2],value:l});if(a[0])s.push({type:i[3],value:a[0]});else if(!l)break}}return f<u.length&&s.push({type:i[2],value:u.substr(f)}),s}},{regex:"^Searching for [^\\r\\n]*$",onMatch:function(e,t,n){var r=e.split("\x01");if(r.length<3)return"text";var s,u,a=0,f=[{value:r[a++]+"'",type:"text"},{value:u=r[a++],type:"text"},{value:"'"+r[a++],type:"text"}];r[2]!==" in"&&f.push({value:"'"+r[a++]+"'",type:"text"},{value:r[a++],type:"text"}),f.push({value:" "+r[a++]+" ",type:"text"}),r[a+1]?(s=r[a+1],f.push({value:"("+r[a+1]+")",type:"text"}),a+=1):a-=1;while(a++<r.length)r[a]&&f.push({value:r[a],type:"text"});u&&(/regex/.test(s)||(u=i.escapeRegExp(u)),/whole/.test(s)&&(u="\\b"+u+"\\b"));var l=u&&o("("+u+")",/ sensitive/.test(s)?"g":"ig");return l&&(n[0]=t,n[1]=l),f}},{regex:"^(?=Found \\d+ matches)",token:"text",next:"numbers"},{token:"string",regex:"^\\S:?[^:]+",next:"numbers"}],numbers:[{regex:"\\d+",token:"constant.numeric"},{regex:"$",token:"text",next:"start"}]},this.normalizeRules()};r.inherits(u,s),t.C9SearchHighlightRules=u}),define("ace/mode/matching_brace_outdent",["require","exports","module","ace/range"],function(e,t,n){"use strict";var r=e("../range").Range,i=function(){};(function(){this.checkOutdent=function(e,t){return/^\s+$/.test(e)?/^\s*\}/.test(t):!1},this.autoOutdent=function(e,t){var n=e.getLine(t),i=n.match(/^(\s*\})/);if(!i)return 0;var s=i[1].length,o=e.findMatchingBracket({row:t,column:s});if(!o||o.row==t)return 0;var u=this.$getIndent(e.getLine(o.row));e.replace(new r(t,0,t,s-1),u)},this.$getIndent=function(e){return e.match(/^\s*/)[0]}}).call(i.prototype),t.MatchingBraceOutdent=i}),define("ace/mode/folding/c9search",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],function(e,t,n){"use strict";var r=e("../../lib/oop"),i=e("../../range").Range,s=e("./fold_mode").FoldMode,o=t.FoldMode=function(){};r.inherits(o,s),function(){this.foldingStartMarker=/^(\S.*:|Searching for.*)$/,this.foldingStopMarker=/^(\s+|Found.*)$/,this.getFoldWidgetRange=function(e,t,n){var r=e.doc.getAllLines(n),s=r[n],o=/^(Found.*|Searching for.*)$/,u=/^(\S.*:|\s*)$/,a=o.test(s)?o:u,f=n,l=n;if(this.foldingStartMarker.test(s)){for(var c=n+1,h=e.getLength();c<h;c++)if(a.test(r[c]))break;l=c}else if(this.foldingStopMarker.test(s)){for(var c=n-1;c>=0;c--){s=r[c];if(a.test(s))break}f=c}if(f!=l){var p=s.length;return a===o&&(p=s.search(/\(Found[^)]+\)$|$/)),new i(f,p,l,0)}}}.call(o.prototype)}),define("ace/mode/c9search",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/c9search_highlight_rules","ace/mode/matching_brace_outdent","ace/mode/folding/c9search"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text").Mode,s=e("./c9search_highlight_rules").C9SearchHighlightRules,o=e("./matching_brace_outdent").MatchingBraceOutdent,u=e("./folding/c9search").FoldMode,a=function(){this.HighlightRules=s,this.$outdent=new o,this.foldingRules=new u};r.inherits(a,i),function(){this.getNextLineIndent=function(e,t,n){var r=this.$getIndent(t);return r},this.checkOutdent=function(e,t,n){return this.$outdent.checkOutdent(t,n)},this.autoOutdent=function(e,t,n){this.$outdent.autoOutdent(t,n)},this.$id="ace/mode/c9search"}.call(a.prototype),t.Mode=a}); | ||||||
|  |                 (function() { | ||||||
|  |                     window.require(["ace/mode/c9search"], function(m) { | ||||||
|  |                         if (typeof module == "object" && typeof exports == "object" && module) { | ||||||
|  |                             module.exports = m; | ||||||
|  |                         } | ||||||
|  |                     }); | ||||||
|  |                 })(); | ||||||
|  |              | ||||||
							
								
								
									
										9
									
								
								app/js/ace/mode-c_cpp.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								app/js/ace/mode-c_cpp.js
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										9
									
								
								app/js/ace/mode-cirru.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								app/js/ace/mode-cirru.js
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,9 @@ | |||||||
|  | define("ace/mode/cirru_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text_highlight_rules").TextHighlightRules,s=function(){this.$rules={start:[{token:"constant.numeric",regex:/[\d\.]+/},{token:"comment.line.double-dash",regex:/--/,next:"comment"},{token:"storage.modifier",regex:/\(/},{token:"storage.modifier",regex:/,/,next:"line"},{token:"support.function",regex:/[^\(\)"\s{}\[\]]+/,next:"line"},{token:"string.quoted.double",regex:/"/,next:"string"},{token:"storage.modifier",regex:/\)/}],comment:[{token:"comment.line.double-dash",regex:/ +[^\n]+/,next:"start"}],string:[{token:"string.quoted.double",regex:/"/,next:"line"},{token:"constant.character.escape",regex:/\\/,next:"escape"},{token:"string.quoted.double",regex:/[^\\"]+/}],escape:[{token:"constant.character.escape",regex:/./,next:"string"}],line:[{token:"constant.numeric",regex:/[\d\.]+/},{token:"markup.raw",regex:/^\s*/,next:"start"},{token:"storage.modifier",regex:/\$/,next:"start"},{token:"variable.parameter",regex:/[^\(\)"\s{}\[\]]+/},{token:"storage.modifier",regex:/\(/,next:"start"},{token:"storage.modifier",regex:/\)/},{token:"markup.raw",regex:/^ */,next:"start"},{token:"string.quoted.double",regex:/"/,next:"string"}]}};r.inherits(s,i),t.CirruHighlightRules=s}),define("ace/mode/folding/coffee",["require","exports","module","ace/lib/oop","ace/mode/folding/fold_mode","ace/range"],function(e,t,n){"use strict";var r=e("../../lib/oop"),i=e("./fold_mode").FoldMode,s=e("../../range").Range,o=t.FoldMode=function(){};r.inherits(o,i),function(){this.getFoldWidgetRange=function(e,t,n){var r=this.indentationBlock(e,n);if(r)return r;var i=/\S/,o=e.getLine(n),u=o.search(i);if(u==-1||o[u]!="#")return;var a=o.length,f=e.getLength(),l=n,c=n;while(++n<f){o=e.getLine(n);var h=o.search(i);if(h==-1)continue;if(o[h]!="#")break;c=n}if(c>l){var p=e.getLine(c).length;return new s(l,a,c,p)}},this.getFoldWidget=function(e,t,n){var r=e.getLine(n),i=r.search(/\S/),s=e.getLine(n+1),o=e.getLine(n-1),u=o.search(/\S/),a=s.search(/\S/);if(i==-1)return e.foldWidgets[n-1]=u!=-1&&u<a?"start":"","";if(u==-1){if(i==a&&r[i]=="#"&&s[i]=="#")return e.foldWidgets[n-1]="",e.foldWidgets[n+1]="","start"}else if(u==i&&r[i]=="#"&&o[i]=="#"&&e.getLine(n-2).search(/\S/)==-1)return e.foldWidgets[n-1]="start",e.foldWidgets[n+1]="","";return u!=-1&&u<i?e.foldWidgets[n-1]="start":e.foldWidgets[n-1]="",i<a?"start":""}}.call(o.prototype)}),define("ace/mode/cirru",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/cirru_highlight_rules","ace/mode/folding/coffee"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text").Mode,s=e("./cirru_highlight_rules").CirruHighlightRules,o=e("./folding/coffee").FoldMode,u=function(){this.HighlightRules=s,this.foldingRules=new o,this.$behaviour=this.$defaultBehaviour};r.inherits(u,i),function(){this.lineCommentStart="--",this.$id="ace/mode/cirru"}.call(u.prototype),t.Mode=u}); | ||||||
|  |                 (function() { | ||||||
|  |                     window.require(["ace/mode/cirru"], function(m) { | ||||||
|  |                         if (typeof module == "object" && typeof exports == "object" && module) { | ||||||
|  |                             module.exports = m; | ||||||
|  |                         } | ||||||
|  |                     }); | ||||||
|  |                 })(); | ||||||
|  |              | ||||||
							
								
								
									
										9
									
								
								app/js/ace/mode-clojure.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								app/js/ace/mode-clojure.js
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										9
									
								
								app/js/ace/mode-cobol.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								app/js/ace/mode-cobol.js
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,9 @@ | |||||||
|  | define("ace/mode/cobol_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text_highlight_rules").TextHighlightRules,s=function(){var e="ACCEPT|MERGE|SUM|ADD||MESSAGE|TABLE|ADVANCING|MODE|TAPE|AFTER|MULTIPLY|TEST|ALL|NEGATIVE|TEXT|ALPHABET|NEXT|THAN|ALSO|NO|THEN|ALTERNATE|NOT|THROUGH|AND|NUMBER|THRU|ANY|OCCURS|TIME|ARE|OF|TO|AREA|OFF|TOP||ASCENDING|OMITTED|TRUE|ASSIGN|ON|TYPE|AT|OPEN|UNIT|AUTHOR|OR|UNTIL|BEFORE|OTHER|UP|BLANK|OUTPUT|USE|BLOCK|PAGE|USING|BOTTOM|PERFORM|VALUE|BY|PIC|VALUES|CALL|PICTURE|WHEN|CANCEL|PLUS|WITH|CD|POINTER|WRITE|CHARACTER|POSITION||ZERO|CLOSE|POSITIVE|ZEROS|COLUMN|PROCEDURE|ZEROES|COMMA|PROGRAM|COMMON|PROGRAM-ID|COMMUNICATION|QUOTE|COMP|RANDOM|COMPUTE|READ|CONTAINS|RECEIVE|CONFIGURATION|RECORD|CONTINUE|REDEFINES|CONTROL|REFERENCE|COPY|REMAINDER|COUNT|REPLACE|DATA|REPORT|DATE|RESERVE|DAY|RESET|DELETE|RETURN|DESTINATION|REWIND|DISABLE|REWRITE|DISPLAY|RIGHT|DIVIDE|RUN|DOWN|SAME|ELSE|SEARCH|ENABLE|SECTION|END|SELECT|ENVIRONMENT|SENTENCE|EQUAL|SET|ERROR|SIGN|EXIT|SEQUENTIAL|EXTERNAL|SIZE|FLASE|SORT|FILE|SOURCE|LENGTH|SPACE|LESS|STANDARD|LIMIT|START|LINE|STOP|LOCK|STRING|LOW-VALUE|SUBTRACT",t="true|false|null",n="count|min|max|avg|sum|rank|now|coalesce|main",r=this.createKeywordMapper({"support.function":n,keyword:e,"constant.language":t},"identifier",!0);this.$rules={start:[{token:"comment",regex:"\\*.*$"},{token:"string",regex:'".*?"'},{token:"string",regex:"'.*?'"},{token:"constant.numeric",regex:"[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b"},{token:r,regex:"[a-zA-Z_$][a-zA-Z0-9_$]*\\b"},{token:"keyword.operator",regex:"\\+|\\-|\\/|\\/\\/|%|<@>|@>|<@|&|\\^|~|<|>|<=|=>|==|!=|<>|="},{token:"paren.lparen",regex:"[\\(]"},{token:"paren.rparen",regex:"[\\)]"},{token:"text",regex:"\\s+"}]}};r.inherits(s,i),t.CobolHighlightRules=s}),define("ace/mode/cobol",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/cobol_highlight_rules"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text").Mode,s=e("./cobol_highlight_rules").CobolHighlightRules,o=function(){this.HighlightRules=s,this.$behaviour=this.$defaultBehaviour};r.inherits(o,i),function(){this.lineCommentStart="*",this.$id="ace/mode/cobol"}.call(o.prototype),t.Mode=o}); | ||||||
|  |                 (function() { | ||||||
|  |                     window.require(["ace/mode/cobol"], function(m) { | ||||||
|  |                         if (typeof module == "object" && typeof exports == "object" && module) { | ||||||
|  |                             module.exports = m; | ||||||
|  |                         } | ||||||
|  |                     }); | ||||||
|  |                 })(); | ||||||
|  |              | ||||||
							
								
								
									
										9
									
								
								app/js/ace/mode-coffee.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								app/js/ace/mode-coffee.js
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										9
									
								
								app/js/ace/mode-coldfusion.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								app/js/ace/mode-coldfusion.js
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										9
									
								
								app/js/ace/mode-crystal.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								app/js/ace/mode-crystal.js
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										9
									
								
								app/js/ace/mode-csharp.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								app/js/ace/mode-csharp.js
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										9
									
								
								app/js/ace/mode-csound_document.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								app/js/ace/mode-csound_document.js
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										9
									
								
								app/js/ace/mode-csound_orchestra.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								app/js/ace/mode-csound_orchestra.js
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										9
									
								
								app/js/ace/mode-csound_score.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								app/js/ace/mode-csound_score.js
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										9
									
								
								app/js/ace/mode-csp.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								app/js/ace/mode-csp.js
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,9 @@ | |||||||
|  | define("ace/mode/csp_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text_highlight_rules").TextHighlightRules,s=function(){var e=this.createKeywordMapper({"constant.language":"child-src|connect-src|default-src|font-src|frame-src|img-src|manifest-src|media-src|object-src|script-src|style-src|worker-src|base-uri|plugin-types|sandbox|disown-opener|form-action|frame-ancestors|report-uri|report-to|upgrade-insecure-requests|block-all-mixed-content|require-sri-for|reflected-xss|referrer|policy-uri",variable:"'none'|'self'|'unsafe-inline'|'unsafe-eval'|'strict-dynamic'|'unsafe-hashed-attributes'"},"identifier",!0);this.$rules={start:[{token:"string.link",regex:/https?:[^;\s]*/},{token:"operator.punctuation",regex:/;/},{token:e,regex:/[^\s;]+/}]}};r.inherits(s,i),t.CspHighlightRules=s}),define("ace/mode/csp",["require","exports","module","ace/mode/text","ace/mode/csp_highlight_rules","ace/lib/oop"],function(e,t,n){"use strict";var r=e("./text").Mode,i=e("./csp_highlight_rules").CspHighlightRules,s=e("../lib/oop"),o=function(){this.HighlightRules=i};s.inherits(o,r),function(){this.$id="ace/mode/csp"}.call(o.prototype),t.Mode=o}); | ||||||
|  |                 (function() { | ||||||
|  |                     window.require(["ace/mode/csp"], function(m) { | ||||||
|  |                         if (typeof module == "object" && typeof exports == "object" && module) { | ||||||
|  |                             module.exports = m; | ||||||
|  |                         } | ||||||
|  |                     }); | ||||||
|  |                 })(); | ||||||
|  |              | ||||||
							
								
								
									
										9
									
								
								app/js/ace/mode-css.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								app/js/ace/mode-css.js
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										9
									
								
								app/js/ace/mode-curly.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								app/js/ace/mode-curly.js
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										9
									
								
								app/js/ace/mode-d.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								app/js/ace/mode-d.js
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										9
									
								
								app/js/ace/mode-dart.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								app/js/ace/mode-dart.js
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										9
									
								
								app/js/ace/mode-diff.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								app/js/ace/mode-diff.js
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,9 @@ | |||||||
|  | define("ace/mode/diff_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text_highlight_rules").TextHighlightRules,s=function(){this.$rules={start:[{regex:"^(?:\\*{15}|={67}|-{3}|\\+{3})$",token:"punctuation.definition.separator.diff",name:"keyword"},{regex:"^(@@)(\\s*.+?\\s*)(@@)(.*)$",token:["constant","constant.numeric","constant","comment.doc.tag"]},{regex:"^(\\d+)([,\\d]+)(a|d|c)(\\d+)([,\\d]+)(.*)$",token:["constant.numeric","punctuation.definition.range.diff","constant.function","constant.numeric","punctuation.definition.range.diff","invalid"],name:"meta."},{regex:"^(\\-{3}|\\+{3}|\\*{3})( .+)$",token:["constant.numeric","meta.tag"]},{regex:"^([!+>])(.*?)(\\s*)$",token:["support.constant","text","invalid"]},{regex:"^([<\\-])(.*?)(\\s*)$",token:["support.function","string","invalid"]},{regex:"^(diff)(\\s+--\\w+)?(.+?)( .+)?$",token:["variable","variable","keyword","variable"]},{regex:"^Index.+$",token:"variable"},{regex:"^\\s+$",token:"text"},{regex:"\\s*$",token:"invalid"},{defaultToken:"invisible",caseInsensitive:!0}]}};r.inherits(s,i),t.DiffHighlightRules=s}),define("ace/mode/folding/diff",["require","exports","module","ace/lib/oop","ace/mode/folding/fold_mode","ace/range"],function(e,t,n){"use strict";var r=e("../../lib/oop"),i=e("./fold_mode").FoldMode,s=e("../../range").Range,o=t.FoldMode=function(e,t){this.regExpList=e,this.flag=t,this.foldingStartMarker=RegExp("^("+e.join("|")+")",this.flag)};r.inherits(o,i),function(){this.getFoldWidgetRange=function(e,t,n){var r=e.getLine(n),i={row:n,column:r.length},o=this.regExpList;for(var u=1;u<=o.length;u++){var a=RegExp("^("+o.slice(0,u).join("|")+")",this.flag);if(a.test(r))break}for(var f=e.getLength();++n<f;){r=e.getLine(n);if(a.test(r))break}if(n==i.row+1)return;return new s(i.row,i.column,n-1,r.length)}}.call(o.prototype)}),define("ace/mode/diff",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/diff_highlight_rules","ace/mode/folding/diff"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text").Mode,s=e("./diff_highlight_rules").DiffHighlightRules,o=e("./folding/diff").FoldMode,u=function(){this.HighlightRules=s,this.foldingRules=new o(["diff","@@|\\*{5}"],"i")};r.inherits(u,i),function(){this.$id="ace/mode/diff",this.snippetFileId="ace/snippets/diff"}.call(u.prototype),t.Mode=u}); | ||||||
|  |                 (function() { | ||||||
|  |                     window.require(["ace/mode/diff"], function(m) { | ||||||
|  |                         if (typeof module == "object" && typeof exports == "object" && module) { | ||||||
|  |                             module.exports = m; | ||||||
|  |                         } | ||||||
|  |                     }); | ||||||
|  |                 })(); | ||||||
|  |              | ||||||
							
								
								
									
										9
									
								
								app/js/ace/mode-django.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								app/js/ace/mode-django.js
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										9
									
								
								app/js/ace/mode-dockerfile.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								app/js/ace/mode-dockerfile.js
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										9
									
								
								app/js/ace/mode-dot.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								app/js/ace/mode-dot.js
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										9
									
								
								app/js/ace/mode-drools.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								app/js/ace/mode-drools.js
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										9
									
								
								app/js/ace/mode-edifact.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								app/js/ace/mode-edifact.js
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,9 @@ | |||||||
|  | define("ace/mode/doc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text_highlight_rules").TextHighlightRules,s=function(){this.$rules={start:[{token:"comment.doc.tag",regex:"@[\\w\\d_]+"},s.getTagRule(),{defaultToken:"comment.doc",caseInsensitive:!0}]}};r.inherits(s,i),s.getTagRule=function(e){return{token:"comment.doc.tag.storage.type",regex:"\\b(?:TODO|FIXME|XXX|HACK)\\b"}},s.getStartRule=function(e){return{token:"comment.doc",regex:"\\/\\*(?=\\*)",next:e}},s.getEndRule=function(e){return{token:"comment.doc",regex:"\\*\\/",next:e}},t.DocCommentHighlightRules=s}),define("ace/mode/edifact_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/doc_comment_highlight_rules","ace/mode/text_highlight_rules"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./doc_comment_highlight_rules").DocCommentHighlightRules,s=e("./text_highlight_rules").TextHighlightRules,o=function(){var e="UNH",t="ADR|AGR|AJT|ALC|ALI|APP|APR|ARD|ARR|ASI|ATT|AUT|BAS|BGM|BII|BUS|CAV|CCD|CCI|CDI|CDS|CDV|CED|CIN|CLA|CLI|CMP|CNI|CNT|COD|COM|COT|CPI|CPS|CPT|CST|CTA|CUX|DAM|DFN|DGS|DII|DIM|DLI|DLM|DMS|DOC|DRD|DSG|DSI|DTM|EDT|EFI|ELM|ELU|ELV|EMP|EQA|EQD|EQN|ERC|ERP|EVE|FCA|FII|FNS|FNT|FOR|FSQ|FTX|GDS|GEI|GID|GIN|GIR|GOR|GPO|GRU|HAN|HYN|ICD|IDE|IFD|IHC|IMD|IND|INP|INV|IRQ|LAN|LIN|LOC|MEA|MEM|MKS|MOA|MSG|MTD|NAD|NAT|PAC|PAI|PAS|PCC|PCD|PCI|PDI|PER|PGI|PIA|PNA|POC|PRC|PRI|PRV|PSD|PTY|PYT|QRS|QTY|QUA|QVR|RCS|REL|RFF|RJL|RNG|ROD|RSL|RTE|SAL|SCC|SCD|SEG|SEL|SEQ|SFI|SGP|SGU|SPR|SPS|STA|STC|STG|STS|TAX|TCC|TDT|TEM|TMD|TMP|TOD|TPL|TRU|TSR|UNB|UNZ|UNT|UGH|UGT|UNS|VLI",e="UNH",n="null|Infinity|NaN|undefined",r="",s="BY|SE|ON|INV|JP|UNOA",o=this.createKeywordMapper({"variable.language":"this",keyword:s,"entity.name.segment":t,"entity.name.header":e,"constant.language":n,"support.function":r},"identifier");this.$rules={start:[{token:"punctuation.operator",regex:"\\+.\\+"},{token:"constant.language.boolean",regex:"(?:true|false)\\b"},{token:o,regex:"[a-zA-Z_$][a-zA-Z0-9_$]*\\b"},{token:"keyword.operator",regex:"\\+"},{token:"punctuation.operator",regex:"\\:|'"},{token:"identifier",regex:"\\:D\\:"}]},this.embedRules(i,"doc-",[i.getEndRule("start")])};o.metaData={fileTypes:["edi"],keyEquivalent:"^~E",name:"Edifact",scopeName:"source.edifact"},r.inherits(o,s),t.EdifactHighlightRules=o}),define("ace/mode/edifact",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/edifact_highlight_rules"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text").Mode,s=e("./edifact_highlight_rules").EdifactHighlightRules,o=function(){this.HighlightRules=s};r.inherits(o,i),function(){this.$id="ace/mode/edifact",this.snippetFileId="ace/snippets/edifact"}.call(o.prototype),t.Mode=o}); | ||||||
|  |                 (function() { | ||||||
|  |                     window.require(["ace/mode/edifact"], function(m) { | ||||||
|  |                         if (typeof module == "object" && typeof exports == "object" && module) { | ||||||
|  |                             module.exports = m; | ||||||
|  |                         } | ||||||
|  |                     }); | ||||||
|  |                 })(); | ||||||
|  |              | ||||||
							
								
								
									
										9
									
								
								app/js/ace/mode-eiffel.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								app/js/ace/mode-eiffel.js
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,9 @@ | |||||||
|  | define("ace/mode/eiffel_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text_highlight_rules").TextHighlightRules,s=function(){var e="across|agent|alias|all|attached|as|assign|attribute|check|class|convert|create|debug|deferred|detachable|do|else|elseif|end|ensure|expanded|export|external|feature|from|frozen|if|inherit|inspect|invariant|like|local|loop|not|note|obsolete|old|once|Precursor|redefine|rename|require|rescue|retry|select|separate|some|then|undefine|until|variant|when",t="and|implies|or|xor",n="Void",r="True|False",i="Current|Result",s=this.createKeywordMapper({"constant.language":n,"constant.language.boolean":r,"variable.language":i,"keyword.operator":t,keyword:e},"identifier",!0),o=/(?:[^"%\b\f\v]|%[A-DFHLNQR-V%'"()<>]|%\/(?:0[xX][\da-fA-F](?:_*[\da-fA-F])*|0[cC][0-7](?:_*[0-7])*|0[bB][01](?:_*[01])*|\d(?:_*\d)*)\/)+?/;this.$rules={start:[{token:"string.quoted.other",regex:/"\[/,next:"aligned_verbatim_string"},{token:"string.quoted.other",regex:/"\{/,next:"non-aligned_verbatim_string"},{token:"string.quoted.double",regex:/"(?:[^%\b\f\n\r\v]|%[A-DFHLNQR-V%'"()<>]|%\/(?:0[xX][\da-fA-F](?:_*[\da-fA-F])*|0[cC][0-7](?:_*[0-7])*|0[bB][01](?:_*[01])*|\d(?:_*\d)*)\/)*?"/},{token:"comment.line.double-dash",regex:/--.*/},{token:"constant.character",regex:/'(?:[^%\b\f\n\r\t\v]|%[A-DFHLNQR-V%'"()<>]|%\/(?:0[xX][\da-fA-F](?:_*[\da-fA-F])*|0[cC][0-7](?:_*[0-7])*|0[bB][01](?:_*[01])*|\d(?:_*\d)*)\/)'/},{token:"constant.numeric",regex:/\b0(?:[xX][\da-fA-F](?:_*[\da-fA-F])*|[cC][0-7](?:_*[0-7])*|[bB][01](?:_*[01])*)\b/},{token:"constant.numeric",regex:/(?:\d(?:_*\d)*)?\.(?:(?:\d(?:_*\d)*)?[eE][+-]?)?\d(?:_*\d)*|\d(?:_*\d)*\.?/},{token:"paren.lparen",regex:/[\[({]|<<|\|\(/},{token:"paren.rparen",regex:/[\])}]|>>|\|\)/},{token:"keyword.operator",regex:/:=|->|\.(?=\w)|[;,:?]/},{token:"keyword.operator",regex:/\\\\|\|\.\.\||\.\.|\/[~\/]?|[><\/]=?|[-+*^=~]/},{token:function(e){var t=s(e);return t==="identifier"&&e===e.toUpperCase()&&(t="entity.name.type"),t},regex:/[a-zA-Z][a-zA-Z\d_]*\b/},{token:"text",regex:/\s+/}],aligned_verbatim_string:[{token:"string",regex:/]"/,next:"start"},{token:"string",regex:o}],"non-aligned_verbatim_string":[{token:"string.quoted.other",regex:/}"/,next:"start"},{token:"string.quoted.other",regex:o}]}};r.inherits(s,i),t.EiffelHighlightRules=s}),define("ace/mode/eiffel",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/eiffel_highlight_rules"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text").Mode,s=e("./eiffel_highlight_rules").EiffelHighlightRules,o=function(){this.HighlightRules=s,this.$behaviour=this.$defaultBehaviour};r.inherits(o,i),function(){this.lineCommentStart="--",this.$id="ace/mode/eiffel"}.call(o.prototype),t.Mode=o}); | ||||||
|  |                 (function() { | ||||||
|  |                     window.require(["ace/mode/eiffel"], function(m) { | ||||||
|  |                         if (typeof module == "object" && typeof exports == "object" && module) { | ||||||
|  |                             module.exports = m; | ||||||
|  |                         } | ||||||
|  |                     }); | ||||||
|  |                 })(); | ||||||
|  |              | ||||||
							
								
								
									
										9
									
								
								app/js/ace/mode-ejs.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								app/js/ace/mode-ejs.js
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										9
									
								
								app/js/ace/mode-elixir.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								app/js/ace/mode-elixir.js
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										9
									
								
								app/js/ace/mode-elm.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								app/js/ace/mode-elm.js
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,9 @@ | |||||||
|  | define("ace/mode/elm_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text_highlight_rules").TextHighlightRules,s=function(){var e=this.createKeywordMapper({keyword:"as|case|class|data|default|deriving|do|else|export|foreign|hiding|jsevent|if|import|in|infix|infixl|infixr|instance|let|module|newtype|of|open|then|type|where|_|port|\u03bb"},"identifier"),t=/\\(\d+|['"\\&trnbvf])/,n=/[a-z_]/.source,r=/[A-Z]/.source,i=/[a-z_A-Z0-9']/.source;this.$rules={start:[{token:"string.start",regex:'"',next:"string"},{token:"string.character",regex:"'(?:"+t.source+"|.)'?"},{regex:/0(?:[xX][0-9A-Fa-f]+|[oO][0-7]+)|\d+(\.\d+)?([eE][-+]?\d*)?/,token:"constant.numeric"},{token:"comment",regex:"--.*"},{token:"keyword",regex:/\.\.|\||:|=|\\|"|->|<-|\u2192/},{token:"keyword.operator",regex:/[-!#$%&*+.\/<=>?@\\^|~:\u03BB\u2192]+/},{token:"operator.punctuation",regex:/[,;`]/},{regex:r+i+"+\\.?",token:function(e){return e[e.length-1]=="."?"entity.name.function":"constant.language"}},{regex:"^"+n+i+"+",token:function(e){return"constant.language"}},{token:e,regex:"[\\w\\xff-\\u218e\\u2455-\\uffff]+\\b"},{regex:"{-#?",token:"comment.start",onMatch:function(e,t,n){return this.next=e.length==2?"blockComment":"docComment",this.token}},{token:"variable.language",regex:/\[markdown\|/,next:"markdown"},{token:"paren.lparen",regex:/[\[({]/},{token:"paren.rparen",regex:/[\])}]/}],markdown:[{regex:/\|\]/,next:"start"},{defaultToken:"string"}],blockComment:[{regex:"{-",token:"comment.start",push:"blockComment"},{regex:"-}",token:"comment.end",next:"pop"},{defaultToken:"comment"}],docComment:[{regex:"{-",token:"comment.start",push:"docComment"},{regex:"-}",token:"comment.end",next:"pop"},{defaultToken:"doc.comment"}],string:[{token:"constant.language.escape",regex:t},{token:"text",regex:/\\(\s|$)/,next:"stringGap"},{token:"string.end",regex:'"',next:"start"},{defaultToken:"string"}],stringGap:[{token:"text",regex:/\\/,next:"string"},{token:"error",regex:"",next:"start"}]},this.normalizeRules()};r.inherits(s,i),t.ElmHighlightRules=s}),define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],function(e,t,n){"use strict";var r=e("../../lib/oop"),i=e("../../range").Range,s=e("./fold_mode").FoldMode,o=t.FoldMode=function(e){e&&(this.foldingStartMarker=new RegExp(this.foldingStartMarker.source.replace(/\|[^|]*?$/,"|"+e.start)),this.foldingStopMarker=new RegExp(this.foldingStopMarker.source.replace(/\|[^|]*?$/,"|"+e.end)))};r.inherits(o,s),function(){this.foldingStartMarker=/([\{\[\(])[^\}\]\)]*$|^\s*(\/\*)/,this.foldingStopMarker=/^[^\[\{\(]*([\}\]\)])|^[\s\*]*(\*\/)/,this.singleLineBlockCommentRe=/^\s*(\/\*).*\*\/\s*$/,this.tripleStarBlockCommentRe=/^\s*(\/\*\*\*).*\*\/\s*$/,this.startRegionRe=/^\s*(\/\*|\/\/)#?region\b/,this._getFoldWidgetBase=this.getFoldWidget,this.getFoldWidget=function(e,t,n){var r=e.getLine(n);if(this.singleLineBlockCommentRe.test(r)&&!this.startRegionRe.test(r)&&!this.tripleStarBlockCommentRe.test(r))return"";var i=this._getFoldWidgetBase(e,t,n);return!i&&this.startRegionRe.test(r)?"start":i},this.getFoldWidgetRange=function(e,t,n,r){var i=e.getLine(n);if(this.startRegionRe.test(i))return this.getCommentRegionBlock(e,i,n);var s=i.match(this.foldingStartMarker);if(s){var o=s.index;if(s[1])return this.openingBracketBlock(e,s[1],n,o);var u=e.getCommentFoldRange(n,o+s[0].length,1);return u&&!u.isMultiLine()&&(r?u=this.getSectionRange(e,n):t!="all"&&(u=null)),u}if(t==="markbegin")return;var s=i.match(this.foldingStopMarker);if(s){var o=s.index+s[0].length;return s[1]?this.closingBracketBlock(e,s[1],n,o):e.getCommentFoldRange(n,o,-1)}},this.getSectionRange=function(e,t){var n=e.getLine(t),r=n.search(/\S/),s=t,o=n.length;t+=1;var u=t,a=e.getLength();while(++t<a){n=e.getLine(t);var f=n.search(/\S/);if(f===-1)continue;if(r>f)break;var l=this.getFoldWidgetRange(e,"all",t);if(l){if(l.start.row<=s)break;if(l.isMultiLine())t=l.end.row;else if(r==f)break}u=t}return new i(s,o,u,e.getLine(u).length)},this.getCommentRegionBlock=function(e,t,n){var r=t.search(/\s*$/),s=e.getLength(),o=n,u=/^\s*(?:\/\*|\/\/|--)#?(end)?region\b/,a=1;while(++n<s){t=e.getLine(n);var f=u.exec(t);if(!f)continue;f[1]?a--:a++;if(!a)break}var l=n;if(l>o)return new i(o,r,l,t.length)}}.call(o.prototype)}),define("ace/mode/elm",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/elm_highlight_rules","ace/mode/folding/cstyle"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text").Mode,s=e("./elm_highlight_rules").ElmHighlightRules,o=e("./folding/cstyle").FoldMode,u=function(){this.HighlightRules=s,this.foldingRules=new o,this.$behaviour=this.$defaultBehaviour};r.inherits(u,i),function(){this.lineCommentStart="--",this.blockComment={start:"{-",end:"-}",nestable:!0},this.$id="ace/mode/elm"}.call(u.prototype),t.Mode=u}); | ||||||
|  |                 (function() { | ||||||
|  |                     window.require(["ace/mode/elm"], function(m) { | ||||||
|  |                         if (typeof module == "object" && typeof exports == "object" && module) { | ||||||
|  |                             module.exports = m; | ||||||
|  |                         } | ||||||
|  |                     }); | ||||||
|  |                 })(); | ||||||
|  |              | ||||||
							
								
								
									
										9
									
								
								app/js/ace/mode-erlang.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								app/js/ace/mode-erlang.js
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										9
									
								
								app/js/ace/mode-forth.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								app/js/ace/mode-forth.js
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										9
									
								
								app/js/ace/mode-fortran.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								app/js/ace/mode-fortran.js
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										9
									
								
								app/js/ace/mode-fsharp.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								app/js/ace/mode-fsharp.js
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										9
									
								
								app/js/ace/mode-fsl.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								app/js/ace/mode-fsl.js
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,9 @@ | |||||||
|  | define("ace/mode/fsl_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text_highlight_rules").TextHighlightRules,s=function(){this.$rules={start:[{token:"punctuation.definition.comment.mn",regex:/\/\*/,push:[{token:"punctuation.definition.comment.mn",regex:/\*\//,next:"pop"},{defaultToken:"comment.block.fsl"}]},{token:"comment.line.fsl",regex:/\/\//,push:[{token:"comment.line.fsl",regex:/$/,next:"pop"},{defaultToken:"comment.line.fsl"}]},{token:"entity.name.function",regex:/\${/,push:[{token:"entity.name.function",regex:/}/,next:"pop"},{defaultToken:"keyword.other"}],comment:"js outcalls"},{token:"constant.numeric",regex:/[0-9]*\.[0-9]*\.[0-9]*/,comment:"semver"},{token:"constant.language.fslLanguage",regex:"(?:graph_layout|machine_name|machine_author|machine_license|machine_comment|machine_language|machine_version|machine_reference|npm_name|graph_layout|on_init|on_halt|on_end|on_terminate|on_finalize|on_transition|on_action|on_stochastic_action|on_legal|on_main|on_forced|on_validation|on_validation_failure|on_transition_refused|on_forced_transition_refused|on_action_refused|on_enter|on_exit|start_states|end_states|terminal_states|final_states|fsl_version)\\s*:"},{token:"keyword.control.transition.fslArrow",regex:/<->|<-|->|<=>|=>|<=|<~>|~>|<~|<-=>|<=->|<-~>|<~->|<=~>|<~=>/},{token:"constant.numeric.fslProbability",regex:/[0-9]+%/,comment:"edge probability annotation"},{token:"constant.character.fslAction",regex:/\'[^']*\'/,comment:"action annotation"},{token:"string.quoted.double.fslLabel.doublequoted",regex:/\"[^"]*\"/,comment:"fsl label annotation"},{token:"entity.name.tag.fslLabel.atom",regex:/[a-zA-Z0-9_.+&()#@!?,]/,comment:"fsl label annotation"}]},this.normalizeRules()};s.metaData={fileTypes:["fsl","fsl_state"],name:"FSL",scopeName:"source.fsl"},r.inherits(s,i),t.FSLHighlightRules=s}),define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],function(e,t,n){"use strict";var r=e("../../lib/oop"),i=e("../../range").Range,s=e("./fold_mode").FoldMode,o=t.FoldMode=function(e){e&&(this.foldingStartMarker=new RegExp(this.foldingStartMarker.source.replace(/\|[^|]*?$/,"|"+e.start)),this.foldingStopMarker=new RegExp(this.foldingStopMarker.source.replace(/\|[^|]*?$/,"|"+e.end)))};r.inherits(o,s),function(){this.foldingStartMarker=/([\{\[\(])[^\}\]\)]*$|^\s*(\/\*)/,this.foldingStopMarker=/^[^\[\{\(]*([\}\]\)])|^[\s\*]*(\*\/)/,this.singleLineBlockCommentRe=/^\s*(\/\*).*\*\/\s*$/,this.tripleStarBlockCommentRe=/^\s*(\/\*\*\*).*\*\/\s*$/,this.startRegionRe=/^\s*(\/\*|\/\/)#?region\b/,this._getFoldWidgetBase=this.getFoldWidget,this.getFoldWidget=function(e,t,n){var r=e.getLine(n);if(this.singleLineBlockCommentRe.test(r)&&!this.startRegionRe.test(r)&&!this.tripleStarBlockCommentRe.test(r))return"";var i=this._getFoldWidgetBase(e,t,n);return!i&&this.startRegionRe.test(r)?"start":i},this.getFoldWidgetRange=function(e,t,n,r){var i=e.getLine(n);if(this.startRegionRe.test(i))return this.getCommentRegionBlock(e,i,n);var s=i.match(this.foldingStartMarker);if(s){var o=s.index;if(s[1])return this.openingBracketBlock(e,s[1],n,o);var u=e.getCommentFoldRange(n,o+s[0].length,1);return u&&!u.isMultiLine()&&(r?u=this.getSectionRange(e,n):t!="all"&&(u=null)),u}if(t==="markbegin")return;var s=i.match(this.foldingStopMarker);if(s){var o=s.index+s[0].length;return s[1]?this.closingBracketBlock(e,s[1],n,o):e.getCommentFoldRange(n,o,-1)}},this.getSectionRange=function(e,t){var n=e.getLine(t),r=n.search(/\S/),s=t,o=n.length;t+=1;var u=t,a=e.getLength();while(++t<a){n=e.getLine(t);var f=n.search(/\S/);if(f===-1)continue;if(r>f)break;var l=this.getFoldWidgetRange(e,"all",t);if(l){if(l.start.row<=s)break;if(l.isMultiLine())t=l.end.row;else if(r==f)break}u=t}return new i(s,o,u,e.getLine(u).length)},this.getCommentRegionBlock=function(e,t,n){var r=t.search(/\s*$/),s=e.getLength(),o=n,u=/^\s*(?:\/\*|\/\/|--)#?(end)?region\b/,a=1;while(++n<s){t=e.getLine(n);var f=u.exec(t);if(!f)continue;f[1]?a--:a++;if(!a)break}var l=n;if(l>o)return new i(o,r,l,t.length)}}.call(o.prototype)}),define("ace/mode/fsl",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/fsl_highlight_rules","ace/mode/folding/cstyle"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text").Mode,s=e("./fsl_highlight_rules").FSLHighlightRules,o=e("./folding/cstyle").FoldMode,u=function(){this.HighlightRules=s,this.foldingRules=new o};r.inherits(u,i),function(){this.lineCommentStart="//",this.blockComment={start:"/*",end:"*/"},this.$id="ace/mode/fsl",this.snippetFileId="ace/snippets/fsl"}.call(u.prototype),t.Mode=u}); | ||||||
|  |                 (function() { | ||||||
|  |                     window.require(["ace/mode/fsl"], function(m) { | ||||||
|  |                         if (typeof module == "object" && typeof exports == "object" && module) { | ||||||
|  |                             module.exports = m; | ||||||
|  |                         } | ||||||
|  |                     }); | ||||||
|  |                 })(); | ||||||
|  |              | ||||||
							
								
								
									
										9
									
								
								app/js/ace/mode-ftl.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								app/js/ace/mode-ftl.js
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										9
									
								
								app/js/ace/mode-gcode.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								app/js/ace/mode-gcode.js
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,9 @@ | |||||||
|  | define("ace/mode/gcode_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text_highlight_rules").TextHighlightRules,s=function(){var e="IF|DO|WHILE|ENDWHILE|CALL|ENDIF|SUB|ENDSUB|GOTO|REPEAT|ENDREPEAT|CALL",t="PI",n="ATAN|ABS|ACOS|ASIN|SIN|COS|EXP|FIX|FUP|ROUND|LN|TAN",r=this.createKeywordMapper({"support.function":n,keyword:e,"constant.language":t},"identifier",!0);this.$rules={start:[{token:"comment",regex:"\\(.*\\)"},{token:"comment",regex:"([N])([0-9]+)"},{token:"string",regex:"([G])([0-9]+\\.?[0-9]?)"},{token:"string",regex:"([M])([0-9]+\\.?[0-9]?)"},{token:"constant.numeric",regex:"([-+]?([0-9]*\\.?[0-9]+\\.?))|(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)"},{token:r,regex:"[A-Z]"},{token:"keyword.operator",regex:"EQ|LT|GT|NE|GE|LE|OR|XOR"},{token:"paren.lparen",regex:"[\\[]"},{token:"paren.rparen",regex:"[\\]]"},{token:"text",regex:"\\s+"}]}};r.inherits(s,i),t.GcodeHighlightRules=s}),define("ace/mode/gcode",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/gcode_highlight_rules","ace/range"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text").Mode,s=e("./gcode_highlight_rules").GcodeHighlightRules,o=e("../range").Range,u=function(){this.HighlightRules=s,this.$behaviour=this.$defaultBehaviour};r.inherits(u,i),function(){this.$id="ace/mode/gcode"}.call(u.prototype),t.Mode=u}); | ||||||
|  |                 (function() { | ||||||
|  |                     window.require(["ace/mode/gcode"], function(m) { | ||||||
|  |                         if (typeof module == "object" && typeof exports == "object" && module) { | ||||||
|  |                             module.exports = m; | ||||||
|  |                         } | ||||||
|  |                     }); | ||||||
|  |                 })(); | ||||||
|  |              | ||||||
							
								
								
									
										9
									
								
								app/js/ace/mode-gherkin.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								app/js/ace/mode-gherkin.js
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,9 @@ | |||||||
|  | define("ace/mode/gherkin_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,t,n){var r=e("../lib/oop"),i=e("./text_highlight_rules").TextHighlightRules,s="\\\\(x[0-9A-Fa-f]{2}|[0-7]{3}|[\\\\abfnrtv'\"]|U[0-9A-Fa-f]{8}|u[0-9A-Fa-f]{4})",o=function(){var e=[{name:"en",labels:"Feature|Background|Scenario(?: Outline)?|Examples",keywords:"Given|When|Then|And|But"}],t=e.map(function(e){return e.labels}).join("|"),n=e.map(function(e){return e.keywords}).join("|");this.$rules={start:[{token:"constant.numeric",regex:"(?:(?:[1-9]\\d*)|(?:0))"},{token:"comment",regex:"#.*$"},{token:"keyword",regex:"(?:"+t+"):|(?:"+n+")\\b"},{token:"keyword",regex:"\\*"},{token:"string",regex:'"{3}',next:"qqstring3"},{token:"string",regex:'"',next:"qqstring"},{token:"text",regex:"^\\s*(?=@[\\w])",next:[{token:"text",regex:"\\s+"},{token:"variable.parameter",regex:"@[\\w]+"},{token:"empty",regex:"",next:"start"}]},{token:"comment",regex:"<[^>]+>"},{token:"comment",regex:"\\|(?=.)",next:"table-item"},{token:"comment",regex:"\\|$",next:"start"}],qqstring3:[{token:"constant.language.escape",regex:s},{token:"string",regex:'"{3}',next:"start"},{defaultToken:"string"}],qqstring:[{token:"constant.language.escape",regex:s},{token:"string",regex:"\\\\$",next:"qqstring"},{token:"string",regex:'"|$',next:"start"},{defaultToken:"string"}],"table-item":[{token:"comment",regex:/$/,next:"start"},{token:"comment",regex:/\|/},{token:"string",regex:/\\./},{defaultToken:"string"}]},this.normalizeRules()};r.inherits(o,i),t.GherkinHighlightRules=o}),define("ace/mode/gherkin",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/gherkin_highlight_rules"],function(e,t,n){var r=e("../lib/oop"),i=e("./text").Mode,s=e("./gherkin_highlight_rules").GherkinHighlightRules,o=function(){this.HighlightRules=s,this.$behaviour=this.$defaultBehaviour};r.inherits(o,i),function(){this.lineCommentStart="#",this.$id="ace/mode/gherkin",this.getNextLineIndent=function(e,t,n){var r=this.$getIndent(t),i="  ",s=this.getTokenizer().getLineTokens(t,e),o=s.tokens;return t.match("[ ]*\\|")&&(r+="| "),o.length&&o[o.length-1].type=="comment"?r:(e=="start"&&(t.match("Scenario:|Feature:|Scenario Outline:|Background:")?r+=i:t.match("(Given|Then).+(:)$|Examples:")?r+=i:t.match("\\*.+")&&(r+="* ")),r)}}.call(o.prototype),t.Mode=o}); | ||||||
|  |                 (function() { | ||||||
|  |                     window.require(["ace/mode/gherkin"], function(m) { | ||||||
|  |                         if (typeof module == "object" && typeof exports == "object" && module) { | ||||||
|  |                             module.exports = m; | ||||||
|  |                         } | ||||||
|  |                     }); | ||||||
|  |                 })(); | ||||||
|  |              | ||||||
							
								
								
									
										9
									
								
								app/js/ace/mode-gitignore.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								app/js/ace/mode-gitignore.js
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,9 @@ | |||||||
|  | define("ace/mode/gitignore_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text_highlight_rules").TextHighlightRules,s=function(){this.$rules={start:[{token:"comment",regex:/^\s*#.*$/},{token:"keyword",regex:/^\s*!.*$/}]},this.normalizeRules()};s.metaData={fileTypes:["gitignore"],name:"Gitignore"},r.inherits(s,i),t.GitignoreHighlightRules=s}),define("ace/mode/gitignore",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/gitignore_highlight_rules"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text").Mode,s=e("./gitignore_highlight_rules").GitignoreHighlightRules,o=function(){this.HighlightRules=s,this.$behaviour=this.$defaultBehaviour};r.inherits(o,i),function(){this.lineCommentStart="#",this.$id="ace/mode/gitignore"}.call(o.prototype),t.Mode=o}); | ||||||
|  |                 (function() { | ||||||
|  |                     window.require(["ace/mode/gitignore"], function(m) { | ||||||
|  |                         if (typeof module == "object" && typeof exports == "object" && module) { | ||||||
|  |                             module.exports = m; | ||||||
|  |                         } | ||||||
|  |                     }); | ||||||
|  |                 })(); | ||||||
|  |              | ||||||
Some files were not shown because too many files have changed in this diff Show More
		Reference in New Issue
	
	Block a user
	