@khanacademy/math-input 4.2.0 → 4.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/dist/components/input/mathquill-types.d.ts +2 -0
- package/dist/components/input/mathquill-types.js.flow +2 -0
- package/dist/components/keypad/index.d.ts +8 -16
- package/dist/components/keypad/index.js.flow +10 -22
- package/dist/components/keypad/keypad-button.d.ts +12 -0
- package/dist/components/keypad/keypad-button.js.flow +18 -0
- package/dist/components/keypad/keypad-pages/extras-page.d.ts +9 -0
- package/dist/components/keypad/{operators-page/basic-relations-buttons.js.flow → keypad-pages/extras-page.js.flow} +3 -3
- package/dist/components/keypad/keypad-pages/geometry-page.d.ts +7 -0
- package/dist/components/keypad/{operators-page/logarithms-buttons.js.flow → keypad-pages/geometry-page.js.flow} +1 -3
- package/dist/components/keypad/keypad-pages/numbers-page.d.ts +7 -0
- package/dist/components/keypad/{operators-page/pre-algebra-buttons.js.flow → keypad-pages/numbers-page.js.flow} +1 -3
- package/dist/components/keypad/keypad-pages/operators-page.d.ts +11 -0
- package/dist/components/keypad/{operators-page/advanced-relations-buttons.js.flow → keypad-pages/operators-page.js.flow} +5 -3
- package/dist/components/keypad/shared-keys.d.ts +9 -0
- package/dist/components/keypad/{numbers-page/types.js.flow → shared-keys.js.flow} +4 -1
- package/dist/es/index.js +771 -842
- package/dist/es/index.js.map +1 -1
- package/dist/index.js +834 -930
- package/dist/index.js.map +1 -1
- package/package.json +2 -3
- package/src/components/input/__tests__/test-math-wrapper.ts +2 -5
- package/src/components/input/mathquill-types.ts +6 -0
- package/src/components/keypad/__tests__/keypad-button.test.tsx +4 -2
- package/src/components/keypad/button-assets.tsx +506 -310
- package/src/components/keypad/index.tsx +73 -49
- package/src/components/keypad/{button.stories.tsx → keypad-button.stories.tsx} +2 -1
- package/src/components/keypad/keypad-button.tsx +128 -0
- package/src/components/keypad/keypad-mathquill.stories.tsx +10 -4
- package/src/components/keypad/keypad-pages/extras-page.tsx +34 -0
- package/src/components/keypad/keypad-pages/geometry-page.tsx +33 -0
- package/src/components/keypad/keypad-pages/numbers-page.tsx +84 -0
- package/src/components/keypad/keypad-pages/operators-page.tsx +116 -0
- package/src/components/keypad/keypad.stories.tsx +11 -0
- package/src/components/keypad/shared-keys.tsx +78 -0
- package/src/components/tabbar/icons.tsx +26 -8
- package/tsconfig-build.tsbuildinfo +1 -1
- package/dist/components/keypad/button.d.ts +0 -12
- package/dist/components/keypad/button.js.flow +0 -18
- package/dist/components/keypad/extras-page/index.d.ts +0 -10
- package/dist/components/keypad/extras-page/index.js.flow +0 -15
- package/dist/components/keypad/geometry-page/index.d.ts +0 -9
- package/dist/components/keypad/geometry-page/index.js.flow +0 -14
- package/dist/components/keypad/keypad-page-items.d.ts +0 -26
- package/dist/components/keypad/keypad-page-items.js.flow +0 -40
- package/dist/components/keypad/numbers-page/index.d.ts +0 -10
- package/dist/components/keypad/numbers-page/index.js.flow +0 -18
- package/dist/components/keypad/numbers-page/types.d.ts +0 -4
- package/dist/components/keypad/operators-page/advanced-relations-buttons.d.ts +0 -8
- package/dist/components/keypad/operators-page/basic-relations-buttons.d.ts +0 -8
- package/dist/components/keypad/operators-page/index.d.ts +0 -10
- package/dist/components/keypad/operators-page/index.js.flow +0 -18
- package/dist/components/keypad/operators-page/logarithms-buttons.d.ts +0 -8
- package/dist/components/keypad/operators-page/pre-algebra-buttons.d.ts +0 -8
- package/dist/components/keypad/operators-page/types.d.ts +0 -6
- package/dist/components/keypad/operators-page/types.js.flow +0 -12
- package/src/components/keypad/__tests__/Button.test.tsx +0 -51
- package/src/components/keypad/button.tsx +0 -108
- package/src/components/keypad/extras-page/index.tsx +0 -27
- package/src/components/keypad/geometry-page/index.tsx +0 -89
- package/src/components/keypad/keypad-page-items.tsx +0 -118
- package/src/components/keypad/numbers-page/index.tsx +0 -136
- package/src/components/keypad/numbers-page/types.ts +0 -4
- package/src/components/keypad/operators-page/advanced-relations-buttons.tsx +0 -33
- package/src/components/keypad/operators-page/basic-relations-buttons.tsx +0 -33
- package/src/components/keypad/operators-page/index.tsx +0 -94
- package/src/components/keypad/operators-page/logarithms-buttons.tsx +0 -33
- package/src/components/keypad/operators-page/pre-algebra-buttons.tsx +0 -37
- package/src/components/keypad/operators-page/types.ts +0 -6
- /package/src/components/keypad/{keypad-pages.stories.tsx → keypad-pages/keypad-pages.stories.tsx} +0 -0
package/dist/es/index.js
CHANGED
|
@@ -4,7 +4,6 @@ import { getDecimalSeparator } from '@khanacademy/wonder-blocks-i18n';
|
|
|
4
4
|
import { entries } from '@khanacademy/wonder-stuff-core';
|
|
5
5
|
import { StyleSheet, css } from 'aphrodite';
|
|
6
6
|
import * as React from 'react';
|
|
7
|
-
import React__default from 'react';
|
|
8
7
|
import ReactDOM from 'react-dom';
|
|
9
8
|
import $ from 'jquery';
|
|
10
9
|
import MathQuill from 'mathquill';
|
|
@@ -4764,20 +4763,22 @@ const IconAsset = function IconAsset({
|
|
|
4764
4763
|
}, /*#__PURE__*/React.createElement("path", {
|
|
4765
4764
|
fillRule: "evenodd",
|
|
4766
4765
|
clipRule: "evenodd",
|
|
4767
|
-
d: "M7.57584 7.
|
|
4766
|
+
d: "M7.57584 7.09442c.35139-.16458.76626-.11103 1.06434.13737L26.6402 22.2318c.3234.2695.4434.7128.3001 1.1086C26.7969 23.7363 26.421 24 26 24H8c-.55228 0-1-.4477-1-1V8.00001c0-.38802.22446-.74101.57584-.90559zM9 10.1351V17h4c.5523 0 1 .4477 1 1v4h9.238L9 10.1351zM12 22v-3H9v3h3z",
|
|
4768
4767
|
fill: tintColor
|
|
4769
4768
|
}));
|
|
4770
4769
|
}
|
|
4771
4770
|
case "Operators":
|
|
4772
4771
|
{
|
|
4773
4772
|
return /*#__PURE__*/React.createElement("svg", {
|
|
4773
|
+
width: "32",
|
|
4774
|
+
height: "32",
|
|
4774
4775
|
viewBox: "0 0 32 32",
|
|
4775
4776
|
fill: "none",
|
|
4776
4777
|
xmlns: "http://www.w3.org/2000/svg"
|
|
4777
4778
|
}, /*#__PURE__*/React.createElement("path", {
|
|
4778
4779
|
fillRule: "evenodd",
|
|
4779
4780
|
clipRule: "evenodd",
|
|
4780
|
-
d: "M29
|
|
4781
|
+
d: "M29 6h1v1h-1V6zm-2 0c0-1.10457.8954-2 2-2h1c1.1046 0 2 .89543 2 2v1c0 1.10457-.8954 2-2 2h-1c-1.1046 0-2-.89543-2-2V6zm-15.8682.50386C11.3098 6.19229 11.6411 6 12 6h2c.5523 0 1 .44772 1 1s-.4477 1-1 1h-1.4197l-3.71206 6.4961c-.18297.3202-.52733.5137-.89599.5035-.36865-.0102-.70175-.2225-.86668-.5524l-2-4c-.24699-.49396-.04676-1.09464.44722-1.34163.49397-.24699 1.09465-.04676 1.34164.44722L8.0588 11.8815l3.073-5.37764zM7.70676 16.2925c.39072.3904.39103 1.0235.00069 1.4143-.42202.4224-.86362 1.0235-1.19588 1.659C6.17039 20.0184 6 20.601 6 21c0 .3789.17235.9897.51638 1.6649.33677.661.7685 1.2472 1.15148 1.5908.41106.3689.44528 1.0011.07643 1.4122-.36885.411-1.00109.4452-1.41215.0764-.61604-.5528-1.18431-1.3599-1.5978-2.1715C4.32813 22.7755 3.99999 21.8345 4 21c.00001-.8609.3301-1.7783.73917-2.5608.41798-.7995.97637-1.5684 1.55338-2.146.39033-.3907 1.0235-.391 1.41421-.0007zm3.58644 0c.3908-.3903 1.0239-.39 1.4143.0007.577.5776 1.1353 1.3465 1.5533 2.146C14.6699 19.2217 15 20.1391 15 21c0 .8345-.3281 1.7755-.7343 2.5728-.4135.8116-.9818 1.6187-1.5978 2.1715-.4111.3688-1.0433.3346-1.4122-.0764-.3688-.4111-.3346-1.0433.0764-1.4122.383-.3436.8148-.9298 1.1515-1.5908.344-.6752.5164-1.286.5164-1.6649 0-.399-.1704-.9816-.5116-1.6342-.3322-.6355-.7738-1.2366-1.1959-1.659-.3903-.3908-.39-1.0239.0007-1.4143zm16.6431 1.3564c.1939.5171-.0681 1.0935-.5852 1.2874L21.848 21l5.5031 2.0637c.5171.1939.7791.7703.5852 1.2874-.1939.5171-.7703.7791-1.2874.5852l-8-3C18.2586 21.79 18 21.4168 18 21c0-.4168.2586-.79.6489-.9363l8-3c.5171-.1939 1.0935.0681 1.2874.5852zM21 8v5h3V8h-3zm-1-2c-.5523 0-1 .44772-1 1v7c0 .5523.4477 1 1 1h5c.5523 0 1-.4477 1-1V7c0-.55228-.4477-1-1-1h-5z",
|
|
4781
4782
|
fill: tintColor
|
|
4782
4783
|
}));
|
|
4783
4784
|
}
|
|
@@ -4790,21 +4791,32 @@ const IconAsset = function IconAsset({
|
|
|
4790
4791
|
fill: "none",
|
|
4791
4792
|
xmlns: "http://www.w3.org/2000/svg"
|
|
4792
4793
|
}, /*#__PURE__*/React.createElement("path", {
|
|
4793
|
-
d: "M10.4123 19.
|
|
4794
|
+
d: "M10.4123 19.5794v1.421H4.71434v-1.421h2.016v-5.558c0-.1213.00233-.245.007-.371.00466-.126.01166-.2543.021-.385l-1.33 1.106c-.09334.07-.18434.1144-.273.133-.08867.0187-.17267.021-.252.007-.07934-.0186-.14934-.0466-.21-.084-.06067-.042-.10734-.084-.14-.126l-.609-.819 3.122-2.646h1.589v8.743h1.75696zm8.3801-.35c.21 0 .3734.0584.49.175.1214.1167.182.2707.182.462v1.134h-7.042v-.63c0-.1213.0257-.252.077-.392.0514-.1446.1377-.2753.259-.392l3.01-3.017c.2567-.2566.483-.5016.679-.735.196-.238.3594-.469.49-.693.1307-.2286.2287-.4596.294-.693.0654-.2333.098-.4783.098-.735 0-.4526-.1166-.7956-.35-1.029-.2333-.238-.5623-.357-.987-.357-.1866 0-.3593.028-.518.084-.154.0514-.294.1237-.42.217-.1213.0934-.2263.203-.315.329-.0886.126-.154.2637-.196.413-.084.2334-.1983.3897-.343.469-.14.0747-.3406.091-.602.049l-1.022-.182c.0747-.4946.2147-.9286.42-1.302.2054-.3733.462-.6836.77-.931.308-.2473.6604-.4316 1.057-.553.3967-.126.8237-.189 1.281-.189.4807 0 .917.0724 1.309.217.3967.14.735.3384 1.015.595.28.252.497.5577.651.917.154.3594.231.756.231 1.19 0 .3734-.0536.7187-.161 1.036-.1073.3174-.2543.6207-.441.91-.182.2847-.3943.5624-.637.833-.2426.2707-.4993.5437-.77.819l-2.156 2.205c.238-.07.4737-.1236.707-.161.2334-.042.4527-.063.658-.063h2.282zm2.6611-5.523c.0747-.4946.2147-.9286.42-1.302.2054-.3733.462-.6836.77-.931.308-.2473.658-.4316 1.05-.553.3967-.126.8237-.189 1.281-.189.4854 0 .9194.07 1.302.21.3874.1354.714.322.98.56.266.238.469.5157.609.833.1447.3174.217.658.217 1.022 0 .322-.035.6067-.105.854-.0653.2427-.1656.455-.301.637-.1306.182-.294.336-.49.462-.1913.126-.413.231-.665.315 1.1667.3827 1.75 1.1597 1.75 2.331 0 .518-.0956.9754-.287 1.372-.1913.392-.448.721-.77.987s-.6976.4667-1.127.602c-.4246.1307-.8703.196-1.337.196-.4946 0-.931-.056-1.309-.168-.378-.112-.7116-.28-1.001-.504-.2846-.224-.5296-.504-.735-.84-.2053-.3406-.385-.7373-.539-1.19l.854-.35c.224-.0933.4317-.119.623-.077.196.042.336.1447.42.308.0934.1774.1914.3407.294.49.1074.1494.2264.28.357.392.1307.1074.2777.1914.441.252.168.0607.3594.091.574.091.2707 0 .5064-.0443.707-.133.2007-.0886.3687-.203.504-.343.1354-.1446.2357-.3056.301-.483.07-.182.105-.3616.105-.539 0-.2333-.021-.4433-.063-.63-.042-.1913-.14-.3523-.294-.483-.1493-.1353-.3733-.238-.672-.308-.294-.0746-.6953-.112-1.204-.112v-1.358c.4247 0 .7724-.035 1.043-.105.2707-.07.483-.168.637-.294.154-.126.259-.2776.315-.455.0607-.1773.091-.371.091-.581 0-.4433-.1166-.7816-.35-1.015-.2286-.2333-.5553-.35-.98-.35-.1866 0-.3593.028-.518.084-.154.0514-.294.1237-.42.217-.1213.0934-.2263.203-.315.329-.0886.126-.154.2637-.196.413-.0886.2334-.203.3897-.343.469-.14.0747-.343.091-.609.049l-1.015-.182z",
|
|
4794
4795
|
fill: tintColor
|
|
4795
4796
|
}));
|
|
4796
4797
|
}
|
|
4797
4798
|
case "Extras":
|
|
4798
4799
|
{
|
|
4799
4800
|
return /*#__PURE__*/React.createElement("svg", {
|
|
4800
|
-
|
|
4801
|
-
|
|
4802
|
-
|
|
4803
|
-
fill: "
|
|
4804
|
-
|
|
4801
|
+
width: "32",
|
|
4802
|
+
height: "32",
|
|
4803
|
+
viewBox: "0 0 32 32",
|
|
4804
|
+
fill: "none",
|
|
4805
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
4806
|
+
}, /*#__PURE__*/React.createElement("g", {
|
|
4807
|
+
clipPath: "url(#clip0_4011_87172)",
|
|
4808
|
+
fillRule: "evenodd",
|
|
4809
|
+
clipRule: "evenodd",
|
|
4810
|
+
fill: tintColor
|
|
4805
4811
|
}, /*#__PURE__*/React.createElement("path", {
|
|
4806
|
-
d: "
|
|
4807
|
-
}))
|
|
4812
|
+
d: "M6.96605 10.5663c.21528-.0308.38682-.0477.50829-.0477.56911 0 1.09298.1467 1.56707.4407.38228.2296.68532.5084.90301.838.09208-.1207.15248-.2002.18138-.2387l.0047-.0063.0052-.0059c.5949-.6753 1.2944-1.0278 2.093-1.0278.6647 0 1.2196.1954 1.6441.6014.4361.3871.6588.8746.6588 1.45 0 .513-.1499.9563-.4578 1.3166-.3.3693-.7089.552-1.2051.552-.3307 0-.6179-.097-.8437-.304-.2288-.2097-.3392-.4865-.3392-.8103 0-.3888.1066-.7297.3291-1.0101.1474-.1857.3402-.3379.5729-.4597-.1089-.0413-.2631-.0674-.4734-.0674-.1874 0-.3034.0147-.3645.0334-.5098.2175-.9018.667-1.1616 1.3887l-.0009.0025c-.0181.0482-.0814.2776-.1937.7113-.1103.4259-.2644 1.0348-.46245 1.827-.398 1.5767-.60776 2.4474-.63636 2.6333l-.00136.0089c-.04319.2159-.06489.4313-.06489.6465 0 .3246.09331.559.26143.7271.16975.1698.39759.2614.70433.2614.5767 0 1.1059-.2376 1.5927-.7383.4978-.5273.8301-1.1009 1.0032-1.7212l.0011-.0037c.0246-.0819.0521-.156.0846-.2154.0241-.0443.0711-.1194.1545-.1578.0615-.0338.1345-.0465.1905-.0535.0726-.0091.1619-.013.2648-.013.1528 0 .2937.0152.4034.0614.0569.024.1156.0605.1606.1174.0474.0598.0703.1308.0703.2041 0 .022-.0038.0459-.0052.0547-.0023.015-.0055.0337-.0094.0554-.008.0436-.0197.104-.035.1806l-.0027.0138c-.2705.9863-.8277 1.8422-1.6623 2.5666l-.0072.0063c-.746.5872-1.5429.8884-2.3868.8884-1.03863 0-1.85432-.4315-2.43176-1.277-.43549.5807-.97515.9834-1.61932 1.1981l-.00979.0033-.01007.0022c-.15865.0353-.37406.0505-.63768.0505-.93641 0-1.63679-.3356-2.04681-1.0359C3.08287 19.9196 3 19.5787 3 19.1987c0-.5006.1515-.9365.45958-1.2959.31283-.365.71906-.5499 1.2033-.5499.35729 0 .6622.0872.87689.2969.21557.2106.30597.5111.30597.8631 0 .3146-.07482.5975-.23217.8402-.15675.2419-.38726.4314-.67931.5735-.00496.0025-.01055.0055-.01678.0089.15188.0606.31779.0917.49969.0917.44797 0 .86602-.2744 1.24399-.9286l.00246-.0043c.06785-.111.17746-.4008.32772-.9017.14728-.4909.32737-1.1618.5404-2.0139l.0005-.002c.09122-.3497.19011-.7376.29665-1.1637.10644-.4258.18171-.7498.22648-.9736l.00249-.0124c.05541-.2078.09408-.3468.11359-.4088.07445-.404.10861-.6812.10861-.8425 0-.3287-.08814-.5649-.2437-.7325-.15265-.1644-.36917-.2561-.67631-.2561-.62654 0-1.16936.2409-1.63736.7372l-.00199.0022c-.47891.4934-.81198 1.0647-1.00116 1.7162-.0166.0733-.03697.141-.06317.1987-.02519.0554-.06558.1237-.13399.1693l-.01036.0069-.01113.0056c-.03837.0192-.07945.0259-.09978.0289-.02704.0041-.05815.0069-.09148.009-.06706.0042-.15565.0061-.26391.0061h-.40284l-.05858-.0586c-.10441-.1044-.19572-.2369-.19572-.3929v-.0147l.00216-.0146c.06726-.454.32204-1.0087.73818-1.656l.00145-.0022c.74101-1.1194 1.68544-1.7837 2.83334-1.9616l.00234-.0003zM20.9726 10.5186h10.0353c.2631 0 .5155.1045.7016.2906.1861.1861.2906.4384.2906.7016s-.1045.5156-.2906.7016c-.1861.1861-.4385.2907-.7016.2907h-2.705v6.138c0 .2272.0902.445.2508.6056.1606.1606.3784.2508.6056.2508.2271 0 .4449-.0902.6055-.2508.1606-.1606.2508-.3784.2508-.6056 0-.2631.1045-.5155.2906-.7016.1861-.1861.4385-.2906.7017-.2906.2631 0 .5155.1045.7016.2906.1861.1861.2906.4385.2906.7016 0 .7535-.2993 1.4761-.8321 2.0088-.5327.5328-1.2553.8321-2.0087.8321-.7535 0-1.4761-.2993-2.0088-.8321-.5328-.5327-.8321-1.2553-.8321-2.0088v-6.138h-3.2972v7.9867c0 .2631-.1046.5155-.2906.7016-.1861.1861-.4385.2906-.7017.2906-.2631 0-.5155-.1045-.7016-.2906-.1861-.1861-.2906-.4385-.2906-.7016v-7.9867h-.0641c-.5773 0-1.131.2293-1.5392.6375-.4083.4083-.6376.9619-.6376 1.5393 0 .2631-.1045.5155-.2906.7016-.1861.1861-.4385.2906-.7017.2906-.2631 0-.5155-.1045-.7016-.2906-.1861-.1861-.2906-.4385-.2906-.7016.0013-1.1032.4401-2.1611 1.2201-2.9412.7801-.7801 1.838-1.2189 2.9412-1.2201z"
|
|
4813
|
+
})), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
|
4814
|
+
id: "clip0_4011_87172"
|
|
4815
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
4816
|
+
fill: "#fff",
|
|
4817
|
+
transform: "translate(3 10.5186)",
|
|
4818
|
+
d: "M0 0h29v10.9635H0z"
|
|
4819
|
+
}))));
|
|
4808
4820
|
}
|
|
4809
4821
|
default:
|
|
4810
4822
|
{
|
|
@@ -7329,88 +7341,6 @@ class ProvidedKeypad extends React.Component {
|
|
|
7329
7341
|
}
|
|
7330
7342
|
}
|
|
7331
7343
|
|
|
7332
|
-
const styles$1 = StyleSheet.create({
|
|
7333
|
-
base: {
|
|
7334
|
-
display: "flex",
|
|
7335
|
-
justifyContent: "center",
|
|
7336
|
-
alignItems: "center",
|
|
7337
|
-
boxShadow: "0px 1px 0px rgba(33, 36, 44, 0.32)",
|
|
7338
|
-
boxSizing: "border-box",
|
|
7339
|
-
background: Color.white,
|
|
7340
|
-
borderRadius: 4,
|
|
7341
|
-
border: `1px solid transparent`,
|
|
7342
|
-
flex: 1,
|
|
7343
|
-
minHeight: 42,
|
|
7344
|
-
minWidth: 42,
|
|
7345
|
-
padding: 1
|
|
7346
|
-
},
|
|
7347
|
-
hovered: {
|
|
7348
|
-
border: `1px solid ${Color.blue}`,
|
|
7349
|
-
padding: 1,
|
|
7350
|
-
boxShadow: "none"
|
|
7351
|
-
},
|
|
7352
|
-
focused: {
|
|
7353
|
-
border: `2px solid ${Color.blue}`,
|
|
7354
|
-
padding: 0,
|
|
7355
|
-
boxShadow: "none"
|
|
7356
|
-
},
|
|
7357
|
-
pressed: {
|
|
7358
|
-
border: "2px solid #1B50B3",
|
|
7359
|
-
padding: 0,
|
|
7360
|
-
background: `linear-gradient(0deg, rgba(24, 101, 242, 0.32), rgba(24, 101, 242, 0.32)), ${Color.white}`,
|
|
7361
|
-
boxShadow: "none"
|
|
7362
|
-
},
|
|
7363
|
-
outerBoxBase: {
|
|
7364
|
-
padding: 1,
|
|
7365
|
-
height: "100%",
|
|
7366
|
-
width: "100%",
|
|
7367
|
-
boxSizing: "border-box",
|
|
7368
|
-
borderRadius: 7,
|
|
7369
|
-
border: "2px solid transparent"
|
|
7370
|
-
},
|
|
7371
|
-
outerBoxHover: {
|
|
7372
|
-
border: `2px solid ${Color.blue}`
|
|
7373
|
-
},
|
|
7374
|
-
outerBoxPressed: {
|
|
7375
|
-
border: "2px solid #1B50B3"
|
|
7376
|
-
},
|
|
7377
|
-
clickable: {
|
|
7378
|
-
width: "100%",
|
|
7379
|
-
height: "100%",
|
|
7380
|
-
boxSizing: "border-box"
|
|
7381
|
-
}
|
|
7382
|
-
});
|
|
7383
|
-
class Button extends React.Component {
|
|
7384
|
-
render() {
|
|
7385
|
-
const {
|
|
7386
|
-
onPress,
|
|
7387
|
-
ariaLabel,
|
|
7388
|
-
children,
|
|
7389
|
-
style,
|
|
7390
|
-
tintColor
|
|
7391
|
-
} = this.props;
|
|
7392
|
-
return /*#__PURE__*/React.createElement(View$1, {
|
|
7393
|
-
style: style
|
|
7394
|
-
}, /*#__PURE__*/React.createElement(Clickable, {
|
|
7395
|
-
onClick: onPress,
|
|
7396
|
-
style: styles$1.clickable,
|
|
7397
|
-
"aria-label": ariaLabel
|
|
7398
|
-
}, ({
|
|
7399
|
-
hovered,
|
|
7400
|
-
focused,
|
|
7401
|
-
pressed
|
|
7402
|
-
}) => {
|
|
7403
|
-
return /*#__PURE__*/React.createElement(View$1, {
|
|
7404
|
-
style: [styles$1.outerBoxBase, hovered && styles$1.outerBoxHover, pressed && styles$1.outerBoxPressed]
|
|
7405
|
-
}, /*#__PURE__*/React.createElement(View$1, {
|
|
7406
|
-
style: [styles$1.base, tintColor != null ? {
|
|
7407
|
-
background: tintColor
|
|
7408
|
-
} : undefined, hovered && styles$1.hovered, focused && styles$1.focused, pressed && styles$1.pressed]
|
|
7409
|
-
}, children));
|
|
7410
|
-
}));
|
|
7411
|
-
}
|
|
7412
|
-
}
|
|
7413
|
-
|
|
7414
7344
|
/*
|
|
7415
7345
|
The SVGs in this file should be treated as binary assets. If, in the future,
|
|
7416
7346
|
we need to make changes to update the color or size or shape of the glyph
|
|
@@ -7435,7 +7365,7 @@ function ButtonAsset({
|
|
|
7435
7365
|
fill: "none",
|
|
7436
7366
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7437
7367
|
}, /*#__PURE__*/React.createElement("path", {
|
|
7438
|
-
d: "M26.
|
|
7368
|
+
d: "M26.299 20.3598c0 1.512-.164 2.82-.492 3.924-.32 1.104-.764 2.02-1.332 2.748-.568.728-1.236 1.268-2.004 1.62-.768.352-1.596.528-2.484.528-.888 0-1.716-.176-2.484-.528-.768-.352-1.436-.892-2.004-1.62-.56-.728-1-1.644-1.32-2.748-.32-1.104-.48-2.412-.48-3.924s.16-2.82.48-3.924c.32-1.112.76-2.028 1.32-2.748.568-.728 1.236-1.268 2.004-1.62.768-.36 1.596-.54 2.484-.54.888 0 1.716.18 2.484.54.768.352 1.436.892 2.004 1.62.568.72 1.012 1.636 1.332 2.748.328 1.104.492 2.412.492 3.924zm-2.664 0c0-1.28-.104-2.344-.312-3.192-.2-.856-.468-1.54-.804-2.052s-.724-.876-1.164-1.092c-.44-.216-.896-.324-1.368-.324-.48 0-.94.108-1.38.324-.432.216-.816.58-1.152 1.092-.336.512-.604 1.196-.804 2.052-.2.848-.3 1.912-.3 3.192 0 1.28.1 2.348.3 3.204.2.848.468 1.528.804 2.04s.72.876 1.152 1.092c.44.216.9.324 1.38.324.472 0 .928-.108 1.368-.324.44-.216.828-.58 1.164-1.092.336-.512.604-1.192.804-2.04.208-.856.312-1.924.312-3.204z",
|
|
7439
7369
|
fill: "#21242C"
|
|
7440
7370
|
}));
|
|
7441
7371
|
case "NUM_1":
|
|
@@ -7446,7 +7376,7 @@ function ButtonAsset({
|
|
|
7446
7376
|
fill: "none",
|
|
7447
7377
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7448
7378
|
}, /*#__PURE__*/React.createElement("path", {
|
|
7449
|
-
d: "M25.
|
|
7379
|
+
d: "M25.363 27.0441v1.956h-9.42v-1.956h3.6v-10.824c0-.384.012-.776.036-1.176l-2.772 2.34c-.12.096-.244.16-.372.192-.12.024-.236.024-.348 0-.104-.024-.2-.06-.288-.108-.08-.056-.144-.116-.192-.18l-.804-1.128 5.208-4.476h2.1v15.36h3.252z",
|
|
7450
7380
|
fill: "#21242C"
|
|
7451
7381
|
}));
|
|
7452
7382
|
case "NUM_2":
|
|
@@ -7457,7 +7387,7 @@ function ButtonAsset({
|
|
|
7457
7387
|
fill: "none",
|
|
7458
7388
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7459
7389
|
}, /*#__PURE__*/React.createElement("path", {
|
|
7460
|
-
d: "M24.8471 26.
|
|
7390
|
+
d: "M24.8471 26.5638c.28 0 .5.084.66.252.16.16.24.368.24.624v1.56h-11.688v-.876c0-.176.036-.36.108-.552.072-.192.188-.368.348-.528l5.376-5.388c.456-.456.86-.892 1.212-1.308.36-.416.664-.832.912-1.248.256-.416.448-.836.576-1.26.136-.432.204-.884.204-1.356 0-.456-.072-.856-.216-1.2-.136-.352-.328-.64-.576-.864-.24-.232-.532-.404-.876-.516-.336-.12-.708-.18-1.116-.18-.392 0-.756.056-1.092.168-.328.112-.624.268-.888.468-.256.2-.472.44-.648.72-.168.272-.292.572-.372.9-.12.328-.276.548-.468.66-.184.112-.456.136-.816.072l-1.356-.24c.12-.816.344-1.532.672-2.148.336-.616.756-1.128 1.26-1.536.504-.416 1.08-.728 1.728-.936.656-.216 1.364-.324 2.124-.324.768 0 1.472.116 2.112.348.648.224 1.204.548 1.668.972.472.416.84.924 1.104 1.524.264.6.396 1.276.396 2.028 0 .64-.096 1.232-.288 1.776-.184.544-.436 1.064-.756 1.56s-.696.98-1.128 1.452c-.424.464-.872.936-1.344 1.416l-4.176 4.272c.344-.096.688-.172 1.032-.228.352-.056.684-.084.996-.084h5.076z",
|
|
7461
7391
|
fill: "#21242C"
|
|
7462
7392
|
}));
|
|
7463
7393
|
case "NUM_3":
|
|
@@ -7468,7 +7398,7 @@ function ButtonAsset({
|
|
|
7468
7398
|
fill: "none",
|
|
7469
7399
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7470
7400
|
}, /*#__PURE__*/React.createElement("path", {
|
|
7471
|
-
d: "M14.
|
|
7401
|
+
d: "M14.4552 16.4718c.12-.816.344-1.532.672-2.148.336-.616.756-1.128 1.26-1.536.504-.416 1.08-.728 1.728-.936.656-.216 1.364-.324 2.124-.324.768 0 1.464.112 2.088.336.632.216 1.172.52 1.62.912.456.392.804.86 1.044 1.404.248.544.372 1.14.372 1.788 0 .552-.068 1.04-.204 1.464-.128.416-.316.784-.564 1.104-.24.32-.536.588-.888.804-.352.216-.748.396-1.188.54 1.072.312 1.876.812 2.412 1.5.536.68.804 1.536.804 2.568 0 .832-.156 1.572-.468 2.22-.312.648-.736 1.196-1.272 1.644-.528.448-1.148.792-1.86 1.032-.704.232-1.452.348-2.244.348-.888 0-1.656-.104-2.304-.312-.648-.216-1.208-.52-1.68-.912-.464-.4-.852-.88-1.164-1.44-.312-.56-.576-1.188-.792-1.884l1.116-.468c.296-.128.576-.164.84-.108.272.056.468.204.588.444.128.256.272.532.432.828.16.288.364.556.612.804.256.24.568.444.936.612.376.16.836.24 1.38.24.552 0 1.032-.088 1.44-.264.416-.184.76-.416 1.032-.696.28-.288.488-.608.624-.96s.204-.7.204-1.044c0-.432-.052-.828-.156-1.188-.104-.368-.308-.68-.612-.936-.296-.256-.72-.456-1.272-.6-.544-.152-1.26-.228-2.148-.228v-1.86c.728-.008 1.34-.08 1.836-.216.504-.144.904-.336 1.2-.576.304-.248.52-.544.648-.888.136-.344.204-.72.204-1.128 0-.44-.068-.828-.204-1.164-.136-.336-.328-.616-.576-.84-.24-.232-.528-.404-.864-.516-.336-.112-.708-.168-1.116-.168-.392 0-.756.056-1.092.168-.328.112-.624.268-.888.468-.256.2-.472.44-.648.72-.176.272-.304.572-.384.9-.112.328-.264.548-.456.66-.184.112-.456.136-.816.072l-1.356-.24z",
|
|
7472
7402
|
fill: "#21242C"
|
|
7473
7403
|
}));
|
|
7474
7404
|
case "NUM_4":
|
|
@@ -7479,7 +7409,7 @@ function ButtonAsset({
|
|
|
7479
7409
|
fill: "none",
|
|
7480
7410
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7481
7411
|
}, /*#__PURE__*/React.createElement("path", {
|
|
7482
|
-
d: "M21.
|
|
7412
|
+
d: "M21.691 22.616v-6.312c0-.504.036-1.056.108-1.656l-5.808 7.968h5.7zm4.632 0v1.488c0 .144-.048.268-.144.372-.088.104-.224.156-.408.156h-1.836V29h-2.244v-4.368h-7.476c-.184 0-.344-.052-.48-.156-.128-.112-.212-.248-.252-.408l-.264-1.32 8.292-11.04h2.424v10.908h2.388z",
|
|
7483
7413
|
fill: "#21242C"
|
|
7484
7414
|
}));
|
|
7485
7415
|
case "NUM_5":
|
|
@@ -7490,7 +7420,7 @@ function ButtonAsset({
|
|
|
7490
7420
|
fill: "none",
|
|
7491
7421
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7492
7422
|
}, /*#__PURE__*/React.createElement("path", {
|
|
7493
|
-
d: "M17.6591 18.
|
|
7423
|
+
d: "M17.6591 18.1042c.416-.088.812-.152 1.188-.192.384-.04.752-.06 1.104-.06.904 0 1.7.136 2.388.408.696.264 1.276.632 1.74 1.104.472.472.824 1.028 1.056 1.668.24.632.36 1.32.36 2.064 0 .92-.16 1.756-.48 2.508-.32.752-.764 1.396-1.332 1.932-.568.528-1.24.936-2.016 1.224-.768.288-1.6.432-2.496.432-.528 0-1.032-.052-1.512-.156-.472-.104-.916-.244-1.332-.42-.416-.184-.8-.392-1.152-.624-.352-.24-.668-.488-.948-.744l.792-1.104c.168-.24.392-.36.672-.36.176 0 .368.064.576.192.208.128.448.268.72.42.28.144.608.28.984.408.376.128.824.192 1.344.192.568 0 1.076-.092 1.524-.276.448-.184.824-.44 1.128-.768.312-.336.548-.736.708-1.2.16-.464.24-.972.24-1.524 0-.504-.076-.956-.228-1.356-.144-.4-.364-.74-.66-1.02-.288-.28-.652-.492-1.092-.636-.44-.152-.948-.228-1.524-.228-.424 0-.86.036-1.308.108-.44.072-.888.184-1.344.336l-1.608-.456 1.416-8.256h8.364v1.116c0 .368-.116.668-.348.9-.232.232-.62.348-1.164.348h-5.064l-.696 4.02z",
|
|
7494
7424
|
fill: "#21242C"
|
|
7495
7425
|
}));
|
|
7496
7426
|
case "NUM_6":
|
|
@@ -7501,7 +7431,7 @@ function ButtonAsset({
|
|
|
7501
7431
|
fill: "none",
|
|
7502
7432
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7503
7433
|
}, /*#__PURE__*/React.createElement("path", {
|
|
7504
|
-
d: "M19.
|
|
7434
|
+
d: "M19.975 27.0562c.52 0 .996-.084 1.428-.252.432-.176.8-.416 1.104-.72.312-.304.552-.664.72-1.08.168-.416.252-.868.252-1.356 0-.528-.084-1-.252-1.416-.16-.424-.392-.78-.696-1.068-.296-.288-.656-.508-1.08-.66-.416-.16-.876-.24-1.38-.24-.52 0-.992.088-1.416.264-.416.176-.772.416-1.068.72-.296.304-.524.66-.684 1.068-.16.408-.24.84-.24 1.296 0 .512.072.98.216 1.404.144.424.356.788.636 1.092.28.296.624.528 1.032.696.416.168.892.252 1.428.252zm-.948-8.976c-.128.16-.252.312-.372.456l-.336.432c.368-.208.772-.372 1.212-.492.44-.12.912-.18 1.416-.18.672 0 1.316.112 1.932.336.616.216 1.156.544 1.62.984.472.432.848.972 1.128 1.62.28.64.42 1.38.42 2.22 0 .8-.148 1.548-.444 2.244-.288.696-.696 1.304-1.224 1.824-.528.512-1.164.92-1.908 1.224-.736.296-1.552.444-2.448.444-.896 0-1.704-.144-2.424-.432-.72-.288-1.336-.692-1.848-1.212-.504-.528-.892-1.16-1.164-1.896-.272-.736-.408-1.556-.408-2.46 0-.784.168-1.604.504-2.46.336-.856.856-1.756 1.56-2.7l4.248-5.7c.128-.168.312-.312.552-.432.248-.12.524-.18.828-.18h2.28l-5.124 6.36z",
|
|
7505
7435
|
fill: "#21242C"
|
|
7506
7436
|
}));
|
|
7507
7437
|
case "NUM_7":
|
|
@@ -7512,7 +7442,7 @@ function ButtonAsset({
|
|
|
7512
7442
|
fill: "none",
|
|
7513
7443
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7514
7444
|
}, /*#__PURE__*/React.createElement("path", {
|
|
7515
|
-
d: "M26.
|
|
7445
|
+
d: "M26.083 11.7202v1.14c0 .336-.036.608-.108.816-.072.208-.144.384-.216.528l-6.828 13.896c-.12.256-.292.472-.516.648-.216.168-.504.252-.864.252h-1.86l6.96-13.668c.128-.248.256-.472.384-.672.128-.2.272-.392.432-.576h-8.628c-.16 0-.3-.06-.42-.18-.12-.128-.18-.272-.18-.432v-1.752h11.844z",
|
|
7516
7446
|
fill: "#21242C"
|
|
7517
7447
|
}));
|
|
7518
7448
|
case "NUM_8":
|
|
@@ -7523,7 +7453,7 @@ function ButtonAsset({
|
|
|
7523
7453
|
fill: "none",
|
|
7524
7454
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7525
7455
|
}, /*#__PURE__*/React.createElement("path", {
|
|
7526
|
-
d: "M19.
|
|
7456
|
+
d: "M19.999 27.1518c.52 0 .984-.072 1.392-.216.408-.152.748-.36 1.02-.624.28-.272.492-.592.636-.96.144-.368.216-.768.216-1.2 0-.528-.084-.984-.252-1.368-.16-.384-.388-.7-.684-.948-.288-.256-.632-.444-1.032-.564-.4-.128-.832-.192-1.296-.192-.464 0-.896.064-1.296.192-.4.12-.748.308-1.044.564-.288.248-.516.564-.684.948-.16.384-.24.84-.24 1.368 0 .432.072.832.216 1.2.144.368.352.688.624.96.28.264.624.472 1.032.624.408.144.872.216 1.392.216zm0-13.644c-.472 0-.888.072-1.248.216-.352.144-.644.336-.876.576-.232.24-.408.524-.528.852-.112.32-.168.66-.168 1.02s.048.712.144 1.056c.104.344.264.652.48.924.224.264.516.476.876.636.36.16.8.24 1.32.24s.96-.08 1.32-.24c.36-.16.648-.372.864-.636.224-.272.384-.58.48-.924.104-.344.156-.696.156-1.056 0-.36-.06-.7-.18-1.02-.112-.328-.288-.612-.528-.852-.232-.24-.524-.432-.876-.576-.352-.144-.764-.216-1.236-.216zm2.724 6.48c1.064.328 1.86.848 2.388 1.56.536.712.804 1.596.804 2.652 0 .76-.144 1.448-.432 2.064-.288.616-.692 1.14-1.212 1.572-.52.432-1.144.768-1.872 1.008-.72.232-1.52.348-2.4.348-.88 0-1.684-.116-2.412-.348-.72-.24-1.34-.576-1.86-1.008-.52-.432-.924-.956-1.212-1.572-.288-.616-.432-1.304-.432-2.064 0-1.056.264-1.94.792-2.652.536-.712 1.336-1.232 2.4-1.56-.864-.344-1.516-.844-1.956-1.5-.432-.656-.648-1.444-.648-2.364 0-.648.128-1.252.384-1.812s.616-1.044 1.08-1.452c.472-.416 1.036-.74 1.692-.972.656-.24 1.38-.36 2.172-.36.792 0 1.512.12 2.16.36.656.232 1.216.556 1.68.972.472.408.836.892 1.092 1.452.264.56.396 1.164.396 1.812 0 .92-.22 1.708-.66 2.364-.432.656-1.08 1.156-1.944 1.5z",
|
|
7527
7457
|
fill: "#21242C"
|
|
7528
7458
|
}));
|
|
7529
7459
|
case "NUM_9":
|
|
@@ -7534,10 +7464,13 @@ function ButtonAsset({
|
|
|
7534
7464
|
fill: "none",
|
|
7535
7465
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7536
7466
|
}, /*#__PURE__*/React.createElement("path", {
|
|
7537
|
-
d: "M16.
|
|
7467
|
+
d: "M16.735 16.8558c0 1.024.272 1.812.816 2.364.552.544 1.32.816 2.304.816.528 0 .992-.084 1.392-.252.408-.168.752-.392 1.032-.672.28-.288.492-.62.636-.996.144-.384.216-.792.216-1.224 0-.504-.08-.952-.24-1.344-.152-.4-.372-.74-.66-1.02-.28-.28-.616-.492-1.008-.636-.392-.152-.82-.228-1.284-.228-.488 0-.928.08-1.32.24-.392.16-.728.384-1.008.672-.28.28-.496.616-.648 1.008-.152.384-.228.808-.228 1.272zm4.428 5.364c.16-.2.308-.388.444-.564.136-.184.264-.368.384-.552-.416.296-.88.524-1.392.684-.512.152-1.056.228-1.632.228-.624 0-1.224-.104-1.8-.312-.576-.216-1.088-.532-1.536-.948-.448-.424-.808-.944-1.08-1.56-.264-.624-.396-1.34-.396-2.148 0-.76.14-1.476.42-2.148.288-.672.688-1.256 1.2-1.752.512-.504 1.124-.9 1.836-1.188.712-.288 1.5-.432 2.364-.432.856 0 1.632.14 2.328.42.696.272 1.288.66 1.776 1.164.488.496.864 1.092 1.128 1.788.264.688.396 1.448.396 2.28 0 .52-.048 1.012-.144 1.476-.088.464-.22.916-.396 1.356-.168.432-.376.86-.624 1.284-.24.416-.512.84-.816 1.272l-4.068 5.832c-.12.176-.3.32-.54.432-.232.112-.496.168-.792.168h-2.364l5.304-6.78z",
|
|
7538
7468
|
fill: "#21242C"
|
|
7539
7469
|
}));
|
|
7540
|
-
|
|
7470
|
+
// TODO(ned): Per the notes in `KeyConfigs`, shouldn't this be a comma
|
|
7471
|
+
// that we replace with the period icon for i18n? Duplicating for now.
|
|
7472
|
+
case "DECIMAL":
|
|
7473
|
+
case "PERIOD":
|
|
7541
7474
|
return /*#__PURE__*/React.createElement("svg", {
|
|
7542
7475
|
width: "40",
|
|
7543
7476
|
height: "40",
|
|
@@ -7545,13 +7478,10 @@ function ButtonAsset({
|
|
|
7545
7478
|
fill: "none",
|
|
7546
7479
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7547
7480
|
}, /*#__PURE__*/React.createElement("path", {
|
|
7548
|
-
d: "
|
|
7549
|
-
|
|
7550
|
-
strokeWidth: "2",
|
|
7551
|
-
strokeLinecap: "round",
|
|
7552
|
-
strokeLinejoin: "round"
|
|
7481
|
+
d: "M18.3401 27.512c0-.232.04-.448.12-.648.088-.208.204-.388.348-.54.152-.152.328-.272.528-.36.208-.088.428-.132.66-.132.232 0 .448.044.648.132.208.088.388.208.54.36.152.152.272.332.36.54.088.2.132.416.132.648 0 .24-.044.46-.132.66-.088.2-.208.376-.36.528-.152.152-.332.268-.54.348-.2.088-.416.132-.648.132-.232 0-.452-.044-.66-.132-.2-.08-.376-.196-.528-.348-.144-.152-.26-.328-.348-.528-.08-.2-.12-.42-.12-.66z",
|
|
7482
|
+
fill: "#21242C"
|
|
7553
7483
|
}));
|
|
7554
|
-
case "
|
|
7484
|
+
case "PLUS":
|
|
7555
7485
|
return /*#__PURE__*/React.createElement("svg", {
|
|
7556
7486
|
width: "40",
|
|
7557
7487
|
height: "40",
|
|
@@ -7559,103 +7489,69 @@ function ButtonAsset({
|
|
|
7559
7489
|
fill: "none",
|
|
7560
7490
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7561
7491
|
}, /*#__PURE__*/React.createElement("path", {
|
|
7562
|
-
|
|
7563
|
-
|
|
7564
|
-
|
|
7565
|
-
|
|
7566
|
-
|
|
7492
|
+
fillRule: "evenodd",
|
|
7493
|
+
clipRule: "evenodd",
|
|
7494
|
+
d: "M12 20c0-.5523.4477-1 1-1h14c.5523 0 1 .4477 1 1s-.4477 1-1 1H13c-.5523 0-1-.4477-1-1z",
|
|
7495
|
+
fill: "#21242C"
|
|
7496
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
7497
|
+
fillRule: "evenodd",
|
|
7498
|
+
clipRule: "evenodd",
|
|
7499
|
+
d: "M20 28c-.5523 0-1-.4477-1-1V13c0-.5523.4477-1 1-1s1 .4477 1 1v14c0 .5523-.4477 1-1 1z",
|
|
7500
|
+
fill: "#21242C"
|
|
7567
7501
|
}));
|
|
7568
7502
|
case "MINUS":
|
|
7569
7503
|
return /*#__PURE__*/React.createElement("svg", {
|
|
7570
|
-
|
|
7571
|
-
|
|
7572
|
-
|
|
7573
|
-
fill: "
|
|
7574
|
-
|
|
7504
|
+
width: "40",
|
|
7505
|
+
height: "40",
|
|
7506
|
+
viewBox: "0 0 40 40",
|
|
7507
|
+
fill: "none",
|
|
7508
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
7575
7509
|
}, /*#__PURE__*/React.createElement("path", {
|
|
7576
|
-
|
|
7510
|
+
fillRule: "evenodd",
|
|
7511
|
+
clipRule: "evenodd",
|
|
7512
|
+
d: "M12 20c0-.5523.4477-1 1-1h14c.5523 0 1 .4477 1 1s-.4477 1-1 1H13c-.5523 0-1-.4477-1-1z",
|
|
7513
|
+
fill: "#21242C"
|
|
7577
7514
|
}));
|
|
7578
|
-
case "PLUS":
|
|
7579
|
-
return (
|
|
7580
|
-
/*#__PURE__*/
|
|
7581
|
-
// Phosphor Icons - Plus Bold
|
|
7582
|
-
React.createElement("svg", {
|
|
7583
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
7584
|
-
width: "20",
|
|
7585
|
-
height: "20",
|
|
7586
|
-
fill: "currentColor",
|
|
7587
|
-
viewBox: "0 0 256 256"
|
|
7588
|
-
}, /*#__PURE__*/React.createElement("path", {
|
|
7589
|
-
d: "M224,128a8,8,0,0,1-8,8H136v80a8,8,0,0,1-16,0V136H40a8,8,0,0,1,0-16h80V40a8,8,0,0,1,16,0v80h80A8,8,0,0,1,224,128Z"
|
|
7590
|
-
}), " ")
|
|
7591
|
-
);
|
|
7592
7515
|
case "TIMES":
|
|
7593
|
-
return (
|
|
7594
|
-
/*#__PURE__*/
|
|
7595
|
-
// Phosphor Icons - X Bold
|
|
7596
|
-
React.createElement("svg", {
|
|
7597
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
7598
|
-
width: "20",
|
|
7599
|
-
height: "20",
|
|
7600
|
-
fill: "#000000",
|
|
7601
|
-
viewBox: "0 0 256 256"
|
|
7602
|
-
}, /*#__PURE__*/React.createElement("path", {
|
|
7603
|
-
d: "M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z"
|
|
7604
|
-
}))
|
|
7605
|
-
);
|
|
7606
|
-
case "BACKSPACE":
|
|
7607
|
-
return /*#__PURE__*/React.createElement("svg", {
|
|
7608
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
7609
|
-
width: "20",
|
|
7610
|
-
height: "20",
|
|
7611
|
-
fill: "currentColor",
|
|
7612
|
-
viewBox: "0 0 256 256"
|
|
7613
|
-
}, /*#__PURE__*/React.createElement("path", {
|
|
7614
|
-
d: "M216,40H68.53a16.08,16.08,0,0,0-13.72,7.77L9.14,123.88a8,8,0,0,0,0,8.24l45.67,76.11A16.08,16.08,0,0,0,68.53,216H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM61.67,204.12,68.53,200h0ZM216,200H68.53l-43.2-72,43.2-72H216ZM106.34,146.34,124.69,128l-18.35-18.34a8,8,0,0,1,11.32-11.32L136,116.69l18.34-18.35a8,8,0,0,1,11.32,11.32L147.31,128l18.35,18.34a8,8,0,0,1-11.32,11.32L136,139.31l-18.34,18.35a8,8,0,0,1-11.32-11.32Z"
|
|
7615
|
-
}));
|
|
7616
|
-
case "DISMISS":
|
|
7617
7516
|
return /*#__PURE__*/React.createElement("svg", {
|
|
7618
|
-
|
|
7619
|
-
|
|
7620
|
-
|
|
7621
|
-
fill: "
|
|
7622
|
-
|
|
7517
|
+
width: "40",
|
|
7518
|
+
height: "40",
|
|
7519
|
+
viewBox: "0 0 40 40",
|
|
7520
|
+
fill: "none",
|
|
7521
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
7623
7522
|
}, /*#__PURE__*/React.createElement("path", {
|
|
7624
|
-
|
|
7625
|
-
|
|
7626
|
-
d: "
|
|
7523
|
+
fillRule: "evenodd",
|
|
7524
|
+
clipRule: "evenodd",
|
|
7525
|
+
d: "M14.3432 14.3428c.3905-.3905 1.0237-.3905 1.4142 0l9.8995 9.8995c.3905.3906.3905 1.0237 0 1.4143-.3905.3905-1.0237.3905-1.4142 0l-9.8995-9.8995c-.3905-.3906-.3905-1.0237 0-1.4143z",
|
|
7526
|
+
fill: "#21242C"
|
|
7527
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
7528
|
+
fillRule: "evenodd",
|
|
7529
|
+
clipRule: "evenodd",
|
|
7530
|
+
d: "M14.3431 25.6573c-.3905-.3905-.3905-1.0237 0-1.4142l9.8995-9.8995c.3905-.3905 1.0237-.3905 1.4142 0 .3905.3905.3905 1.0237 0 1.4142l-9.8995 9.8995c-.3905.3905-1.0237.3905-1.4142 0z",
|
|
7531
|
+
fill: "#21242C"
|
|
7627
7532
|
}));
|
|
7628
|
-
case "
|
|
7533
|
+
case "CDOT":
|
|
7629
7534
|
return /*#__PURE__*/React.createElement("svg", {
|
|
7630
|
-
width: "
|
|
7631
|
-
height: "
|
|
7632
|
-
viewBox: "0 0
|
|
7633
|
-
}, /*#__PURE__*/React.createElement("g", {
|
|
7634
|
-
fill: "none",
|
|
7635
|
-
fillRule: "evenodd"
|
|
7636
|
-
}, /*#__PURE__*/React.createElement("path", {
|
|
7535
|
+
width: "40",
|
|
7536
|
+
height: "40",
|
|
7537
|
+
viewBox: "0 0 40 40",
|
|
7637
7538
|
fill: "none",
|
|
7638
|
-
|
|
7639
|
-
}
|
|
7640
|
-
|
|
7539
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
7540
|
+
}, /*#__PURE__*/React.createElement("g", {
|
|
7541
|
+
clipPath: "url(#clip0_874_41555)"
|
|
7542
|
+
}, /*#__PURE__*/React.createElement("circle", {
|
|
7543
|
+
cx: "20",
|
|
7544
|
+
cy: "20",
|
|
7545
|
+
r: "1.5",
|
|
7546
|
+
fill: "#21242C"
|
|
7547
|
+
})), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
|
7548
|
+
id: "clip0_874_41555"
|
|
7641
7549
|
}, /*#__PURE__*/React.createElement("path", {
|
|
7642
|
-
fill: "
|
|
7643
|
-
|
|
7644
|
-
|
|
7645
|
-
d: "M8 16.997c0-.55.453-.997.997-.997h6.006c.55 0 .997.453.997.997v6.006c0 .55-.453.997-.997.997H8.997c-.55 0-.997-.453-.997-.997v-6.006zM10 18h4v4h-4v-4z",
|
|
7646
|
-
fill: "currentColor"
|
|
7647
|
-
}), /*#__PURE__*/React.createElement("rect", {
|
|
7648
|
-
fill: "currentColor",
|
|
7649
|
-
x: "2",
|
|
7650
|
-
y: "11",
|
|
7651
|
-
width: "20",
|
|
7652
|
-
height: "2",
|
|
7653
|
-
rx: "1"
|
|
7654
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
7655
|
-
d: "M8 .997C8 .447 8.453 0 8.997 0h6.006c.55 0 .997.453.997.997v6.006c0 .55-.453.997-.997.997H8.997C8.447 8 8 7.547 8 7.003V.997zM10 2h4v4h-4V2z",
|
|
7656
|
-
fill: "currentColor"
|
|
7550
|
+
fill: "#fff",
|
|
7551
|
+
transform: "translate(18.5 18.5)",
|
|
7552
|
+
d: "M0 0h3v3H0z"
|
|
7657
7553
|
}))));
|
|
7658
|
-
case "
|
|
7554
|
+
case "DIVIDE":
|
|
7659
7555
|
return /*#__PURE__*/React.createElement("svg", {
|
|
7660
7556
|
width: "40",
|
|
7661
7557
|
height: "40",
|
|
@@ -7665,10 +7561,10 @@ function ButtonAsset({
|
|
|
7665
7561
|
}, /*#__PURE__*/React.createElement("path", {
|
|
7666
7562
|
fillRule: "evenodd",
|
|
7667
7563
|
clipRule: "evenodd",
|
|
7668
|
-
d: "
|
|
7564
|
+
d: "M20 16c.8284 0 1.5-.6716 1.5-1.5S20.8284 13 20 13s-1.5.6716-1.5 1.5.6716 1.5 1.5 1.5zm-8 4c0-.5523.4477-1 1-1h14c.5523 0 1 .4477 1 1s-.4477 1-1 1H13c-.5523 0-1-.4477-1-1zm9.5 5.5c0 .8284-.6716 1.5-1.5 1.5s-1.5-.6716-1.5-1.5.6716-1.5 1.5-1.5 1.5.6716 1.5 1.5z",
|
|
7669
7565
|
fill: "#21242C"
|
|
7670
7566
|
}));
|
|
7671
|
-
case "
|
|
7567
|
+
case "LEFT_PAREN":
|
|
7672
7568
|
return /*#__PURE__*/React.createElement("svg", {
|
|
7673
7569
|
width: "40",
|
|
7674
7570
|
height: "40",
|
|
@@ -7678,27 +7574,23 @@ function ButtonAsset({
|
|
|
7678
7574
|
}, /*#__PURE__*/React.createElement("path", {
|
|
7679
7575
|
fillRule: "evenodd",
|
|
7680
7576
|
clipRule: "evenodd",
|
|
7681
|
-
d: "
|
|
7577
|
+
d: "M22.6402 9.2318c.4243.35357.4816.9841.128 1.4084-4.6909 5.6292-4.6909 13.0905 0 18.7196.3536.4243.2963 1.0549-.128 1.4084-.4243.3536-1.0549.2963-1.4084-.128-5.3091-6.3708-5.3091-14.9095 0-21.28036.3535-.42428.9841-.4816 1.4084-.12804z",
|
|
7682
7578
|
fill: "#21242C"
|
|
7683
7579
|
}));
|
|
7684
|
-
|
|
7685
|
-
// that we replace with the period icon for i18n? Duplicating for now.
|
|
7686
|
-
case "DECIMAL":
|
|
7687
|
-
case "PERIOD":
|
|
7580
|
+
case "RIGHT_PAREN":
|
|
7688
7581
|
return /*#__PURE__*/React.createElement("svg", {
|
|
7689
|
-
|
|
7690
|
-
|
|
7691
|
-
|
|
7692
|
-
fill: "
|
|
7693
|
-
|
|
7582
|
+
width: "40",
|
|
7583
|
+
height: "40",
|
|
7584
|
+
viewBox: "0 0 40 40",
|
|
7585
|
+
fill: "none",
|
|
7586
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
7694
7587
|
}, /*#__PURE__*/React.createElement("path", {
|
|
7695
|
-
|
|
7696
|
-
|
|
7697
|
-
|
|
7698
|
-
|
|
7699
|
-
transform: "translate(0 80)"
|
|
7588
|
+
fillRule: "evenodd",
|
|
7589
|
+
clipRule: "evenodd",
|
|
7590
|
+
d: "M18.3598 9.2318c.4243-.35356 1.0549-.29624 1.4084.12804 5.3091 6.37086 5.3091 14.90956 0 21.28036-.3535.4243-.9841.4816-1.4084.128-.4242-.3535-.4816-.9841-.128-1.4084 4.691-5.6291 4.691-13.0904 0-18.7196-.3536-.4243-.2962-1.05483.128-1.4084z",
|
|
7591
|
+
fill: "#21242C"
|
|
7700
7592
|
}));
|
|
7701
|
-
case "
|
|
7593
|
+
case "BACKSPACE":
|
|
7702
7594
|
return /*#__PURE__*/React.createElement("svg", {
|
|
7703
7595
|
width: "40",
|
|
7704
7596
|
height: "40",
|
|
@@ -7708,10 +7600,10 @@ function ButtonAsset({
|
|
|
7708
7600
|
}, /*#__PURE__*/React.createElement("path", {
|
|
7709
7601
|
fillRule: "evenodd",
|
|
7710
7602
|
clipRule: "evenodd",
|
|
7711
|
-
d: "
|
|
7603
|
+
d: "M10 20l6-6h12.1716v12H16l-6-6zm-1.41421-1.4142l6.00001-6C14.9609 12.2107 15.4696 12 16 12h12.1716c1.1045 0 2 .8954 2 2v12c0 1.1046-.8955 2-2 2H16c-.5304 0-1.0391-.2107-1.4142-.5858l-6.00001-6c-.78105-.781-.78105-2.0474 0-2.8284zm13.87871-1.2929l-1.2929 1.2929-1.2929-1.2929c-.3905-.3905-1.0237-.3905-1.4142 0-.3905.3905-.3905 1.0237 0 1.4142L19.7574 20l-1.2929 1.2929c-.3905.3905-.3905 1.0237 0 1.4142.3905.3905 1.0237.3905 1.4142 0l1.2929-1.2929 1.2929 1.2929c.3905.3905 1.0237.3905 1.4142 0 .3906-.3905.3906-1.0237 0-1.4142L22.5858 20l1.2929-1.2929c.3906-.3905.3906-1.0237 0-1.4142-.3905-.3905-1.0237-.3905-1.4142 0z",
|
|
7712
7604
|
fill: "#21242C"
|
|
7713
7605
|
}));
|
|
7714
|
-
case "
|
|
7606
|
+
case "DISMISS":
|
|
7715
7607
|
return /*#__PURE__*/React.createElement("svg", {
|
|
7716
7608
|
xmlns: "http://www.w3.org/2000/svg",
|
|
7717
7609
|
width: "20",
|
|
@@ -7719,31 +7611,14 @@ function ButtonAsset({
|
|
|
7719
7611
|
fill: "currentColor",
|
|
7720
7612
|
viewBox: "0 0 256 256"
|
|
7721
7613
|
}, /*#__PURE__*/React.createElement("path", {
|
|
7722
|
-
|
|
7614
|
+
// flip to point down
|
|
7615
|
+
transform: "scale(1,-1) translate(0, -260)",
|
|
7616
|
+
d: "M205.66,125.66a8,8,0,0,1-11.32,0L128,59.31,61.66,125.66a8,8,0,0,1-11.32-11.32l72-72a8,8,0,0,1,11.32,0l72,72A8,8,0,0,1,205.66,125.66Z"
|
|
7723
7617
|
}));
|
|
7724
|
-
|
|
7725
|
-
|
|
7726
|
-
|
|
7727
|
-
|
|
7728
|
-
viewBox: "0 0 48 48"
|
|
7729
|
-
}, /*#__PURE__*/React.createElement("g", {
|
|
7730
|
-
fill: "none",
|
|
7731
|
-
fillRule: "evenodd",
|
|
7732
|
-
transform: "translate(0, -4)"
|
|
7733
|
-
}, /*#__PURE__*/React.createElement("path", {
|
|
7734
|
-
fill: "none",
|
|
7735
|
-
d: "M0 0h48v48H0z"
|
|
7736
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
7737
|
-
d: "M17.91 23.12c1.66 0 2.76-.81 2.76-1.98 0-.96-.86-1.51-1.57-1.58.79-.13 1.46-.72 1.46-1.5 0-1.1-.95-1.83-2.65-1.83-1.23 0-2.11.45-2.67 1.08l.83 1.08c.47-.42 1.05-.64 1.66-.64.64 0 1.12.19 1.12.61 0 .35-.39.52-1.08.52-.25 0-.77 0-.9-.01v1.53c.1-.01.61-.01.9-.01.91 0 1.19.18 1.19.56 0 .37-.38.65-1.12.65-.58 0-1.34-.23-1.82-.7l-.87 1.17c.52.6 1.48 1.05 2.76 1.05z",
|
|
7738
|
-
fill: "currentColor"
|
|
7739
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
7740
|
-
stroke: "currentColor",
|
|
7741
|
-
strokeWidth: "2",
|
|
7742
|
-
strokeLinecap: "round",
|
|
7743
|
-
strokeLinejoin: "round",
|
|
7744
|
-
d: "M14 29l4 6 9-14h7"
|
|
7745
|
-
})));
|
|
7746
|
-
case "EXP":
|
|
7618
|
+
// TODO: figure out what the difference is and what we need for what
|
|
7619
|
+
case "FRAC_INCLUSIVE":
|
|
7620
|
+
case "FRAC_EXCLUSIVE":
|
|
7621
|
+
case "FRAC":
|
|
7747
7622
|
return /*#__PURE__*/React.createElement("svg", {
|
|
7748
7623
|
width: "40",
|
|
7749
7624
|
height: "40",
|
|
@@ -7753,10 +7628,10 @@ function ButtonAsset({
|
|
|
7753
7628
|
}, /*#__PURE__*/React.createElement("path", {
|
|
7754
7629
|
fillRule: "evenodd",
|
|
7755
7630
|
clipRule: "evenodd",
|
|
7756
|
-
|
|
7757
|
-
|
|
7631
|
+
d: "M16 10C16 9.44772 16.4477 9 17 9H23C23.5523 9 24 9.44772 24 10V16C24 16.5523 23.5523 17 23 17H17C16.4477 17 16 16.5523 16 16V10ZM18 11H22V15H18V11ZM14 20C14 19.4477 14.4477 19 15 19H25C25.5523 19 26 19.4477 26 20C26 20.5523 25.5523 21 25 21H15C14.4477 21 14 20.5523 14 20ZM17 23C16.4477 23 16 23.4477 16 24V30C16 30.5523 16.4477 31 17 31H23C23.5523 31 24 30.5523 24 30V24C24 23.4477 23.5523 23 23 23H17ZM22 25H18V29H22V25Z",
|
|
7632
|
+
fill: "#21242C"
|
|
7758
7633
|
}));
|
|
7759
|
-
case "
|
|
7634
|
+
case "NEGATIVE":
|
|
7760
7635
|
return /*#__PURE__*/React.createElement("svg", {
|
|
7761
7636
|
width: "40",
|
|
7762
7637
|
height: "40",
|
|
@@ -7766,226 +7641,241 @@ function ButtonAsset({
|
|
|
7766
7641
|
}, /*#__PURE__*/React.createElement("path", {
|
|
7767
7642
|
fillRule: "evenodd",
|
|
7768
7643
|
clipRule: "evenodd",
|
|
7769
|
-
d: "
|
|
7644
|
+
d: "M12.9571 13.2929c.3905.3905.3905 1.0237 0 1.4142C11.6871 15.9771 11 17.9485 11 20c0 2.0515.6871 4.0229 1.9571 5.2929.3905.3905.3905 1.0237 0 1.4142-.3905.3905-1.0237.3905-1.4142 0C9.81292 24.9771 9 22.4485 9 20c0-2.4485.81292-4.9771 2.5429-6.7071.3905-.3905 1.0237-.3905 1.4142 0zM14 20c0-.5523.4477-1 1-1h10c.5523 0 1 .4477 1 1s-.4477 1-1 1H15c-.5523 0-1-.4477-1-1zm14.4571-6.7071c-.3905-.3905-1.0237-.3905-1.4142 0-.3905.3905-.3905 1.0237 0 1.4142C28.3129 15.9771 29 17.9485 29 20c0 2.0515-.6871 4.0229-1.9571 5.2929-.3905.3905-.3905 1.0237 0 1.4142.3905.3905 1.0237.3905 1.4142 0C30.1871 24.9771 31 22.4485 31 20c0-2.4485-.8129-4.9771-2.5429-6.7071z",
|
|
7770
7645
|
fill: "#21242C"
|
|
7771
7646
|
}));
|
|
7772
|
-
case "
|
|
7647
|
+
case "RADICAL":
|
|
7773
7648
|
return /*#__PURE__*/React.createElement("svg", {
|
|
7774
|
-
|
|
7775
|
-
|
|
7776
|
-
|
|
7649
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7650
|
+
width: "40",
|
|
7651
|
+
height: "40",
|
|
7777
7652
|
fill: "none",
|
|
7778
|
-
|
|
7653
|
+
viewBox: "0 0 40 40"
|
|
7779
7654
|
}, /*#__PURE__*/React.createElement("path", {
|
|
7780
|
-
transform: "translate(0, -8)",
|
|
7781
|
-
fillRule: "evenodd",
|
|
7782
|
-
clipRule: "evenodd",
|
|
7783
7655
|
fill: "#21242C",
|
|
7784
|
-
|
|
7656
|
+
fillRule: "evenodd",
|
|
7657
|
+
d: "M9 9a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1h-6a1 1 0 0 1-1-1V9Zm2 1h4v4h-4v-4Zm12 2a1 1 0 0 0-.841.46l-8.174 12.714-3.153-4.729a1 1 0 0 0-1.664 1.11l4 6a1 1 0 0 0 1.673-.014L23.546 14H30a1 1 0 1 0 0-2h-7Z",
|
|
7658
|
+
clipRule: "evenodd"
|
|
7785
7659
|
}));
|
|
7786
|
-
case "
|
|
7660
|
+
case "SQRT":
|
|
7787
7661
|
return /*#__PURE__*/React.createElement("svg", {
|
|
7662
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7788
7663
|
width: "40",
|
|
7789
7664
|
height: "40",
|
|
7790
|
-
viewBox: "0 0 40 40",
|
|
7791
7665
|
fill: "none",
|
|
7792
|
-
|
|
7666
|
+
viewBox: "0 0 40 40"
|
|
7793
7667
|
}, /*#__PURE__*/React.createElement("path", {
|
|
7794
|
-
|
|
7795
|
-
|
|
7668
|
+
fill: "#21242C",
|
|
7669
|
+
fillRule: "evenodd",
|
|
7670
|
+
d: "M22.159 12.46A1 1 0 0 1 23 12h7a1 1 0 1 1 0 2h-6.454l-8.705 13.54a1 1 0 0 1-1.673.015l-4-6a1 1 0 0 1 1.664-1.11l3.153 4.73 8.174-12.716Z",
|
|
7671
|
+
clipRule: "evenodd"
|
|
7796
7672
|
}));
|
|
7797
|
-
case "
|
|
7673
|
+
case "CUBE_ROOT":
|
|
7798
7674
|
return /*#__PURE__*/React.createElement("svg", {
|
|
7675
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7799
7676
|
width: "40",
|
|
7800
7677
|
height: "40",
|
|
7801
|
-
viewBox: "0 0 40 40",
|
|
7802
7678
|
fill: "none",
|
|
7803
|
-
|
|
7679
|
+
viewBox: "0 0 40 40"
|
|
7804
7680
|
}, /*#__PURE__*/React.createElement("path", {
|
|
7805
|
-
|
|
7806
|
-
|
|
7681
|
+
fill: "#21242C",
|
|
7682
|
+
fillRule: "evenodd",
|
|
7683
|
+
d: "M9.684 9.246a3.052 3.052 0 0 0-.33 1.023l.798.143c.209.033.368.02.478-.038.11-.063.2-.186.27-.369a1.05 1.05 0 0 1 .154-.324c.07-.1.152-.186.247-.259.1-.073.21-.13.33-.17.125-.044.26-.066.407-.066.334 0 .59.091.77.275.184.183.275.449.275.797 0 .165-.024.317-.071.457a.746.746 0 0 1-.248.357 1.297 1.297 0 0 1-.5.231 3.359 3.359 0 0 1-.82.083v1.067c.4 0 .715.029.946.088.235.055.41.135.528.242a.674.674 0 0 1 .231.38c.033.146.05.31.05.494 0 .14-.028.28-.083.424a1.116 1.116 0 0 1-.632.649c-.158.07-.343.104-.556.104-.169 0-.319-.024-.45-.071a1.197 1.197 0 0 1-.347-.198 1.738 1.738 0 0 1-.28-.308 3.794 3.794 0 0 1-.232-.385.457.457 0 0 0-.33-.242.809.809 0 0 0-.49.06l-.67.275c.12.356.262.668.423.935.162.264.354.484.578.66.227.176.49.308.786.396.297.088.64.132 1.029.132a3.55 3.55 0 0 0 1.05-.154c.338-.106.633-.264.886-.473a2.3 2.3 0 0 0 .605-.775c.15-.312.225-.671.225-1.078 0-.92-.458-1.531-1.375-1.832a2.24 2.24 0 0 0 .523-.247 1.47 1.47 0 0 0 .621-.864 2.47 2.47 0 0 0 .083-.67c0-.287-.057-.555-.17-.804a1.9 1.9 0 0 0-.48-.654 2.254 2.254 0 0 0-.77-.44c-.3-.11-.641-.165-1.022-.165-.36 0-.695.05-1.007.148a2.47 2.47 0 0 0-.825.435 2.42 2.42 0 0 0-.605.731ZM23 12a1 1 0 0 0-.841.46l-8.174 12.714-3.153-4.729a1 1 0 0 0-1.664 1.11l4 6a1 1 0 0 0 1.673-.014L23.546 14H30a1 1 0 1 0 0-2h-7Z",
|
|
7684
|
+
clipRule: "evenodd"
|
|
7807
7685
|
}));
|
|
7808
|
-
case "
|
|
7686
|
+
case "EXP":
|
|
7809
7687
|
return /*#__PURE__*/React.createElement("svg", {
|
|
7688
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7810
7689
|
width: "40",
|
|
7811
7690
|
height: "40",
|
|
7812
|
-
viewBox: "0 0 40 40",
|
|
7813
7691
|
fill: "none",
|
|
7814
|
-
|
|
7692
|
+
viewBox: "0 0 40 40"
|
|
7815
7693
|
}, /*#__PURE__*/React.createElement("path", {
|
|
7816
|
-
|
|
7817
|
-
|
|
7694
|
+
fill: "#21242C",
|
|
7695
|
+
fillRule: "evenodd",
|
|
7696
|
+
d: "M28 8a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1h-6a1 1 0 0 1-1-1V8Zm2 1h4v4h-4V9Zm-16 4a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1H15a1 1 0 0 1-1-1V13Zm2 1h8v12h-8V14Z",
|
|
7697
|
+
clipRule: "evenodd"
|
|
7818
7698
|
}));
|
|
7819
|
-
case "
|
|
7699
|
+
case "EXP_2":
|
|
7820
7700
|
return /*#__PURE__*/React.createElement("svg", {
|
|
7821
7701
|
xmlns: "http://www.w3.org/2000/svg",
|
|
7822
|
-
width: "
|
|
7823
|
-
height: "
|
|
7824
|
-
fill: "
|
|
7825
|
-
viewBox: "0 0
|
|
7702
|
+
width: "40",
|
|
7703
|
+
height: "40",
|
|
7704
|
+
fill: "none",
|
|
7705
|
+
viewBox: "0 0 40 40"
|
|
7826
7706
|
}, /*#__PURE__*/React.createElement("path", {
|
|
7827
|
-
|
|
7707
|
+
fill: "#21242C",
|
|
7708
|
+
fillRule: "evenodd",
|
|
7709
|
+
d: "M33.58 13.746a.52.52 0 0 0-.386-.137h-1.793c-.161 0-.334.016-.517.05a4.09 4.09 0 0 0-.555.126l1.694-1.733c.212-.216.414-.43.605-.643.19-.213.357-.431.5-.655a3.22 3.22 0 0 0 .347-.715c.084-.25.126-.52.126-.814 0-.34-.06-.653-.181-.935a2.033 2.033 0 0 0-.512-.72 2.293 2.293 0 0 0-.797-.468 2.952 2.952 0 0 0-1.029-.17c-.36 0-.695.05-1.006.148a2.43 2.43 0 0 0-.83.435 2.42 2.42 0 0 0-.606.731 3.049 3.049 0 0 0-.33 1.023l.803.143c.205.033.363.02.473-.038.114-.063.204-.186.27-.369a1.05 1.05 0 0 1 .154-.324 1.18 1.18 0 0 1 .247-.259c.1-.073.21-.13.33-.17.125-.044.26-.066.407-.066.334 0 .592.093.776.28.183.183.275.453.275.809 0 .201-.026.394-.077.577a2.407 2.407 0 0 1-.231.545 4.17 4.17 0 0 1-.385.544 9.098 9.098 0 0 1-.534.578l-2.365 2.37a.897.897 0 0 0-.264.616V15h5.533v-.89a.48.48 0 0 0-.143-.364ZM14 13a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1H15a1 1 0 0 1-1-1V13Zm2 1h8v12h-8V14Z",
|
|
7710
|
+
clipRule: "evenodd"
|
|
7828
7711
|
}));
|
|
7829
|
-
case "
|
|
7712
|
+
case "EXP_3":
|
|
7830
7713
|
return /*#__PURE__*/React.createElement("svg", {
|
|
7831
7714
|
xmlns: "http://www.w3.org/2000/svg",
|
|
7832
|
-
width: "
|
|
7833
|
-
height: "
|
|
7834
|
-
fill: "
|
|
7835
|
-
viewBox: "0 0
|
|
7715
|
+
width: "40",
|
|
7716
|
+
height: "40",
|
|
7717
|
+
fill: "none",
|
|
7718
|
+
viewBox: "0 0 40 40"
|
|
7836
7719
|
}, /*#__PURE__*/React.createElement("path", {
|
|
7837
|
-
|
|
7720
|
+
fill: "#21242C",
|
|
7721
|
+
fillRule: "evenodd",
|
|
7722
|
+
d: "M28.684 8.246a3.049 3.049 0 0 0-.33 1.023l.798.143c.209.033.368.02.478-.038.11-.063.2-.186.27-.369a1.05 1.05 0 0 1 .154-.324 1.18 1.18 0 0 1 .247-.259c.1-.073.21-.13.33-.17.125-.044.26-.066.407-.066.334 0 .59.091.77.275.183.183.275.449.275.797 0 .165-.024.317-.071.457a.746.746 0 0 1-.248.357 1.298 1.298 0 0 1-.5.231 3.36 3.36 0 0 1-.82.083v1.067c.4 0 .715.029.946.088.235.055.41.135.528.242a.674.674 0 0 1 .231.38c.033.146.05.31.05.494 0 .14-.028.28-.083.424a1.118 1.118 0 0 1-.632.649c-.158.07-.343.104-.556.104-.169 0-.319-.024-.45-.071a1.195 1.195 0 0 1-.347-.198 1.738 1.738 0 0 1-.28-.308 3.794 3.794 0 0 1-.232-.385.457.457 0 0 0-.33-.242.809.809 0 0 0-.49.06l-.67.275c.12.356.262.668.423.935.161.264.354.484.578.66.227.176.49.308.786.396.297.088.64.132 1.029.132.366 0 .716-.051 1.05-.154.337-.106.633-.264.886-.473a2.3 2.3 0 0 0 .605-.775c.15-.312.225-.671.225-1.078 0-.92-.458-1.531-1.375-1.832a2.24 2.24 0 0 0 .523-.247 1.471 1.471 0 0 0 .621-.863 2.47 2.47 0 0 0 .083-.672c0-.286-.057-.554-.17-.803a1.9 1.9 0 0 0-.48-.654 2.254 2.254 0 0 0-.77-.44c-.3-.11-.641-.165-1.022-.165-.36 0-.695.05-1.007.148a2.47 2.47 0 0 0-.825.435 2.42 2.42 0 0 0-.605.731ZM14 13a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1H15a1 1 0 0 1-1-1V13Zm2 1h8v12h-8V14Z",
|
|
7723
|
+
clipRule: "evenodd"
|
|
7838
7724
|
}));
|
|
7839
|
-
case "
|
|
7725
|
+
case "TAN":
|
|
7840
7726
|
return /*#__PURE__*/React.createElement("svg", {
|
|
7841
|
-
|
|
7842
|
-
|
|
7843
|
-
|
|
7844
|
-
}, /*#__PURE__*/React.createElement("g", {
|
|
7727
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7728
|
+
width: "40",
|
|
7729
|
+
height: "40",
|
|
7845
7730
|
fill: "none",
|
|
7846
|
-
|
|
7731
|
+
viewBox: "0 0 40 40"
|
|
7847
7732
|
}, /*#__PURE__*/React.createElement("path", {
|
|
7733
|
+
fill: "#21242C",
|
|
7734
|
+
d: "M12.157 26.128c-.714 0-1.264-.2-1.648-.6-.378-.405-.568-.962-.568-1.672v-4.584h-.84a.385.385 0 0 1-.272-.104c-.074-.07-.112-.173-.112-.312v-.784l1.32-.216.416-2.24a.439.439 0 0 1 .152-.248.452.452 0 0 1 .288-.088h1.024v2.584h2.192v1.408h-2.192v4.448c0 .256.062.456.184.6a.66.66 0 0 0 .52.216.978.978 0 0 0 .304-.04 1.63 1.63 0 0 0 .216-.096c.064-.032.12-.061.168-.088a.258.258 0 0 1 .144-.048c.059 0 .107.016.144.048.038.027.078.07.12.128l.592.96c-.288.24-.618.422-.992.544-.373.123-.76.184-1.16.184Zm7.553-3.632c-.57.027-1.05.078-1.44.152-.389.07-.7.16-.936.272-.234.112-.402.243-.504.392a.852.852 0 0 0-.152.488c0 .347.102.595.304.744.208.15.478.224.808.224.406 0 .755-.072 1.048-.216.3-.15.59-.373.872-.672v-1.384Zm-4.528-3.56c.944-.864 2.08-1.296 3.408-1.296.48 0 .91.08 1.288.24a2.696 2.696 0 0 1 1.552 1.656c.14.39.208.816.208 1.28V26h-.896c-.186 0-.33-.026-.432-.08-.1-.058-.18-.173-.24-.344l-.176-.592c-.208.187-.41.352-.608.496a3.743 3.743 0 0 1-.616.352 3.14 3.14 0 0 1-.688.216 3.65 3.65 0 0 1-.8.08 3.24 3.24 0 0 1-.96-.136 2.159 2.159 0 0 1-.76-.424 1.886 1.886 0 0 1-.496-.696 2.47 2.47 0 0 1-.176-.968 1.892 1.892 0 0 1 .44-1.208c.16-.186.366-.362.616-.528a4 4 0 0 1 .92-.432 7.836 7.836 0 0 1 1.28-.296c.486-.08 1.04-.128 1.664-.144v-.48c0-.55-.117-.954-.352-1.216-.234-.266-.573-.4-1.016-.4-.32 0-.586.038-.8.112-.208.075-.392.16-.552.256-.16.09-.306.174-.44.248a.842.842 0 0 1-.432.112.585.585 0 0 1-.352-.104.956.956 0 0 1-.232-.256l-.352-.632Zm10.165-.136a5.2 5.2 0 0 1 .52-.456 3.194 3.194 0 0 1 1.248-.592 3.2 3.2 0 0 1 .768-.088c.448 0 .846.078 1.192.232.347.15.635.363.864.64.235.272.411.6.528.984.123.379.184.798.184 1.256V26h-1.976v-5.224c0-.501-.114-.888-.344-1.16-.229-.277-.578-.416-1.048-.416-.34 0-.66.078-.96.232a3.438 3.438 0 0 0-.848.632V26H23.5v-8.208h1.208c.256 0 .424.12.504.36l.136.648Z"
|
|
7735
|
+
}));
|
|
7736
|
+
case "COS":
|
|
7737
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
7738
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7739
|
+
width: "40",
|
|
7740
|
+
height: "40",
|
|
7848
7741
|
fill: "none",
|
|
7849
|
-
|
|
7850
|
-
}
|
|
7742
|
+
viewBox: "0 0 40 40"
|
|
7743
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
7744
|
+
fill: "#21242C",
|
|
7745
|
+
d: "M14.957 19.528a.918.918 0 0 1-.176.176c-.053.043-.133.064-.24.064-.1 0-.2-.03-.296-.088a5.242 5.242 0 0 0-.343-.208 2.237 2.237 0 0 0-.48-.208 2.066 2.066 0 0 0-.68-.096c-.347 0-.651.064-.913.192-.26.123-.48.301-.655.536-.171.235-.3.52-.384.856-.086.33-.128.707-.128 1.128 0 .437.045.827.135 1.168.096.341.232.63.409.864.176.23.389.405.64.528.25.117.533.176.848.176.314 0 .567-.037.76-.112.197-.08.362-.165.495-.256.134-.096.248-.181.345-.256a.53.53 0 0 1 .335-.12.4.4 0 0 1 .36.184l.568.72a3.68 3.68 0 0 1-.712.648c-.256.17-.522.31-.8.416a4.126 4.126 0 0 1-.848.216 5.897 5.897 0 0 1-.863.064c-.507 0-.984-.093-1.432-.28a3.43 3.43 0 0 1-1.177-.832 4.014 4.014 0 0 1-.8-1.328c-.192-.528-.288-1.128-.288-1.8 0-.603.086-1.16.256-1.672.176-.517.432-.963.768-1.336a3.479 3.479 0 0 1 1.248-.888c.496-.213 1.067-.32 1.712-.32.614 0 1.15.099 1.608.296.465.197.88.48 1.248.848l-.52.72Zm5.331-1.864c.608 0 1.16.099 1.656.296.5.197.928.477 1.28.84.357.363.632.805.824 1.328a5.05 5.05 0 0 1 .288 1.752 5.08 5.08 0 0 1-.288 1.76 3.742 3.742 0 0 1-.824 1.336c-.352.368-.78.65-1.28.848a4.445 4.445 0 0 1-1.656.296 4.53 4.53 0 0 1-1.672-.296 3.616 3.616 0 0 1-1.288-.848 3.897 3.897 0 0 1-.824-1.336 5.077 5.077 0 0 1-.288-1.76c0-.645.096-1.23.288-1.752a3.81 3.81 0 0 1 .824-1.328 3.668 3.668 0 0 1 1.288-.84 4.528 4.528 0 0 1 1.672-.296Zm0 6.936c.682 0 1.186-.23 1.512-.688.33-.459.496-1.13.496-2.016 0-.885-.166-1.56-.496-2.024-.326-.464-.83-.696-1.512-.696-.694 0-1.208.235-1.544.704-.331.464-.496 1.136-.496 2.016 0 .88.165 1.552.496 2.016.336.459.85.688 1.544.688Zm10.563-5.208a.574.574 0 0 1-.168.184.465.465 0 0 1-.224.048.731.731 0 0 1-.312-.08 9.204 9.204 0 0 0-.376-.176 3.15 3.15 0 0 0-.496-.184 2.311 2.311 0 0 0-.648-.08c-.39 0-.696.083-.92.248a.775.775 0 0 0-.328.648.64.64 0 0 0 .168.448c.117.117.27.221.456.312.192.09.408.173.648.248.24.07.483.147.728.232.25.085.496.184.736.296.24.107.453.245.64.416.192.165.344.365.456.6.117.235.176.517.176.848 0 .395-.072.76-.216 1.096-.139.33-.347.619-.624.864-.277.24-.621.43-1.032.568a4.51 4.51 0 0 1-1.408.2c-.283 0-.56-.027-.832-.08a4.527 4.527 0 0 1-1.464-.528 3.417 3.417 0 0 1-.552-.4l.456-.752a.644.644 0 0 1 .208-.208.583.583 0 0 1 .304-.072.62.62 0 0 1 .344.104c.112.07.24.144.384.224.144.08.312.155.504.224.197.07.445.104.744.104.235 0 .435-.027.6-.08.17-.059.31-.133.416-.224a.783.783 0 0 0 .24-.312.935.935 0 0 0 .08-.376.655.655 0 0 0-.176-.472 1.44 1.44 0 0 0-.456-.32 3.935 3.935 0 0 0-.648-.24c-.24-.075-.488-.155-.744-.24a8.006 8.006 0 0 1-.744-.296 2.725 2.725 0 0 1-.648-.44 2.054 2.054 0 0 1-.456-.648c-.112-.256-.168-.565-.168-.928 0-.336.067-.656.2-.96.133-.304.328-.568.584-.792.261-.23.584-.41.968-.544a3.99 3.99 0 0 1 1.344-.208c.565 0 1.08.093 1.544.28a3.5 3.5 0 0 1 1.16.736l-.448.712Z"
|
|
7746
|
+
}));
|
|
7747
|
+
case "SIN":
|
|
7748
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
7749
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7750
|
+
width: "40",
|
|
7751
|
+
height: "40",
|
|
7851
7752
|
fill: "none",
|
|
7852
|
-
|
|
7853
|
-
}
|
|
7854
|
-
|
|
7855
|
-
|
|
7856
|
-
|
|
7857
|
-
|
|
7858
|
-
d: "M16 30l16-6-16-6"
|
|
7859
|
-
})));
|
|
7860
|
-
case "LT":
|
|
7753
|
+
viewBox: "0 0 40 40"
|
|
7754
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
7755
|
+
fill: "#21242C",
|
|
7756
|
+
d: "M16.422 19.392a.57.57 0 0 1-.168.184.465.465 0 0 1-.224.048.73.73 0 0 1-.312-.08 9.34 9.34 0 0 0-.376-.176 3.15 3.15 0 0 0-.496-.184 2.314 2.314 0 0 0-.648-.08c-.39 0-.696.082-.92.248a.775.775 0 0 0-.328.648.64.64 0 0 0 .168.448c.117.117.269.221.456.312.192.09.408.173.648.248.24.07.482.146.728.232.25.085.496.184.736.296.24.106.453.245.64.416.192.165.344.365.456.6.117.234.176.517.176.848 0 .394-.072.76-.216 1.096-.14.33-.347.618-.624.864-.278.24-.622.43-1.032.568-.406.133-.875.2-1.408.2-.283 0-.56-.027-.832-.08a4.512 4.512 0 0 1-1.464-.528 3.41 3.41 0 0 1-.552-.4l.456-.752a.646.646 0 0 1 .208-.208.583.583 0 0 1 .304-.072.62.62 0 0 1 .344.104c.112.07.24.144.384.224.144.08.312.154.504.224.197.07.445.104.744.104.234 0 .434-.027.6-.08.17-.059.309-.134.416-.224a.782.782 0 0 0 .24-.312.935.935 0 0 0 .08-.376.655.655 0 0 0-.176-.472 1.443 1.443 0 0 0-.456-.32 3.953 3.953 0 0 0-.648-.24 37.95 37.95 0 0 1-.744-.24 7.978 7.978 0 0 1-.744-.296 2.722 2.722 0 0 1-.648-.44 2.054 2.054 0 0 1-.456-.648c-.112-.256-.168-.566-.168-.928 0-.336.066-.656.2-.96.133-.304.328-.568.584-.792.26-.23.584-.41.968-.544a3.985 3.985 0 0 1 1.344-.208c.565 0 1.08.093 1.544.28.464.186.85.432 1.16.736l-.448.712Zm4.071-1.6V26h-1.984v-8.208h1.984Zm.272-2.392c0 .17-.035.33-.104.48-.07.15-.163.28-.28.392a1.326 1.326 0 0 1-.4.272c-.155.064-.32.096-.496.096-.17 0-.334-.032-.488-.096a1.357 1.357 0 0 1-.664-.664 1.284 1.284 0 0 1 0-.976c.07-.155.16-.288.272-.4.112-.112.242-.2.392-.264a1.18 1.18 0 0 1 .488-.104c.176 0 .341.034.496.104.154.064.288.152.4.264.117.112.21.245.28.4.07.154.104.32.104.496Zm3.59 3.4c.166-.166.339-.318.52-.456a3.197 3.197 0 0 1 1.248-.592 3.15 3.15 0 0 1 .768-.088 2.9 2.9 0 0 1 1.192.232c.347.15.635.362.864.64.235.272.411.6.528.984.123.378.184.797.184 1.256V26h-1.976v-5.224c0-.502-.114-.888-.344-1.16-.229-.278-.578-.416-1.048-.416-.341 0-.661.077-.96.232a3.445 3.445 0 0 0-.848.632V26h-1.976v-8.208h1.208c.256 0 .424.12.504.36l.136.648Z"
|
|
7757
|
+
}));
|
|
7758
|
+
case "EQUAL":
|
|
7861
7759
|
return /*#__PURE__*/React.createElement("svg", {
|
|
7862
|
-
|
|
7863
|
-
|
|
7864
|
-
|
|
7865
|
-
}, /*#__PURE__*/React.createElement("g", {
|
|
7760
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7761
|
+
width: "40",
|
|
7762
|
+
height: "40",
|
|
7866
7763
|
fill: "none",
|
|
7867
|
-
|
|
7764
|
+
viewBox: "0 0 40 40"
|
|
7868
7765
|
}, /*#__PURE__*/React.createElement("path", {
|
|
7766
|
+
fill: "#21242C",
|
|
7767
|
+
fillRule: "evenodd",
|
|
7768
|
+
d: "M12 17a1 1 0 0 1 1-1h14a1 1 0 1 1 0 2H13a1 1 0 0 1-1-1Zm0 6a1 1 0 0 1 1-1h14a1 1 0 1 1 0 2H13a1 1 0 0 1-1-1Z",
|
|
7769
|
+
clipRule: "evenodd"
|
|
7770
|
+
}));
|
|
7771
|
+
case "GT":
|
|
7772
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
7773
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7774
|
+
width: "40",
|
|
7775
|
+
height: "40",
|
|
7869
7776
|
fill: "none",
|
|
7870
|
-
|
|
7871
|
-
}
|
|
7777
|
+
viewBox: "0 0 40 40"
|
|
7778
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
7779
|
+
fill: "#21242C",
|
|
7780
|
+
fillRule: "evenodd",
|
|
7781
|
+
d: "M12.058 14.664a1 1 0 0 1 1.278-.605l14 5a1 1 0 0 1 0 1.883l-14 5a1 1 0 1 1-.672-1.884L24.027 20l-11.363-4.058a1 1 0 0 1-.606-1.278Z",
|
|
7782
|
+
clipRule: "evenodd"
|
|
7783
|
+
}));
|
|
7784
|
+
case "LT":
|
|
7785
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
7786
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7787
|
+
width: "40",
|
|
7788
|
+
height: "40",
|
|
7872
7789
|
fill: "none",
|
|
7873
|
-
|
|
7874
|
-
}
|
|
7875
|
-
|
|
7876
|
-
|
|
7877
|
-
|
|
7878
|
-
|
|
7879
|
-
|
|
7880
|
-
})));
|
|
7790
|
+
viewBox: "0 0 40 40"
|
|
7791
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
7792
|
+
fill: "#21242C",
|
|
7793
|
+
fillRule: "evenodd",
|
|
7794
|
+
d: "M27.942 14.664a1 1 0 0 1-.606 1.278L15.973 20l11.363 4.058a1 1 0 0 1-.672 1.884l-14-5a1 1 0 0 1 0-1.884l14-5a1 1 0 0 1 1.278.606Z",
|
|
7795
|
+
clipRule: "evenodd"
|
|
7796
|
+
}));
|
|
7881
7797
|
case "GEQ":
|
|
7882
7798
|
return /*#__PURE__*/React.createElement("svg", {
|
|
7883
|
-
|
|
7884
|
-
|
|
7885
|
-
|
|
7886
|
-
}, /*#__PURE__*/React.createElement("g", {
|
|
7799
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7800
|
+
width: "40",
|
|
7801
|
+
height: "40",
|
|
7887
7802
|
fill: "none",
|
|
7888
|
-
|
|
7803
|
+
viewBox: "0 0 40 40"
|
|
7889
7804
|
}, /*#__PURE__*/React.createElement("path", {
|
|
7890
|
-
fill: "
|
|
7891
|
-
|
|
7892
|
-
|
|
7893
|
-
|
|
7894
|
-
|
|
7895
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
7896
|
-
d: "M16 33h16M16 30l16-6-16-6",
|
|
7897
|
-
stroke: "currentColor",
|
|
7898
|
-
strokeWidth: "2",
|
|
7899
|
-
strokeLinecap: "round",
|
|
7900
|
-
strokeLinejoin: "round"
|
|
7901
|
-
})));
|
|
7805
|
+
fill: "#21242C",
|
|
7806
|
+
fillRule: "evenodd",
|
|
7807
|
+
d: "M12 29a1 1 0 0 1 1-1h14a1 1 0 1 1 0 2H13a1 1 0 0 1-1-1Zm.058-14.336a1 1 0 0 1 1.278-.605l14 5a1 1 0 0 1 0 1.883l-14 5a1 1 0 1 1-.672-1.884L24.027 20l-11.363-4.058a1 1 0 0 1-.606-1.278Z",
|
|
7808
|
+
clipRule: "evenodd"
|
|
7809
|
+
}));
|
|
7902
7810
|
case "LEQ":
|
|
7903
7811
|
return /*#__PURE__*/React.createElement("svg", {
|
|
7904
|
-
|
|
7905
|
-
|
|
7906
|
-
|
|
7907
|
-
}, /*#__PURE__*/React.createElement("g", {
|
|
7812
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7813
|
+
width: "40",
|
|
7814
|
+
height: "40",
|
|
7908
7815
|
fill: "none",
|
|
7909
|
-
|
|
7816
|
+
viewBox: "0 0 40 40"
|
|
7910
7817
|
}, /*#__PURE__*/React.createElement("path", {
|
|
7911
|
-
fill: "
|
|
7912
|
-
|
|
7913
|
-
|
|
7914
|
-
|
|
7915
|
-
|
|
7916
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
7917
|
-
d: "M16 33h16M32 30l-16-6 16-6",
|
|
7918
|
-
stroke: "currentColor",
|
|
7919
|
-
strokeWidth: "2",
|
|
7920
|
-
strokeLinecap: "round",
|
|
7921
|
-
strokeLinejoin: "round"
|
|
7922
|
-
})));
|
|
7818
|
+
fill: "#21242C",
|
|
7819
|
+
fillRule: "evenodd",
|
|
7820
|
+
d: "M12 29a1 1 0 0 1 1-1h14a1 1 0 1 1 0 2H13a1 1 0 0 1-1-1Zm15.942-14.336a1 1 0 0 1-.606 1.278L15.973 20l11.363 4.058a1 1 0 0 1-.672 1.884l-14-5a1 1 0 0 1 0-1.884l14-5a1 1 0 0 1 1.278.606Z",
|
|
7821
|
+
clipRule: "evenodd"
|
|
7822
|
+
}));
|
|
7923
7823
|
case "NEQ":
|
|
7924
7824
|
return /*#__PURE__*/React.createElement("svg", {
|
|
7925
|
-
|
|
7926
|
-
|
|
7927
|
-
|
|
7928
|
-
}, /*#__PURE__*/React.createElement("g", {
|
|
7825
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7826
|
+
width: "40",
|
|
7827
|
+
height: "40",
|
|
7929
7828
|
fill: "none",
|
|
7930
|
-
|
|
7829
|
+
viewBox: "0 0 40 40"
|
|
7931
7830
|
}, /*#__PURE__*/React.createElement("path", {
|
|
7932
|
-
fill: "
|
|
7933
|
-
|
|
7934
|
-
|
|
7935
|
-
|
|
7936
|
-
d: "M12 12h24v24H12z"
|
|
7831
|
+
fill: "#21242C",
|
|
7832
|
+
fillRule: "evenodd",
|
|
7833
|
+
d: "M12 17a1 1 0 0 1 1-1h14a1 1 0 1 1 0 2H13a1 1 0 0 1-1-1Zm0 6a1 1 0 0 1 1-1h14a1 1 0 1 1 0 2H13a1 1 0 0 1-1-1Z",
|
|
7834
|
+
clipRule: "evenodd"
|
|
7937
7835
|
}), /*#__PURE__*/React.createElement("path", {
|
|
7938
|
-
|
|
7939
|
-
|
|
7940
|
-
|
|
7941
|
-
|
|
7942
|
-
|
|
7943
|
-
})));
|
|
7836
|
+
fill: "#21242C",
|
|
7837
|
+
fillRule: "evenodd",
|
|
7838
|
+
d: "M16 26.928a1 1 0 0 1-.366-1.366l7-12.125a1 1 0 0 1 1.732 1l-7 12.125a1 1 0 0 1-1.366.366Z",
|
|
7839
|
+
clipRule: "evenodd"
|
|
7840
|
+
}));
|
|
7944
7841
|
case "LN":
|
|
7945
7842
|
return /*#__PURE__*/React.createElement("svg", {
|
|
7946
|
-
|
|
7947
|
-
|
|
7948
|
-
|
|
7949
|
-
}, /*#__PURE__*/React.createElement("g", {
|
|
7843
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7844
|
+
width: "40",
|
|
7845
|
+
height: "40",
|
|
7950
7846
|
fill: "none",
|
|
7951
|
-
|
|
7847
|
+
viewBox: "0 0 40 40"
|
|
7952
7848
|
}, /*#__PURE__*/React.createElement("path", {
|
|
7953
|
-
fill: "
|
|
7954
|
-
d: "
|
|
7955
|
-
})
|
|
7956
|
-
d: "M20.836 29v-9.338h-1.778V29h1.778zm8.106 0v-4.774c0-1.316-.714-2.156-2.198-2.156-1.106 0-1.932.532-2.366 1.05v-.882H22.6V29h1.778v-4.55c.294-.406.84-.798 1.54-.798.756 0 1.246.322 1.246 1.26V29h1.778z",
|
|
7957
|
-
fill: "currentColor"
|
|
7958
|
-
})));
|
|
7849
|
+
fill: "#21242C",
|
|
7850
|
+
d: "M16.976 14.112V26H15V14.112h1.976Zm3.817 4.688a5.19 5.19 0 0 1 .52-.456 3.195 3.195 0 0 1 1.248-.592 3.16 3.16 0 0 1 .768-.088c.448 0 .845.078 1.192.232.346.15.634.363.864.64.234.272.41.6.528.984.122.379.184.798.184 1.256V26H24.12v-5.224c0-.501-.115-.888-.344-1.16-.23-.277-.579-.416-1.048-.416-.342 0-.662.078-.96.232a3.439 3.439 0 0 0-.848.632V26h-1.976v-8.208h1.208c.256 0 .424.12.504.36l.136.648Z"
|
|
7851
|
+
}));
|
|
7959
7852
|
case "LOG":
|
|
7960
7853
|
return /*#__PURE__*/React.createElement("svg", {
|
|
7961
|
-
|
|
7962
|
-
|
|
7963
|
-
|
|
7964
|
-
}, /*#__PURE__*/React.createElement("g", {
|
|
7854
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7855
|
+
width: "40",
|
|
7856
|
+
height: "40",
|
|
7965
7857
|
fill: "none",
|
|
7966
|
-
|
|
7858
|
+
viewBox: "0 0 40 40"
|
|
7967
7859
|
}, /*#__PURE__*/React.createElement("path", {
|
|
7968
|
-
fill: "
|
|
7969
|
-
d: "
|
|
7970
|
-
})
|
|
7971
|
-
d: "M16.776 29v-9.338h-1.778V29h1.778zm4.9.168c2.24 0 3.584-1.624 3.584-3.556 0-1.918-1.344-3.542-3.584-3.542-2.226 0-3.57 1.624-3.57 3.542 0 1.932 1.344 3.556 3.57 3.556zm0-1.582c-1.106 0-1.722-.91-1.722-1.974 0-1.05.616-1.96 1.722-1.96 1.106 0 1.736.91 1.736 1.96 0 1.064-.63 1.974-1.736 1.974zm7.672 4.158c1.666 0 3.654-.63 3.654-3.206v-6.3H31.21v.868c-.546-.686-1.274-1.036-2.086-1.036-1.708 0-2.982 1.232-2.982 3.444 0 2.254 1.288 3.444 2.982 3.444.826 0 1.554-.392 2.086-1.064v.686c0 1.33-1.008 1.708-1.862 1.708-.854 0-1.568-.238-2.114-.84l-.798 1.288c.854.742 1.75 1.008 2.912 1.008zm.336-4.368c-1.008 0-1.708-.7-1.708-1.862 0-1.162.7-1.862 1.708-1.862.588 0 1.232.322 1.526.77v2.184c-.294.434-.938.77-1.526.77z",
|
|
7972
|
-
fill: "currentColor"
|
|
7973
|
-
})));
|
|
7860
|
+
fill: "#21242C",
|
|
7861
|
+
d: "M12.203 14.112V26h-1.976V14.112h1.976Zm5.6 3.552c.608 0 1.16.099 1.656.296.502.198.928.478 1.28.84.358.363.632.806.824 1.328.192.523.288 1.107.288 1.752 0 .651-.096 1.238-.288 1.76a3.741 3.741 0 0 1-.824 1.336 3.528 3.528 0 0 1-1.28.848 4.445 4.445 0 0 1-1.656.296 4.53 4.53 0 0 1-1.672-.296 3.616 3.616 0 0 1-1.288-.848 3.896 3.896 0 0 1-.824-1.336 5.076 5.076 0 0 1-.288-1.76c0-.645.096-1.229.288-1.752a3.81 3.81 0 0 1 .824-1.328 3.669 3.669 0 0 1 1.288-.84 4.53 4.53 0 0 1 1.672-.296Zm0 6.936c.683 0 1.187-.229 1.512-.688.331-.458.496-1.13.496-2.016 0-.885-.165-1.56-.496-2.024-.325-.464-.829-.696-1.512-.696-.693 0-1.208.235-1.544.704-.33.464-.496 1.136-.496 2.016 0 .88.166 1.552.496 2.016.336.459.851.688 1.544.688Zm8.493-2.904c.246 0 .459-.032.64-.096.182-.069.331-.162.448-.28.123-.117.214-.258.272-.424.064-.165.096-.346.096-.544 0-.405-.122-.725-.368-.96-.24-.24-.602-.36-1.088-.36-.485 0-.85.12-1.096.36-.24.235-.36.555-.36.96 0 .192.03.371.088.536.064.166.155.31.272.432.123.118.275.211.456.28.187.064.4.096.64.096Zm2.232 4.672c0-.16-.048-.29-.144-.392a.914.914 0 0 0-.392-.232 2.716 2.716 0 0 0-.584-.128 8.987 8.987 0 0 0-.704-.056 32.107 32.107 0 0 0-.768-.04 8.959 8.959 0 0 1-.768-.064 1.908 1.908 0 0 0-.536.432.89.89 0 0 0-.096.976.93.93 0 0 0 .344.328c.16.091.366.16.616.208.251.054.558.08.92.08.368 0 .686-.029.952-.088a2.09 2.09 0 0 0 .656-.232.954.954 0 0 0 .384-.352.84.84 0 0 0 .12-.44Zm1.968-8.296v.736c0 .235-.141.379-.424.432l-.736.136c.112.283.168.592.168.928a2.414 2.414 0 0 1-.92 1.936c-.288.23-.629.408-1.024.536a4.17 4.17 0 0 1-1.264.184c-.16 0-.314-.008-.464-.024a5.807 5.807 0 0 1-.44-.064c-.256.155-.384.328-.384.52 0 .166.075.288.224.368.155.075.358.128.608.16.251.032.536.054.856.064.32.006.648.022.984.048.336.027.664.075.984.144.32.064.606.168.856.312.251.144.451.342.6.592.155.246.232.563.232.952 0 .363-.09.715-.272 1.056a2.773 2.773 0 0 1-.776.912c-.336.267-.752.48-1.248.64-.49.166-1.05.248-1.68.248-.618 0-1.157-.061-1.616-.184-.458-.117-.84-.277-1.144-.48a2.037 2.037 0 0 1-.68-.688 1.623 1.623 0 0 1-.224-.816c0-.384.115-.704.344-.96.235-.261.555-.469.96-.624a1.377 1.377 0 0 1-.52-.448c-.128-.186-.192-.432-.192-.736 0-.122.022-.248.064-.376.048-.133.115-.264.2-.392.091-.128.203-.248.336-.36a2.2 2.2 0 0 1 .472-.312 2.621 2.621 0 0 1-.984-.896c-.234-.373-.352-.81-.352-1.312 0-.405.08-.77.24-1.096.166-.33.392-.61.68-.84a3.11 3.11 0 0 1 1.032-.536c.4-.122.835-.184 1.304-.184.352 0 .683.038.992.112.31.07.592.174.848.312h2.36Z"
|
|
7862
|
+
}));
|
|
7974
7863
|
case "LOG_N":
|
|
7975
7864
|
return /*#__PURE__*/React.createElement("svg", {
|
|
7976
|
-
|
|
7977
|
-
|
|
7978
|
-
|
|
7979
|
-
}, /*#__PURE__*/React.createElement("g", {
|
|
7865
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7866
|
+
width: "40",
|
|
7867
|
+
height: "40",
|
|
7980
7868
|
fill: "none",
|
|
7981
|
-
|
|
7869
|
+
viewBox: "0 0 40 40"
|
|
7982
7870
|
}, /*#__PURE__*/React.createElement("path", {
|
|
7983
|
-
fill: "
|
|
7984
|
-
d: "
|
|
7871
|
+
fill: "#21242C",
|
|
7872
|
+
d: "M12.203 14.112V26h-1.976V14.112h1.976Zm5.6 3.552c.608 0 1.16.099 1.656.296.502.198.928.478 1.28.84.358.363.632.806.824 1.328.192.523.288 1.107.288 1.752 0 .651-.096 1.238-.288 1.76a3.741 3.741 0 0 1-.824 1.336 3.528 3.528 0 0 1-1.28.848 4.445 4.445 0 0 1-1.656.296 4.53 4.53 0 0 1-1.672-.296 3.616 3.616 0 0 1-1.288-.848 3.896 3.896 0 0 1-.824-1.336 5.076 5.076 0 0 1-.288-1.76c0-.645.096-1.229.288-1.752a3.81 3.81 0 0 1 .824-1.328 3.669 3.669 0 0 1 1.288-.84 4.53 4.53 0 0 1 1.672-.296Zm0 6.936c.683 0 1.187-.229 1.512-.688.331-.458.496-1.13.496-2.016 0-.885-.165-1.56-.496-2.024-.325-.464-.829-.696-1.512-.696-.693 0-1.208.235-1.544.704-.33.464-.496 1.136-.496 2.016 0 .88.166 1.552.496 2.016.336.459.851.688 1.544.688Zm8.493-2.904c.246 0 .459-.032.64-.096.182-.069.331-.162.448-.28.123-.117.214-.258.272-.424.064-.165.096-.346.096-.544 0-.405-.122-.725-.368-.96-.24-.24-.602-.36-1.088-.36-.485 0-.85.12-1.096.36-.24.235-.36.555-.36.96 0 .192.03.371.088.536.064.166.155.31.272.432.123.118.275.211.456.28.187.064.4.096.64.096Zm2.232 4.672c0-.16-.048-.29-.144-.392a.914.914 0 0 0-.392-.232 2.716 2.716 0 0 0-.584-.128 8.987 8.987 0 0 0-.704-.056 32.107 32.107 0 0 0-.768-.04 8.959 8.959 0 0 1-.768-.064 1.908 1.908 0 0 0-.536.432.89.89 0 0 0-.096.976.93.93 0 0 0 .344.328c.16.091.366.16.616.208.251.054.558.08.92.08.368 0 .686-.029.952-.088a2.09 2.09 0 0 0 .656-.232.954.954 0 0 0 .384-.352.84.84 0 0 0 .12-.44Zm1.968-8.296v.736c0 .235-.141.379-.424.432l-.736.136c.112.283.168.592.168.928a2.414 2.414 0 0 1-.92 1.936c-.288.23-.629.408-1.024.536a4.17 4.17 0 0 1-1.264.184c-.16 0-.314-.008-.464-.024a5.807 5.807 0 0 1-.44-.064c-.256.155-.384.328-.384.52 0 .166.075.288.224.368.155.075.358.128.608.16.251.032.536.054.856.064.32.006.648.022.984.048.336.027.664.075.984.144.32.064.606.168.856.312.251.144.451.342.6.592.155.246.232.563.232.952 0 .363-.09.715-.272 1.056a2.773 2.773 0 0 1-.776.912c-.336.267-.752.48-1.248.64-.49.166-1.05.248-1.68.248-.618 0-1.157-.061-1.616-.184-.458-.117-.84-.277-1.144-.48a2.037 2.037 0 0 1-.68-.688 1.623 1.623 0 0 1-.224-.816c0-.384.115-.704.344-.96.235-.261.555-.469.96-.624a1.377 1.377 0 0 1-.52-.448c-.128-.186-.192-.432-.192-.736 0-.122.022-.248.064-.376.048-.133.115-.264.2-.392.091-.128.203-.248.336-.36a2.2 2.2 0 0 1 .472-.312 2.621 2.621 0 0 1-.984-.896c-.234-.373-.352-.81-.352-1.312 0-.405.08-.77.24-1.096.166-.33.392-.61.68-.84a3.11 3.11 0 0 1 1.032-.536c.4-.122.835-.184 1.304-.184.352 0 .683.038.992.112.31.07.592.174.848.312h2.36Z"
|
|
7985
7873
|
}), /*#__PURE__*/React.createElement("path", {
|
|
7986
|
-
|
|
7987
|
-
|
|
7988
|
-
|
|
7874
|
+
fill: "#21242C",
|
|
7875
|
+
fillRule: "evenodd",
|
|
7876
|
+
d: "M32 26a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1v-6a1 1 0 0 0-1-1h-6Zm5 2h-4v4h4v-4Z",
|
|
7877
|
+
clipRule: "evenodd"
|
|
7878
|
+
}));
|
|
7989
7879
|
case "PERCENT":
|
|
7990
7880
|
return /*#__PURE__*/React.createElement("svg", {
|
|
7991
7881
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -7996,107 +7886,207 @@ function ButtonAsset({
|
|
|
7996
7886
|
}, /*#__PURE__*/React.createElement("path", {
|
|
7997
7887
|
d: "M205.66,61.64l-144,144a8,8,0,0,1-11.32-11.32l144-144a8,8,0,0,1,11.32,11.31ZM50.54,101.44a36,36,0,0,1,50.92-50.91h0a36,36,0,0,1-50.92,50.91ZM56,76A20,20,0,1,0,90.14,61.84h0A20,20,0,0,0,56,76ZM216,180a36,36,0,1,1-10.54-25.46h0A35.76,35.76,0,0,1,216,180Zm-16,0a20,20,0,1,0-5.86,14.14A19.87,19.87,0,0,0,200,180Z"
|
|
7998
7888
|
}));
|
|
7999
|
-
case "
|
|
7889
|
+
case "PI":
|
|
8000
7890
|
return /*#__PURE__*/React.createElement("svg", {
|
|
8001
|
-
|
|
8002
|
-
|
|
8003
|
-
|
|
8004
|
-
fill: "
|
|
8005
|
-
|
|
7891
|
+
width: "40",
|
|
7892
|
+
height: "40",
|
|
7893
|
+
viewBox: "0 0 40 40",
|
|
7894
|
+
fill: "none",
|
|
7895
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
8006
7896
|
}, /*#__PURE__*/React.createElement("path", {
|
|
8007
|
-
d: "
|
|
7897
|
+
d: "M23.7918 25.0379c0 .2947-.13.572-.39.832-.2426.26-.546.39-.91.39-.26 0-.442-.0346-.546-.104-.0866-.0693-.182-.208-.286-.416-.3293-.7626-.494-1.7246-.494-2.886 0-.624.0087-1.04.026-1.248.1214-1.196.39-2.6433.806-4.342.0867-.3466.13-.5373.13-.572h-2.548l-.026.104c0 .0174-.0173.0954-.052.234-.0346.1214-.0866.312-.156.572-.052.2427-.104.468-.156.676-1.144 4.4547-1.8286 6.8814-2.054 7.28-.208.4854-.5806.728-1.118.728-.3986 0-.676-.1473-.832-.442-.0346-.0866-.052-.2253-.052-.416v-.286l.338-.728c1.3-2.7386 2.2447-5.1046 2.834-7.098l.208-.624h-.832c-.6933 0-1.1786.026-1.456.078-.26.052-.5806.2167-.962.494-.416.26-.78.6154-1.092 1.066-.0866.1387-.156.2254-.208.26-.052.0174-.182.026-.39.026-.3293 0-.494-.0866-.494-.26 0-.0693.0867-.2426.26-.52 1.196-1.82 2.366-2.8166 3.51-2.99.1214-.0346 2.0714-.052 5.85-.052 2.7734 0 4.1947.0087 4.264.026.3467.1214.52.364.52.728 0 .5374-.2773.9014-.832 1.092-.104.0347-.702.052-1.794.052h-1.664l-.078.442c-.208 1.248-.312 2.2794-.312 3.094 0 1.5427.2687 2.938.806 4.186.1214.312.182.52.182.624z",
|
|
7898
|
+
fill: "#21242C"
|
|
8008
7899
|
}));
|
|
8009
|
-
case "
|
|
7900
|
+
case "THETA":
|
|
8010
7901
|
return /*#__PURE__*/React.createElement("svg", {
|
|
8011
7902
|
xmlns: "http://www.w3.org/2000/svg",
|
|
8012
|
-
width: "
|
|
8013
|
-
height: "
|
|
8014
|
-
fill: "
|
|
8015
|
-
viewBox: "0 0
|
|
7903
|
+
width: "40",
|
|
7904
|
+
height: "40",
|
|
7905
|
+
fill: "none",
|
|
7906
|
+
viewBox: "0 0 40 40"
|
|
8016
7907
|
}, /*#__PURE__*/React.createElement("path", {
|
|
8017
|
-
|
|
7908
|
+
fill: "#21242C",
|
|
7909
|
+
d: "M22.2 10.696h.208a2.26 2.26 0 0 1 .312-.026c.936.087 1.664.511 2.184 1.274.676 1.023 1.014 2.418 1.014 4.186 0 .468-.017.84-.052 1.118-.225 2.305-.823 4.463-1.794 6.474-.59 1.23-1.282 2.305-2.08 3.224-.78.919-1.551 1.569-2.314 1.95-.537.243-1.005.364-1.404.364h-.182c-.762 0-1.395-.269-1.898-.806-.918-.97-1.378-2.522-1.378-4.654 0-.832.087-1.707.26-2.626.641-3.467 1.95-6.3 3.926-8.502 1.058-1.161 2.123-1.82 3.198-1.976Zm1.664 3.588c0-1.768-.46-2.652-1.378-2.652-.572 0-1.161.373-1.768 1.118-.866 1.092-1.603 2.652-2.21 4.68-.346 1.092-.52 1.733-.52 1.924.85.017 1.69.026 2.522.026l2.522-.026c.087-.087.243-.763.468-2.028.243-1.265.364-2.28.364-3.042Zm-1.248 6.734.13-.442h-5.07l-.026.182c-.537 2.15-.806 3.753-.806 4.81 0 1.179.208 1.993.624 2.444.19.208.442.312.754.312.694 0 1.421-.563 2.184-1.69.815-1.196 1.552-3.068 2.21-5.616Z"
|
|
8018
7910
|
}));
|
|
8019
|
-
case "
|
|
7911
|
+
case "x":
|
|
8020
7912
|
return /*#__PURE__*/React.createElement("svg", {
|
|
8021
|
-
|
|
8022
|
-
|
|
8023
|
-
|
|
8024
|
-
|
|
7913
|
+
width: "40",
|
|
7914
|
+
height: "40",
|
|
7915
|
+
viewBox: "0 0 40 40",
|
|
7916
|
+
fill: "none",
|
|
7917
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
8025
7918
|
}, /*#__PURE__*/React.createElement("path", {
|
|
8026
|
-
d: "
|
|
7919
|
+
d: "M14.0685 18.7718c-.104-.104-.156-.1993-.156-.286.0693-.468.338-1.066.806-1.794.8146-1.2307 1.8373-1.9413 3.068-2.132.2426-.0347.4246-.052.546-.052.6066 0 1.1613.156 1.664.468.52.312.8926.702 1.118 1.17.2253-.2947.364-.4767.416-.546.6413-.728 1.378-1.092 2.21-1.092.7106 0 1.2826.208 1.716.624.4506.3987.676.8927.676 1.482 0 .5373-.156.988-.468 1.352-.2947.364-.6934.546-1.196.546-.3294 0-.598-.0953-.806-.286-.208-.1907-.312-.442-.312-.754 0-.7973.4333-1.3433 1.3-1.638 0-.0173-.0954-.078-.286-.182-.1734-.104-.4247-.156-.754-.156-.2254 0-.39.0173-.494.052-.6587.2773-1.144.8493-1.456 1.716-.052.1387-.3034 1.1093-.754 2.912-.4507 1.7853-.6934 2.7907-.728 3.016-.052.26-.078.52-.078.78 0 .416.1213.7453.364.988.2426.2427.5633.364.962.364.728 0 1.3866-.3033 1.976-.91.5893-.624.988-1.3087 1.196-2.054.052-.1733.104-.2687.156-.286.052-.0347.1906-.052.416-.052.3293 0 .494.0693.494.208 0 .0173-.0174.1127-.052.286-.2947 1.0747-.9014 2.0107-1.82 2.808-.8147.6413-1.6727.962-2.574.962-1.2134 0-2.132-.546-2.756-1.638-.5027.78-1.144 1.3-1.924 1.56-.156.0347-.3814.052-.676.052-1.0054 0-1.716-.3553-2.132-1.066-.1734-.2947-.26-.6413-.26-1.04 0-.52.156-.962.468-1.326.312-.364.7106-.546 1.196-.546.7453 0 1.118.364 1.118 1.092 0 .6413-.3034 1.1093-.91 1.404-.0347.0173-.078.0433-.13.078-.052.0173-.0954.0347-.13.052-.0347.0173-.0607.026-.078.026l-.078.026c0 .052.13.13.39.234.208.0867.4333.13.676.13.624 0 1.1613-.39 1.612-1.17.1906-.312.5286-1.4387 1.014-3.38.104-.3987.2166-.8407.338-1.326.1213-.4853.208-.858.26-1.118.0693-.26.1126-.416.13-.468.0866-.468.13-.806.13-1.014 0-.416-.1127-.7453-.338-.988-.2254-.2427-.5374-.364-.936-.364-.78 0-1.456.3033-2.028.91-.572.5893-.9707 1.274-1.196 2.054-.0347.156-.078.2513-.13.286-.0347.0173-.1734.026-.416.026h-.364z",
|
|
7920
|
+
fill: "#21242C"
|
|
8027
7921
|
}));
|
|
8028
|
-
case "
|
|
7922
|
+
case "y":
|
|
8029
7923
|
return /*#__PURE__*/React.createElement("svg", {
|
|
8030
7924
|
xmlns: "http://www.w3.org/2000/svg",
|
|
8031
|
-
width: "
|
|
8032
|
-
height: "
|
|
8033
|
-
|
|
7925
|
+
width: "40",
|
|
7926
|
+
height: "40",
|
|
7927
|
+
fill: "none",
|
|
7928
|
+
viewBox: "0 0 40 40"
|
|
8034
7929
|
}, /*#__PURE__*/React.createElement("path", {
|
|
8035
|
-
|
|
7930
|
+
fill: "#21242C",
|
|
7931
|
+
d: "M25.166 11.786c.243 0 .45.07.624.208.173.121.26.295.26.52 0 .225-.425 2.045-1.274 5.46-.85 3.415-1.335 5.287-1.456 5.616a6.657 6.657 0 0 1-1.352 2.34 6.756 6.756 0 0 1-2.132 1.716c-.936.45-1.811.676-2.626.676-1.317 0-2.21-.416-2.678-1.248-.173-.243-.26-.59-.26-1.04 0-.59.165-1.049.494-1.378.364-.33.745-.494 1.144-.494.763 0 1.144.364 1.144 1.092 0 .641-.303 1.11-.91 1.404a1.01 1.01 0 0 1-.13.052c-.052.035-.095.06-.13.078a.2.2 0 0 1-.078.026l-.078.026c.052.104.234.217.546.338.277.104.555.156.832.156h.208c.295 0 .52-.017.676-.052.659-.19 1.283-.633 1.872-1.326.59-.693 1.04-1.525 1.352-2.496.19-.572.286-.91.286-1.014 0-.017-.017-.009-.052.026a1.168 1.168 0 0 0-.156.104 3.534 3.534 0 0 1-2.132.702c-.884 0-1.612-.208-2.184-.624-.572-.416-.945-1.014-1.118-1.794a7.464 7.464 0 0 1-.026-.806c0-.416.017-.737.052-.962.121-.745.52-2.02 1.196-3.822.381-1.023.572-1.733.572-2.132 0-.243-.026-.407-.078-.494-.035-.104-.13-.156-.286-.156h-.13c-.399 0-.78.182-1.144.546-.555.555-.98 1.387-1.274 2.496a.427.427 0 0 1-.026.104.304.304 0 0 1-.052.078l-.026.026c-.017.017-.052.026-.104.026h-.676c-.104-.104-.156-.182-.156-.234 0-.052.026-.173.078-.364.364-1.213.91-2.158 1.638-2.834.59-.555 1.205-.832 1.846-.832.728 0 1.309.2 1.742.598.433.399.65.953.65 1.664-.035.33-.06.511-.078.546 0 .104-.13.477-.39 1.118-.71 1.924-1.135 3.337-1.274 4.238a5.157 5.157 0 0 0-.026.598c0 .659.104 1.161.312 1.508.208.347.59.52 1.144.52.399 0 .771-.104 1.118-.312.364-.208.633-.407.806-.598.19-.208.425-.485.702-.832 0-.017.043-.19.13-.52.087-.347.208-.858.364-1.534l.494-1.924c.659-2.6 1.023-3.96 1.092-4.082.225-.468.598-.702 1.118-.702Z"
|
|
8036
7932
|
}));
|
|
8037
|
-
case "
|
|
7933
|
+
case "JUMP_OUT_PARENTHESES":
|
|
8038
7934
|
return /*#__PURE__*/React.createElement("svg", {
|
|
8039
|
-
|
|
8040
|
-
|
|
8041
|
-
|
|
8042
|
-
|
|
7935
|
+
width: "40",
|
|
7936
|
+
height: "40",
|
|
7937
|
+
viewBox: "0 0 40 40",
|
|
7938
|
+
fill: "none",
|
|
7939
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
8043
7940
|
}, /*#__PURE__*/React.createElement("path", {
|
|
8044
|
-
|
|
7941
|
+
fillRule: "evenodd",
|
|
7942
|
+
clipRule: "evenodd",
|
|
7943
|
+
d: "M12.9571 13.2929c.3905.3905.3905 1.0237 0 1.4142C11.6871 15.9771 11 17.9485 11 20c0 2.0515.6871 4.0229 1.9571 5.2929.3905.3905.3905 1.0237 0 1.4142-.3905.3905-1.0237.3905-1.4142 0C9.81292 24.9771 9 22.4485 9 20c0-2.4485.81292-4.9771 2.5429-6.7071.3905-.3905 1.0237-.3905 1.4142 0zm4.5858 0c.3905-.3905 1.0237-.3905 1.4142 0C20.6871 15.0229 21.5 17.5515 21.5 20c0 2.4485-.8129 4.9771-2.5429 6.7071-.3905.3905-1.0237.3905-1.4142 0-.3905-.3905-.3905-1.0237 0-1.4142C18.8129 24.0229 19.5 22.0515 19.5 20c0-2.0515-.6871-4.0229-1.9571-5.2929-.3905-.3905-.3905-1.0237 0-1.4142z",
|
|
7944
|
+
fill: "#21242C"
|
|
7945
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
7946
|
+
fillRule: "evenodd",
|
|
7947
|
+
clipRule: "evenodd",
|
|
7948
|
+
d: "M25.5429 16.2929c.3905-.3905 1.0237-.3905 1.4142 0l3 3c.3905.3905.3905 1.0237 0 1.4142l-3 3c-.3905.3905-1.0237.3905-1.4142 0-.3905-.3905-.3905-1.0237 0-1.4142L26.8358 21H16.25c-.5523 0-1-.4477-1-1s.4477-1 1-1h10.5858l-1.2929-1.2929c-.3905-.3905-.3905-1.0237 0-1.4142z",
|
|
7949
|
+
fill: "#1865F2"
|
|
8045
7950
|
}));
|
|
8046
|
-
case "
|
|
8047
|
-
// MATHEMATICAL ITALIC SMALL CHI
|
|
8048
|
-
// https://en.wikipedia.org/wiki/Chi_(letter)#Mathematical_chi
|
|
7951
|
+
case "JUMP_OUT_EXPONENT":
|
|
8049
7952
|
return /*#__PURE__*/React.createElement("svg", {
|
|
8050
|
-
|
|
8051
|
-
|
|
8052
|
-
|
|
8053
|
-
fill: "
|
|
8054
|
-
|
|
8055
|
-
}, /*#__PURE__*/React.createElement("
|
|
8056
|
-
|
|
8057
|
-
|
|
8058
|
-
|
|
8059
|
-
|
|
8060
|
-
|
|
8061
|
-
|
|
8062
|
-
|
|
8063
|
-
|
|
8064
|
-
|
|
7953
|
+
width: "40",
|
|
7954
|
+
height: "40",
|
|
7955
|
+
viewBox: "0 0 40 40",
|
|
7956
|
+
fill: "none",
|
|
7957
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
7958
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
7959
|
+
fillRule: "evenodd",
|
|
7960
|
+
clipRule: "evenodd",
|
|
7961
|
+
d: "M18.2929 15.2929c.3905-.3905 1.0237-.3905 1.4142 0L26 21.5858V20c0-.5523.4477-1 1-1s1 .4477 1 1v4.003c-.0004.1345-.0273.2627-.0759.3798-.0477.1152-.1178.2234-.2105.3177a.809004.809004 0 01-.0131.0131c-.1797.1765-.4259.2856-.6975.2864H23c-.5523 0-1-.4477-1-1s.4477-1 1-1h1.5858l-6.2929-6.2929c-.3905-.3905-.3905-1.0237 0-1.4142zM31 33c-.5523 0-1-.4477-1-1V16c0-.5523.4477-1 1-1s1 .4477 1 1v16c0 .5523-.4477 1-1 1z",
|
|
7962
|
+
fill: "#1865F2"
|
|
7963
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
7964
|
+
fillRule: "evenodd",
|
|
7965
|
+
clipRule: "evenodd",
|
|
7966
|
+
d: "M9 9c-.55228 0-1 .44772-1 1v6c0 .5523.44772 1 1 1h6c.5523 0 1-.4477 1-1v-6c0-.55228-.4477-1-1-1H9zm5 2h-4v4h4v-4z",
|
|
7967
|
+
fill: "#21242C"
|
|
7968
|
+
}));
|
|
7969
|
+
case "JUMP_INTO_NUMERATOR":
|
|
8065
7970
|
return /*#__PURE__*/React.createElement("svg", {
|
|
8066
|
-
|
|
8067
|
-
|
|
8068
|
-
|
|
8069
|
-
fill: "
|
|
8070
|
-
|
|
8071
|
-
}, /*#__PURE__*/React.createElement("
|
|
8072
|
-
|
|
8073
|
-
|
|
8074
|
-
|
|
8075
|
-
|
|
8076
|
-
|
|
8077
|
-
|
|
7971
|
+
width: "40",
|
|
7972
|
+
height: "40",
|
|
7973
|
+
viewBox: "0 0 40 40",
|
|
7974
|
+
fill: "none",
|
|
7975
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
7976
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
7977
|
+
fillRule: "evenodd",
|
|
7978
|
+
clipRule: "evenodd",
|
|
7979
|
+
d: "M9 11c.55228 0 1 .4477 1 1v16c0 .5523-.44772 1-1 1s-1-.4477-1-1V12c0-.5523.44772-1 1-1zm5 1c0-.5523.4477-1 1-1h3.9998c.0001 0 0 0 0 0 .1356 0 .2651.027.383.0759.1171.0484.2268.1201.3222.2149l.0042.0042c.1931.1942.29.448.2908.702V16c0 .5523-.4477 1-1 1s-1-.4477-1-1v-1.5858l-4.2929 4.2929c-.3905.3905-1.0237.3905-1.4142 0-.3905-.3905-.3905-1.0237 0-1.4142L16.5858 13H15c-.5523 0-1-.4477-1-1z",
|
|
7980
|
+
fill: "#1865F2"
|
|
7981
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
7982
|
+
fillRule: "evenodd",
|
|
7983
|
+
clipRule: "evenodd",
|
|
7984
|
+
d: "M23 23c-.5523 0-1 .4477-1 1v6c0 .5523.4477 1 1 1h6c.5523 0 1-.4477 1-1v-6c0-.5523-.4477-1-1-1h-6zm5 2h-4v4h4v-4z",
|
|
7985
|
+
fill: "#21242C"
|
|
7986
|
+
}), /*#__PURE__*/React.createElement("g", {
|
|
7987
|
+
clipPath: "url(#clip0_874_41680)"
|
|
7988
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
7989
|
+
fillRule: "evenodd",
|
|
7990
|
+
clipRule: "evenodd",
|
|
7991
|
+
d: "M20 20c0-.5523.4477-1 1-1h10c.5523 0 1 .4477 1 1s-.4477 1-1 1H21c-.5523 0-1-.4477-1-1z",
|
|
7992
|
+
fill: "#21242C"
|
|
7993
|
+
})), /*#__PURE__*/React.createElement("path", {
|
|
7994
|
+
fillRule: "evenodd",
|
|
7995
|
+
clipRule: "evenodd",
|
|
7996
|
+
d: "M23 9c-.5523 0-1 .44772-1 1v6c0 .5523.4477 1 1 1h6c.5523 0 1-.4477 1-1v-6c0-.55228-.4477-1-1-1h-6zm5 2h-4v4h4v-4z",
|
|
7997
|
+
fill: "#1865F2"
|
|
7998
|
+
}), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
|
7999
|
+
id: "clip0_874_41680"
|
|
8000
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
8001
|
+
fill: "#fff",
|
|
8002
|
+
transform: "translate(20 19)",
|
|
8003
|
+
d: "M0 0h12v2H0z"
|
|
8004
|
+
}))));
|
|
8005
|
+
case "JUMP_OUT_NUMERATOR":
|
|
8006
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
8007
|
+
width: "40",
|
|
8008
|
+
height: "40",
|
|
8009
|
+
viewBox: "0 0 40 40",
|
|
8010
|
+
fill: "none",
|
|
8011
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
8012
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
8013
|
+
fillRule: "evenodd",
|
|
8014
|
+
clipRule: "evenodd",
|
|
8015
|
+
d: "M26 13c.5523 0 1 .4477 1 1v11.5858l1.2929-1.2929c.3905-.3905 1.0237-.3905 1.4142 0 .3905.3905.3905 1.0237 0 1.4142l-3 3c-.3905.3905-1.0237.3905-1.4142 0l-3-3c-.3905-.3905-.3905-1.0237 0-1.4142.3905-.3905 1.0237-.3905 1.4142 0L25 25.5858V14c0-.5523.4477-1 1-1zM13 23c-.5523 0-1 .4477-1 1v6c0 .5523.4477 1 1 1h6c.5523 0 1-.4477 1-1v-6c0-.5523-.4477-1-1-1h-6zm5 2h-4v4h4v-4z",
|
|
8016
|
+
fill: "#1865F2"
|
|
8017
|
+
}), /*#__PURE__*/React.createElement("g", {
|
|
8018
|
+
clipPath: "url(#clip0_874_41686)"
|
|
8019
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
8020
|
+
fillRule: "evenodd",
|
|
8021
|
+
clipRule: "evenodd",
|
|
8022
|
+
d: "M10 20c0-.5523.4477-1 1-1h10c.5523 0 1 .4477 1 1s-.4477 1-1 1H11c-.5523 0-1-.4477-1-1z",
|
|
8023
|
+
fill: "#21242C"
|
|
8024
|
+
})), /*#__PURE__*/React.createElement("path", {
|
|
8025
|
+
fillRule: "evenodd",
|
|
8026
|
+
clipRule: "evenodd",
|
|
8027
|
+
d: "M13 9c-.5523 0-1 .44772-1 1v6c0 .5523.4477 1 1 1h6c.5523 0 1-.4477 1-1v-6c0-.55228-.4477-1-1-1h-6zm5 2h-4v4h4v-4z",
|
|
8028
|
+
fill: "#21242C"
|
|
8029
|
+
}), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
|
8030
|
+
id: "clip0_874_41686"
|
|
8031
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
8032
|
+
fill: "#fff",
|
|
8033
|
+
transform: "translate(10 19)",
|
|
8034
|
+
d: "M0 0h12v2H0z"
|
|
8035
|
+
}))));
|
|
8036
|
+
case "JUMP_OUT_DENOMINATOR":
|
|
8037
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
8038
|
+
width: "40",
|
|
8039
|
+
height: "40",
|
|
8040
|
+
viewBox: "0 0 40 40",
|
|
8041
|
+
fill: "none",
|
|
8042
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
8043
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
8044
|
+
fillRule: "evenodd",
|
|
8045
|
+
clipRule: "evenodd",
|
|
8046
|
+
d: "M31 11c.5523 0 1 .4477 1 1v16c0 .5523-.4477 1-1 1s-1-.4477-1-1V12c0-.5523.4477-1 1-1zm-9 9c0-.5523.4477-1 1-1h4c.5523 0 1 .4477 1 1v4c0 .5523-.4477 1-1 1s-1-.4477-1-1v-1.5858l-4.2929 4.2929c-.3905.3905-1.0237.3905-1.4142 0-.3905-.3905-.3905-1.0237 0-1.4142L24.5858 21H23c-.5523 0-1-.4477-1-1z",
|
|
8047
|
+
fill: "#1865F2"
|
|
8048
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
8049
|
+
fillRule: "evenodd",
|
|
8050
|
+
clipRule: "evenodd",
|
|
8051
|
+
d: "M11 23c-.5523 0-1 .4477-1 1v6c0 .5523.4477 1 1 1h6c.5523 0 1-.4477 1-1v-6c0-.5523-.4477-1-1-1h-6zm5 2h-4v4h4v-4z",
|
|
8052
|
+
fill: "#21242C"
|
|
8053
|
+
}), /*#__PURE__*/React.createElement("g", {
|
|
8054
|
+
clipPath: "url(#clip0_874_41692)"
|
|
8055
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
8056
|
+
fillRule: "evenodd",
|
|
8057
|
+
clipRule: "evenodd",
|
|
8058
|
+
d: "M8 20c0-.5523.44772-1 1-1h10c.5523 0 1 .4477 1 1s-.4477 1-1 1H9c-.55228 0-1-.4477-1-1z",
|
|
8059
|
+
fill: "#21242C"
|
|
8060
|
+
})), /*#__PURE__*/React.createElement("path", {
|
|
8061
|
+
fillRule: "evenodd",
|
|
8062
|
+
clipRule: "evenodd",
|
|
8063
|
+
d: "M11 9c-.5523 0-1 .44772-1 1v6c0 .5523.4477 1 1 1h6c.5523 0 1-.4477 1-1v-6c0-.55228-.4477-1-1-1h-6zm5 2h-4v4h4v-4z",
|
|
8064
|
+
fill: "#21242C"
|
|
8065
|
+
}), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
|
8066
|
+
id: "clip0_874_41692"
|
|
8067
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
8068
|
+
fill: "#fff",
|
|
8069
|
+
transform: "translate(8 19)",
|
|
8070
|
+
d: "M0 0h12v2H0z"
|
|
8071
|
+
}))));
|
|
8078
8072
|
|
|
8079
8073
|
/**
|
|
8080
8074
|
* ANYTHING BELOW IS NOT YET HANDLED
|
|
8081
8075
|
*/
|
|
8082
8076
|
case "MANY":
|
|
8083
|
-
case "FRAC_EXCLUSIVE":
|
|
8084
|
-
case "THETA":
|
|
8085
8077
|
case "NOOP":
|
|
8086
8078
|
case "UP":
|
|
8087
8079
|
case "DOWN":
|
|
8088
8080
|
case "LEFT":
|
|
8089
8081
|
case "RIGHT":
|
|
8090
|
-
case "JUMP_OUT_PARENTHESES":
|
|
8091
|
-
case "JUMP_OUT_EXPONENT":
|
|
8092
8082
|
case "JUMP_OUT_BASE":
|
|
8093
|
-
case "JUMP_INTO_NUMERATOR":
|
|
8094
|
-
case "JUMP_OUT_NUMERATOR":
|
|
8095
|
-
case "JUMP_OUT_DENOMINATOR":
|
|
8096
8083
|
case "PHI":
|
|
8097
8084
|
case "NTHROOT3":
|
|
8098
8085
|
case "POW":
|
|
8099
8086
|
case "LOG_B":
|
|
8087
|
+
case "a":
|
|
8088
|
+
case "b":
|
|
8089
|
+
case "c":
|
|
8100
8090
|
case "d":
|
|
8101
8091
|
case "e":
|
|
8102
8092
|
case "f":
|
|
@@ -8117,7 +8107,6 @@ function ButtonAsset({
|
|
|
8117
8107
|
case "u":
|
|
8118
8108
|
case "v":
|
|
8119
8109
|
case "w":
|
|
8120
|
-
case "y":
|
|
8121
8110
|
case "z":
|
|
8122
8111
|
case "A":
|
|
8123
8112
|
case "B":
|
|
@@ -8142,6 +8131,7 @@ function ButtonAsset({
|
|
|
8142
8131
|
case "U":
|
|
8143
8132
|
case "V":
|
|
8144
8133
|
case "W":
|
|
8134
|
+
case "X":
|
|
8145
8135
|
case "Y":
|
|
8146
8136
|
case "Z":
|
|
8147
8137
|
// placeholder
|
|
@@ -8169,386 +8159,300 @@ function ButtonAsset({
|
|
|
8169
8159
|
}
|
|
8170
8160
|
}
|
|
8171
8161
|
|
|
8172
|
-
const KeypadPageContainer = ({
|
|
8173
|
-
children
|
|
8174
|
-
}) => /*#__PURE__*/React.createElement(View$1, {
|
|
8175
|
-
style: {
|
|
8176
|
-
backgroundColor: "#DBDCDD",
|
|
8177
|
-
width: "100%",
|
|
8178
|
-
height: 192,
|
|
8179
|
-
display: "grid",
|
|
8180
|
-
gridTemplateColumns: "repeat(6, 1fr)",
|
|
8181
|
-
gridTemplateRows: "repeat(4, 1fr)"
|
|
8182
|
-
}
|
|
8183
|
-
}, children);
|
|
8184
8162
|
const KeypadButton = ({
|
|
8163
|
+
coord,
|
|
8185
8164
|
keyConfig,
|
|
8186
8165
|
onClickKey,
|
|
8187
|
-
|
|
8188
|
-
|
|
8189
|
-
|
|
8190
|
-
|
|
8191
|
-
tintColor:
|
|
8192
|
-
|
|
8193
|
-
|
|
8194
|
-
|
|
8195
|
-
|
|
8196
|
-
})
|
|
8197
|
-
|
|
8198
|
-
|
|
8199
|
-
|
|
8200
|
-
|
|
8201
|
-
}
|
|
8202
|
-
|
|
8203
|
-
|
|
8204
|
-
|
|
8205
|
-
|
|
8206
|
-
|
|
8207
|
-
|
|
8208
|
-
|
|
8209
|
-
|
|
8210
|
-
|
|
8211
|
-
}
|
|
8212
|
-
|
|
8213
|
-
|
|
8214
|
-
|
|
8215
|
-
|
|
8216
|
-
}
|
|
8217
|
-
|
|
8218
|
-
|
|
8219
|
-
|
|
8220
|
-
|
|
8221
|
-
|
|
8222
|
-
|
|
8223
|
-
|
|
8224
|
-
|
|
8225
|
-
|
|
8226
|
-
|
|
8227
|
-
|
|
8228
|
-
|
|
8166
|
+
style,
|
|
8167
|
+
secondary,
|
|
8168
|
+
action
|
|
8169
|
+
}) => {
|
|
8170
|
+
const tintColor = secondary ? "#F6F6F7" : action ? "#DBDCDD" : undefined;
|
|
8171
|
+
return /*#__PURE__*/React.createElement(View$1, {
|
|
8172
|
+
style: _extends({
|
|
8173
|
+
gridColumn: coord[0] + 1,
|
|
8174
|
+
gridRow: coord[1] + 1
|
|
8175
|
+
}, style)
|
|
8176
|
+
}, /*#__PURE__*/React.createElement(Clickable, {
|
|
8177
|
+
onClick: () => onClickKey(keyConfig.id),
|
|
8178
|
+
style: styles$1.clickable,
|
|
8179
|
+
"aria-label": keyConfig.ariaLabel
|
|
8180
|
+
}, ({
|
|
8181
|
+
hovered,
|
|
8182
|
+
focused,
|
|
8183
|
+
pressed
|
|
8184
|
+
}) => {
|
|
8185
|
+
return /*#__PURE__*/React.createElement(View$1, {
|
|
8186
|
+
style: [styles$1.outerBoxBase, hovered && styles$1.outerBoxHover, pressed && styles$1.outerBoxPressed]
|
|
8187
|
+
}, /*#__PURE__*/React.createElement(View$1, {
|
|
8188
|
+
style: [styles$1.base, tintColor != null ? {
|
|
8189
|
+
background: tintColor
|
|
8190
|
+
} : undefined, hovered && styles$1.hovered, focused && styles$1.focused, pressed && styles$1.pressed]
|
|
8191
|
+
}, /*#__PURE__*/React.createElement(ButtonAsset, {
|
|
8192
|
+
id: keyConfig.id
|
|
8193
|
+
})));
|
|
8194
|
+
}));
|
|
8195
|
+
};
|
|
8196
|
+
const styles$1 = StyleSheet.create({
|
|
8197
|
+
base: {
|
|
8198
|
+
display: "flex",
|
|
8199
|
+
justifyContent: "center",
|
|
8200
|
+
alignItems: "center",
|
|
8201
|
+
boxShadow: "0px 1px 0px rgba(33, 36, 44, 0.32)",
|
|
8202
|
+
boxSizing: "border-box",
|
|
8203
|
+
background: Color.white,
|
|
8204
|
+
borderRadius: 4,
|
|
8205
|
+
border: `1px solid transparent`,
|
|
8206
|
+
flex: 1,
|
|
8207
|
+
minHeight: 42,
|
|
8208
|
+
minWidth: 42,
|
|
8209
|
+
padding: 1
|
|
8210
|
+
},
|
|
8211
|
+
hovered: {
|
|
8212
|
+
border: `1px solid ${Color.blue}`,
|
|
8213
|
+
padding: 1,
|
|
8214
|
+
boxShadow: "none"
|
|
8215
|
+
},
|
|
8216
|
+
focused: {
|
|
8217
|
+
border: `2px solid ${Color.blue}`,
|
|
8218
|
+
padding: 0,
|
|
8219
|
+
boxShadow: "none"
|
|
8220
|
+
},
|
|
8221
|
+
pressed: {
|
|
8222
|
+
border: "2px solid #1B50B3",
|
|
8223
|
+
padding: 0,
|
|
8224
|
+
background: `linear-gradient(0deg, rgba(24, 101, 242, 0.32), rgba(24, 101, 242, 0.32)), ${Color.white}`,
|
|
8225
|
+
boxShadow: "none"
|
|
8226
|
+
},
|
|
8227
|
+
outerBoxBase: {
|
|
8228
|
+
padding: 1,
|
|
8229
8229
|
height: "100%",
|
|
8230
8230
|
width: "100%",
|
|
8231
8231
|
boxSizing: "border-box",
|
|
8232
8232
|
borderRadius: 7,
|
|
8233
|
-
border: "
|
|
8234
|
-
}
|
|
8235
|
-
|
|
8236
|
-
|
|
8237
|
-
|
|
8233
|
+
border: "2px solid transparent"
|
|
8234
|
+
},
|
|
8235
|
+
outerBoxHover: {
|
|
8236
|
+
border: `2px solid ${Color.blue}`
|
|
8237
|
+
},
|
|
8238
|
+
outerBoxPressed: {
|
|
8239
|
+
border: "2px solid #1B50B3"
|
|
8240
|
+
},
|
|
8241
|
+
clickable: {
|
|
8238
8242
|
width: "100%",
|
|
8239
8243
|
height: "100%",
|
|
8240
|
-
|
|
8241
|
-
border: `1px solid transparent`
|
|
8244
|
+
boxSizing: "border-box"
|
|
8242
8245
|
}
|
|
8243
|
-
})
|
|
8246
|
+
});
|
|
8244
8247
|
|
|
8245
|
-
|
|
8246
|
-
|
|
8247
|
-
|
|
8248
|
-
|
|
8249
|
-
|
|
8250
|
-
|
|
8251
|
-
|
|
8248
|
+
const columns = 4;
|
|
8249
|
+
function ExtrasPage(props) {
|
|
8250
|
+
const {
|
|
8251
|
+
extraKeys,
|
|
8252
|
+
onClickKey
|
|
8253
|
+
} = props;
|
|
8254
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, extraKeys.map((key, i) => {
|
|
8255
|
+
// Map 1D array to Cartesian coordinates
|
|
8256
|
+
const coordX = i % columns;
|
|
8257
|
+
const coordY = i / columns;
|
|
8258
|
+
return /*#__PURE__*/React.createElement(KeypadButton, {
|
|
8252
8259
|
key: key,
|
|
8253
8260
|
keyConfig: KeyConfigs[key],
|
|
8254
|
-
onClickKey: onClickKey
|
|
8255
|
-
|
|
8256
|
-
|
|
8261
|
+
onClickKey: onClickKey,
|
|
8262
|
+
coord: [coordX, coordY]
|
|
8263
|
+
});
|
|
8264
|
+
}));
|
|
8257
8265
|
}
|
|
8258
8266
|
|
|
8259
|
-
|
|
8260
|
-
|
|
8261
|
-
|
|
8262
|
-
|
|
8263
|
-
|
|
8264
|
-
|
|
8265
|
-
|
|
8266
|
-
|
|
8267
|
-
|
|
8268
|
-
|
|
8269
|
-
|
|
8270
|
-
|
|
8271
|
-
|
|
8272
|
-
|
|
8273
|
-
|
|
8274
|
-
|
|
8275
|
-
|
|
8276
|
-
style: {
|
|
8277
|
-
gridColumn: 5
|
|
8278
|
-
}
|
|
8279
|
-
}), /*#__PURE__*/React.createElement(SecondaryKeypadButton, {
|
|
8280
|
-
keyConfig: KeyConfigs.RIGHT_PAREN,
|
|
8281
|
-
onClickKey: onClickKey,
|
|
8282
|
-
style: {
|
|
8283
|
-
gridColumn: 6
|
|
8284
|
-
}
|
|
8285
|
-
}), /*#__PURE__*/React.createElement(SecondaryKeypadButton, {
|
|
8286
|
-
keyConfig: KeyConfigs.x,
|
|
8287
|
-
onClickKey: onClickKey,
|
|
8288
|
-
style: {
|
|
8289
|
-
gridColumn: 5
|
|
8290
|
-
}
|
|
8291
|
-
}), /*#__PURE__*/React.createElement(SecondaryKeypadButton, {
|
|
8292
|
-
keyConfig: KeyConfigs.FRAC_INCLUSIVE,
|
|
8293
|
-
onClickKey: onClickKey,
|
|
8294
|
-
style: {
|
|
8295
|
-
gridColumn: 6
|
|
8296
|
-
}
|
|
8297
|
-
}), /*#__PURE__*/React.createElement(SecondaryKeypadButton, {
|
|
8298
|
-
keyConfig: KeyConfigs.PI,
|
|
8299
|
-
onClickKey: onClickKey,
|
|
8300
|
-
style: {
|
|
8301
|
-
gridColumn: 5
|
|
8302
|
-
}
|
|
8303
|
-
}), /*#__PURE__*/React.createElement(KeypadActionButton, {
|
|
8304
|
-
keyConfig: KeyConfigs.BACKSPACE,
|
|
8305
|
-
style: {
|
|
8306
|
-
gridColumn: "6"
|
|
8307
|
-
},
|
|
8308
|
-
onClickKey: onClickKey
|
|
8309
|
-
}), /*#__PURE__*/React.createElement(KeypadActionButton, {
|
|
8310
|
-
keyConfig: KeyConfigs.DISMISS,
|
|
8311
|
-
style: {
|
|
8312
|
-
gridColumn: "6"
|
|
8313
|
-
},
|
|
8314
|
-
onClickKey: onClickKey
|
|
8315
|
-
}));
|
|
8316
|
-
}
|
|
8267
|
+
function GeometryPage(props) {
|
|
8268
|
+
const {
|
|
8269
|
+
onClickKey
|
|
8270
|
+
} = props;
|
|
8271
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(KeypadButton, {
|
|
8272
|
+
keyConfig: KeyConfigs.SIN,
|
|
8273
|
+
onClickKey: onClickKey,
|
|
8274
|
+
coord: [0, 0]
|
|
8275
|
+
}), /*#__PURE__*/React.createElement(KeypadButton, {
|
|
8276
|
+
keyConfig: KeyConfigs.COS,
|
|
8277
|
+
onClickKey: onClickKey,
|
|
8278
|
+
coord: [1, 0]
|
|
8279
|
+
}), /*#__PURE__*/React.createElement(KeypadButton, {
|
|
8280
|
+
keyConfig: KeyConfigs.TAN,
|
|
8281
|
+
onClickKey: onClickKey,
|
|
8282
|
+
coord: [2, 0]
|
|
8283
|
+
}));
|
|
8317
8284
|
}
|
|
8318
8285
|
|
|
8319
|
-
|
|
8320
|
-
|
|
8321
|
-
|
|
8322
|
-
|
|
8323
|
-
|
|
8324
|
-
|
|
8325
|
-
|
|
8326
|
-
|
|
8327
|
-
|
|
8328
|
-
|
|
8329
|
-
|
|
8330
|
-
|
|
8331
|
-
|
|
8332
|
-
|
|
8333
|
-
|
|
8334
|
-
|
|
8335
|
-
|
|
8336
|
-
|
|
8337
|
-
|
|
8338
|
-
|
|
8339
|
-
|
|
8340
|
-
|
|
8341
|
-
|
|
8342
|
-
|
|
8343
|
-
|
|
8344
|
-
|
|
8345
|
-
|
|
8346
|
-
|
|
8347
|
-
|
|
8348
|
-
|
|
8349
|
-
|
|
8350
|
-
|
|
8351
|
-
|
|
8352
|
-
|
|
8353
|
-
|
|
8354
|
-
|
|
8355
|
-
|
|
8356
|
-
|
|
8357
|
-
|
|
8358
|
-
|
|
8359
|
-
|
|
8360
|
-
|
|
8361
|
-
|
|
8362
|
-
|
|
8363
|
-
|
|
8364
|
-
|
|
8365
|
-
|
|
8366
|
-
|
|
8367
|
-
|
|
8368
|
-
|
|
8369
|
-
|
|
8370
|
-
|
|
8371
|
-
|
|
8372
|
-
keyConfig: KeyConfigs.FRAC_INCLUSIVE,
|
|
8373
|
-
onClickKey: onClickKey,
|
|
8374
|
-
style: {
|
|
8375
|
-
gridColumn: "5 / 7"
|
|
8376
|
-
}
|
|
8377
|
-
}), /*#__PURE__*/React.createElement(KeypadButton, {
|
|
8378
|
-
keyConfig: KeyConfigs.NUM_1,
|
|
8379
|
-
onClickKey: onClickKey
|
|
8380
|
-
}), /*#__PURE__*/React.createElement(KeypadButton, {
|
|
8381
|
-
keyConfig: KeyConfigs.NUM_2,
|
|
8382
|
-
onClickKey: onClickKey
|
|
8383
|
-
}), /*#__PURE__*/React.createElement(KeypadButton, {
|
|
8384
|
-
keyConfig: KeyConfigs.NUM_3,
|
|
8385
|
-
onClickKey: onClickKey
|
|
8386
|
-
}), /*#__PURE__*/React.createElement(SecondaryKeypadButton, {
|
|
8387
|
-
keyConfig: KeyConfigs.PLUS,
|
|
8388
|
-
style: this.props.divisionKey ? {
|
|
8389
|
-
gridColumn: "4",
|
|
8390
|
-
gridRow: "4"
|
|
8391
|
-
} : {
|
|
8392
|
-
gridColumn: "4",
|
|
8393
|
-
gridRowStart: "3",
|
|
8394
|
-
gridRowEnd: "5"
|
|
8395
|
-
},
|
|
8396
|
-
onClickKey: onClickKey
|
|
8397
|
-
}), /*#__PURE__*/React.createElement(KeypadActionButton, {
|
|
8398
|
-
keyConfig: KeyConfigs.BACKSPACE,
|
|
8399
|
-
style: {
|
|
8400
|
-
gridColumn: "6"
|
|
8401
|
-
},
|
|
8402
|
-
onClickKey: onClickKey
|
|
8403
|
-
}), /*#__PURE__*/React.createElement(KeypadButton, {
|
|
8404
|
-
keyConfig: KeyConfigs.NUM_0,
|
|
8405
|
-
onClickKey: onClickKey
|
|
8406
|
-
}), /*#__PURE__*/React.createElement(KeypadButton, {
|
|
8407
|
-
keyConfig: KeyConfigs.DECIMAL,
|
|
8408
|
-
onClickKey: onClickKey
|
|
8409
|
-
}), /*#__PURE__*/React.createElement(KeypadButton, {
|
|
8410
|
-
keyConfig: KeyConfigs.NEGATIVE,
|
|
8411
|
-
onClickKey: onClickKey
|
|
8412
|
-
}), /*#__PURE__*/React.createElement(KeypadActionButton, {
|
|
8413
|
-
keyConfig: KeyConfigs.DISMISS,
|
|
8414
|
-
style: {
|
|
8415
|
-
gridColumn: "6"
|
|
8416
|
-
},
|
|
8417
|
-
onClickKey: onClickKey
|
|
8418
|
-
}));
|
|
8419
|
-
}
|
|
8286
|
+
function NumbersPage(props) {
|
|
8287
|
+
const {
|
|
8288
|
+
onClickKey
|
|
8289
|
+
} = props;
|
|
8290
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(KeypadButton, {
|
|
8291
|
+
keyConfig: KeyConfigs.NUM_7,
|
|
8292
|
+
onClickKey: onClickKey,
|
|
8293
|
+
coord: [0, 0]
|
|
8294
|
+
}), /*#__PURE__*/React.createElement(KeypadButton, {
|
|
8295
|
+
keyConfig: KeyConfigs.NUM_8,
|
|
8296
|
+
onClickKey: onClickKey,
|
|
8297
|
+
coord: [1, 0]
|
|
8298
|
+
}), /*#__PURE__*/React.createElement(KeypadButton, {
|
|
8299
|
+
keyConfig: KeyConfigs.NUM_9,
|
|
8300
|
+
onClickKey: onClickKey,
|
|
8301
|
+
coord: [2, 0]
|
|
8302
|
+
}), /*#__PURE__*/React.createElement(KeypadButton, {
|
|
8303
|
+
keyConfig: KeyConfigs.NUM_4,
|
|
8304
|
+
onClickKey: onClickKey,
|
|
8305
|
+
coord: [0, 1]
|
|
8306
|
+
}), /*#__PURE__*/React.createElement(KeypadButton, {
|
|
8307
|
+
keyConfig: KeyConfigs.NUM_5,
|
|
8308
|
+
onClickKey: onClickKey,
|
|
8309
|
+
coord: [1, 1]
|
|
8310
|
+
}), /*#__PURE__*/React.createElement(KeypadButton, {
|
|
8311
|
+
keyConfig: KeyConfigs.NUM_6,
|
|
8312
|
+
onClickKey: onClickKey,
|
|
8313
|
+
coord: [2, 1]
|
|
8314
|
+
}), /*#__PURE__*/React.createElement(KeypadButton, {
|
|
8315
|
+
keyConfig: KeyConfigs.NUM_1,
|
|
8316
|
+
onClickKey: onClickKey,
|
|
8317
|
+
coord: [0, 2]
|
|
8318
|
+
}), /*#__PURE__*/React.createElement(KeypadButton, {
|
|
8319
|
+
keyConfig: KeyConfigs.NUM_2,
|
|
8320
|
+
onClickKey: onClickKey,
|
|
8321
|
+
coord: [1, 2]
|
|
8322
|
+
}), /*#__PURE__*/React.createElement(KeypadButton, {
|
|
8323
|
+
keyConfig: KeyConfigs.NUM_3,
|
|
8324
|
+
onClickKey: onClickKey,
|
|
8325
|
+
coord: [2, 2]
|
|
8326
|
+
}), /*#__PURE__*/React.createElement(KeypadButton, {
|
|
8327
|
+
keyConfig: KeyConfigs.NUM_0,
|
|
8328
|
+
onClickKey: onClickKey,
|
|
8329
|
+
coord: [0, 3]
|
|
8330
|
+
}), /*#__PURE__*/React.createElement(KeypadButton, {
|
|
8331
|
+
keyConfig: KeyConfigs.DECIMAL,
|
|
8332
|
+
onClickKey: onClickKey,
|
|
8333
|
+
coord: [1, 3]
|
|
8334
|
+
}), /*#__PURE__*/React.createElement(KeypadButton, {
|
|
8335
|
+
keyConfig: KeyConfigs.NEGATIVE,
|
|
8336
|
+
onClickKey: onClickKey,
|
|
8337
|
+
coord: [2, 3]
|
|
8338
|
+
}));
|
|
8420
8339
|
}
|
|
8421
8340
|
|
|
8422
|
-
|
|
8423
|
-
|
|
8424
|
-
|
|
8425
|
-
|
|
8426
|
-
|
|
8427
|
-
|
|
8428
|
-
|
|
8429
|
-
|
|
8430
|
-
|
|
8431
|
-
|
|
8432
|
-
|
|
8433
|
-
|
|
8434
|
-
|
|
8435
|
-
|
|
8436
|
-
|
|
8437
|
-
|
|
8438
|
-
|
|
8439
|
-
|
|
8440
|
-
|
|
8441
|
-
|
|
8442
|
-
|
|
8443
|
-
|
|
8444
|
-
|
|
8445
|
-
|
|
8446
|
-
}), /*#__PURE__*/
|
|
8447
|
-
|
|
8448
|
-
|
|
8449
|
-
|
|
8450
|
-
|
|
8451
|
-
|
|
8452
|
-
|
|
8453
|
-
|
|
8454
|
-
|
|
8455
|
-
|
|
8456
|
-
|
|
8457
|
-
|
|
8458
|
-
|
|
8459
|
-
|
|
8460
|
-
|
|
8461
|
-
|
|
8462
|
-
}), /*#__PURE__*/
|
|
8463
|
-
|
|
8464
|
-
|
|
8465
|
-
|
|
8466
|
-
|
|
8467
|
-
|
|
8468
|
-
|
|
8469
|
-
|
|
8470
|
-
|
|
8471
|
-
|
|
8472
|
-
|
|
8473
|
-
|
|
8474
|
-
|
|
8475
|
-
|
|
8476
|
-
|
|
8477
|
-
|
|
8478
|
-
}), /*#__PURE__*/
|
|
8479
|
-
|
|
8480
|
-
|
|
8481
|
-
|
|
8482
|
-
|
|
8483
|
-
|
|
8484
|
-
|
|
8485
|
-
|
|
8486
|
-
|
|
8487
|
-
|
|
8488
|
-
|
|
8489
|
-
|
|
8490
|
-
|
|
8491
|
-
|
|
8492
|
-
|
|
8493
|
-
|
|
8494
|
-
|
|
8495
|
-
|
|
8496
|
-
|
|
8497
|
-
|
|
8498
|
-
|
|
8499
|
-
|
|
8500
|
-
|
|
8501
|
-
|
|
8502
|
-
|
|
8503
|
-
|
|
8504
|
-
|
|
8505
|
-
|
|
8506
|
-
|
|
8507
|
-
|
|
8508
|
-
|
|
8509
|
-
|
|
8510
|
-
|
|
8511
|
-
|
|
8512
|
-
|
|
8513
|
-
|
|
8514
|
-
|
|
8515
|
-
|
|
8516
|
-
|
|
8517
|
-
|
|
8518
|
-
|
|
8519
|
-
|
|
8520
|
-
|
|
8521
|
-
|
|
8522
|
-
|
|
8523
|
-
|
|
8524
|
-
|
|
8525
|
-
|
|
8526
|
-
|
|
8527
|
-
|
|
8528
|
-
|
|
8529
|
-
|
|
8530
|
-
|
|
8531
|
-
|
|
8532
|
-
onClickKey: onClickKey
|
|
8533
|
-
}), /*#__PURE__*/React.createElement(AdvancedRelations, {
|
|
8534
|
-
onClickKey: onClickKey,
|
|
8535
|
-
placeholder: !this.props.advancedRelations
|
|
8536
|
-
}), /*#__PURE__*/React.createElement(KeypadActionButton, {
|
|
8537
|
-
keyConfig: KeyConfigs.DISMISS,
|
|
8538
|
-
style: {
|
|
8539
|
-
gridColumn: "6"
|
|
8540
|
-
},
|
|
8541
|
-
onClickKey: onClickKey
|
|
8542
|
-
}));
|
|
8543
|
-
}
|
|
8341
|
+
function OperatorsPage(props) {
|
|
8342
|
+
const {
|
|
8343
|
+
onClickKey,
|
|
8344
|
+
preAlgebra,
|
|
8345
|
+
logarithms,
|
|
8346
|
+
basicRelations,
|
|
8347
|
+
advancedRelations
|
|
8348
|
+
} = props;
|
|
8349
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, preAlgebra && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(KeypadButton, {
|
|
8350
|
+
keyConfig: KeyConfigs.EXP_2,
|
|
8351
|
+
onClickKey: onClickKey,
|
|
8352
|
+
coord: [0, 0]
|
|
8353
|
+
}), /*#__PURE__*/React.createElement(KeypadButton, {
|
|
8354
|
+
keyConfig: KeyConfigs.EXP,
|
|
8355
|
+
onClickKey: onClickKey,
|
|
8356
|
+
coord: [1, 0]
|
|
8357
|
+
}), /*#__PURE__*/React.createElement(KeypadButton, {
|
|
8358
|
+
keyConfig: KeyConfigs.SQRT,
|
|
8359
|
+
onClickKey: onClickKey,
|
|
8360
|
+
coord: [2, 0]
|
|
8361
|
+
}), /*#__PURE__*/React.createElement(KeypadButton, {
|
|
8362
|
+
keyConfig: KeyConfigs.RADICAL,
|
|
8363
|
+
onClickKey: onClickKey,
|
|
8364
|
+
coord: [3, 0]
|
|
8365
|
+
})), logarithms && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(KeypadButton, {
|
|
8366
|
+
keyConfig: KeyConfigs.LOG,
|
|
8367
|
+
onClickKey: onClickKey,
|
|
8368
|
+
coord: [0, 1]
|
|
8369
|
+
}), /*#__PURE__*/React.createElement(KeypadButton, {
|
|
8370
|
+
keyConfig: KeyConfigs.LOG_N,
|
|
8371
|
+
onClickKey: onClickKey,
|
|
8372
|
+
coord: [1, 1]
|
|
8373
|
+
}), /*#__PURE__*/React.createElement(KeypadButton, {
|
|
8374
|
+
keyConfig: KeyConfigs.LN,
|
|
8375
|
+
onClickKey: onClickKey,
|
|
8376
|
+
coord: [2, 1]
|
|
8377
|
+
})), basicRelations && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(KeypadButton, {
|
|
8378
|
+
keyConfig: KeyConfigs.EQUAL,
|
|
8379
|
+
onClickKey: onClickKey,
|
|
8380
|
+
coord: [0, 2]
|
|
8381
|
+
}), /*#__PURE__*/React.createElement(KeypadButton, {
|
|
8382
|
+
keyConfig: KeyConfigs.LT,
|
|
8383
|
+
onClickKey: onClickKey,
|
|
8384
|
+
coord: [1, 2]
|
|
8385
|
+
}), /*#__PURE__*/React.createElement(KeypadButton, {
|
|
8386
|
+
keyConfig: KeyConfigs.GT,
|
|
8387
|
+
onClickKey: onClickKey,
|
|
8388
|
+
coord: [2, 2]
|
|
8389
|
+
})), advancedRelations && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(KeypadButton, {
|
|
8390
|
+
keyConfig: KeyConfigs.NEQ,
|
|
8391
|
+
onClickKey: onClickKey,
|
|
8392
|
+
coord: [0, 3]
|
|
8393
|
+
}), /*#__PURE__*/React.createElement(KeypadButton, {
|
|
8394
|
+
keyConfig: KeyConfigs.LEQ,
|
|
8395
|
+
onClickKey: onClickKey,
|
|
8396
|
+
coord: [1, 3]
|
|
8397
|
+
}), /*#__PURE__*/React.createElement(KeypadButton, {
|
|
8398
|
+
keyConfig: KeyConfigs.GEQ,
|
|
8399
|
+
onClickKey: onClickKey,
|
|
8400
|
+
coord: [2, 3]
|
|
8401
|
+
})));
|
|
8402
|
+
}
|
|
8403
|
+
|
|
8404
|
+
function SharedKeys(props) {
|
|
8405
|
+
const {
|
|
8406
|
+
onClickKey,
|
|
8407
|
+
divisionKey,
|
|
8408
|
+
multiplicationDot
|
|
8409
|
+
} = props;
|
|
8410
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(KeypadButton, {
|
|
8411
|
+
keyConfig: KeyConfigs.PLUS,
|
|
8412
|
+
onClickKey: onClickKey,
|
|
8413
|
+
coord: [4, 0],
|
|
8414
|
+
secondary: true
|
|
8415
|
+
}), /*#__PURE__*/React.createElement(KeypadButton, {
|
|
8416
|
+
keyConfig: KeyConfigs.MINUS,
|
|
8417
|
+
onClickKey: onClickKey,
|
|
8418
|
+
coord: [5, 0],
|
|
8419
|
+
secondary: true
|
|
8420
|
+
}), /*#__PURE__*/React.createElement(KeypadButton, {
|
|
8421
|
+
keyConfig: multiplicationDot ? KeyConfigs.CDOT : KeyConfigs.TIMES,
|
|
8422
|
+
onClickKey: onClickKey,
|
|
8423
|
+
coord: [4, 1],
|
|
8424
|
+
secondary: true
|
|
8425
|
+
}), divisionKey && /*#__PURE__*/React.createElement(KeypadButton, {
|
|
8426
|
+
keyConfig: KeyConfigs.DIVIDE,
|
|
8427
|
+
onClickKey: onClickKey,
|
|
8428
|
+
coord: [5, 1],
|
|
8429
|
+
secondary: true
|
|
8430
|
+
}), /*#__PURE__*/React.createElement(KeypadButton, {
|
|
8431
|
+
keyConfig: KeyConfigs.LEFT_PAREN,
|
|
8432
|
+
onClickKey: onClickKey,
|
|
8433
|
+
coord: [4, 2],
|
|
8434
|
+
secondary: true
|
|
8435
|
+
}), /*#__PURE__*/React.createElement(KeypadButton, {
|
|
8436
|
+
keyConfig: KeyConfigs.RIGHT_PAREN,
|
|
8437
|
+
onClickKey: onClickKey,
|
|
8438
|
+
coord: [5, 2],
|
|
8439
|
+
secondary: true
|
|
8440
|
+
}), /*#__PURE__*/React.createElement(KeypadButton, {
|
|
8441
|
+
keyConfig: KeyConfigs.FRAC_INCLUSIVE,
|
|
8442
|
+
onClickKey: onClickKey,
|
|
8443
|
+
coord: [4, 3],
|
|
8444
|
+
secondary: true
|
|
8445
|
+
}), /*#__PURE__*/React.createElement(KeypadButton, {
|
|
8446
|
+
keyConfig: KeyConfigs.BACKSPACE,
|
|
8447
|
+
onClickKey: onClickKey,
|
|
8448
|
+
coord: [5, 3],
|
|
8449
|
+
action: true
|
|
8450
|
+
}));
|
|
8544
8451
|
}
|
|
8545
8452
|
|
|
8546
8453
|
function allPages(props) {
|
|
8547
8454
|
var _props$extraKeys;
|
|
8548
8455
|
const pages = ["Numbers"];
|
|
8549
|
-
if ((_props$extraKeys = props.extraKeys) != null && _props$extraKeys.length) {
|
|
8550
|
-
pages.push("Extras");
|
|
8551
|
-
}
|
|
8552
8456
|
if (
|
|
8553
8457
|
// OperatorsButtonSets
|
|
8554
8458
|
props.preAlgebra || props.logarithms || props.basicRelations || props.advancedRelations) {
|
|
@@ -8557,38 +8461,63 @@ function allPages(props) {
|
|
|
8557
8461
|
if (props.trigonometry) {
|
|
8558
8462
|
pages.push("Geometry");
|
|
8559
8463
|
}
|
|
8464
|
+
if ((_props$extraKeys = props.extraKeys) != null && _props$extraKeys.length) {
|
|
8465
|
+
pages.push("Extras");
|
|
8466
|
+
}
|
|
8560
8467
|
return pages;
|
|
8561
8468
|
}
|
|
8562
|
-
|
|
8563
|
-
|
|
8564
|
-
|
|
8565
|
-
|
|
8566
|
-
|
|
8567
|
-
|
|
8568
|
-
|
|
8569
|
-
|
|
8570
|
-
|
|
8571
|
-
|
|
8572
|
-
|
|
8573
|
-
|
|
8574
|
-
|
|
8575
|
-
|
|
8576
|
-
|
|
8577
|
-
|
|
8578
|
-
|
|
8579
|
-
|
|
8580
|
-
|
|
8581
|
-
|
|
8582
|
-
|
|
8583
|
-
|
|
8584
|
-
}
|
|
8469
|
+
function Keypad(props) {
|
|
8470
|
+
const [selectedPage, setSelectedPage] = React.useState("Numbers");
|
|
8471
|
+
const availablePages = allPages(props);
|
|
8472
|
+
const {
|
|
8473
|
+
onClickKey,
|
|
8474
|
+
extraKeys = [],
|
|
8475
|
+
multiplicationDot,
|
|
8476
|
+
divisionKey,
|
|
8477
|
+
preAlgebra,
|
|
8478
|
+
logarithms,
|
|
8479
|
+
basicRelations,
|
|
8480
|
+
advancedRelations
|
|
8481
|
+
} = props;
|
|
8482
|
+
return /*#__PURE__*/React.createElement(View$1, null, /*#__PURE__*/React.createElement(Tabbar, {
|
|
8483
|
+
items: availablePages,
|
|
8484
|
+
selectedItem: selectedPage,
|
|
8485
|
+
onSelectItem: tabbarItem => {
|
|
8486
|
+
setSelectedPage(tabbarItem);
|
|
8487
|
+
},
|
|
8488
|
+
style: styles.tabbar
|
|
8489
|
+
}), /*#__PURE__*/React.createElement(View$1, {
|
|
8490
|
+
style: styles.grid
|
|
8491
|
+
}, selectedPage === "Numbers" && /*#__PURE__*/React.createElement(NumbersPage, {
|
|
8492
|
+
onClickKey: onClickKey
|
|
8493
|
+
}), selectedPage === "Extras" && /*#__PURE__*/React.createElement(ExtrasPage, {
|
|
8494
|
+
onClickKey: onClickKey,
|
|
8495
|
+
extraKeys: extraKeys
|
|
8496
|
+
}), selectedPage === "Operators" && /*#__PURE__*/React.createElement(OperatorsPage, {
|
|
8497
|
+
onClickKey: onClickKey,
|
|
8498
|
+
preAlgebra: preAlgebra,
|
|
8499
|
+
logarithms: logarithms,
|
|
8500
|
+
basicRelations: basicRelations,
|
|
8501
|
+
advancedRelations: advancedRelations
|
|
8502
|
+
}), selectedPage === "Geometry" && /*#__PURE__*/React.createElement(GeometryPage, {
|
|
8503
|
+
onClickKey: onClickKey
|
|
8504
|
+
}), /*#__PURE__*/React.createElement(SharedKeys, {
|
|
8505
|
+
onClickKey: onClickKey,
|
|
8506
|
+
multiplicationDot: multiplicationDot,
|
|
8507
|
+
divisionKey: divisionKey
|
|
8508
|
+
})));
|
|
8585
8509
|
}
|
|
8586
|
-
Keypad.defaultProps = {
|
|
8587
|
-
extraKeys: []
|
|
8588
|
-
};
|
|
8589
8510
|
const styles = StyleSheet.create({
|
|
8590
8511
|
tabbar: {
|
|
8591
8512
|
background: Color.white
|
|
8513
|
+
},
|
|
8514
|
+
grid: {
|
|
8515
|
+
display: "grid",
|
|
8516
|
+
gridTemplateColumns: "repeat(6, 1fr)",
|
|
8517
|
+
gridTemplateRows: "repeat(4, 1fr)",
|
|
8518
|
+
backgroundColor: "#DBDCDD",
|
|
8519
|
+
maxHeight: 200,
|
|
8520
|
+
maxWidth: 300
|
|
8592
8521
|
}
|
|
8593
8522
|
});
|
|
8594
8523
|
|