Changeset 2648947
- Timestamp:
- 12/25/2021 10:44:18 AM (3 years ago)
- Location:
- input-scanner/trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
input-scanner/trunk/assets/scanner.css
r2611879 r2648947 35 35 36 36 .wp-input-scanner-root, 37 .p-dialog-mask.p-component-overlay 37 .p-dialog-mask.p-component-overlay, 38 .p-dropdown-panel 38 39 { 39 40 z-index: 99999 !important; … … 122 123 --surface-border:#dee2e6; 123 124 --surface-hover: #e9ecef; 125 --maskbg: rgba(0, 0, 0, 0.4); 126 --focus-ring: 0 0 0 0.2rem #a6d5fa; 124 127 } 125 128 … … 137 140 background-color: rgba(0, 0, 0, 0.4); 138 141 transition-duration: 0.2s; 139 --maskbg: rgba(0, 0, 0, 0.4);140 142 } 141 143 … … 1802 1804 border-radius: 3px; 1803 1805 } 1804 .p-button button:enabled:hover {1806 .p-button:enabled:hover, .p-button:not(button):not(a):not(.p-disabled):hover { 1805 1807 background: #0d89ec; 1806 1808 color: #ffffff; 1807 1809 border-color: #0d89ec; 1808 1810 } 1809 .p-buttonbutton:enabled:active { 1810 background: #0b7ad1; 1811 color: #ffffff; 1812 border-color: #0b7ad1; 1813 } 1814 .p-button:not(button):not(.p-disabled):hover { 1815 background: #0d89ec; 1816 color: #ffffff; 1817 border-color: #0d89ec; 1818 } 1819 .p-button:not(button):not(.p-disabled):active { 1820 background: #0b7ad1; 1821 color: #ffffff; 1822 border-color: #0b7ad1; 1823 } 1824 .p-buttona:enabled:hover { 1825 background: #0d89ec; 1826 color: #ffffff; 1827 border-color: #0d89ec; 1828 } 1829 .p-buttona:enabled:active { 1830 background: #0b7ad1; 1831 color: #ffffff; 1832 border-color: #0b7ad1; 1833 } 1834 .p-button:not(a):not(.p-disabled):hover { 1835 background: #0d89ec; 1836 color: #ffffff; 1837 border-color: #0d89ec; 1838 } 1839 .p-button:not(a):not(.p-disabled):active { 1811 .p-button:enabled:active, .p-button:not(button):not(a):not(.p-disabled):active { 1840 1812 background: #0b7ad1; 1841 1813 color: #ffffff; … … 1847 1819 border: 1px solid; 1848 1820 } 1849 .p-button.p-button-outlined button:enabled:hover {1821 .p-button.p-button-outlined:enabled:hover, .p-button.p-button-outlined:not(button):not(a):not(.p-disabled):hover { 1850 1822 background: rgba(33, 150, 243, 0.04); 1851 1823 color: #2196F3; 1852 1824 border: 1px solid; 1853 1825 } 1854 .p-button.p-button-outlined button:enabled:active {1826 .p-button.p-button-outlined:enabled:active, .p-button.p-button-outlined:not(button):not(a):not(.p-disabled):active { 1855 1827 background: rgba(33, 150, 243, 0.16); 1856 1828 color: #2196F3; 1857 1829 border: 1px solid; 1858 1830 } 1859 .p-button.p-button-outlined:not(button):not(.p-disabled):hover {1860 background: rgba(33, 150, 243, 0.04);1861 color: #2196F3;1862 border: 1px solid;1863 }1864 .p-button.p-button-outlined:not(button):not(.p-disabled):active {1865 background: rgba(33, 150, 243, 0.16);1866 color: #2196F3;1867 border: 1px solid;1868 }1869 .p-button.p-button-outlineda:enabled:hover {1870 background: rgba(33, 150, 243, 0.04);1871 color: #2196F3;1872 border: 1px solid;1873 }1874 .p-button.p-button-outlineda:enabled:active {1875 background: rgba(33, 150, 243, 0.16);1876 color: #2196F3;1877 border: 1px solid;1878 }1879 .p-button.p-button-outlined:not(a):not(.p-disabled):hover {1880 background: rgba(33, 150, 243, 0.04);1881 color: #2196F3;1882 border: 1px solid;1883 }1884 .p-button.p-button-outlined:not(a):not(.p-disabled):active {1885 background: rgba(33, 150, 243, 0.16);1886 color: #2196F3;1887 border: 1px solid;1888 }1889 1831 .p-button.p-button-outlined.p-button-plain { 1890 1832 color: #6c757d; 1891 1833 border-color: #6c757d; 1892 1834 } 1893 .p-button.p-button-outlined.p-button-plain button:enabled:hover {1835 .p-button.p-button-outlined.p-button-plain:enabled:hover, .p-button.p-button-outlined.p-button-plain:not(button):not(a):not(.p-disabled):hover { 1894 1836 background: #e9ecef; 1895 1837 color: #6c757d; 1896 1838 } 1897 .p-button.p-button-outlined.p-button-plainbutton:enabled:active { 1898 background: #dee2e6; 1899 color: #6c757d; 1900 } 1901 .p-button.p-button-outlined.p-button-plain:not(button):not(.p-disabled):hover { 1902 background: #e9ecef; 1903 color: #6c757d; 1904 } 1905 .p-button.p-button-outlined.p-button-plain:not(button):not(.p-disabled):active { 1906 background: #dee2e6; 1907 color: #6c757d; 1908 } 1909 .p-button.p-button-outlined.p-button-plaina:enabled:hover { 1910 background: #e9ecef; 1911 color: #6c757d; 1912 } 1913 .p-button.p-button-outlined.p-button-plaina:enabled:active { 1914 background: #dee2e6; 1915 color: #6c757d; 1916 } 1917 .p-button.p-button-outlined.p-button-plain:not(a):not(.p-disabled):hover { 1918 background: #e9ecef; 1919 color: #6c757d; 1920 } 1921 .p-button.p-button-outlined.p-button-plain:not(a):not(.p-disabled):active { 1839 .p-button.p-button-outlined.p-button-plain:enabled:active, .p-button.p-button-outlined.p-button-plain:not(button):not(a):not(.p-disabled):active { 1922 1840 background: #dee2e6; 1923 1841 color: #6c757d; … … 1928 1846 border-color: transparent; 1929 1847 } 1930 .p-button.p-button-text button:enabled:hover {1848 .p-button.p-button-text:enabled:hover, .p-button.p-button-text:not(button):not(a):not(.p-disabled):hover { 1931 1849 background: rgba(33, 150, 243, 0.04); 1932 1850 color: #2196F3; 1933 1851 border-color: transparent; 1934 1852 } 1935 .p-button.p-button-text button:enabled:active {1853 .p-button.p-button-text:enabled:active, .p-button.p-button-text:not(button):not(a):not(.p-disabled):active { 1936 1854 background: rgba(33, 150, 243, 0.16); 1937 1855 color: #2196F3; 1938 1856 border-color: transparent; 1939 1857 } 1940 .p-button.p-button-text:not(button):not(.p-disabled):hover {1941 background: rgba(33, 150, 243, 0.04);1942 color: #2196F3;1943 border-color: transparent;1944 }1945 .p-button.p-button-text:not(button):not(.p-disabled):active {1946 background: rgba(33, 150, 243, 0.16);1947 color: #2196F3;1948 border-color: transparent;1949 }1950 .p-button.p-button-texta:enabled:hover {1951 background: rgba(33, 150, 243, 0.04);1952 color: #2196F3;1953 border-color: transparent;1954 }1955 .p-button.p-button-texta:enabled:active {1956 background: rgba(33, 150, 243, 0.16);1957 color: #2196F3;1958 border-color: transparent;1959 }1960 .p-button.p-button-text:not(a):not(.p-disabled):hover {1961 background: rgba(33, 150, 243, 0.04);1962 color: #2196F3;1963 border-color: transparent;1964 }1965 .p-button.p-button-text:not(a):not(.p-disabled):active {1966 background: rgba(33, 150, 243, 0.16);1967 color: #2196F3;1968 border-color: transparent;1969 }1970 1858 .p-button.p-button-text.p-button-plain { 1971 1859 color: #6c757d; 1972 1860 } 1973 .p-button.p-button-text.p-button-plain button:enabled:hover {1861 .p-button.p-button-text.p-button-plain:enabled:hover, .p-button.p-button-text.p-button-plain:not(button):not(a):not(.p-disabled):hover { 1974 1862 background: #e9ecef; 1975 1863 color: #6c757d; 1976 1864 } 1977 .p-button.p-button-text.p-button-plainbutton:enabled:active { 1978 background: #dee2e6; 1979 color: #6c757d; 1980 } 1981 .p-button.p-button-text.p-button-plain:not(button):not(.p-disabled):hover { 1982 background: #e9ecef; 1983 color: #6c757d; 1984 } 1985 .p-button.p-button-text.p-button-plain:not(button):not(.p-disabled):active { 1986 background: #dee2e6; 1987 color: #6c757d; 1988 } 1989 .p-button.p-button-text.p-button-plaina:enabled:hover { 1990 background: #e9ecef; 1991 color: #6c757d; 1992 } 1993 .p-button.p-button-text.p-button-plaina:enabled:active { 1994 background: #dee2e6; 1995 color: #6c757d; 1996 } 1997 .p-button.p-button-text.p-button-plain:not(a):not(.p-disabled):hover { 1998 background: #e9ecef; 1999 color: #6c757d; 2000 } 2001 .p-button.p-button-text.p-button-plain:not(a):not(.p-disabled):active { 1865 .p-button.p-button-text.p-button-plain:enabled:active, .p-button.p-button-text.p-button-plain:not(button):not(a):not(.p-disabled):active { 2002 1866 background: #dee2e6; 2003 1867 color: #6c757d; … … 2094 1958 border: 1px solid #607D8B; 2095 1959 } 2096 .p-button.p-button-secondary button:enabled:hover, .p-buttonset.p-button-secondary > .p-buttonbutton:enabled:hover, .p-splitbutton.p-button-secondary > .p-buttonbutton:enabled:hover, .p-fileupload-choose.p-button-secondarybutton:enabled:hover {1960 .p-button.p-button-secondary:enabled:hover, .p-button.p-button-secondary:not(button):not(a):not(.p-disabled):hover, .p-buttonset.p-button-secondary > .p-button:enabled:hover, .p-buttonset.p-button-secondary > .p-button:not(button):not(a):not(.p-disabled):hover, .p-splitbutton.p-button-secondary > .p-button:enabled:hover, .p-splitbutton.p-button-secondary > .p-button:not(button):not(a):not(.p-disabled):hover, .p-fileupload-choose.p-button-secondary:enabled:hover, .p-fileupload-choose.p-button-secondary:not(button):not(a):not(.p-disabled):hover { 2097 1961 background: #56717d; 2098 1962 color: #ffffff; 2099 1963 border-color: #56717d; 2100 1964 } 2101 .p-button.p-button-secondary button:enabled:focus, .p-buttonset.p-button-secondary > .p-buttonbutton:enabled:focus, .p-splitbutton.p-button-secondary > .p-buttonbutton:enabled:focus, .p-fileupload-choose.p-button-secondarybutton:enabled:focus {1965 .p-button.p-button-secondary:enabled:focus, .p-button.p-button-secondary:not(button):not(a):not(.p-disabled):focus, .p-buttonset.p-button-secondary > .p-button:enabled:focus, .p-buttonset.p-button-secondary > .p-button:not(button):not(a):not(.p-disabled):focus, .p-splitbutton.p-button-secondary > .p-button:enabled:focus, .p-splitbutton.p-button-secondary > .p-button:not(button):not(a):not(.p-disabled):focus, .p-fileupload-choose.p-button-secondary:enabled:focus, .p-fileupload-choose.p-button-secondary:not(button):not(a):not(.p-disabled):focus { 2102 1966 box-shadow: 0 0 0 0.2rem #beccd2; 2103 1967 } 2104 .p-button.p-button-secondarybutton:enabled:active, .p-buttonset.p-button-secondary > .p-buttonbutton:enabled:active, .p-splitbutton.p-button-secondary > .p-buttonbutton:enabled:active, .p-fileupload-choose.p-button-secondarybutton:enabled:active { 2105 background: #4d646f; 2106 color: #ffffff; 2107 border-color: #4d646f; 2108 } 2109 .p-button.p-button-secondary:not(button):not(.p-disabled):hover, .p-buttonset.p-button-secondary > .p-button:not(button):not(.p-disabled):hover, .p-splitbutton.p-button-secondary > .p-button:not(button):not(.p-disabled):hover, .p-fileupload-choose.p-button-secondary:not(button):not(.p-disabled):hover { 2110 background: #56717d; 2111 color: #ffffff; 2112 border-color: #56717d; 2113 } 2114 .p-button.p-button-secondary:not(button):not(.p-disabled):focus, .p-buttonset.p-button-secondary > .p-button:not(button):not(.p-disabled):focus, .p-splitbutton.p-button-secondary > .p-button:not(button):not(.p-disabled):focus, .p-fileupload-choose.p-button-secondary:not(button):not(.p-disabled):focus { 2115 box-shadow: 0 0 0 0.2rem #beccd2; 2116 } 2117 .p-button.p-button-secondary:not(button):not(.p-disabled):active, .p-buttonset.p-button-secondary > .p-button:not(button):not(.p-disabled):active, .p-splitbutton.p-button-secondary > .p-button:not(button):not(.p-disabled):active, .p-fileupload-choose.p-button-secondary:not(button):not(.p-disabled):active { 2118 background: #4d646f; 2119 color: #ffffff; 2120 border-color: #4d646f; 2121 } 2122 .p-button.p-button-secondarya:enabled:hover, .p-buttonset.p-button-secondary > .p-buttona:enabled:hover, .p-splitbutton.p-button-secondary > .p-buttona:enabled:hover, .p-fileupload-choose.p-button-secondarya:enabled:hover { 2123 background: #56717d; 2124 color: #ffffff; 2125 border-color: #56717d; 2126 } 2127 .p-button.p-button-secondarya:enabled:focus, .p-buttonset.p-button-secondary > .p-buttona:enabled:focus, .p-splitbutton.p-button-secondary > .p-buttona:enabled:focus, .p-fileupload-choose.p-button-secondarya:enabled:focus { 2128 box-shadow: 0 0 0 0.2rem #beccd2; 2129 } 2130 .p-button.p-button-secondarya:enabled:active, .p-buttonset.p-button-secondary > .p-buttona:enabled:active, .p-splitbutton.p-button-secondary > .p-buttona:enabled:active, .p-fileupload-choose.p-button-secondarya:enabled:active { 2131 background: #4d646f; 2132 color: #ffffff; 2133 border-color: #4d646f; 2134 } 2135 .p-button.p-button-secondary:not(a):not(.p-disabled):hover, .p-buttonset.p-button-secondary > .p-button:not(a):not(.p-disabled):hover, .p-splitbutton.p-button-secondary > .p-button:not(a):not(.p-disabled):hover, .p-fileupload-choose.p-button-secondary:not(a):not(.p-disabled):hover { 2136 background: #56717d; 2137 color: #ffffff; 2138 border-color: #56717d; 2139 } 2140 .p-button.p-button-secondary:not(a):not(.p-disabled):focus, .p-buttonset.p-button-secondary > .p-button:not(a):not(.p-disabled):focus, .p-splitbutton.p-button-secondary > .p-button:not(a):not(.p-disabled):focus, .p-fileupload-choose.p-button-secondary:not(a):not(.p-disabled):focus { 2141 box-shadow: 0 0 0 0.2rem #beccd2; 2142 } 2143 .p-button.p-button-secondary:not(a):not(.p-disabled):active, .p-buttonset.p-button-secondary > .p-button:not(a):not(.p-disabled):active, .p-splitbutton.p-button-secondary > .p-button:not(a):not(.p-disabled):active, .p-fileupload-choose.p-button-secondary:not(a):not(.p-disabled):active { 1968 .p-button.p-button-secondary:enabled:active, .p-button.p-button-secondary:not(button):not(a):not(.p-disabled):active, .p-buttonset.p-button-secondary > .p-button:enabled:active, .p-buttonset.p-button-secondary > .p-button:not(button):not(a):not(.p-disabled):active, .p-splitbutton.p-button-secondary > .p-button:enabled:active, .p-splitbutton.p-button-secondary > .p-button:not(button):not(a):not(.p-disabled):active, .p-fileupload-choose.p-button-secondary:enabled:active, .p-fileupload-choose.p-button-secondary:not(button):not(a):not(.p-disabled):active { 2144 1969 background: #4d646f; 2145 1970 color: #ffffff; … … 2151 1976 border: 1px solid; 2152 1977 } 2153 .p-button.p-button-secondary.p-button-outlined button:enabled:hover, .p-buttonset.p-button-secondary > .p-button.p-button-outlinedbutton:enabled:hover, .p-splitbutton.p-button-secondary > .p-button.p-button-outlinedbutton:enabled:hover, .p-fileupload-choose.p-button-secondary.p-button-outlinedbutton:enabled:hover {1978 .p-button.p-button-secondary.p-button-outlined:enabled:hover, .p-button.p-button-secondary.p-button-outlined:not(button):not(a):not(.p-disabled):hover, .p-buttonset.p-button-secondary > .p-button.p-button-outlined:enabled:hover, .p-buttonset.p-button-secondary > .p-button.p-button-outlined:not(button):not(a):not(.p-disabled):hover, .p-splitbutton.p-button-secondary > .p-button.p-button-outlined:enabled:hover, .p-splitbutton.p-button-secondary > .p-button.p-button-outlined:not(button):not(a):not(.p-disabled):hover, .p-fileupload-choose.p-button-secondary.p-button-outlined:enabled:hover, .p-fileupload-choose.p-button-secondary.p-button-outlined:not(button):not(a):not(.p-disabled):hover { 2154 1979 background: rgba(96, 125, 139, 0.04); 2155 1980 color: #607D8B; 2156 1981 border: 1px solid; 2157 1982 } 2158 .p-button.p-button-secondary.p-button-outlinedbutton:enabled:active, .p-buttonset.p-button-secondary > .p-button.p-button-outlinedbutton:enabled:active, .p-splitbutton.p-button-secondary > .p-button.p-button-outlinedbutton:enabled:active, .p-fileupload-choose.p-button-secondary.p-button-outlinedbutton:enabled:active { 2159 background: rgba(96, 125, 139, 0.16); 2160 color: #607D8B; 2161 border: 1px solid; 2162 } 2163 .p-button.p-button-secondary.p-button-outlined:not(button):not(.p-disabled):hover, .p-buttonset.p-button-secondary > .p-button.p-button-outlined:not(button):not(.p-disabled):hover, .p-splitbutton.p-button-secondary > .p-button.p-button-outlined:not(button):not(.p-disabled):hover, .p-fileupload-choose.p-button-secondary.p-button-outlined:not(button):not(.p-disabled):hover { 2164 background: rgba(96, 125, 139, 0.04); 2165 color: #607D8B; 2166 border: 1px solid; 2167 } 2168 .p-button.p-button-secondary.p-button-outlined:not(button):not(.p-disabled):active, .p-buttonset.p-button-secondary > .p-button.p-button-outlined:not(button):not(.p-disabled):active, .p-splitbutton.p-button-secondary > .p-button.p-button-outlined:not(button):not(.p-disabled):active, .p-fileupload-choose.p-button-secondary.p-button-outlined:not(button):not(.p-disabled):active { 2169 background: rgba(96, 125, 139, 0.16); 2170 color: #607D8B; 2171 border: 1px solid; 2172 } 2173 .p-button.p-button-secondary.p-button-outlineda:enabled:hover, .p-buttonset.p-button-secondary > .p-button.p-button-outlineda:enabled:hover, .p-splitbutton.p-button-secondary > .p-button.p-button-outlineda:enabled:hover, .p-fileupload-choose.p-button-secondary.p-button-outlineda:enabled:hover { 2174 background: rgba(96, 125, 139, 0.04); 2175 color: #607D8B; 2176 border: 1px solid; 2177 } 2178 .p-button.p-button-secondary.p-button-outlineda:enabled:active, .p-buttonset.p-button-secondary > .p-button.p-button-outlineda:enabled:active, .p-splitbutton.p-button-secondary > .p-button.p-button-outlineda:enabled:active, .p-fileupload-choose.p-button-secondary.p-button-outlineda:enabled:active { 2179 background: rgba(96, 125, 139, 0.16); 2180 color: #607D8B; 2181 border: 1px solid; 2182 } 2183 .p-button.p-button-secondary.p-button-outlined:not(a):not(.p-disabled):hover, .p-buttonset.p-button-secondary > .p-button.p-button-outlined:not(a):not(.p-disabled):hover, .p-splitbutton.p-button-secondary > .p-button.p-button-outlined:not(a):not(.p-disabled):hover, .p-fileupload-choose.p-button-secondary.p-button-outlined:not(a):not(.p-disabled):hover { 2184 background: rgba(96, 125, 139, 0.04); 2185 color: #607D8B; 2186 border: 1px solid; 2187 } 2188 .p-button.p-button-secondary.p-button-outlined:not(a):not(.p-disabled):active, .p-buttonset.p-button-secondary > .p-button.p-button-outlined:not(a):not(.p-disabled):active, .p-splitbutton.p-button-secondary > .p-button.p-button-outlined:not(a):not(.p-disabled):active, .p-fileupload-choose.p-button-secondary.p-button-outlined:not(a):not(.p-disabled):active { 1983 .p-button.p-button-secondary.p-button-outlined:enabled:active, .p-button.p-button-secondary.p-button-outlined:not(button):not(a):not(.p-disabled):active, .p-buttonset.p-button-secondary > .p-button.p-button-outlined:enabled:active, .p-buttonset.p-button-secondary > .p-button.p-button-outlined:not(button):not(a):not(.p-disabled):active, .p-splitbutton.p-button-secondary > .p-button.p-button-outlined:enabled:active, .p-splitbutton.p-button-secondary > .p-button.p-button-outlined:not(button):not(a):not(.p-disabled):active, .p-fileupload-choose.p-button-secondary.p-button-outlined:enabled:active, .p-fileupload-choose.p-button-secondary.p-button-outlined:not(button):not(a):not(.p-disabled):active { 2189 1984 background: rgba(96, 125, 139, 0.16); 2190 1985 color: #607D8B; … … 2196 1991 border-color: transparent; 2197 1992 } 2198 .p-button.p-button-secondary.p-button-text button:enabled:hover, .p-buttonset.p-button-secondary > .p-button.p-button-textbutton:enabled:hover, .p-splitbutton.p-button-secondary > .p-button.p-button-textbutton:enabled:hover, .p-fileupload-choose.p-button-secondary.p-button-textbutton:enabled:hover {1993 .p-button.p-button-secondary.p-button-text:enabled:hover, .p-button.p-button-secondary.p-button-text:not(button):not(a):not(.p-disabled):hover, .p-buttonset.p-button-secondary > .p-button.p-button-text:enabled:hover, .p-buttonset.p-button-secondary > .p-button.p-button-text:not(button):not(a):not(.p-disabled):hover, .p-splitbutton.p-button-secondary > .p-button.p-button-text:enabled:hover, .p-splitbutton.p-button-secondary > .p-button.p-button-text:not(button):not(a):not(.p-disabled):hover, .p-fileupload-choose.p-button-secondary.p-button-text:enabled:hover, .p-fileupload-choose.p-button-secondary.p-button-text:not(button):not(a):not(.p-disabled):hover { 2199 1994 background: rgba(96, 125, 139, 0.04); 2200 1995 border-color: transparent; 2201 1996 color: #607D8B; 2202 1997 } 2203 .p-button.p-button-secondary.p-button-textbutton:enabled:active, .p-buttonset.p-button-secondary > .p-button.p-button-textbutton:enabled:active, .p-splitbutton.p-button-secondary > .p-button.p-button-textbutton:enabled:active, .p-fileupload-choose.p-button-secondary.p-button-textbutton:enabled:active { 2204 background: rgba(96, 125, 139, 0.16); 2205 border-color: transparent; 2206 color: #607D8B; 2207 } 2208 .p-button.p-button-secondary.p-button-text:not(button):not(.p-disabled):hover, .p-buttonset.p-button-secondary > .p-button.p-button-text:not(button):not(.p-disabled):hover, .p-splitbutton.p-button-secondary > .p-button.p-button-text:not(button):not(.p-disabled):hover, .p-fileupload-choose.p-button-secondary.p-button-text:not(button):not(.p-disabled):hover { 2209 background: rgba(96, 125, 139, 0.04); 2210 border-color: transparent; 2211 color: #607D8B; 2212 } 2213 .p-button.p-button-secondary.p-button-text:not(button):not(.p-disabled):active, .p-buttonset.p-button-secondary > .p-button.p-button-text:not(button):not(.p-disabled):active, .p-splitbutton.p-button-secondary > .p-button.p-button-text:not(button):not(.p-disabled):active, .p-fileupload-choose.p-button-secondary.p-button-text:not(button):not(.p-disabled):active { 2214 background: rgba(96, 125, 139, 0.16); 2215 border-color: transparent; 2216 color: #607D8B; 2217 } 2218 .p-button.p-button-secondary.p-button-texta:enabled:hover, .p-buttonset.p-button-secondary > .p-button.p-button-texta:enabled:hover, .p-splitbutton.p-button-secondary > .p-button.p-button-texta:enabled:hover, .p-fileupload-choose.p-button-secondary.p-button-texta:enabled:hover { 2219 background: rgba(96, 125, 139, 0.04); 2220 border-color: transparent; 2221 color: #607D8B; 2222 } 2223 .p-button.p-button-secondary.p-button-texta:enabled:active, .p-buttonset.p-button-secondary > .p-button.p-button-texta:enabled:active, .p-splitbutton.p-button-secondary > .p-button.p-button-texta:enabled:active, .p-fileupload-choose.p-button-secondary.p-button-texta:enabled:active { 2224 background: rgba(96, 125, 139, 0.16); 2225 border-color: transparent; 2226 color: #607D8B; 2227 } 2228 .p-button.p-button-secondary.p-button-text:not(a):not(.p-disabled):hover, .p-buttonset.p-button-secondary > .p-button.p-button-text:not(a):not(.p-disabled):hover, .p-splitbutton.p-button-secondary > .p-button.p-button-text:not(a):not(.p-disabled):hover, .p-fileupload-choose.p-button-secondary.p-button-text:not(a):not(.p-disabled):hover { 2229 background: rgba(96, 125, 139, 0.04); 2230 border-color: transparent; 2231 color: #607D8B; 2232 } 2233 .p-button.p-button-secondary.p-button-text:not(a):not(.p-disabled):active, .p-buttonset.p-button-secondary > .p-button.p-button-text:not(a):not(.p-disabled):active, .p-splitbutton.p-button-secondary > .p-button.p-button-text:not(a):not(.p-disabled):active, .p-fileupload-choose.p-button-secondary.p-button-text:not(a):not(.p-disabled):active { 1998 .p-button.p-button-secondary.p-button-text:enabled:active, .p-button.p-button-secondary.p-button-text:not(button):not(a):not(.p-disabled):active, .p-buttonset.p-button-secondary > .p-button.p-button-text:enabled:active, .p-buttonset.p-button-secondary > .p-button.p-button-text:not(button):not(a):not(.p-disabled):active, .p-splitbutton.p-button-secondary > .p-button.p-button-text:enabled:active, .p-splitbutton.p-button-secondary > .p-button.p-button-text:not(button):not(a):not(.p-disabled):active, .p-fileupload-choose.p-button-secondary.p-button-text:enabled:active, .p-fileupload-choose.p-button-secondary.p-button-text:not(button):not(a):not(.p-disabled):active { 2234 1999 background: rgba(96, 125, 139, 0.16); 2235 2000 border-color: transparent; … … 2242 2007 border: 1px solid #0288D1; 2243 2008 } 2244 .p-button.p-button-info button:enabled:hover, .p-buttonset.p-button-info > .p-buttonbutton:enabled:hover, .p-splitbutton.p-button-info > .p-buttonbutton:enabled:hover, .p-fileupload-choose.p-button-infobutton:enabled:hover {2009 .p-button.p-button-info:enabled:hover, .p-button.p-button-info:not(button):not(a):not(.p-disabled):hover, .p-buttonset.p-button-info > .p-button:enabled:hover, .p-buttonset.p-button-info > .p-button:not(button):not(a):not(.p-disabled):hover, .p-splitbutton.p-button-info > .p-button:enabled:hover, .p-splitbutton.p-button-info > .p-button:not(button):not(a):not(.p-disabled):hover, .p-fileupload-choose.p-button-info:enabled:hover, .p-fileupload-choose.p-button-info:not(button):not(a):not(.p-disabled):hover { 2245 2010 background: #027abc; 2246 2011 color: #ffffff; 2247 2012 border-color: #027abc; 2248 2013 } 2249 .p-button.p-button-info button:enabled:focus, .p-buttonset.p-button-info > .p-buttonbutton:enabled:focus, .p-splitbutton.p-button-info > .p-buttonbutton:enabled:focus, .p-fileupload-choose.p-button-infobutton:enabled:focus {2014 .p-button.p-button-info:enabled:focus, .p-button.p-button-info:not(button):not(a):not(.p-disabled):focus, .p-buttonset.p-button-info > .p-button:enabled:focus, .p-buttonset.p-button-info > .p-button:not(button):not(a):not(.p-disabled):focus, .p-splitbutton.p-button-info > .p-button:enabled:focus, .p-splitbutton.p-button-info > .p-button:not(button):not(a):not(.p-disabled):focus, .p-fileupload-choose.p-button-info:enabled:focus, .p-fileupload-choose.p-button-info:not(button):not(a):not(.p-disabled):focus { 2250 2015 box-shadow: 0 0 0 0.2rem #89d4fe; 2251 2016 } 2252 .p-button.p-button-infobutton:enabled:active, .p-buttonset.p-button-info > .p-buttonbutton:enabled:active, .p-splitbutton.p-button-info > .p-buttonbutton:enabled:active, .p-fileupload-choose.p-button-infobutton:enabled:active { 2253 background: #026da7; 2254 color: #ffffff; 2255 border-color: #026da7; 2256 } 2257 .p-button.p-button-info:not(button):not(.p-disabled):hover, .p-buttonset.p-button-info > .p-button:not(button):not(.p-disabled):hover, .p-splitbutton.p-button-info > .p-button:not(button):not(.p-disabled):hover, .p-fileupload-choose.p-button-info:not(button):not(.p-disabled):hover { 2258 background: #027abc; 2259 color: #ffffff; 2260 border-color: #027abc; 2261 } 2262 .p-button.p-button-info:not(button):not(.p-disabled):focus, .p-buttonset.p-button-info > .p-button:not(button):not(.p-disabled):focus, .p-splitbutton.p-button-info > .p-button:not(button):not(.p-disabled):focus, .p-fileupload-choose.p-button-info:not(button):not(.p-disabled):focus { 2263 box-shadow: 0 0 0 0.2rem #89d4fe; 2264 } 2265 .p-button.p-button-info:not(button):not(.p-disabled):active, .p-buttonset.p-button-info > .p-button:not(button):not(.p-disabled):active, .p-splitbutton.p-button-info > .p-button:not(button):not(.p-disabled):active, .p-fileupload-choose.p-button-info:not(button):not(.p-disabled):active { 2266 background: #026da7; 2267 color: #ffffff; 2268 border-color: #026da7; 2269 } 2270 .p-button.p-button-infoa:enabled:hover, .p-buttonset.p-button-info > .p-buttona:enabled:hover, .p-splitbutton.p-button-info > .p-buttona:enabled:hover, .p-fileupload-choose.p-button-infoa:enabled:hover { 2271 background: #027abc; 2272 color: #ffffff; 2273 border-color: #027abc; 2274 } 2275 .p-button.p-button-infoa:enabled:focus, .p-buttonset.p-button-info > .p-buttona:enabled:focus, .p-splitbutton.p-button-info > .p-buttona:enabled:focus, .p-fileupload-choose.p-button-infoa:enabled:focus { 2276 box-shadow: 0 0 0 0.2rem #89d4fe; 2277 } 2278 .p-button.p-button-infoa:enabled:active, .p-buttonset.p-button-info > .p-buttona:enabled:active, .p-splitbutton.p-button-info > .p-buttona:enabled:active, .p-fileupload-choose.p-button-infoa:enabled:active { 2279 background: #026da7; 2280 color: #ffffff; 2281 border-color: #026da7; 2282 } 2283 .p-button.p-button-info:not(a):not(.p-disabled):hover, .p-buttonset.p-button-info > .p-button:not(a):not(.p-disabled):hover, .p-splitbutton.p-button-info > .p-button:not(a):not(.p-disabled):hover, .p-fileupload-choose.p-button-info:not(a):not(.p-disabled):hover { 2284 background: #027abc; 2285 color: #ffffff; 2286 border-color: #027abc; 2287 } 2288 .p-button.p-button-info:not(a):not(.p-disabled):focus, .p-buttonset.p-button-info > .p-button:not(a):not(.p-disabled):focus, .p-splitbutton.p-button-info > .p-button:not(a):not(.p-disabled):focus, .p-fileupload-choose.p-button-info:not(a):not(.p-disabled):focus { 2289 box-shadow: 0 0 0 0.2rem #89d4fe; 2290 } 2291 .p-button.p-button-info:not(a):not(.p-disabled):active, .p-buttonset.p-button-info > .p-button:not(a):not(.p-disabled):active, .p-splitbutton.p-button-info > .p-button:not(a):not(.p-disabled):active, .p-fileupload-choose.p-button-info:not(a):not(.p-disabled):active { 2017 .p-button.p-button-info:enabled:active, .p-button.p-button-info:not(button):not(a):not(.p-disabled):active, .p-buttonset.p-button-info > .p-button:enabled:active, .p-buttonset.p-button-info > .p-button:not(button):not(a):not(.p-disabled):active, .p-splitbutton.p-button-info > .p-button:enabled:active, .p-splitbutton.p-button-info > .p-button:not(button):not(a):not(.p-disabled):active, .p-fileupload-choose.p-button-info:enabled:active, .p-fileupload-choose.p-button-info:not(button):not(a):not(.p-disabled):active { 2292 2018 background: #026da7; 2293 2019 color: #ffffff; … … 2299 2025 border: 1px solid; 2300 2026 } 2301 .p-button.p-button-info.p-button-outlined button:enabled:hover, .p-buttonset.p-button-info > .p-button.p-button-outlinedbutton:enabled:hover, .p-splitbutton.p-button-info > .p-button.p-button-outlinedbutton:enabled:hover, .p-fileupload-choose.p-button-info.p-button-outlinedbutton:enabled:hover {2027 .p-button.p-button-info.p-button-outlined:enabled:hover, .p-button.p-button-info.p-button-outlined:not(button):not(a):not(.p-disabled):hover, .p-buttonset.p-button-info > .p-button.p-button-outlined:enabled:hover, .p-buttonset.p-button-info > .p-button.p-button-outlined:not(button):not(a):not(.p-disabled):hover, .p-splitbutton.p-button-info > .p-button.p-button-outlined:enabled:hover, .p-splitbutton.p-button-info > .p-button.p-button-outlined:not(button):not(a):not(.p-disabled):hover, .p-fileupload-choose.p-button-info.p-button-outlined:enabled:hover, .p-fileupload-choose.p-button-info.p-button-outlined:not(button):not(a):not(.p-disabled):hover { 2302 2028 background: rgba(2, 136, 209, 0.04); 2303 2029 color: #0288D1; 2304 2030 border: 1px solid; 2305 2031 } 2306 .p-button.p-button-info.p-button-outlinedbutton:enabled:active, .p-buttonset.p-button-info > .p-button.p-button-outlinedbutton:enabled:active, .p-splitbutton.p-button-info > .p-button.p-button-outlinedbutton:enabled:active, .p-fileupload-choose.p-button-info.p-button-outlinedbutton:enabled:active { 2307 background: rgba(2, 136, 209, 0.16); 2308 color: #0288D1; 2309 border: 1px solid; 2310 } 2311 .p-button.p-button-info.p-button-outlined:not(button):not(.p-disabled):hover, .p-buttonset.p-button-info > .p-button.p-button-outlined:not(button):not(.p-disabled):hover, .p-splitbutton.p-button-info > .p-button.p-button-outlined:not(button):not(.p-disabled):hover, .p-fileupload-choose.p-button-info.p-button-outlined:not(button):not(.p-disabled):hover { 2312 background: rgba(2, 136, 209, 0.04); 2313 color: #0288D1; 2314 border: 1px solid; 2315 } 2316 .p-button.p-button-info.p-button-outlined:not(button):not(.p-disabled):active, .p-buttonset.p-button-info > .p-button.p-button-outlined:not(button):not(.p-disabled):active, .p-splitbutton.p-button-info > .p-button.p-button-outlined:not(button):not(.p-disabled):active, .p-fileupload-choose.p-button-info.p-button-outlined:not(button):not(.p-disabled):active { 2317 background: rgba(2, 136, 209, 0.16); 2318 color: #0288D1; 2319 border: 1px solid; 2320 } 2321 .p-button.p-button-info.p-button-outlineda:enabled:hover, .p-buttonset.p-button-info > .p-button.p-button-outlineda:enabled:hover, .p-splitbutton.p-button-info > .p-button.p-button-outlineda:enabled:hover, .p-fileupload-choose.p-button-info.p-button-outlineda:enabled:hover { 2322 background: rgba(2, 136, 209, 0.04); 2323 color: #0288D1; 2324 border: 1px solid; 2325 } 2326 .p-button.p-button-info.p-button-outlineda:enabled:active, .p-buttonset.p-button-info > .p-button.p-button-outlineda:enabled:active, .p-splitbutton.p-button-info > .p-button.p-button-outlineda:enabled:active, .p-fileupload-choose.p-button-info.p-button-outlineda:enabled:active { 2327 background: rgba(2, 136, 209, 0.16); 2328 color: #0288D1; 2329 border: 1px solid; 2330 } 2331 .p-button.p-button-info.p-button-outlined:not(a):not(.p-disabled):hover, .p-buttonset.p-button-info > .p-button.p-button-outlined:not(a):not(.p-disabled):hover, .p-splitbutton.p-button-info > .p-button.p-button-outlined:not(a):not(.p-disabled):hover, .p-fileupload-choose.p-button-info.p-button-outlined:not(a):not(.p-disabled):hover { 2332 background: rgba(2, 136, 209, 0.04); 2333 color: #0288D1; 2334 border: 1px solid; 2335 } 2336 .p-button.p-button-info.p-button-outlined:not(a):not(.p-disabled):active, .p-buttonset.p-button-info > .p-button.p-button-outlined:not(a):not(.p-disabled):active, .p-splitbutton.p-button-info > .p-button.p-button-outlined:not(a):not(.p-disabled):active, .p-fileupload-choose.p-button-info.p-button-outlined:not(a):not(.p-disabled):active { 2032 .p-button.p-button-info.p-button-outlined:enabled:active, .p-button.p-button-info.p-button-outlined:not(button):not(a):not(.p-disabled):active, .p-buttonset.p-button-info > .p-button.p-button-outlined:enabled:active, .p-buttonset.p-button-info > .p-button.p-button-outlined:not(button):not(a):not(.p-disabled):active, .p-splitbutton.p-button-info > .p-button.p-button-outlined:enabled:active, .p-splitbutton.p-button-info > .p-button.p-button-outlined:not(button):not(a):not(.p-disabled):active, .p-fileupload-choose.p-button-info.p-button-outlined:enabled:active, .p-fileupload-choose.p-button-info.p-button-outlined:not(button):not(a):not(.p-disabled):active { 2337 2033 background: rgba(2, 136, 209, 0.16); 2338 2034 color: #0288D1; … … 2344 2040 border-color: transparent; 2345 2041 } 2346 .p-button.p-button-info.p-button-text button:enabled:hover, .p-buttonset.p-button-info > .p-button.p-button-textbutton:enabled:hover, .p-splitbutton.p-button-info > .p-button.p-button-textbutton:enabled:hover, .p-fileupload-choose.p-button-info.p-button-textbutton:enabled:hover {2042 .p-button.p-button-info.p-button-text:enabled:hover, .p-button.p-button-info.p-button-text:not(button):not(a):not(.p-disabled):hover, .p-buttonset.p-button-info > .p-button.p-button-text:enabled:hover, .p-buttonset.p-button-info > .p-button.p-button-text:not(button):not(a):not(.p-disabled):hover, .p-splitbutton.p-button-info > .p-button.p-button-text:enabled:hover, .p-splitbutton.p-button-info > .p-button.p-button-text:not(button):not(a):not(.p-disabled):hover, .p-fileupload-choose.p-button-info.p-button-text:enabled:hover, .p-fileupload-choose.p-button-info.p-button-text:not(button):not(a):not(.p-disabled):hover { 2347 2043 background: rgba(2, 136, 209, 0.04); 2348 2044 border-color: transparent; 2349 2045 color: #0288D1; 2350 2046 } 2351 .p-button.p-button-info.p-button-textbutton:enabled:active, .p-buttonset.p-button-info > .p-button.p-button-textbutton:enabled:active, .p-splitbutton.p-button-info > .p-button.p-button-textbutton:enabled:active, .p-fileupload-choose.p-button-info.p-button-textbutton:enabled:active { 2352 background: rgba(2, 136, 209, 0.16); 2353 border-color: transparent; 2354 color: #0288D1; 2355 } 2356 .p-button.p-button-info.p-button-text:not(button):not(.p-disabled):hover, .p-buttonset.p-button-info > .p-button.p-button-text:not(button):not(.p-disabled):hover, .p-splitbutton.p-button-info > .p-button.p-button-text:not(button):not(.p-disabled):hover, .p-fileupload-choose.p-button-info.p-button-text:not(button):not(.p-disabled):hover { 2357 background: rgba(2, 136, 209, 0.04); 2358 border-color: transparent; 2359 color: #0288D1; 2360 } 2361 .p-button.p-button-info.p-button-text:not(button):not(.p-disabled):active, .p-buttonset.p-button-info > .p-button.p-button-text:not(button):not(.p-disabled):active, .p-splitbutton.p-button-info > .p-button.p-button-text:not(button):not(.p-disabled):active, .p-fileupload-choose.p-button-info.p-button-text:not(button):not(.p-disabled):active { 2362 background: rgba(2, 136, 209, 0.16); 2363 border-color: transparent; 2364 color: #0288D1; 2365 } 2366 .p-button.p-button-info.p-button-texta:enabled:hover, .p-buttonset.p-button-info > .p-button.p-button-texta:enabled:hover, .p-splitbutton.p-button-info > .p-button.p-button-texta:enabled:hover, .p-fileupload-choose.p-button-info.p-button-texta:enabled:hover { 2367 background: rgba(2, 136, 209, 0.04); 2368 border-color: transparent; 2369 color: #0288D1; 2370 } 2371 .p-button.p-button-info.p-button-texta:enabled:active, .p-buttonset.p-button-info > .p-button.p-button-texta:enabled:active, .p-splitbutton.p-button-info > .p-button.p-button-texta:enabled:active, .p-fileupload-choose.p-button-info.p-button-texta:enabled:active { 2372 background: rgba(2, 136, 209, 0.16); 2373 border-color: transparent; 2374 color: #0288D1; 2375 } 2376 .p-button.p-button-info.p-button-text:not(a):not(.p-disabled):hover, .p-buttonset.p-button-info > .p-button.p-button-text:not(a):not(.p-disabled):hover, .p-splitbutton.p-button-info > .p-button.p-button-text:not(a):not(.p-disabled):hover, .p-fileupload-choose.p-button-info.p-button-text:not(a):not(.p-disabled):hover { 2377 background: rgba(2, 136, 209, 0.04); 2378 border-color: transparent; 2379 color: #0288D1; 2380 } 2381 .p-button.p-button-info.p-button-text:not(a):not(.p-disabled):active, .p-buttonset.p-button-info > .p-button.p-button-text:not(a):not(.p-disabled):active, .p-splitbutton.p-button-info > .p-button.p-button-text:not(a):not(.p-disabled):active, .p-fileupload-choose.p-button-info.p-button-text:not(a):not(.p-disabled):active { 2047 .p-button.p-button-info.p-button-text:enabled:active, .p-button.p-button-info.p-button-text:not(button):not(a):not(.p-disabled):active, .p-buttonset.p-button-info > .p-button.p-button-text:enabled:active, .p-buttonset.p-button-info > .p-button.p-button-text:not(button):not(a):not(.p-disabled):active, .p-splitbutton.p-button-info > .p-button.p-button-text:enabled:active, .p-splitbutton.p-button-info > .p-button.p-button-text:not(button):not(a):not(.p-disabled):active, .p-fileupload-choose.p-button-info.p-button-text:enabled:active, .p-fileupload-choose.p-button-info.p-button-text:not(button):not(a):not(.p-disabled):active { 2382 2048 background: rgba(2, 136, 209, 0.16); 2383 2049 border-color: transparent; … … 2390 2056 border: 1px solid #689F38; 2391 2057 } 2392 .p-button.p-button-success button:enabled:hover, .p-buttonset.p-button-success > .p-buttonbutton:enabled:hover, .p-splitbutton.p-button-success > .p-buttonbutton:enabled:hover, .p-fileupload-choose.p-button-successbutton:enabled:hover {2058 .p-button.p-button-success:enabled:hover, .p-button.p-button-success:not(button):not(a):not(.p-disabled):hover, .p-buttonset.p-button-success > .p-button:enabled:hover, .p-buttonset.p-button-success > .p-button:not(button):not(a):not(.p-disabled):hover, .p-splitbutton.p-button-success > .p-button:enabled:hover, .p-splitbutton.p-button-success > .p-button:not(button):not(a):not(.p-disabled):hover, .p-fileupload-choose.p-button-success:enabled:hover, .p-fileupload-choose.p-button-success:not(button):not(a):not(.p-disabled):hover { 2393 2059 background: #5e8f32; 2394 2060 color: #ffffff; 2395 2061 border-color: #5e8f32; 2396 2062 } 2397 .p-button.p-button-success button:enabled:focus, .p-buttonset.p-button-success > .p-buttonbutton:enabled:focus, .p-splitbutton.p-button-success > .p-buttonbutton:enabled:focus, .p-fileupload-choose.p-button-successbutton:enabled:focus {2063 .p-button.p-button-success:enabled:focus, .p-button.p-button-success:not(button):not(a):not(.p-disabled):focus, .p-buttonset.p-button-success > .p-button:enabled:focus, .p-buttonset.p-button-success > .p-button:not(button):not(a):not(.p-disabled):focus, .p-splitbutton.p-button-success > .p-button:enabled:focus, .p-splitbutton.p-button-success > .p-button:not(button):not(a):not(.p-disabled):focus, .p-fileupload-choose.p-button-success:enabled:focus, .p-fileupload-choose.p-button-success:not(button):not(a):not(.p-disabled):focus { 2398 2064 box-shadow: 0 0 0 0.2rem #c2e0a8; 2399 2065 } 2400 .p-button.p-button-successbutton:enabled:active, .p-buttonset.p-button-success > .p-buttonbutton:enabled:active, .p-splitbutton.p-button-success > .p-buttonbutton:enabled:active, .p-fileupload-choose.p-button-successbutton:enabled:active { 2401 background: #537f2d; 2402 color: #ffffff; 2403 border-color: #537f2d; 2404 } 2405 .p-button.p-button-success:not(button):not(.p-disabled):hover, .p-buttonset.p-button-success > .p-button:not(button):not(.p-disabled):hover, .p-splitbutton.p-button-success > .p-button:not(button):not(.p-disabled):hover, .p-fileupload-choose.p-button-success:not(button):not(.p-disabled):hover { 2406 background: #5e8f32; 2407 color: #ffffff; 2408 border-color: #5e8f32; 2409 } 2410 .p-button.p-button-success:not(button):not(.p-disabled):focus, .p-buttonset.p-button-success > .p-button:not(button):not(.p-disabled):focus, .p-splitbutton.p-button-success > .p-button:not(button):not(.p-disabled):focus, .p-fileupload-choose.p-button-success:not(button):not(.p-disabled):focus { 2411 box-shadow: 0 0 0 0.2rem #c2e0a8; 2412 } 2413 .p-button.p-button-success:not(button):not(.p-disabled):active, .p-buttonset.p-button-success > .p-button:not(button):not(.p-disabled):active, .p-splitbutton.p-button-success > .p-button:not(button):not(.p-disabled):active, .p-fileupload-choose.p-button-success:not(button):not(.p-disabled):active { 2414 background: #537f2d; 2415 color: #ffffff; 2416 border-color: #537f2d; 2417 } 2418 .p-button.p-button-successa:enabled:hover, .p-buttonset.p-button-success > .p-buttona:enabled:hover, .p-splitbutton.p-button-success > .p-buttona:enabled:hover, .p-fileupload-choose.p-button-successa:enabled:hover { 2419 background: #5e8f32; 2420 color: #ffffff; 2421 border-color: #5e8f32; 2422 } 2423 .p-button.p-button-successa:enabled:focus, .p-buttonset.p-button-success > .p-buttona:enabled:focus, .p-splitbutton.p-button-success > .p-buttona:enabled:focus, .p-fileupload-choose.p-button-successa:enabled:focus { 2424 box-shadow: 0 0 0 0.2rem #c2e0a8; 2425 } 2426 .p-button.p-button-successa:enabled:active, .p-buttonset.p-button-success > .p-buttona:enabled:active, .p-splitbutton.p-button-success > .p-buttona:enabled:active, .p-fileupload-choose.p-button-successa:enabled:active { 2427 background: #537f2d; 2428 color: #ffffff; 2429 border-color: #537f2d; 2430 } 2431 .p-button.p-button-success:not(a):not(.p-disabled):hover, .p-buttonset.p-button-success > .p-button:not(a):not(.p-disabled):hover, .p-splitbutton.p-button-success > .p-button:not(a):not(.p-disabled):hover, .p-fileupload-choose.p-button-success:not(a):not(.p-disabled):hover { 2432 background: #5e8f32; 2433 color: #ffffff; 2434 border-color: #5e8f32; 2435 } 2436 .p-button.p-button-success:not(a):not(.p-disabled):focus, .p-buttonset.p-button-success > .p-button:not(a):not(.p-disabled):focus, .p-splitbutton.p-button-success > .p-button:not(a):not(.p-disabled):focus, .p-fileupload-choose.p-button-success:not(a):not(.p-disabled):focus { 2437 box-shadow: 0 0 0 0.2rem #c2e0a8; 2438 } 2439 .p-button.p-button-success:not(a):not(.p-disabled):active, .p-buttonset.p-button-success > .p-button:not(a):not(.p-disabled):active, .p-splitbutton.p-button-success > .p-button:not(a):not(.p-disabled):active, .p-fileupload-choose.p-button-success:not(a):not(.p-disabled):active { 2066 .p-button.p-button-success:enabled:active, .p-button.p-button-success:not(button):not(a):not(.p-disabled):active, .p-buttonset.p-button-success > .p-button:enabled:active, .p-buttonset.p-button-success > .p-button:not(button):not(a):not(.p-disabled):active, .p-splitbutton.p-button-success > .p-button:enabled:active, .p-splitbutton.p-button-success > .p-button:not(button):not(a):not(.p-disabled):active, .p-fileupload-choose.p-button-success:enabled:active, .p-fileupload-choose.p-button-success:not(button):not(a):not(.p-disabled):active { 2440 2067 background: #537f2d; 2441 2068 color: #ffffff; … … 2447 2074 border: 1px solid; 2448 2075 } 2449 .p-button.p-button-success.p-button-outlined button:enabled:hover, .p-buttonset.p-button-success > .p-button.p-button-outlinedbutton:enabled:hover, .p-splitbutton.p-button-success > .p-button.p-button-outlinedbutton:enabled:hover, .p-fileupload-choose.p-button-success.p-button-outlinedbutton:enabled:hover {2076 .p-button.p-button-success.p-button-outlined:enabled:hover, .p-button.p-button-success.p-button-outlined:not(button):not(a):not(.p-disabled):hover, .p-buttonset.p-button-success > .p-button.p-button-outlined:enabled:hover, .p-buttonset.p-button-success > .p-button.p-button-outlined:not(button):not(a):not(.p-disabled):hover, .p-splitbutton.p-button-success > .p-button.p-button-outlined:enabled:hover, .p-splitbutton.p-button-success > .p-button.p-button-outlined:not(button):not(a):not(.p-disabled):hover, .p-fileupload-choose.p-button-success.p-button-outlined:enabled:hover, .p-fileupload-choose.p-button-success.p-button-outlined:not(button):not(a):not(.p-disabled):hover { 2450 2077 background: rgba(104, 159, 56, 0.04); 2451 2078 color: #689F38; 2452 2079 border: 1px solid; 2453 2080 } 2454 .p-button.p-button-success.p-button-outlinedbutton:enabled:active, .p-buttonset.p-button-success > .p-button.p-button-outlinedbutton:enabled:active, .p-splitbutton.p-button-success > .p-button.p-button-outlinedbutton:enabled:active, .p-fileupload-choose.p-button-success.p-button-outlinedbutton:enabled:active { 2455 background: rgba(104, 159, 56, 0.16); 2456 color: #689F38; 2457 border: 1px solid; 2458 } 2459 .p-button.p-button-success.p-button-outlined:not(button):not(.p-disabled):hover, .p-buttonset.p-button-success > .p-button.p-button-outlined:not(button):not(.p-disabled):hover, .p-splitbutton.p-button-success > .p-button.p-button-outlined:not(button):not(.p-disabled):hover, .p-fileupload-choose.p-button-success.p-button-outlined:not(button):not(.p-disabled):hover { 2460 background: rgba(104, 159, 56, 0.04); 2461 color: #689F38; 2462 border: 1px solid; 2463 } 2464 .p-button.p-button-success.p-button-outlined:not(button):not(.p-disabled):active, .p-buttonset.p-button-success > .p-button.p-button-outlined:not(button):not(.p-disabled):active, .p-splitbutton.p-button-success > .p-button.p-button-outlined:not(button):not(.p-disabled):active, .p-fileupload-choose.p-button-success.p-button-outlined:not(button):not(.p-disabled):active { 2465 background: rgba(104, 159, 56, 0.16); 2466 color: #689F38; 2467 border: 1px solid; 2468 } 2469 .p-button.p-button-success.p-button-outlineda:enabled:hover, .p-buttonset.p-button-success > .p-button.p-button-outlineda:enabled:hover, .p-splitbutton.p-button-success > .p-button.p-button-outlineda:enabled:hover, .p-fileupload-choose.p-button-success.p-button-outlineda:enabled:hover { 2470 background: rgba(104, 159, 56, 0.04); 2471 color: #689F38; 2472 border: 1px solid; 2473 } 2474 .p-button.p-button-success.p-button-outlineda:enabled:active, .p-buttonset.p-button-success > .p-button.p-button-outlineda:enabled:active, .p-splitbutton.p-button-success > .p-button.p-button-outlineda:enabled:active, .p-fileupload-choose.p-button-success.p-button-outlineda:enabled:active { 2475 background: rgba(104, 159, 56, 0.16); 2476 color: #689F38; 2477 border: 1px solid; 2478 } 2479 .p-button.p-button-success.p-button-outlined:not(a):not(.p-disabled):hover, .p-buttonset.p-button-success > .p-button.p-button-outlined:not(a):not(.p-disabled):hover, .p-splitbutton.p-button-success > .p-button.p-button-outlined:not(a):not(.p-disabled):hover, .p-fileupload-choose.p-button-success.p-button-outlined:not(a):not(.p-disabled):hover { 2480 background: rgba(104, 159, 56, 0.04); 2481 color: #689F38; 2482 border: 1px solid; 2483 } 2484 .p-button.p-button-success.p-button-outlined:not(a):not(.p-disabled):active, .p-buttonset.p-button-success > .p-button.p-button-outlined:not(a):not(.p-disabled):active, .p-splitbutton.p-button-success > .p-button.p-button-outlined:not(a):not(.p-disabled):active, .p-fileupload-choose.p-button-success.p-button-outlined:not(a):not(.p-disabled):active { 2081 .p-button.p-button-success.p-button-outlined:enabled:active, .p-button.p-button-success.p-button-outlined:not(button):not(a):not(.p-disabled):active, .p-buttonset.p-button-success > .p-button.p-button-outlined:enabled:active, .p-buttonset.p-button-success > .p-button.p-button-outlined:not(button):not(a):not(.p-disabled):active, .p-splitbutton.p-button-success > .p-button.p-button-outlined:enabled:active, .p-splitbutton.p-button-success > .p-button.p-button-outlined:not(button):not(a):not(.p-disabled):active, .p-fileupload-choose.p-button-success.p-button-outlined:enabled:active, .p-fileupload-choose.p-button-success.p-button-outlined:not(button):not(a):not(.p-disabled):active { 2485 2082 background: rgba(104, 159, 56, 0.16); 2486 2083 color: #689F38; … … 2492 2089 border-color: transparent; 2493 2090 } 2494 .p-button.p-button-success.p-button-text button:enabled:hover, .p-buttonset.p-button-success > .p-button.p-button-textbutton:enabled:hover, .p-splitbutton.p-button-success > .p-button.p-button-textbutton:enabled:hover, .p-fileupload-choose.p-button-success.p-button-textbutton:enabled:hover {2091 .p-button.p-button-success.p-button-text:enabled:hover, .p-button.p-button-success.p-button-text:not(button):not(a):not(.p-disabled):hover, .p-buttonset.p-button-success > .p-button.p-button-text:enabled:hover, .p-buttonset.p-button-success > .p-button.p-button-text:not(button):not(a):not(.p-disabled):hover, .p-splitbutton.p-button-success > .p-button.p-button-text:enabled:hover, .p-splitbutton.p-button-success > .p-button.p-button-text:not(button):not(a):not(.p-disabled):hover, .p-fileupload-choose.p-button-success.p-button-text:enabled:hover, .p-fileupload-choose.p-button-success.p-button-text:not(button):not(a):not(.p-disabled):hover { 2495 2092 background: rgba(104, 159, 56, 0.04); 2496 2093 border-color: transparent; 2497 2094 color: #689F38; 2498 2095 } 2499 .p-button.p-button-success.p-button-textbutton:enabled:active, .p-buttonset.p-button-success > .p-button.p-button-textbutton:enabled:active, .p-splitbutton.p-button-success > .p-button.p-button-textbutton:enabled:active, .p-fileupload-choose.p-button-success.p-button-textbutton:enabled:active { 2500 background: rgba(104, 159, 56, 0.16); 2501 border-color: transparent; 2502 color: #689F38; 2503 } 2504 .p-button.p-button-success.p-button-text:not(button):not(.p-disabled):hover, .p-buttonset.p-button-success > .p-button.p-button-text:not(button):not(.p-disabled):hover, .p-splitbutton.p-button-success > .p-button.p-button-text:not(button):not(.p-disabled):hover, .p-fileupload-choose.p-button-success.p-button-text:not(button):not(.p-disabled):hover { 2505 background: rgba(104, 159, 56, 0.04); 2506 border-color: transparent; 2507 color: #689F38; 2508 } 2509 .p-button.p-button-success.p-button-text:not(button):not(.p-disabled):active, .p-buttonset.p-button-success > .p-button.p-button-text:not(button):not(.p-disabled):active, .p-splitbutton.p-button-success > .p-button.p-button-text:not(button):not(.p-disabled):active, .p-fileupload-choose.p-button-success.p-button-text:not(button):not(.p-disabled):active { 2510 background: rgba(104, 159, 56, 0.16); 2511 border-color: transparent; 2512 color: #689F38; 2513 } 2514 .p-button.p-button-success.p-button-texta:enabled:hover, .p-buttonset.p-button-success > .p-button.p-button-texta:enabled:hover, .p-splitbutton.p-button-success > .p-button.p-button-texta:enabled:hover, .p-fileupload-choose.p-button-success.p-button-texta:enabled:hover { 2515 background: rgba(104, 159, 56, 0.04); 2516 border-color: transparent; 2517 color: #689F38; 2518 } 2519 .p-button.p-button-success.p-button-texta:enabled:active, .p-buttonset.p-button-success > .p-button.p-button-texta:enabled:active, .p-splitbutton.p-button-success > .p-button.p-button-texta:enabled:active, .p-fileupload-choose.p-button-success.p-button-texta:enabled:active { 2520 background: rgba(104, 159, 56, 0.16); 2521 border-color: transparent; 2522 color: #689F38; 2523 } 2524 .p-button.p-button-success.p-button-text:not(a):not(.p-disabled):hover, .p-buttonset.p-button-success > .p-button.p-button-text:not(a):not(.p-disabled):hover, .p-splitbutton.p-button-success > .p-button.p-button-text:not(a):not(.p-disabled):hover, .p-fileupload-choose.p-button-success.p-button-text:not(a):not(.p-disabled):hover { 2525 background: rgba(104, 159, 56, 0.04); 2526 border-color: transparent; 2527 color: #689F38; 2528 } 2529 .p-button.p-button-success.p-button-text:not(a):not(.p-disabled):active, .p-buttonset.p-button-success > .p-button.p-button-text:not(a):not(.p-disabled):active, .p-splitbutton.p-button-success > .p-button.p-button-text:not(a):not(.p-disabled):active, .p-fileupload-choose.p-button-success.p-button-text:not(a):not(.p-disabled):active { 2096 .p-button.p-button-success.p-button-text:enabled:active, .p-button.p-button-success.p-button-text:not(button):not(a):not(.p-disabled):active, .p-buttonset.p-button-success > .p-button.p-button-text:enabled:active, .p-buttonset.p-button-success > .p-button.p-button-text:not(button):not(a):not(.p-disabled):active, .p-splitbutton.p-button-success > .p-button.p-button-text:enabled:active, .p-splitbutton.p-button-success > .p-button.p-button-text:not(button):not(a):not(.p-disabled):active, .p-fileupload-choose.p-button-success.p-button-text:enabled:active, .p-fileupload-choose.p-button-success.p-button-text:not(button):not(a):not(.p-disabled):active { 2530 2097 background: rgba(104, 159, 56, 0.16); 2531 2098 border-color: transparent; … … 2538 2105 border: 1px solid #FBC02D; 2539 2106 } 2540 .p-button.p-button-warning button:enabled:hover, .p-buttonset.p-button-warning > .p-buttonbutton:enabled:hover, .p-splitbutton.p-button-warning > .p-buttonbutton:enabled:hover, .p-fileupload-choose.p-button-warningbutton:enabled:hover {2107 .p-button.p-button-warning:enabled:hover, .p-button.p-button-warning:not(button):not(a):not(.p-disabled):hover, .p-buttonset.p-button-warning > .p-button:enabled:hover, .p-buttonset.p-button-warning > .p-button:not(button):not(a):not(.p-disabled):hover, .p-splitbutton.p-button-warning > .p-button:enabled:hover, .p-splitbutton.p-button-warning > .p-button:not(button):not(a):not(.p-disabled):hover, .p-fileupload-choose.p-button-warning:enabled:hover, .p-fileupload-choose.p-button-warning:not(button):not(a):not(.p-disabled):hover { 2541 2108 background: #fab710; 2542 2109 color: #212529; 2543 2110 border-color: #fab710; 2544 2111 } 2545 .p-button.p-button-warning button:enabled:focus, .p-buttonset.p-button-warning > .p-buttonbutton:enabled:focus, .p-splitbutton.p-button-warning > .p-buttonbutton:enabled:focus, .p-fileupload-choose.p-button-warningbutton:enabled:focus {2112 .p-button.p-button-warning:enabled:focus, .p-button.p-button-warning:not(button):not(a):not(.p-disabled):focus, .p-buttonset.p-button-warning > .p-button:enabled:focus, .p-buttonset.p-button-warning > .p-button:not(button):not(a):not(.p-disabled):focus, .p-splitbutton.p-button-warning > .p-button:enabled:focus, .p-splitbutton.p-button-warning > .p-button:not(button):not(a):not(.p-disabled):focus, .p-fileupload-choose.p-button-warning:enabled:focus, .p-fileupload-choose.p-button-warning:not(button):not(a):not(.p-disabled):focus { 2546 2113 box-shadow: 0 0 0 0.2rem #fde6ab; 2547 2114 } 2548 .p-button.p-button-warningbutton:enabled:active, .p-buttonset.p-button-warning > .p-buttonbutton:enabled:active, .p-splitbutton.p-button-warning > .p-buttonbutton:enabled:active, .p-fileupload-choose.p-button-warningbutton:enabled:active { 2549 background: #e8a704; 2550 color: #212529; 2551 border-color: #e8a704; 2552 } 2553 .p-button.p-button-warning:not(button):not(.p-disabled):hover, .p-buttonset.p-button-warning > .p-button:not(button):not(.p-disabled):hover, .p-splitbutton.p-button-warning > .p-button:not(button):not(.p-disabled):hover, .p-fileupload-choose.p-button-warning:not(button):not(.p-disabled):hover { 2554 background: #fab710; 2555 color: #212529; 2556 border-color: #fab710; 2557 } 2558 .p-button.p-button-warning:not(button):not(.p-disabled):focus, .p-buttonset.p-button-warning > .p-button:not(button):not(.p-disabled):focus, .p-splitbutton.p-button-warning > .p-button:not(button):not(.p-disabled):focus, .p-fileupload-choose.p-button-warning:not(button):not(.p-disabled):focus { 2559 box-shadow: 0 0 0 0.2rem #fde6ab; 2560 } 2561 .p-button.p-button-warning:not(button):not(.p-disabled):active, .p-buttonset.p-button-warning > .p-button:not(button):not(.p-disabled):active, .p-splitbutton.p-button-warning > .p-button:not(button):not(.p-disabled):active, .p-fileupload-choose.p-button-warning:not(button):not(.p-disabled):active { 2562 background: #e8a704; 2563 color: #212529; 2564 border-color: #e8a704; 2565 } 2566 .p-button.p-button-warninga:enabled:hover, .p-buttonset.p-button-warning > .p-buttona:enabled:hover, .p-splitbutton.p-button-warning > .p-buttona:enabled:hover, .p-fileupload-choose.p-button-warninga:enabled:hover { 2567 background: #fab710; 2568 color: #212529; 2569 border-color: #fab710; 2570 } 2571 .p-button.p-button-warninga:enabled:focus, .p-buttonset.p-button-warning > .p-buttona:enabled:focus, .p-splitbutton.p-button-warning > .p-buttona:enabled:focus, .p-fileupload-choose.p-button-warninga:enabled:focus { 2572 box-shadow: 0 0 0 0.2rem #fde6ab; 2573 } 2574 .p-button.p-button-warninga:enabled:active, .p-buttonset.p-button-warning > .p-buttona:enabled:active, .p-splitbutton.p-button-warning > .p-buttona:enabled:active, .p-fileupload-choose.p-button-warninga:enabled:active { 2575 background: #e8a704; 2576 color: #212529; 2577 border-color: #e8a704; 2578 } 2579 .p-button.p-button-warning:not(a):not(.p-disabled):hover, .p-buttonset.p-button-warning > .p-button:not(a):not(.p-disabled):hover, .p-splitbutton.p-button-warning > .p-button:not(a):not(.p-disabled):hover, .p-fileupload-choose.p-button-warning:not(a):not(.p-disabled):hover { 2580 background: #fab710; 2581 color: #212529; 2582 border-color: #fab710; 2583 } 2584 .p-button.p-button-warning:not(a):not(.p-disabled):focus, .p-buttonset.p-button-warning > .p-button:not(a):not(.p-disabled):focus, .p-splitbutton.p-button-warning > .p-button:not(a):not(.p-disabled):focus, .p-fileupload-choose.p-button-warning:not(a):not(.p-disabled):focus { 2585 box-shadow: 0 0 0 0.2rem #fde6ab; 2586 } 2587 .p-button.p-button-warning:not(a):not(.p-disabled):active, .p-buttonset.p-button-warning > .p-button:not(a):not(.p-disabled):active, .p-splitbutton.p-button-warning > .p-button:not(a):not(.p-disabled):active, .p-fileupload-choose.p-button-warning:not(a):not(.p-disabled):active { 2115 .p-button.p-button-warning:enabled:active, .p-button.p-button-warning:not(button):not(a):not(.p-disabled):active, .p-buttonset.p-button-warning > .p-button:enabled:active, .p-buttonset.p-button-warning > .p-button:not(button):not(a):not(.p-disabled):active, .p-splitbutton.p-button-warning > .p-button:enabled:active, .p-splitbutton.p-button-warning > .p-button:not(button):not(a):not(.p-disabled):active, .p-fileupload-choose.p-button-warning:enabled:active, .p-fileupload-choose.p-button-warning:not(button):not(a):not(.p-disabled):active { 2588 2116 background: #e8a704; 2589 2117 color: #212529; … … 2595 2123 border: 1px solid; 2596 2124 } 2597 .p-button.p-button-warning.p-button-outlined button:enabled:hover, .p-buttonset.p-button-warning > .p-button.p-button-outlinedbutton:enabled:hover, .p-splitbutton.p-button-warning > .p-button.p-button-outlinedbutton:enabled:hover, .p-fileupload-choose.p-button-warning.p-button-outlinedbutton:enabled:hover {2125 .p-button.p-button-warning.p-button-outlined:enabled:hover, .p-button.p-button-warning.p-button-outlined:not(button):not(a):not(.p-disabled):hover, .p-buttonset.p-button-warning > .p-button.p-button-outlined:enabled:hover, .p-buttonset.p-button-warning > .p-button.p-button-outlined:not(button):not(a):not(.p-disabled):hover, .p-splitbutton.p-button-warning > .p-button.p-button-outlined:enabled:hover, .p-splitbutton.p-button-warning > .p-button.p-button-outlined:not(button):not(a):not(.p-disabled):hover, .p-fileupload-choose.p-button-warning.p-button-outlined:enabled:hover, .p-fileupload-choose.p-button-warning.p-button-outlined:not(button):not(a):not(.p-disabled):hover { 2598 2126 background: rgba(251, 192, 45, 0.04); 2599 2127 color: #FBC02D; 2600 2128 border: 1px solid; 2601 2129 } 2602 .p-button.p-button-warning.p-button-outlinedbutton:enabled:active, .p-buttonset.p-button-warning > .p-button.p-button-outlinedbutton:enabled:active, .p-splitbutton.p-button-warning > .p-button.p-button-outlinedbutton:enabled:active, .p-fileupload-choose.p-button-warning.p-button-outlinedbutton:enabled:active { 2603 background: rgba(251, 192, 45, 0.16); 2604 color: #FBC02D; 2605 border: 1px solid; 2606 } 2607 .p-button.p-button-warning.p-button-outlined:not(button):not(.p-disabled):hover, .p-buttonset.p-button-warning > .p-button.p-button-outlined:not(button):not(.p-disabled):hover, .p-splitbutton.p-button-warning > .p-button.p-button-outlined:not(button):not(.p-disabled):hover, .p-fileupload-choose.p-button-warning.p-button-outlined:not(button):not(.p-disabled):hover { 2608 background: rgba(251, 192, 45, 0.04); 2609 color: #FBC02D; 2610 border: 1px solid; 2611 } 2612 .p-button.p-button-warning.p-button-outlined:not(button):not(.p-disabled):active, .p-buttonset.p-button-warning > .p-button.p-button-outlined:not(button):not(.p-disabled):active, .p-splitbutton.p-button-warning > .p-button.p-button-outlined:not(button):not(.p-disabled):active, .p-fileupload-choose.p-button-warning.p-button-outlined:not(button):not(.p-disabled):active { 2613 background: rgba(251, 192, 45, 0.16); 2614 color: #FBC02D; 2615 border: 1px solid; 2616 } 2617 .p-button.p-button-warning.p-button-outlineda:enabled:hover, .p-buttonset.p-button-warning > .p-button.p-button-outlineda:enabled:hover, .p-splitbutton.p-button-warning > .p-button.p-button-outlineda:enabled:hover, .p-fileupload-choose.p-button-warning.p-button-outlineda:enabled:hover { 2618 background: rgba(251, 192, 45, 0.04); 2619 color: #FBC02D; 2620 border: 1px solid; 2621 } 2622 .p-button.p-button-warning.p-button-outlineda:enabled:active, .p-buttonset.p-button-warning > .p-button.p-button-outlineda:enabled:active, .p-splitbutton.p-button-warning > .p-button.p-button-outlineda:enabled:active, .p-fileupload-choose.p-button-warning.p-button-outlineda:enabled:active { 2623 background: rgba(251, 192, 45, 0.16); 2624 color: #FBC02D; 2625 border: 1px solid; 2626 } 2627 .p-button.p-button-warning.p-button-outlined:not(a):not(.p-disabled):hover, .p-buttonset.p-button-warning > .p-button.p-button-outlined:not(a):not(.p-disabled):hover, .p-splitbutton.p-button-warning > .p-button.p-button-outlined:not(a):not(.p-disabled):hover, .p-fileupload-choose.p-button-warning.p-button-outlined:not(a):not(.p-disabled):hover { 2628 background: rgba(251, 192, 45, 0.04); 2629 color: #FBC02D; 2630 border: 1px solid; 2631 } 2632 .p-button.p-button-warning.p-button-outlined:not(a):not(.p-disabled):active, .p-buttonset.p-button-warning > .p-button.p-button-outlined:not(a):not(.p-disabled):active, .p-splitbutton.p-button-warning > .p-button.p-button-outlined:not(a):not(.p-disabled):active, .p-fileupload-choose.p-button-warning.p-button-outlined:not(a):not(.p-disabled):active { 2130 .p-button.p-button-warning.p-button-outlined:enabled:active, .p-button.p-button-warning.p-button-outlined:not(button):not(a):not(.p-disabled):active, .p-buttonset.p-button-warning > .p-button.p-button-outlined:enabled:active, .p-buttonset.p-button-warning > .p-button.p-button-outlined:not(button):not(a):not(.p-disabled):active, .p-splitbutton.p-button-warning > .p-button.p-button-outlined:enabled:active, .p-splitbutton.p-button-warning > .p-button.p-button-outlined:not(button):not(a):not(.p-disabled):active, .p-fileupload-choose.p-button-warning.p-button-outlined:enabled:active, .p-fileupload-choose.p-button-warning.p-button-outlined:not(button):not(a):not(.p-disabled):active { 2633 2131 background: rgba(251, 192, 45, 0.16); 2634 2132 color: #FBC02D; … … 2640 2138 border-color: transparent; 2641 2139 } 2642 .p-button.p-button-warning.p-button-text button:enabled:hover, .p-buttonset.p-button-warning > .p-button.p-button-textbutton:enabled:hover, .p-splitbutton.p-button-warning > .p-button.p-button-textbutton:enabled:hover, .p-fileupload-choose.p-button-warning.p-button-textbutton:enabled:hover {2140 .p-button.p-button-warning.p-button-text:enabled:hover, .p-button.p-button-warning.p-button-text:not(button):not(a):not(.p-disabled):hover, .p-buttonset.p-button-warning > .p-button.p-button-text:enabled:hover, .p-buttonset.p-button-warning > .p-button.p-button-text:not(button):not(a):not(.p-disabled):hover, .p-splitbutton.p-button-warning > .p-button.p-button-text:enabled:hover, .p-splitbutton.p-button-warning > .p-button.p-button-text:not(button):not(a):not(.p-disabled):hover, .p-fileupload-choose.p-button-warning.p-button-text:enabled:hover, .p-fileupload-choose.p-button-warning.p-button-text:not(button):not(a):not(.p-disabled):hover { 2643 2141 background: rgba(251, 192, 45, 0.04); 2644 2142 border-color: transparent; 2645 2143 color: #FBC02D; 2646 2144 } 2647 .p-button.p-button-warning.p-button-textbutton:enabled:active, .p-buttonset.p-button-warning > .p-button.p-button-textbutton:enabled:active, .p-splitbutton.p-button-warning > .p-button.p-button-textbutton:enabled:active, .p-fileupload-choose.p-button-warning.p-button-textbutton:enabled:active { 2648 background: rgba(251, 192, 45, 0.16); 2649 border-color: transparent; 2650 color: #FBC02D; 2651 } 2652 .p-button.p-button-warning.p-button-text:not(button):not(.p-disabled):hover, .p-buttonset.p-button-warning > .p-button.p-button-text:not(button):not(.p-disabled):hover, .p-splitbutton.p-button-warning > .p-button.p-button-text:not(button):not(.p-disabled):hover, .p-fileupload-choose.p-button-warning.p-button-text:not(button):not(.p-disabled):hover { 2653 background: rgba(251, 192, 45, 0.04); 2654 border-color: transparent; 2655 color: #FBC02D; 2656 } 2657 .p-button.p-button-warning.p-button-text:not(button):not(.p-disabled):active, .p-buttonset.p-button-warning > .p-button.p-button-text:not(button):not(.p-disabled):active, .p-splitbutton.p-button-warning > .p-button.p-button-text:not(button):not(.p-disabled):active, .p-fileupload-choose.p-button-warning.p-button-text:not(button):not(.p-disabled):active { 2658 background: rgba(251, 192, 45, 0.16); 2659 border-color: transparent; 2660 color: #FBC02D; 2661 } 2662 .p-button.p-button-warning.p-button-texta:enabled:hover, .p-buttonset.p-button-warning > .p-button.p-button-texta:enabled:hover, .p-splitbutton.p-button-warning > .p-button.p-button-texta:enabled:hover, .p-fileupload-choose.p-button-warning.p-button-texta:enabled:hover { 2663 background: rgba(251, 192, 45, 0.04); 2664 border-color: transparent; 2665 color: #FBC02D; 2666 } 2667 .p-button.p-button-warning.p-button-texta:enabled:active, .p-buttonset.p-button-warning > .p-button.p-button-texta:enabled:active, .p-splitbutton.p-button-warning > .p-button.p-button-texta:enabled:active, .p-fileupload-choose.p-button-warning.p-button-texta:enabled:active { 2668 background: rgba(251, 192, 45, 0.16); 2669 border-color: transparent; 2670 color: #FBC02D; 2671 } 2672 .p-button.p-button-warning.p-button-text:not(a):not(.p-disabled):hover, .p-buttonset.p-button-warning > .p-button.p-button-text:not(a):not(.p-disabled):hover, .p-splitbutton.p-button-warning > .p-button.p-button-text:not(a):not(.p-disabled):hover, .p-fileupload-choose.p-button-warning.p-button-text:not(a):not(.p-disabled):hover { 2673 background: rgba(251, 192, 45, 0.04); 2674 border-color: transparent; 2675 color: #FBC02D; 2676 } 2677 .p-button.p-button-warning.p-button-text:not(a):not(.p-disabled):active, .p-buttonset.p-button-warning > .p-button.p-button-text:not(a):not(.p-disabled):active, .p-splitbutton.p-button-warning > .p-button.p-button-text:not(a):not(.p-disabled):active, .p-fileupload-choose.p-button-warning.p-button-text:not(a):not(.p-disabled):active { 2145 .p-button.p-button-warning.p-button-text:enabled:active, .p-button.p-button-warning.p-button-text:not(button):not(a):not(.p-disabled):active, .p-buttonset.p-button-warning > .p-button.p-button-text:enabled:active, .p-buttonset.p-button-warning > .p-button.p-button-text:not(button):not(a):not(.p-disabled):active, .p-splitbutton.p-button-warning > .p-button.p-button-text:enabled:active, .p-splitbutton.p-button-warning > .p-button.p-button-text:not(button):not(a):not(.p-disabled):active, .p-fileupload-choose.p-button-warning.p-button-text:enabled:active, .p-fileupload-choose.p-button-warning.p-button-text:not(button):not(a):not(.p-disabled):active { 2678 2146 background: rgba(251, 192, 45, 0.16); 2679 2147 border-color: transparent; … … 2686 2154 border: 1px solid #9C27B0; 2687 2155 } 2688 .p-button.p-button-help button:enabled:hover, .p-buttonset.p-button-help > .p-buttonbutton:enabled:hover, .p-splitbutton.p-button-help > .p-buttonbutton:enabled:hover, .p-fileupload-choose.p-button-helpbutton:enabled:hover {2156 .p-button.p-button-help:enabled:hover, .p-button.p-button-help:not(button):not(a):not(.p-disabled):hover, .p-buttonset.p-button-help > .p-button:enabled:hover, .p-buttonset.p-button-help > .p-button:not(button):not(a):not(.p-disabled):hover, .p-splitbutton.p-button-help > .p-button:enabled:hover, .p-splitbutton.p-button-help > .p-button:not(button):not(a):not(.p-disabled):hover, .p-fileupload-choose.p-button-help:enabled:hover, .p-fileupload-choose.p-button-help:not(button):not(a):not(.p-disabled):hover { 2689 2157 background: #8c239e; 2690 2158 color: #ffffff; 2691 2159 border-color: #8c239e; 2692 2160 } 2693 .p-button.p-button-help button:enabled:focus, .p-buttonset.p-button-help > .p-buttonbutton:enabled:focus, .p-splitbutton.p-button-help > .p-buttonbutton:enabled:focus, .p-fileupload-choose.p-button-helpbutton:enabled:focus {2161 .p-button.p-button-help:enabled:focus, .p-button.p-button-help:not(button):not(a):not(.p-disabled):focus, .p-buttonset.p-button-help > .p-button:enabled:focus, .p-buttonset.p-button-help > .p-button:not(button):not(a):not(.p-disabled):focus, .p-splitbutton.p-button-help > .p-button:enabled:focus, .p-splitbutton.p-button-help > .p-button:not(button):not(a):not(.p-disabled):focus, .p-fileupload-choose.p-button-help:enabled:focus, .p-fileupload-choose.p-button-help:not(button):not(a):not(.p-disabled):focus { 2694 2162 box-shadow: 0 0 0 0.2rem #df9eea; 2695 2163 } 2696 .p-button.p-button-helpbutton:enabled:active, .p-buttonset.p-button-help > .p-buttonbutton:enabled:active, .p-splitbutton.p-button-help > .p-buttonbutton:enabled:active, .p-fileupload-choose.p-button-helpbutton:enabled:active { 2697 background: #7d1f8d; 2698 color: #ffffff; 2699 border-color: #7d1f8d; 2700 } 2701 .p-button.p-button-help:not(button):not(.p-disabled):hover, .p-buttonset.p-button-help > .p-button:not(button):not(.p-disabled):hover, .p-splitbutton.p-button-help > .p-button:not(button):not(.p-disabled):hover, .p-fileupload-choose.p-button-help:not(button):not(.p-disabled):hover { 2702 background: #8c239e; 2703 color: #ffffff; 2704 border-color: #8c239e; 2705 } 2706 .p-button.p-button-help:not(button):not(.p-disabled):focus, .p-buttonset.p-button-help > .p-button:not(button):not(.p-disabled):focus, .p-splitbutton.p-button-help > .p-button:not(button):not(.p-disabled):focus, .p-fileupload-choose.p-button-help:not(button):not(.p-disabled):focus { 2707 box-shadow: 0 0 0 0.2rem #df9eea; 2708 } 2709 .p-button.p-button-help:not(button):not(.p-disabled):active, .p-buttonset.p-button-help > .p-button:not(button):not(.p-disabled):active, .p-splitbutton.p-button-help > .p-button:not(button):not(.p-disabled):active, .p-fileupload-choose.p-button-help:not(button):not(.p-disabled):active { 2710 background: #7d1f8d; 2711 color: #ffffff; 2712 border-color: #7d1f8d; 2713 } 2714 .p-button.p-button-helpa:enabled:hover, .p-buttonset.p-button-help > .p-buttona:enabled:hover, .p-splitbutton.p-button-help > .p-buttona:enabled:hover, .p-fileupload-choose.p-button-helpa:enabled:hover { 2715 background: #8c239e; 2716 color: #ffffff; 2717 border-color: #8c239e; 2718 } 2719 .p-button.p-button-helpa:enabled:focus, .p-buttonset.p-button-help > .p-buttona:enabled:focus, .p-splitbutton.p-button-help > .p-buttona:enabled:focus, .p-fileupload-choose.p-button-helpa:enabled:focus { 2720 box-shadow: 0 0 0 0.2rem #df9eea; 2721 } 2722 .p-button.p-button-helpa:enabled:active, .p-buttonset.p-button-help > .p-buttona:enabled:active, .p-splitbutton.p-button-help > .p-buttona:enabled:active, .p-fileupload-choose.p-button-helpa:enabled:active { 2723 background: #7d1f8d; 2724 color: #ffffff; 2725 border-color: #7d1f8d; 2726 } 2727 .p-button.p-button-help:not(a):not(.p-disabled):hover, .p-buttonset.p-button-help > .p-button:not(a):not(.p-disabled):hover, .p-splitbutton.p-button-help > .p-button:not(a):not(.p-disabled):hover, .p-fileupload-choose.p-button-help:not(a):not(.p-disabled):hover { 2728 background: #8c239e; 2729 color: #ffffff; 2730 border-color: #8c239e; 2731 } 2732 .p-button.p-button-help:not(a):not(.p-disabled):focus, .p-buttonset.p-button-help > .p-button:not(a):not(.p-disabled):focus, .p-splitbutton.p-button-help > .p-button:not(a):not(.p-disabled):focus, .p-fileupload-choose.p-button-help:not(a):not(.p-disabled):focus { 2733 box-shadow: 0 0 0 0.2rem #df9eea; 2734 } 2735 .p-button.p-button-help:not(a):not(.p-disabled):active, .p-buttonset.p-button-help > .p-button:not(a):not(.p-disabled):active, .p-splitbutton.p-button-help > .p-button:not(a):not(.p-disabled):active, .p-fileupload-choose.p-button-help:not(a):not(.p-disabled):active { 2164 .p-button.p-button-help:enabled:active, .p-button.p-button-help:not(button):not(a):not(.p-disabled):active, .p-buttonset.p-button-help > .p-button:enabled:active, .p-buttonset.p-button-help > .p-button:not(button):not(a):not(.p-disabled):active, .p-splitbutton.p-button-help > .p-button:enabled:active, .p-splitbutton.p-button-help > .p-button:not(button):not(a):not(.p-disabled):active, .p-fileupload-choose.p-button-help:enabled:active, .p-fileupload-choose.p-button-help:not(button):not(a):not(.p-disabled):active { 2736 2165 background: #7d1f8d; 2737 2166 color: #ffffff; … … 2743 2172 border: 1px solid; 2744 2173 } 2745 .p-button.p-button-help.p-button-outlined button:enabled:hover, .p-buttonset.p-button-help > .p-button.p-button-outlinedbutton:enabled:hover, .p-splitbutton.p-button-help > .p-button.p-button-outlinedbutton:enabled:hover, .p-fileupload-choose.p-button-help.p-button-outlinedbutton:enabled:hover {2174 .p-button.p-button-help.p-button-outlined:enabled:hover, .p-button.p-button-help.p-button-outlined:not(button):not(a):not(.p-disabled):hover, .p-buttonset.p-button-help > .p-button.p-button-outlined:enabled:hover, .p-buttonset.p-button-help > .p-button.p-button-outlined:not(button):not(a):not(.p-disabled):hover, .p-splitbutton.p-button-help > .p-button.p-button-outlined:enabled:hover, .p-splitbutton.p-button-help > .p-button.p-button-outlined:not(button):not(a):not(.p-disabled):hover, .p-fileupload-choose.p-button-help.p-button-outlined:enabled:hover, .p-fileupload-choose.p-button-help.p-button-outlined:not(button):not(a):not(.p-disabled):hover { 2746 2175 background: rgba(156, 39, 176, 0.04); 2747 2176 color: #9C27B0; 2748 2177 border: 1px solid; 2749 2178 } 2750 .p-button.p-button-help.p-button-outlinedbutton:enabled:active, .p-buttonset.p-button-help > .p-button.p-button-outlinedbutton:enabled:active, .p-splitbutton.p-button-help > .p-button.p-button-outlinedbutton:enabled:active, .p-fileupload-choose.p-button-help.p-button-outlinedbutton:enabled:active { 2751 background: rgba(156, 39, 176, 0.16); 2752 color: #9C27B0; 2753 border: 1px solid; 2754 } 2755 .p-button.p-button-help.p-button-outlined:not(button):not(.p-disabled):hover, .p-buttonset.p-button-help > .p-button.p-button-outlined:not(button):not(.p-disabled):hover, .p-splitbutton.p-button-help > .p-button.p-button-outlined:not(button):not(.p-disabled):hover, .p-fileupload-choose.p-button-help.p-button-outlined:not(button):not(.p-disabled):hover { 2756 background: rgba(156, 39, 176, 0.04); 2757 color: #9C27B0; 2758 border: 1px solid; 2759 } 2760 .p-button.p-button-help.p-button-outlined:not(button):not(.p-disabled):active, .p-buttonset.p-button-help > .p-button.p-button-outlined:not(button):not(.p-disabled):active, .p-splitbutton.p-button-help > .p-button.p-button-outlined:not(button):not(.p-disabled):active, .p-fileupload-choose.p-button-help.p-button-outlined:not(button):not(.p-disabled):active { 2761 background: rgba(156, 39, 176, 0.16); 2762 color: #9C27B0; 2763 border: 1px solid; 2764 } 2765 .p-button.p-button-help.p-button-outlineda:enabled:hover, .p-buttonset.p-button-help > .p-button.p-button-outlineda:enabled:hover, .p-splitbutton.p-button-help > .p-button.p-button-outlineda:enabled:hover, .p-fileupload-choose.p-button-help.p-button-outlineda:enabled:hover { 2766 background: rgba(156, 39, 176, 0.04); 2767 color: #9C27B0; 2768 border: 1px solid; 2769 } 2770 .p-button.p-button-help.p-button-outlineda:enabled:active, .p-buttonset.p-button-help > .p-button.p-button-outlineda:enabled:active, .p-splitbutton.p-button-help > .p-button.p-button-outlineda:enabled:active, .p-fileupload-choose.p-button-help.p-button-outlineda:enabled:active { 2771 background: rgba(156, 39, 176, 0.16); 2772 color: #9C27B0; 2773 border: 1px solid; 2774 } 2775 .p-button.p-button-help.p-button-outlined:not(a):not(.p-disabled):hover, .p-buttonset.p-button-help > .p-button.p-button-outlined:not(a):not(.p-disabled):hover, .p-splitbutton.p-button-help > .p-button.p-button-outlined:not(a):not(.p-disabled):hover, .p-fileupload-choose.p-button-help.p-button-outlined:not(a):not(.p-disabled):hover { 2776 background: rgba(156, 39, 176, 0.04); 2777 color: #9C27B0; 2778 border: 1px solid; 2779 } 2780 .p-button.p-button-help.p-button-outlined:not(a):not(.p-disabled):active, .p-buttonset.p-button-help > .p-button.p-button-outlined:not(a):not(.p-disabled):active, .p-splitbutton.p-button-help > .p-button.p-button-outlined:not(a):not(.p-disabled):active, .p-fileupload-choose.p-button-help.p-button-outlined:not(a):not(.p-disabled):active { 2179 .p-button.p-button-help.p-button-outlined:enabled:active, .p-button.p-button-help.p-button-outlined:not(button):not(a):not(.p-disabled):active, .p-buttonset.p-button-help > .p-button.p-button-outlined:enabled:active, .p-buttonset.p-button-help > .p-button.p-button-outlined:not(button):not(a):not(.p-disabled):active, .p-splitbutton.p-button-help > .p-button.p-button-outlined:enabled:active, .p-splitbutton.p-button-help > .p-button.p-button-outlined:not(button):not(a):not(.p-disabled):active, .p-fileupload-choose.p-button-help.p-button-outlined:enabled:active, .p-fileupload-choose.p-button-help.p-button-outlined:not(button):not(a):not(.p-disabled):active { 2781 2180 background: rgba(156, 39, 176, 0.16); 2782 2181 color: #9C27B0; … … 2788 2187 border-color: transparent; 2789 2188 } 2790 .p-button.p-button-help.p-button-text button:enabled:hover, .p-buttonset.p-button-help > .p-button.p-button-textbutton:enabled:hover, .p-splitbutton.p-button-help > .p-button.p-button-textbutton:enabled:hover, .p-fileupload-choose.p-button-help.p-button-textbutton:enabled:hover {2189 .p-button.p-button-help.p-button-text:enabled:hover, .p-button.p-button-help.p-button-text:not(button):not(a):not(.p-disabled):hover, .p-buttonset.p-button-help > .p-button.p-button-text:enabled:hover, .p-buttonset.p-button-help > .p-button.p-button-text:not(button):not(a):not(.p-disabled):hover, .p-splitbutton.p-button-help > .p-button.p-button-text:enabled:hover, .p-splitbutton.p-button-help > .p-button.p-button-text:not(button):not(a):not(.p-disabled):hover, .p-fileupload-choose.p-button-help.p-button-text:enabled:hover, .p-fileupload-choose.p-button-help.p-button-text:not(button):not(a):not(.p-disabled):hover { 2791 2190 background: rgba(156, 39, 176, 0.04); 2792 2191 border-color: transparent; 2793 2192 color: #9C27B0; 2794 2193 } 2795 .p-button.p-button-help.p-button-textbutton:enabled:active, .p-buttonset.p-button-help > .p-button.p-button-textbutton:enabled:active, .p-splitbutton.p-button-help > .p-button.p-button-textbutton:enabled:active, .p-fileupload-choose.p-button-help.p-button-textbutton:enabled:active { 2796 background: rgba(156, 39, 176, 0.16); 2797 border-color: transparent; 2798 color: #9C27B0; 2799 } 2800 .p-button.p-button-help.p-button-text:not(button):not(.p-disabled):hover, .p-buttonset.p-button-help > .p-button.p-button-text:not(button):not(.p-disabled):hover, .p-splitbutton.p-button-help > .p-button.p-button-text:not(button):not(.p-disabled):hover, .p-fileupload-choose.p-button-help.p-button-text:not(button):not(.p-disabled):hover { 2801 background: rgba(156, 39, 176, 0.04); 2802 border-color: transparent; 2803 color: #9C27B0; 2804 } 2805 .p-button.p-button-help.p-button-text:not(button):not(.p-disabled):active, .p-buttonset.p-button-help > .p-button.p-button-text:not(button):not(.p-disabled):active, .p-splitbutton.p-button-help > .p-button.p-button-text:not(button):not(.p-disabled):active, .p-fileupload-choose.p-button-help.p-button-text:not(button):not(.p-disabled):active { 2806 background: rgba(156, 39, 176, 0.16); 2807 border-color: transparent; 2808 color: #9C27B0; 2809 } 2810 .p-button.p-button-help.p-button-texta:enabled:hover, .p-buttonset.p-button-help > .p-button.p-button-texta:enabled:hover, .p-splitbutton.p-button-help > .p-button.p-button-texta:enabled:hover, .p-fileupload-choose.p-button-help.p-button-texta:enabled:hover { 2811 background: rgba(156, 39, 176, 0.04); 2812 border-color: transparent; 2813 color: #9C27B0; 2814 } 2815 .p-button.p-button-help.p-button-texta:enabled:active, .p-buttonset.p-button-help > .p-button.p-button-texta:enabled:active, .p-splitbutton.p-button-help > .p-button.p-button-texta:enabled:active, .p-fileupload-choose.p-button-help.p-button-texta:enabled:active { 2816 background: rgba(156, 39, 176, 0.16); 2817 border-color: transparent; 2818 color: #9C27B0; 2819 } 2820 .p-button.p-button-help.p-button-text:not(a):not(.p-disabled):hover, .p-buttonset.p-button-help > .p-button.p-button-text:not(a):not(.p-disabled):hover, .p-splitbutton.p-button-help > .p-button.p-button-text:not(a):not(.p-disabled):hover, .p-fileupload-choose.p-button-help.p-button-text:not(a):not(.p-disabled):hover { 2821 background: rgba(156, 39, 176, 0.04); 2822 border-color: transparent; 2823 color: #9C27B0; 2824 } 2825 .p-button.p-button-help.p-button-text:not(a):not(.p-disabled):active, .p-buttonset.p-button-help > .p-button.p-button-text:not(a):not(.p-disabled):active, .p-splitbutton.p-button-help > .p-button.p-button-text:not(a):not(.p-disabled):active, .p-fileupload-choose.p-button-help.p-button-text:not(a):not(.p-disabled):active { 2194 .p-button.p-button-help.p-button-text:enabled:active, .p-button.p-button-help.p-button-text:not(button):not(a):not(.p-disabled):active, .p-buttonset.p-button-help > .p-button.p-button-text:enabled:active, .p-buttonset.p-button-help > .p-button.p-button-text:not(button):not(a):not(.p-disabled):active, .p-splitbutton.p-button-help > .p-button.p-button-text:enabled:active, .p-splitbutton.p-button-help > .p-button.p-button-text:not(button):not(a):not(.p-disabled):active, .p-fileupload-choose.p-button-help.p-button-text:enabled:active, .p-fileupload-choose.p-button-help.p-button-text:not(button):not(a):not(.p-disabled):active { 2826 2195 background: rgba(156, 39, 176, 0.16); 2827 2196 border-color: transparent; … … 2834 2203 border: 1px solid #D32F2F; 2835 2204 } 2836 .p-button.p-button-danger button:enabled:hover, .p-buttonset.p-button-danger > .p-buttonbutton:enabled:hover, .p-splitbutton.p-button-danger > .p-buttonbutton:enabled:hover, .p-fileupload-choose.p-button-dangerbutton:enabled:hover {2205 .p-button.p-button-danger:enabled:hover, .p-button.p-button-danger:not(button):not(a):not(.p-disabled):hover, .p-buttonset.p-button-danger > .p-button:enabled:hover, .p-buttonset.p-button-danger > .p-button:not(button):not(a):not(.p-disabled):hover, .p-splitbutton.p-button-danger > .p-button:enabled:hover, .p-splitbutton.p-button-danger > .p-button:not(button):not(a):not(.p-disabled):hover, .p-fileupload-choose.p-button-danger:enabled:hover, .p-fileupload-choose.p-button-danger:not(button):not(a):not(.p-disabled):hover { 2837 2206 background: #c02929; 2838 2207 color: #ffffff; 2839 2208 border-color: #c02929; 2840 2209 } 2841 .p-button.p-button-danger button:enabled:focus, .p-buttonset.p-button-danger > .p-buttonbutton:enabled:focus, .p-splitbutton.p-button-danger > .p-buttonbutton:enabled:focus, .p-fileupload-choose.p-button-dangerbutton:enabled:focus {2210 .p-button.p-button-danger:enabled:focus, .p-button.p-button-danger:not(button):not(a):not(.p-disabled):focus, .p-buttonset.p-button-danger > .p-button:enabled:focus, .p-buttonset.p-button-danger > .p-button:not(button):not(a):not(.p-disabled):focus, .p-splitbutton.p-button-danger > .p-button:enabled:focus, .p-splitbutton.p-button-danger > .p-button:not(button):not(a):not(.p-disabled):focus, .p-fileupload-choose.p-button-danger:enabled:focus, .p-fileupload-choose.p-button-danger:not(button):not(a):not(.p-disabled):focus { 2842 2211 box-shadow: 0 0 0 0.2rem #edacac; 2843 2212 } 2844 .p-button.p-button-dangerbutton:enabled:active, .p-buttonset.p-button-danger > .p-buttonbutton:enabled:active, .p-splitbutton.p-button-danger > .p-buttonbutton:enabled:active, .p-fileupload-choose.p-button-dangerbutton:enabled:active { 2845 background: #aa2424; 2846 color: #ffffff; 2847 border-color: #aa2424; 2848 } 2849 .p-button.p-button-danger:not(button):not(.p-disabled):hover, .p-buttonset.p-button-danger > .p-button:not(button):not(.p-disabled):hover, .p-splitbutton.p-button-danger > .p-button:not(button):not(.p-disabled):hover, .p-fileupload-choose.p-button-danger:not(button):not(.p-disabled):hover { 2850 background: #c02929; 2851 color: #ffffff; 2852 border-color: #c02929; 2853 } 2854 .p-button.p-button-danger:not(button):not(.p-disabled):focus, .p-buttonset.p-button-danger > .p-button:not(button):not(.p-disabled):focus, .p-splitbutton.p-button-danger > .p-button:not(button):not(.p-disabled):focus, .p-fileupload-choose.p-button-danger:not(button):not(.p-disabled):focus { 2855 box-shadow: 0 0 0 0.2rem #edacac; 2856 } 2857 .p-button.p-button-danger:not(button):not(.p-disabled):active, .p-buttonset.p-button-danger > .p-button:not(button):not(.p-disabled):active, .p-splitbutton.p-button-danger > .p-button:not(button):not(.p-disabled):active, .p-fileupload-choose.p-button-danger:not(button):not(.p-disabled):active { 2858 background: #aa2424; 2859 color: #ffffff; 2860 border-color: #aa2424; 2861 } 2862 .p-button.p-button-dangera:enabled:hover, .p-buttonset.p-button-danger > .p-buttona:enabled:hover, .p-splitbutton.p-button-danger > .p-buttona:enabled:hover, .p-fileupload-choose.p-button-dangera:enabled:hover { 2863 background: #c02929; 2864 color: #ffffff; 2865 border-color: #c02929; 2866 } 2867 .p-button.p-button-dangera:enabled:focus, .p-buttonset.p-button-danger > .p-buttona:enabled:focus, .p-splitbutton.p-button-danger > .p-buttona:enabled:focus, .p-fileupload-choose.p-button-dangera:enabled:focus { 2868 box-shadow: 0 0 0 0.2rem #edacac; 2869 } 2870 .p-button.p-button-dangera:enabled:active, .p-buttonset.p-button-danger > .p-buttona:enabled:active, .p-splitbutton.p-button-danger > .p-buttona:enabled:active, .p-fileupload-choose.p-button-dangera:enabled:active { 2871 background: #aa2424; 2872 color: #ffffff; 2873 border-color: #aa2424; 2874 } 2875 .p-button.p-button-danger:not(a):not(.p-disabled):hover, .p-buttonset.p-button-danger > .p-button:not(a):not(.p-disabled):hover, .p-splitbutton.p-button-danger > .p-button:not(a):not(.p-disabled):hover, .p-fileupload-choose.p-button-danger:not(a):not(.p-disabled):hover { 2876 background: #c02929; 2877 color: #ffffff; 2878 border-color: #c02929; 2879 } 2880 .p-button.p-button-danger:not(a):not(.p-disabled):focus, .p-buttonset.p-button-danger > .p-button:not(a):not(.p-disabled):focus, .p-splitbutton.p-button-danger > .p-button:not(a):not(.p-disabled):focus, .p-fileupload-choose.p-button-danger:not(a):not(.p-disabled):focus { 2881 box-shadow: 0 0 0 0.2rem #edacac; 2882 } 2883 .p-button.p-button-danger:not(a):not(.p-disabled):active, .p-buttonset.p-button-danger > .p-button:not(a):not(.p-disabled):active, .p-splitbutton.p-button-danger > .p-button:not(a):not(.p-disabled):active, .p-fileupload-choose.p-button-danger:not(a):not(.p-disabled):active { 2213 .p-button.p-button-danger:enabled:active, .p-button.p-button-danger:not(button):not(a):not(.p-disabled):active, .p-buttonset.p-button-danger > .p-button:enabled:active, .p-buttonset.p-button-danger > .p-button:not(button):not(a):not(.p-disabled):active, .p-splitbutton.p-button-danger > .p-button:enabled:active, .p-splitbutton.p-button-danger > .p-button:not(button):not(a):not(.p-disabled):active, .p-fileupload-choose.p-button-danger:enabled:active, .p-fileupload-choose.p-button-danger:not(button):not(a):not(.p-disabled):active { 2884 2214 background: #aa2424; 2885 2215 color: #ffffff; … … 2891 2221 border: 1px solid; 2892 2222 } 2893 .p-button.p-button-danger.p-button-outlined button:enabled:hover, .p-buttonset.p-button-danger > .p-button.p-button-outlinedbutton:enabled:hover, .p-splitbutton.p-button-danger > .p-button.p-button-outlinedbutton:enabled:hover, .p-fileupload-choose.p-button-danger.p-button-outlinedbutton:enabled:hover {2223 .p-button.p-button-danger.p-button-outlined:enabled:hover, .p-button.p-button-danger.p-button-outlined:not(button):not(a):not(.p-disabled):hover, .p-buttonset.p-button-danger > .p-button.p-button-outlined:enabled:hover, .p-buttonset.p-button-danger > .p-button.p-button-outlined:not(button):not(a):not(.p-disabled):hover, .p-splitbutton.p-button-danger > .p-button.p-button-outlined:enabled:hover, .p-splitbutton.p-button-danger > .p-button.p-button-outlined:not(button):not(a):not(.p-disabled):hover, .p-fileupload-choose.p-button-danger.p-button-outlined:enabled:hover, .p-fileupload-choose.p-button-danger.p-button-outlined:not(button):not(a):not(.p-disabled):hover { 2894 2224 background: rgba(211, 47, 47, 0.04); 2895 2225 color: #D32F2F; 2896 2226 border: 1px solid; 2897 2227 } 2898 .p-button.p-button-danger.p-button-outlinedbutton:enabled:active, .p-buttonset.p-button-danger > .p-button.p-button-outlinedbutton:enabled:active, .p-splitbutton.p-button-danger > .p-button.p-button-outlinedbutton:enabled:active, .p-fileupload-choose.p-button-danger.p-button-outlinedbutton:enabled:active { 2899 background: rgba(211, 47, 47, 0.16); 2900 color: #D32F2F; 2901 border: 1px solid; 2902 } 2903 .p-button.p-button-danger.p-button-outlined:not(button):not(.p-disabled):hover, .p-buttonset.p-button-danger > .p-button.p-button-outlined:not(button):not(.p-disabled):hover, .p-splitbutton.p-button-danger > .p-button.p-button-outlined:not(button):not(.p-disabled):hover, .p-fileupload-choose.p-button-danger.p-button-outlined:not(button):not(.p-disabled):hover { 2904 background: rgba(211, 47, 47, 0.04); 2905 color: #D32F2F; 2906 border: 1px solid; 2907 } 2908 .p-button.p-button-danger.p-button-outlined:not(button):not(.p-disabled):active, .p-buttonset.p-button-danger > .p-button.p-button-outlined:not(button):not(.p-disabled):active, .p-splitbutton.p-button-danger > .p-button.p-button-outlined:not(button):not(.p-disabled):active, .p-fileupload-choose.p-button-danger.p-button-outlined:not(button):not(.p-disabled):active { 2909 background: rgba(211, 47, 47, 0.16); 2910 color: #D32F2F; 2911 border: 1px solid; 2912 } 2913 .p-button.p-button-danger.p-button-outlineda:enabled:hover, .p-buttonset.p-button-danger > .p-button.p-button-outlineda:enabled:hover, .p-splitbutton.p-button-danger > .p-button.p-button-outlineda:enabled:hover, .p-fileupload-choose.p-button-danger.p-button-outlineda:enabled:hover { 2914 background: rgba(211, 47, 47, 0.04); 2915 color: #D32F2F; 2916 border: 1px solid; 2917 } 2918 .p-button.p-button-danger.p-button-outlineda:enabled:active, .p-buttonset.p-button-danger > .p-button.p-button-outlineda:enabled:active, .p-splitbutton.p-button-danger > .p-button.p-button-outlineda:enabled:active, .p-fileupload-choose.p-button-danger.p-button-outlineda:enabled:active { 2919 background: rgba(211, 47, 47, 0.16); 2920 color: #D32F2F; 2921 border: 1px solid; 2922 } 2923 .p-button.p-button-danger.p-button-outlined:not(a):not(.p-disabled):hover, .p-buttonset.p-button-danger > .p-button.p-button-outlined:not(a):not(.p-disabled):hover, .p-splitbutton.p-button-danger > .p-button.p-button-outlined:not(a):not(.p-disabled):hover, .p-fileupload-choose.p-button-danger.p-button-outlined:not(a):not(.p-disabled):hover { 2924 background: rgba(211, 47, 47, 0.04); 2925 color: #D32F2F; 2926 border: 1px solid; 2927 } 2928 .p-button.p-button-danger.p-button-outlined:not(a):not(.p-disabled):active, .p-buttonset.p-button-danger > .p-button.p-button-outlined:not(a):not(.p-disabled):active, .p-splitbutton.p-button-danger > .p-button.p-button-outlined:not(a):not(.p-disabled):active, .p-fileupload-choose.p-button-danger.p-button-outlined:not(a):not(.p-disabled):active { 2228 .p-button.p-button-danger.p-button-outlined:enabled:active, .p-button.p-button-danger.p-button-outlined:not(button):not(a):not(.p-disabled):active, .p-buttonset.p-button-danger > .p-button.p-button-outlined:enabled:active, .p-buttonset.p-button-danger > .p-button.p-button-outlined:not(button):not(a):not(.p-disabled):active, .p-splitbutton.p-button-danger > .p-button.p-button-outlined:enabled:active, .p-splitbutton.p-button-danger > .p-button.p-button-outlined:not(button):not(a):not(.p-disabled):active, .p-fileupload-choose.p-button-danger.p-button-outlined:enabled:active, .p-fileupload-choose.p-button-danger.p-button-outlined:not(button):not(a):not(.p-disabled):active { 2929 2229 background: rgba(211, 47, 47, 0.16); 2930 2230 color: #D32F2F; … … 2936 2236 border-color: transparent; 2937 2237 } 2938 .p-button.p-button-danger.p-button-text button:enabled:hover, .p-buttonset.p-button-danger > .p-button.p-button-textbutton:enabled:hover, .p-splitbutton.p-button-danger > .p-button.p-button-textbutton:enabled:hover, .p-fileupload-choose.p-button-danger.p-button-textbutton:enabled:hover {2238 .p-button.p-button-danger.p-button-text:enabled:hover, .p-button.p-button-danger.p-button-text:not(button):not(a):not(.p-disabled):hover, .p-buttonset.p-button-danger > .p-button.p-button-text:enabled:hover, .p-buttonset.p-button-danger > .p-button.p-button-text:not(button):not(a):not(.p-disabled):hover, .p-splitbutton.p-button-danger > .p-button.p-button-text:enabled:hover, .p-splitbutton.p-button-danger > .p-button.p-button-text:not(button):not(a):not(.p-disabled):hover, .p-fileupload-choose.p-button-danger.p-button-text:enabled:hover, .p-fileupload-choose.p-button-danger.p-button-text:not(button):not(a):not(.p-disabled):hover { 2939 2239 background: rgba(211, 47, 47, 0.04); 2940 2240 border-color: transparent; 2941 2241 color: #D32F2F; 2942 2242 } 2943 .p-button.p-button-danger.p-button-textbutton:enabled:active, .p-buttonset.p-button-danger > .p-button.p-button-textbutton:enabled:active, .p-splitbutton.p-button-danger > .p-button.p-button-textbutton:enabled:active, .p-fileupload-choose.p-button-danger.p-button-textbutton:enabled:active { 2944 background: rgba(211, 47, 47, 0.16); 2945 border-color: transparent; 2946 color: #D32F2F; 2947 } 2948 .p-button.p-button-danger.p-button-text:not(button):not(.p-disabled):hover, .p-buttonset.p-button-danger > .p-button.p-button-text:not(button):not(.p-disabled):hover, .p-splitbutton.p-button-danger > .p-button.p-button-text:not(button):not(.p-disabled):hover, .p-fileupload-choose.p-button-danger.p-button-text:not(button):not(.p-disabled):hover { 2949 background: rgba(211, 47, 47, 0.04); 2950 border-color: transparent; 2951 color: #D32F2F; 2952 } 2953 .p-button.p-button-danger.p-button-text:not(button):not(.p-disabled):active, .p-buttonset.p-button-danger > .p-button.p-button-text:not(button):not(.p-disabled):active, .p-splitbutton.p-button-danger > .p-button.p-button-text:not(button):not(.p-disabled):active, .p-fileupload-choose.p-button-danger.p-button-text:not(button):not(.p-disabled):active { 2954 background: rgba(211, 47, 47, 0.16); 2955 border-color: transparent; 2956 color: #D32F2F; 2957 } 2958 .p-button.p-button-danger.p-button-texta:enabled:hover, .p-buttonset.p-button-danger > .p-button.p-button-texta:enabled:hover, .p-splitbutton.p-button-danger > .p-button.p-button-texta:enabled:hover, .p-fileupload-choose.p-button-danger.p-button-texta:enabled:hover { 2959 background: rgba(211, 47, 47, 0.04); 2960 border-color: transparent; 2961 color: #D32F2F; 2962 } 2963 .p-button.p-button-danger.p-button-texta:enabled:active, .p-buttonset.p-button-danger > .p-button.p-button-texta:enabled:active, .p-splitbutton.p-button-danger > .p-button.p-button-texta:enabled:active, .p-fileupload-choose.p-button-danger.p-button-texta:enabled:active { 2964 background: rgba(211, 47, 47, 0.16); 2965 border-color: transparent; 2966 color: #D32F2F; 2967 } 2968 .p-button.p-button-danger.p-button-text:not(a):not(.p-disabled):hover, .p-buttonset.p-button-danger > .p-button.p-button-text:not(a):not(.p-disabled):hover, .p-splitbutton.p-button-danger > .p-button.p-button-text:not(a):not(.p-disabled):hover, .p-fileupload-choose.p-button-danger.p-button-text:not(a):not(.p-disabled):hover { 2969 background: rgba(211, 47, 47, 0.04); 2970 border-color: transparent; 2971 color: #D32F2F; 2972 } 2973 .p-button.p-button-danger.p-button-text:not(a):not(.p-disabled):active, .p-buttonset.p-button-danger > .p-button.p-button-text:not(a):not(.p-disabled):active, .p-splitbutton.p-button-danger > .p-button.p-button-text:not(a):not(.p-disabled):active, .p-fileupload-choose.p-button-danger.p-button-text:not(a):not(.p-disabled):active { 2243 .p-button.p-button-danger.p-button-text:enabled:active, .p-button.p-button-danger.p-button-text:not(button):not(a):not(.p-disabled):active, .p-buttonset.p-button-danger > .p-button.p-button-text:enabled:active, .p-buttonset.p-button-danger > .p-button.p-button-text:not(button):not(a):not(.p-disabled):active, .p-splitbutton.p-button-danger > .p-button.p-button-text:enabled:active, .p-splitbutton.p-button-danger > .p-button.p-button-text:not(button):not(a):not(.p-disabled):active, .p-fileupload-choose.p-button-danger.p-button-text:enabled:active, .p-fileupload-choose.p-button-danger.p-button-text:not(button):not(a):not(.p-disabled):active { 2974 2244 background: rgba(211, 47, 47, 0.16); 2975 2245 border-color: transparent; … … 2982 2252 border: transparent; 2983 2253 } 2984 .p-button.p-button-link button:enabled:hover {2254 .p-button.p-button-link:enabled:hover, .p-button.p-button-link:not(button):not(a):not(.p-disabled):hover { 2985 2255 background: transparent; 2986 2256 color: #0b7ad1; 2987 2257 border-color: transparent; 2988 2258 } 2989 .p-button.p-button-link button:enabled:hover .p-button-label {2259 .p-button.p-button-link:enabled:hover .p-button-label, .p-button.p-button-link:not(button):not(a):not(.p-disabled):hover .p-button-label { 2990 2260 text-decoration: underline; 2991 2261 } 2992 .p-button.p-button-link button:enabled:focus {2262 .p-button.p-button-link:enabled:focus, .p-button.p-button-link:not(button):not(a):not(.p-disabled):focus { 2993 2263 background: transparent; 2994 2264 box-shadow: 0 0 0 0.2rem #a6d5fa; 2995 2265 border-color: transparent; 2996 2266 } 2997 .p-button.p-button-linkbutton:enabled:active { 2998 background: transparent; 2999 color: #0b7ad1; 3000 border-color: transparent; 3001 } 3002 .p-button.p-button-link:not(button):not(.p-disabled):hover { 3003 background: transparent; 3004 color: #0b7ad1; 3005 border-color: transparent; 3006 } 3007 .p-button.p-button-link:not(button):not(.p-disabled):hover .p-button-label { 3008 text-decoration: underline; 3009 } 3010 .p-button.p-button-link:not(button):not(.p-disabled):focus { 3011 background: transparent; 3012 box-shadow: 0 0 0 0.2rem #a6d5fa; 3013 border-color: transparent; 3014 } 3015 .p-button.p-button-link:not(button):not(.p-disabled):active { 3016 background: transparent; 3017 color: #0b7ad1; 3018 border-color: transparent; 3019 } 3020 .p-button.p-button-linka:enabled:hover { 3021 background: transparent; 3022 color: #0b7ad1; 3023 border-color: transparent; 3024 } 3025 .p-button.p-button-linka:enabled:hover .p-button-label { 3026 text-decoration: underline; 3027 } 3028 .p-button.p-button-linka:enabled:focus { 3029 background: transparent; 3030 box-shadow: 0 0 0 0.2rem #a6d5fa; 3031 border-color: transparent; 3032 } 3033 .p-button.p-button-linka:enabled:active { 3034 background: transparent; 3035 color: #0b7ad1; 3036 border-color: transparent; 3037 } 3038 .p-button.p-button-link:not(a):not(.p-disabled):hover { 3039 background: transparent; 3040 color: #0b7ad1; 3041 border-color: transparent; 3042 } 3043 .p-button.p-button-link:not(a):not(.p-disabled):hover .p-button-label { 3044 text-decoration: underline; 3045 } 3046 .p-button.p-button-link:not(a):not(.p-disabled):focus { 3047 background: transparent; 3048 box-shadow: 0 0 0 0.2rem #a6d5fa; 3049 border-color: transparent; 3050 } 3051 .p-button.p-button-link:not(a):not(.p-disabled):active { 2267 .p-button.p-button-link:enabled:active, .p-button.p-button-link:not(button):not(a):not(.p-disabled):active { 3052 2268 background: transparent; 3053 2269 color: #0b7ad1; … … 6378 5594 } 6379 5595 6380 .p-component,.p-component *{box-sizing:border-box}.p-hidden{display:none}.p-hidden-accessible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.p-hidden-accessible input,.p-hidden-accessible select{transform:scale(0)}.p-reset{margin:0;padding:0;border:0;outline:0;text-decoration:none;font-size:100%;list-style:none}.p-disabled,.p-disabled *{cursor:default !important;pointer-events:none}.p-component-overlay{position:fixed;top:0;left:0;width:100%;height:100%}.p-overflow-hidden{overflow:hidden}.p-unselectable-text{user-select:none}.p-scrollbar-measure{width:100px;height:100px;overflow:scroll;position:absolute;top:-9999px}@-webkit-keyframes p-fadein{0%{opacity:0}100%{opacity:1}}@keyframes p-fadein{0%{opacity:0}100%{opacity:1}}.p-link{text-align:left;background-color:transparent;margin:0;padding:0;border:0;cursor:pointer;user-select:none}.p-connected-overlay{opacity:0;transform:scaleY(0.8);transition:transform .12s cubic-bezier(0,0,0.2,1),opacity .12s cubic-bezier(0,0,0.2,1)}.p-connected-overlay-visible{opacity:1;transform:scaleY(1)}.p-connected-overlay-hidden{opacity:0;transform:scaleY(1);transition:opacity .1s linear}.p-connected-overlay-enter{opacity:0;transform:scaleY(0.8)}.p-connected-overlay-enter-active{opacity:1;transform:scaleY(1);transition:transform .12s cubic-bezier(0,0,0.2,1),opacity .12s cubic-bezier(0,0,0.2,1)}.p-connected-overlay-enter-done{transform:none}.p-connected-overlay-exit{opacity:1}.p-connected-overlay-exit-active{opacity:0;transition:opacity .1s linear}.p-toggleable-content-enter{max-height:0}.p-toggleable-content-enter-active{overflow:hidden;max-height:1000px;transition:max-height 1s ease-in-out}.p-toggleable-content-enter-done{transform:none}.p-toggleable-content-exit{max-height:1000px}.p-toggleable-content-exit-active{overflow:hidden;max-height:0;transition:max-height .45s cubic-bezier(0,1,0,1)}.p-sr-only{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal !important}.p-accordion-header-link{cursor:pointer;display:flex;align-items:center;user-select:none;position:relative;text-decoration:none}.p-accordion-header-link:focus{z-index:1}.p-accordion-header-text{line-height:1}.p-autocomplete{display:inline-flex;position:relative}.p-autocomplete-loader{position:absolute;top:50%;margin-top:-.5rem}.p-autocomplete-dd .p-autocomplete-input{flex:1 1 auto;width:1%}.p-autocomplete-dd .p-autocomplete-input,.p-autocomplete-dd .p-autocomplete-multiple-container{border-top-right-radius:0;border-bottom-right-radius:0}.p-autocomplete-dd .p-autocomplete-dropdown{border-top-left-radius:0;border-bottom-left-radius:0}.p-autocomplete .p-autocomplete-panel{min-width:100%}.p-autocomplete-panel{position:absolute;top:0;left:0;overflow:auto}.p-autocomplete-items{margin:0;padding:0;list-style-type:none}.p-autocomplete-item{cursor:pointer;white-space:nowrap;position:relative;overflow:hidden}.p-autocomplete-multiple-container{margin:0;padding:0;list-style-type:none;cursor:text;overflow:hidden;display:flex;align-items:center;flex-wrap:wrap}.p-autocomplete-token{cursor:default;display:inline-flex;align-items:center;flex:0 0 auto}.p-autocomplete-token-icon{cursor:pointer}.p-autocomplete-input-token{flex:1 1 auto;display:inline-flex}.p-autocomplete-input-token input{border:0 none;outline:0 none;background-color:transparent;margin:0;padding:0;box-shadow:none;border-radius:0;width:100%}.p-fluid .p-autocomplete{display:flex}.p-fluid .p-autocomplete-dd .p-autocomplete-input{width:1%}.p-avatar{display:inline-flex;align-items:center;justify-content:center;width:2rem;height:2rem;font-size:1rem}.p-avatar.p-avatar-image{background-color:transparent}.p-avatar-circle{border-radius:50%}.p-avatar-circle img{border-radius:50%}.p-avatar .p-avatar-icon{font-size:1rem}.p-avatar img{width:100%;height:100%}.p-avatar-clickable{cursor:pointer}.p-avatar-group .p-avatar+.p-avatar{margin-left:-1rem}.p-avatar-group{display:flex;align-items:center}.p-badge{display:inline-block;border-radius:10px;text-align:center;padding:0 .5rem}.p-overlay-badge{position:relative}.p-overlay-badge .p-badge{position:absolute;top:0;right:0;transform:translate(50%,-50%);transform-origin:100% 0;margin:0}.p-badge-dot{width:.5rem;min-width:.5rem;height:.5rem;border-radius:50%;padding:0}.p-badge-no-gutter{padding:0;border-radius:50%}.p-blockui-container{position:relative}.p-blockui{position:absolute;top:0;left:0;width:100%;height:100%;opacity:1;display:flex;align-items:center;justify-content:center}.p-blockui.p-component-overlay{position:absolute}.p-blockui-document.p-component-overlay{position:fixed}.p-breadcrumb{overflow-x:auto}.p-breadcrumb ul{margin:0;padding:0;list-style-type:none;display:flex;align-items:center;flex-wrap:nowrap}.p-breadcrumb .p-menuitem-text{line-height:1}.p-breadcrumb .p-menuitem-link{text-decoration:none;display:flex;align-items:center}.p-b utton{margin:0;display:inline-flex;cursor:pointer;user-select:none;align-items:center;vertical-align:bottom;text-align:center;overflow:hidden;position:relative}.p-button-label{flex:1 1 auto}.p-button-icon-right{order:1}.p-button:disabled{cursor:default}.p-button-icon-only{justify-content:center}.p-button-icon-only .p-button-label{visibility:hidden;width:0;flex:0 0 auto}.p-button-vertical{flex-direction:column}.p-button-icon-bottom{order:2}.p-buttonset .p-button{margin:0}.p-buttonset .p-button:not(:last-child){border-right:0 none}.p-buttonset .p-button:not(:first-of-type):not(:last-of-type){border-radius:0}.p-buttonset .p-button:first-of-type{border-top-right-radius:0;border-bottom-right-radius:0}.p-buttonset .p-button:last-of-type{border-top-left-radius:0;border-bottom-left-radius:0}.p-buttonset .p-button:focus{position:relative;z-index:1}.p-button-label{transition:all .2s}.p-calendar{position:relative;display:inline-flex}.p-calendar .p-inputtext{flex:1 1 auto;width:1%}.p-calendar-w-btn .p-inputtext{border-top-right-radius:0;border-bottom-right-radius:0}.p-calendar-w-btn .p-datepicker-trigger{border-top-left-radius:0;border-bottom-left-radius:0}.p-fluid .p-calendar{display:flex}.p-fluid .p-calendar .p-inputtext{width:1%}.p-calendar .p-datepicker{min-width:100%}.p-datepicker{width:auto;position:absolute;top:0;left:0}.p-datepicker-inline{display:inline-flex;flex-direction:column;position:static}.p-datepicker-header{display:flex;align-items:center;justify-content:space-between}.p-datepicker-header .p-datepicker-title{margin:0 auto}.p-datepicker-prev,.p-datepicker-next{cursor:pointer;display:inline-flex;justify-content:center;align-items:center;overflow:hidden;position:relative}.p-datepicker-multiple-month .p-datepicker-group-container{display:flex}.p-datepicker table{width:100%;border-collapse:collapse}.p-datepicker td>span{display:flex;justify-content:center;align-items:center;cursor:pointer;margin:0 auto;overflow:hidden;position:relative}.p-monthpicker-month{width:33.3%;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;overflow:hidden;position:relative}.p-datepicker-buttonbar{display:flex;justify-content:space-between;align-items:center}.p-timepicker{display:flex;justify-content:center;align-items:center}.p-timepicker button{display:flex;align-items:center;justify-content:center;cursor:pointer;overflow:hidden;position:relative}.p-timepicker>div{display:flex;align-items:center;flex-direction:column}.p-datepicker-touch-ui,.p-calendar .p-datepicker-touch-ui{position:fixed;top:50%;left:50%;min-width:80vw;transform:translate(-50%,-50%)}.p-card-header img{width:100%}.p-carousel{display:flex;flex-direction:column}.p-carousel-content{display:flex;flex-direction:column;overflow:auto}.p-carousel-prev,.p-carousel-next{align-self:center;flex-grow:0;flex-shrink:0;display:flex;justify-content:center;align-items:center;overflow:hidden;position:relative}.p-carousel-container{display:flex;flex-direction:row}.p-carousel-items-content{overflow:hidden;width:100%}.p-carousel-items-container{display:flex;flex-direction:row}.p-carousel-indicators{display:flex;flex-direction:row;justify-content:center;flex-wrap:wrap}.p-carousel-indicator>button{display:flex;align-items:center;justify-content:center}.p-carousel-vertical .p-carousel-container{flex-direction:column}.p-carousel-vertical .p-carousel-items-container{flex-direction:column;height:100%}.p-items-hidden .p-carousel-item{visibility:hidden}.p-items-hidden .p-carousel-item.p-carousel-item-active{visibility:visible}.p-cascadeselect{display:inline-flex;cursor:pointer;position:relative;user-select:none}.p-cascadeselect-trigger{display:flex;align-items:center;justify-content:center;flex-shrink:0}.p-cascadeselect-label{display:block;white-space:nowrap;overflow:hidden;flex:1 1 auto;width:1%;text-overflow:ellipsis;cursor:pointer}.p-cascadeselect-label-empty{overflow:hidden;visibility:hidden}.p-cascadeselect .p-cascadeselect-panel{min-width:100%}.p-cascadeselect-panel{position:absolute;top:0;left:0}.p-cascadeselect-item{cursor:pointer;font-weight:normal;white-space:nowrap}.p-cascadeselect-item-content{display:flex;align-items:center;overflow:hidden;position:relative}.p-cascadeselect-group-icon{margin-left:auto}.p-cascadeselect-items{margin:0;padding:0;list-style-type:none;min-width:100%}.p-fluid .p-cascadeselect{display:flex}.p-fluid .p-cascadeselect .p-cascadeselect-label{width:1%}.p-cascadeselect-sublist{position:absolute;min-width:100%;z-index:1;display:none}.p-cascadeselect-item-active{overflow:visible !important}.p-cascadeselect-item-active>.p-cascadeselect-sublist{display:block;left:100%;top:0}.p-chart{position:relative}.p-checkbox{display:inline-flex;cursor:pointer;user-select:none;vertical-align:bottom;position:relative}.p-checkbox-box{display:flex;justify-content:center;align-items:center}.p-chip{display:inline-flex;align-items:center}.p-chip-text{line-height:1.5}.p-chip-icon.pi{line-height:1.5}.p-chip .p-chip-remove-icon{line-height:1.5;cursor:pointer}.p-chip img{border-radius:50%}.p-chips{display:inline-flex}.p-chips-multiple-container{margin:0;padding:0;list-style-type:none;cursor:text;overflow:hidden;display:flex;align-items:center;flex-wrap:wrap}.p-chips-token{cursor:default;display:inline-flex;align-items:center;flex:0 0 auto}.p-chips-input-token{flex:1 1 auto;display:inline-flex}.p-chips-token-icon{cursor:pointer}.p-chips-input-token input{border:0 none;outline:0 none;background-color:transparent;margin:0;padding:0;box-shadow:none;border-radius:0;width:100%}.p-fluid .p-chips{display:flex}.p-colorpicker{display:inline-block}.p-colorpicker-dragging{cursor:pointer}.p-colorpicker-overlay{position:relative}.p-colorpicker-panel{position:relative;width:193px;height:166px}.p-colorpicker-overlay-panel{position:absolute;top:0;left:0}.p-colorpicker-preview{cursor:pointer}.p-colorpicker-panel .p-colorpicker-content{position:relative}.p-colorpicker-panel .p-colorpicker-color-selector{width:150px;height:150px;top:8px;left:8px;position:absolute}.p-colorpicker-panel .p-colorpicker-color{width:150px;height:150px}.p-colorpicker-panel .p-colorpicker-color-handle{position:absolute;top:0;left:150px;border-radius:100%;width:10px;height:10px;border-width:1px;border-style:solid;margin:-5px 0 0 -5px;cursor:pointer;opacity:.85}.p-colorpicker-panel .p-colorpicker-hue{width:17px;height:150px;top:8px;left:167px;position:absolute;opacity:.85}.p-colorpicker-panel .p-colorpicker-hue-handle{position:absolute;top:150px;left:0;width:21px;margin-left:-2px;margin-top:-5px;height:10px;border-width:2px;border-style:solid;opacity:.85;cursor:pointer}.p-colorpicker-panel .p-colorpicker-color{background:transparent url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAIGNIUk0AAHotAACAlQAA+NcAAIhSAABxRQAA6mYAADkHAAAh+QMnhVYAACf5SURBVHja7H3LjuRIkqQaJ+e0wB72T/s7+w/qOKduoLBd3ZVZmeEP0z0UjSUUiqqpuUf1AoMJIBDuTjrdwyhUERVVMzZ3/y8z+99m9jAz33/7/hs97vb7zzv7qff54n7HNncv7Vc9nnjuf/Ixsv2i7y/328eii/EMP9vd5fjvr3cc4/Fa793dvffe+/P57Pf73b99+9b/8pe/9C+99/9jZv9rB8Dsn3kWT9RsQCIgzE7Us3r8le+Ig/fqMRKAp8cAEPAY4/Gy93l2cY393P0J+/nYBtvH8+e+rfXe246cBr/+eDz68/m0+/3uHx8f9v37d/v69av9/PPP/tNPP9lf//pX+9J7f+ygenzCSfPZgLxz0l48oeEvXKVv7fPisU4/v28yM7O2/5q7t+A5P3Y8hvq772/u3nYQjdePfXbgbDuYxmv+fD7t+Xza4/Gwx+Ph9/vdbreb3W43//79u/3666/2z3/+0/72t7/5Tz/9ZN++fbMv8A+Vfmj/ZmZtf63hgLXWVo7z0ueOgQ0enwY9+MH9Kp99+Vw8wcG2bQc+7+cF8BgcC4957EevNwDRRgByAFYbQILIdIDI3e35fFrvvY2/j8ejPR6P7X6/++1284+Pj/bjxw/79u1b+/XXX9s//vGP9ve//91+/vnn9ng82pfe+8qJ5YH1FeAEJ28KEPpsg5NyArEA3+lEtdaOE8MXQvBZDBKbAYv3w+PhNnhsapu7W2tt671ba63vf1vvPQQWRaUjUu2/B9D2c34C0YhSO5B8j1B9/9uez2e73++2/247BfrXr1/tX//6l/3yyy/2yy+/+NevX+35fNoUWDAwKZCKESYEZyGCpSdeAEnRTRW4YSQKgJQBy+HxRkHUOZrtwEGAMICOY/wRhE60NsDTB7DGMZHuzMx778Zgcnd7PB4DWPZ8Pn0A6na79dvtZvf7fbvf7/bbb78dwPr111/t69ev/ttvv1nvfQqs8Y/5Im2VIluR3sag+uQ7toDi5PcQ39FEVLqALgNW8HgDJPWE0i5gIp00ANSZ0sxs0BkCyDBCjef7376/NgT51ns/IhYCCzXV/X63j48P//HjR//4+Gj3+719+/bNxu/379/9drv9DqwoUlQBpehnIk6jSOSr+ir4jnysCCDZ+46T1FrDk+2tNcOLESN6AKzTRwFQZsByEteK7hrS3R6ZBngaRizQUcfj5/PZdh01QDWe266p2uPxsPv93m632/i179+/t99++619fHwMrdV+/PjRbrebPR6PZmZaY1WFNdFkKwCqLYjriI48SCAqkU5RldJEXtBLBhGpR8AiACGNdd4v0EuH+GZggd7aRJTqCKRBhyN6YYQaVLhrqra/tokscEQs+/j4sG/fvg0hbz9+/LDb7eaPx8Pc/UKFHlz1L9GkONk+iXQZ9UnwKKApQNIxWyGVtxkV9t7bHsGOyBYAq+3jzGDCCHWIa6C+Jva9ZHs7tWEE25D6CEwDaObu2wDW8/n0XVPZ4/FAkLUBKgTWANK3b9/6x8fHtuuwASy/UOEMT8paSFJzn2WEETjpODK4Bd6PR1GVhT1mZgIUjhdYkt35hOKG3cD7oDVw8pYYdOOYw7AkXXWiwmEbDDpES2Hoqp3ybKfAE/09n8+2R6p2v9/brrdOVIiPPz4+2sfHhz0ej+3xePQRGTliTb2fLErR1e0FjeQB2CLqi7Ix3keefBF5HPZzYQd4JNCVfzRokSmTQDYcbtZU214iMQBiI5G+Daug//5zimSwDS2Ek0AHj2oYn0dk6r0fgn3XVna/3/1+v/fn87kNU3QI+X2bff/+vd/vd3s8HkekvGisiVGYgSoDVEsiT2iyigzsopeQgnbvx/Gqx+PTtgiATQBGelCUwTUGDBxzUxkd6qMByID6DEouaG6iN9VRoO9AQyBhJriBV3VQ4W6EbgJYdr/f++Px2G63G2aJvgNxZJI+wH0CFmc8k2wrjXJIQXBCj9d3s/L0VgDJBcScKJzMIG0BuNJ5FKkuEXCAqxClsowuMi3VYxbiJ62EYAIgDVrrHLH2KIXaagBpRCnctiGwBqD2yLXtUWgAaQAMjdIDgB8fHw4R96yxXgBV5rAfJ1fQravPGumyos8MaALUlwwPwYRCXgGNdZWyDlico/YR9oADAE7uusr20DkHf8r2E8flmAFMh+cbRqjn83lsez6f296NcESpkQkOnXS/3we42g6utkerfr/ffddhbQflQaPj89y9lahwxesKKC0T4XiVSwOTNJLyiDLt1DIdJQS82rYSlSLfaRNU2MAaQOd9i7K9AUb0o0a0IothwzLN8/kc20YmeGis/bUTre1Z4TYi1g4wu91uDr6X7zRruw5rkgoDEKlolUWKCCAVoEURxZSQJ8CYMk5VticikQEFSkc9K/4yeJSOQ0obQh6jFdoSqLcITJ0tBQTT0FXjdbQUIAvsz+ezuXvbW1+s9953CtzAbrDb7dZHlENb4na79cfjsaFFMT5jnI+S3VDcJwJPRG2evB+BEkU4BTKPaJIozIPOAUWBzlEIvxcBS+2LOglFuTM4oeRy2m8/YRdLAbRVH71S6LSzdwUdC0iPB609Hg9398NuGIVnduL3bUcHBEdPM+vTiFWNYBOgWGYh0L6H97MQiZTx6YHYNnDLEUwciYztAlWjE/ttlME5ZXlHJBrWA9b5JhGLHfROADuAhNFrWAoAtpHFdXcfAh47Ghr0YA09tqGRumutkwE7LA4z2xBYUQmkUqbxLCIJY1JRIeopT7SUKUCojI7KMxYArqExySZn1gfFAAs01sm7wmwPTE9JjQCyEaUYZNu+30AYgqcrd33fZxuFZtZYe4RyyBjb7XbroMl8aCoE6gDr+O5fVIE0A0zv3aGJ7wjp+2tH9rJbB6ayqQb+Az8fINn7jxToOCPzSG8RxTXhtl/cdwCnTwT7MR4ELG6oc5HtObnpp/4poJWTFTGi0XjfSO/JAPVdQw2v6jnApOyGYTOAI98AiIdbPxx4LFbvugw7Kw5cfBGV+ik1BtX6qB32orH4GIKO0ZJQ1MmRT1Irl0w4SkJDnZHmMWETXLwxtgYIdJjhdUGF3IhnAJgjGRj6CemPxLtDG8ygvw6txdtOhaOp73gO9oPt4NqGyN8j0jaAOOgSW5VHZOMCOFPhTF8p51s994QOmfqUPvJApB/utqBJRX0bTBy4RC/x/GRaMkgmlsJF3KOFEBidbG4iNSItbnDS0EbAks62U1pD8xTAZgAutBs6UJ7v+2yot0D0H/qLitqnwvnQsFVgqZpd9FxZES0CUKSjqLxigYnJ2VhEmS6EOReAT811rL8WgLXh8Vg3ofWwA+mSNQLINmExdDBFEWRSvA/AjegzBHvkY8H+p6gEYv6IbFjGuUQsprAqLSYgs4mQtwmNeUCfyvl2bo6j6KLc9YstwPvS+0xYAxcdFbjsjaLVoHjpvKPdgJoKAMcaC2fXODbwPZ9PN7OGzvjYd4js4aADiNpuJRwZ6PCp0LLgRIUK7meNNfOZEjBkJRaOVJdSSkSTIqM7rgZBca5qjMpZh6Jw5+iV1fJWtqFews8D7WSsozgqiVrhAEDn/SBadSjpDCAeVEjUeNo2DFLY5rhtHHOPdCNK+U6XGwD/bDfMIlY1WhE4PHHNI4A1dYxAU4XHUIYoHwMjmSpCZ6BT9Dd6pLDTYUxcIJpE6uukqzpMdjhto8cdvKpOvesH3cF+h/OOtIglHnDtj5LOHgEdmgZP+yEFAtuUqLAFnQtyP8iyuMB8WBJgR1yyxgGAkakFwLlENkFpRkLc4AQbgc0n+51oblAOfO4lewQKc4peWFh2ENzOzXy4DaIWuutO7cdD6xx0ho+HVTDEOLxnFKbZUjg04E6Bg2o9MIevdgObo4UIFWmrBuhN9QtrGQQI+EPsVXUVEVkHBd7UpeeKIo8JbYXFYRP2ggmLAT2ok8M+ohmA01QkwuiFpihEqUYRa2Mq3CMNUmFjWtyp7JQtDsCOrHAHU8dmweGZjYwSorSdSjpF6otqgCXARTQ5iUycBQ7dwVkh7yd9LAYaG6WTDHD6GgOL/KqTjUBA6kpjsa1AuoofH5kgPwbnHUE3PCoGXaPCNb5/dDQ4jLFjQpSJ9xmwLAFVn4AtAowFYPGkM8ECC8Gw15wzFirhOLnkTdT4PAIbFIgjMDkbqUizkN1dtou+9Q7PO2WGG7bGoI8VAM0hCrGYd0oAnH0rBBOiKrUbkozPFwA3jWbZZwsgeTKBIXL2I+q1RNzPgHbyvYbmEdmeilJOFsXIFk009xnPA6TuBnyM2grfh1rqpLmoHnn6HlBQvui28b7xOWKisIxYF7tAgKklloGanOBFoLRk1ktEY5445JZkf1GdEBfQkBYD1sXIp7pQoXjM2R33sOO+LcoKdzBjScfJee9QG+SscPRnjcenyIbvo3LQhiCmHvsOLTMW2g0TuptFuAs4lI5SACRwc8lF+VZNUaYQ9TMtZYGQb0Hr8Ba0w1QfH5po2ApCsGMJp2OGBuDBiIVA29DvejwekgrBQkCN5ZCVnqgOaRLXi4DEb5yDlApLYCIxHwnxVyjPgga8GXg8oEDuS3dM8xNKPOk9thCGTqJJppbQX4Pow/sZ2wtAPyb621FjOTb3DbpCehs2whhLbPaDx2pSa4eGANSXijFi8f4GmEyUY6Jow3pHinoB1Ma1uARIDF6mxVeimQVCHP0tg8LyicbAuzpFL9jviF7Q/tKhsH0yQckQ7QAiJyo8KA0jFACpg9vuoiLg6MqTIXpcV6tUaNEMYUVbKu2f7RcBSWR/GTVeQJFto8euwMRZ57hyx7iRWMcGvosgB7P40GVDXOMx0I8S1Gg4E4eywE1RIWaFBJDDx+LskUE2to3pZSozBJDNs8IJpZ0a/9TJ3534sV9pG9sNTE0U9bB/yYVRe9nGrcojonDNUVkUUTSb6SoCz0Ws4zGSbQg6zgLlNnTY99c6l35GZCI6RN13lG6gG3YjmwGXw6xHrGx71uxHK6ZY5G5Tx4EFUUxFPVetLcEyQKps48JB5++EeuJSHcBtrLfAjmg41ii8iU6noKOuBuPno8MBvC+MbidLAnSd4TR/ZWUgaOm8vq6xotphdKJFS0oTGaAFYLKgCM0n10UHQ0aLbFq66HDwaMlF9Rqk2a40VqCrsCW57ye0K/CwxsIeLKKtC90hLY7C86DXPZrhhAvH/i+0Mjh6EQ2ySeqr4l3ZCGo61ax3KrMfPNFHHmgsfu+lyMxLA0WinCjPlaNOkQdLMZfIQ89PugomWaDzPhz1LTipJ10FNgQ+b1w7xONNjn8CJOspFvNUysEVoXONNel8UK3HvmAtmABGRrGtCC7V0WDsSzHdcQE9mFjBFoKiTAvsBiedhfbCKVoCHbH9cBLwAU3iMRCIbCOw/jqKyWhhiPmQp+yXHPe8VhgBYCWyiQxy9tcUpTGNFo7VAi2XUiE77qp7Qbjrp3mHSGdAb5sAlQQFWgoYXiArRKrifixTVoTICtFuONEpRCaHibK8aK7D3Mlxg4JtSbwHLTGhXprNoIkiV9BLlQEwshRc1ASjKV3Sn1JCP8r8gomopuwGKuEgWNhtv1Am05aIRsP34udHBgfgQQCdgKkoEj0tBJT9cVMEEzdPuFLhrDwza/KLAEZzDUfjXybW8X1oSRj3rcMqNU10MKi7MrRoHiF3JYCzfsr88H1oVSC10usnpx7pMrMb4DV23Q93HVeiYRrjKfmDEqF33Uk3Oq0WqHrcj4xY0KCmwqh9Zva3oNOauEOCV8Q7ao/EL1MWA9Of6njgRj4X7cdGRWjpwuNECIpUHkS+jQDNrTKYKXJDIEYsIz8Ko9RGbcUYlRymxWON0Fig49pb4pYpuEqhpsKqYRqUbFINlYh8SXcBeCzyoQJH3YLGPksoMivjXPQW7XeiuERHZRHqoEVw0Lnxj+2Fk/OO1IeuOWZ36HGx5hL7bwxAPK0DjO8AK1vJxSagU4150eKwFpRvLlYA2xFKZwn91YLPOhWTsYwzsxTgdiJhNIs0G0QJg5PEpRvOItEcPYEJdJPNwMMrKw8A9T/C0waAOmmeEcna7+WXksaKIs4sml0AtmgjqC4GGcnUcRSlUshW7noDB91EZuk0+cEFxbONEIl+ZyCJ/YymrV9KQ+TOG82W9ijikuNvgcbEi+k/MPJyVeEljVWIYiH4koJxtmZV1sulsj3LqFFEM349ctRN0aJ6zuBlW6FChaKDAd9zoSRhYLLxqaIXZ5ONi9M4NY1tDl5c1/Jb6r0NrOo2bpO53CcmAODqtkukigCnthGNZVEJqaHT+0KNhdqJhbly14nqTpYFLfxh7HFRDfGizSjCskiX20TUisCV2w3FTFD2ZbGPla02o3rXZ9FsITNUjX6RQGeLIRL6FkyYcCXsxW1LVCZ4cegJOMYOvIq+2Iajoi5aHXa+odPlQsXvwKsfTvR3q4p3dsSz5j++8SJ/KZt0Mlh0jCgaTWgwms4VaQwP9mui/yqNRASyTLybcNeV3trIGe9KwON+ogUGC9enY1BN8RSFqIpwMUrtfOfY17LCpI041EbBzGSV0cmisOipsgJFqrZi9X+kuinTYgJA8jhMd7iUJMyQOQGVTzIDieyGkz4iUc/Oe4dVbzZBh05FZ4/oTznxEljD5c6iUmQrDGc9obGmoh4CZEzFh8YyC3wsizI3Me39otPIdc78rBBYTBViZo4pK0LNI6RtRgC69E+hpQDH3sR0fKepXXwHi4bgIMA79Iixj4WPOxWjrxqrUjuMSjdqra2kPhjZBvgdwvmEAd15ZoKSpSAb1hD4Qo+5yh4ZmFFEEyCRjjyPI/tg4II3QZenLJPAPsZno2LypXKA27MVHVliKLshKwRPxbuKSgkoZRdnRndCw10ojyOiaitOIl00jT6kPWE/lEDF2eOgrsBuiKyHjagLb9WLJR0T9oOLzPVEjQN8SnO11oab31prDu77MErnGqvappzMPK4CzZXADmwJi6Z8BdrsYpAGNcx3gSXFexVkILw70h2e+KGbRNaIgn0LANRoRcBO+25KN4F+6sQiKFcODyu1G16xHxIDVa1Eo1aJ8cmxs2JytGJfVIy2aA6hinJEd0p/+cwgnbjrJhoDjaZfScCDFJH/B72u5kBmcxPUvAE1sfi0ul8UseQUeBLtbRKFZhNTLZh5YyrDg5MrJ66Kx9Iby05M9lwtYzSJYivg2qA+N8vSkO4syBJNUSG56CzAnZr1Tlnh6Mfax+J4PBr9IKot+VgVSyFccDaqNRZn9yhATgGzAKooWqkZOjh3sAUa5ZLdLYLM1DHIrnBlEzAQry93pNcGqwaeqBZ1GtCcUfXkdFqXqTCYfm6VVWMyAEZrZgWWRhM9QKlrn0U1sbAarzBzWbVPTNBwtSQR2wsq26YSUGQtyP0R5ERxFyqcPVa2h8iYnTLSU8Mle5IV5z2cqJoJ74Du1H6WzGbOKLMUkYIZzp5Qps9Ee0XMs3e1Eqn4GJn7zk2EahtMyjhFupHBcXZKrceZu47UucmI9Q4VfvJfZSuE0Yw0oCXlnFRDrWx7RU+xF5WBh+wG1Dboe3UwP7swQtuMFvE1BAr2YkU/qMHUtjKwVrRWBArVnCeOO41YybZoTXYLANlIY83mH34KsKIINekm5ULxBvTEBucmOhTYYO2Be99QsEcRKrMjXrIbXphqP5soMRXyiZg3RasqokW99up4yj4Q/fIl2syi1mT/6cSKV6IprlHBvmCwOLGpIKDmRXCTXykrnAjyCyWpGdAV0CjjM3hPGKHQkpjMal61Ilql0BzpLdHa0oniD8oTC3Hw1HY+tjJSp1SGnQ404/mwFPx8oy2eMCF11ytUyECyqp8ljhFRYaWmmIl4FxHKkt72ioeljMRNZamRcBelGgWWLTBfsU345C0xILhZT0THxmUdpZlGnRCSNxf2g9Rd7zjvLeppd73YbATIMt0FlDa1FqJIJ+qRlixZxHXFavuyqYwz6Yl3VYxG519M0PDo+yYTPGZlL3nBk9OeUWWJCtMidAYK9cWSfipTglropdPxsZk/MTgtG8hKJlh9raK5YKVlhzIQrliTaS+MKEq8MzU20eqy8RQuFO+RG09rjI5WmRaI95LznkYo3xdPE6CoUKFHi3cosKjOhYjiou/AV3kCqtmV3agzIQNXqxSnDe7uEGilMLsTq7+EoEt0Fy9LEFkNNko6YVY4A9ZouptRGO8HzxtZ/5dUO4lYYRbHa55y8Ve1xwRTuySgKDJmIMzmFWYTYC8aCBaNVYYrg0KKegJPn2Sfl/YZO995TYEQI5W9bDcks3iiKFJp+rPA85rpNBOTMyT1ZdqJVgEMPS7XyyCFES1q3OMEYFbsTioIVun7Clx1NYMZP2cjAW/BxInNzjekr9sNb04Bk6I5ocJSVHKx0GxgP6T/C1JhJGgrmip4LqMIZoUFw3QaibDLAxYekTqKoq3KJi/RS0yOUKUcL1PhZ80trHphKvIks3iiWUItiy4V8LzTUrPw+ibm53G/uSfU52w9FKiQPSZTAl2BhyZHRHXCnAor0+SjSDHRR+E6Ddl0MY5Y1W0ZZfp16e1wichkgZGs5TmkqmSbqwkbLC9YqwoAnjRitE1Eqct71HlJlgNQoG7u/jsVvhOhViOYJ2tofWbEUgD8jIj1KlVSppVGpUm2p7apblZ0wtMoJaZ0WVILtGRq/VljfTKwShpL2As+mZg6O36a7U2cd59NvCj6XS3SWMpVT7LHkOKo5SUCYIOJppca6OwYag4h02miuUIqjIDliRHqlanzZEOEWWHi9l8ilrp5wMTNP9FJkFm2QlaYeWxhVljVbOJ3KSuEC5QjVsggOzi6KMifzldrrSeF6OWI1SbT6ytZoru+l2BGhe0zIpZoRmwTz6tNJhfMjiGn2WfbJkDjyNRmVMhzBFgrCfozmEvITvvJfE1o8o+s0Oc3DLBocY+CeJ/tF3VFmOijT8V61NEgDNCmJmEm8w3D4nIwuZUjVIkKwc2faSk1u4n3a5GjruhOtQ2prJDbygVNloDVBAVeXo8yPdHWosxNTzLElgl2MfO5VP5h2npFyE8ojW/FYolgj3RYKwj2BnP9VGRrQv031Fi4YiECRL0naJHREWumsWbZnOtbyVXc9WxF5iZmgmRWwgWoCb2qmUVRd4NP9JYHzr4pLRY0FFo0z4+zWnH/aY9aeFTHBHZJiHmBPjQwfz6v3Ke+47LGyiJV0CLsSYdpEyvMRCc++tzmwXpbijYnAJveVzoo8zTuREhotWXGaBKxGBRIbU3onsox25giDxNlT5ke9MM3YbC2SdRa0lih2A5626OZzjZZlC1qObaJWPcos0sshmmbdHEGUNgZkfTYN+WiD6AyVRKgZsKedZSzrlLgEZJBaimIXNENBNbtBhfLDlWjmxdX96uUgsS8xjbRZekcxSBCSr00KVaXgTabdDKZDGIqeqpedLXOgud3SruMu6JBoj2nx8t2w2UtiFdn6aw+T2ZYS4DNTlTyOWHr8gs98j6ZNCspTFBatB2bBi9ZZXRRctZo55uKXgzW3Xf8/cXf9VdUoLYMWDNB7QUd5olm8SjqqTbjZJ0IOWs6Wj0mWg9iZZbQqxljYkmE0VNZA5HGUtsYJGSOKpo8ZYEIJlHCacqFh225xsoMUdN3hOeTnE4sLYhxD45XmXoW+VHHohXQWhvdE3oGKmcdmCxkEiYK1QQAszkRsXwCzBZotsu5YC2Fj1U7MtwPqZ+A5fkNAaKsrBK50tVrZms3JAuLyAgQbTO9Zle4hGREw4XJr6WW5yxdp0bJTApEU+V4llKLLq7J3ED+Xkc7DGfe8LOV7IZK94Ja4sjyNbCmvV8RKAmIrThP0YNo5gVwHItf0KSNbCGT2WODe0TPoll2T+pTdiZ0WESFFwolf8wpU22ZnhJF6andICNUEm0yYW/ZdHkFSl7hRZmZ6vssAHC6yFtkJ7ygv0K7wa73f7yARzy+lIjUeWMqBM3UAr01Lib2uKaUKrLDuvMujE6vrOOQTXCd7avmrLlYzJ9S3Wx57xBkQdboonzkgQ2hwDKL0O76lnd8k/aQwuiejyEVqpJWQGkRDVZ/1px3RnoAlnQlwEADhTOdg2wuA4O6430YRZJk4aXF3Cy/eVQKas7qmJJEs1/o8NNYuIp6UbSEJQqixr6WWA2SCmW5xvRdvGS0CGgypEX6otFM53BFP/E+lXmqyNGoU7KtmLaFRU3k8YN9WpDVZced0mTCBsp6uFBxpOdIXzXx2vZqEfpIkyEMZ9nd6R8e97UjUSp77llEi6jHt+xNbyhgtM57Eh0vjXmV8g/eQKE6jS6iyaizZDETHrZKmHTtjX3KcR/foQdO+xoVFhr6mpiXl7YsGy3g7ws3MVflC4+X4bbAT4vuPOHqs5NJIWGPF2dukT8nwOau762YabNwfATItqxDlywEFYk2/r8m0WuLgFWxGUoAFNGsfC8dNTMoygotuZcOR6wCjdmsnvnqJF/qXvWZLlNue0WjTVqUXF1QykIItke9WgbA2krAssLdVhO9ZUJQZ9tkCSiaK8hRrgCeyv2r24y+kszykqREyxREYprXlA/GP5y0IRItj7ZlIFNRifcTrTdaY0WaqkJzE701NUhnJ00lCQEwsruQtaQtR1GiKX0XZcSq3x9Ape6tqDJbaTvw+7m7IehAiNgntCCqVkRQOWhlKpwAa+VWKFlkakmWWB5wC27bG2SIL93Z1ea3zCttq1wkynmPji0incxARWRSkccCZ139fZkKU8c40UcZ3aQDLpz/sLZXAJm6OtOLYWX5gJVtxRM/pdkK3RFlVujfo0SENNccWEkEyoCQvged+eL0MC+K2PTkUEZ5cuOD+YvRhaHc9ugv949faI7oFFN5eZfXzPkOdFgUwdOCd8AW2b4hZVbshupKyZXV/ppK+UUnwZQu+OQVqGsq7JPoMt03atku7hutKJ2uv5pF90CUl6IeZ3wiK6zQYY0KZzbDRD+F1FeJNsWsLdNA4Y2eIkG+AKQl8BSpMFpLtfRX7R9kdDITRCciyvyULvtsYL26nQvXK6DhbC2LSrLSb/mtVyyLhivabEWjTcpIUaG/VTUTue8ntx3/CuB07l6ZAQp7tsysZRortQsyWgw0i7+wXxrBJkapnASQNPXNXn/17+zzKxNIZEeE0l7B9LqNvtcmXHd83zaZO5h1Pcw1lriyohM9i0rT6MXiepH+lujzE+julUXnymAU9cyZxOA+9EaNchcao6zPIvqLsmwKEKi//iOkwkRHVeiwqrlUCC6DJaHLyrpdHvRNyWiyApwsSnv9tjBLEVFNfXshqjrNxpK0V9Bfsd1QHUhlAUyc33DwTawFUb3iA41Volo66ThnsXxh8ISRzC2HDojliykzgCsXjZr8gdO2ZvT6VqPf7MQWoluoubIu0iwardb4qE1aDlRB21T2LS/tZGICb9Jq3YQf5rNxy8xhQXkyYwyikE0MUrtErGwyRdKk5wG4wmn4BX1mBZqcgilq3KPHFwO18v6F5QeyMcnqmCt+XoUaS9osiXQp0FJgsTgfwvH3fjyb9rejm7yH+Sk1BS65Rc452gCT99nEeA09rFmf/4rVUJUT1WJ81vxXKIJ70KDHTn8nK2IWnaJt799hddaxUNFfq1d7YOAp8LcJrVc1nK1GjVmnwCSNXynuz8Y9M2952wYRp3x88Tn5vXQy8R2d8IS2ImBYRI8FqktnoVQj0qSNZOkkW2Eyb2G/ENAe30CrelFENGkzGgz0Va6xFoBlBdMzsx+sAMw2+8ez42VC3q7rPFgFdK+8JjRlJTpbpbtDXAipPgoqDyFIFsAUAat9mWUxFe0xEdvlq3ySGEyv6iIgLSiCX6h1ov2y/WRL9IsXxiXlL1BuutbF7DiJLVFx3+tUOANJAZAvAUFllJOBtSJNlibmJu8vj0ehM6Q6HlaRDOyoT4Dq3NIjHHULMsQocmkqTNLRWYSJ/pmVfavcz5liBRQrYCtnigWQTcfrxfctA+mNCzKjWN7+h92QDeCLUWsm6itXepT1hSvYvXhS1bHlehKFx+r/qZysGeVYVqoqHqN8Yb1QeJ5TYeWERf1Z1cczWqtQwgsAj56Xv8vKZ70g9g26S18Z5yVGwGhXAL0XBXxKhauRoBTiI4p9ZUCKgLQKgF8By+Ljy8JmwRKas/F4aayidbImGiuqF8p1Q98GVvZPRxMpOPNKsrCLo6s4vBgRo8FV6028FfU+8z0JMK3yv2ZjIKKTPJYAzyyKaWAVwrP0qWb7FY8XtuNUo1oVeFWRXDhRSyd0Ieq+StcWRN9IXL+roS4rKb+ssYoRbAVAFaBcwLUIIp8BYuVkV9qBXvn/3rhIOBq98v+FUWghQtWpcAYYE1O7FgfOViJCcHWWBi/L0lYo6819qxdgCZQTvfbKxcUyJKPEGQBjKlxMQzM6e2dQl04AaUr1vALiFcCvnECbXQR0wlqwQNzKBZPNE1QgerfB7xRcoog1PakU/lKAvHuyiiG9fKzZSXklYolWlYo9sxLVo/PwKcCOnos7U2QUOaXCtL3lVXAt/OP2Zw3UKuheeT4By2dfiC9duG+MXUv01RxYBYpLwQZNf2NVvsNRV8/Ve2YDhfuLIvClKEz2gnz+DrDwlmxOt2hzccu2NwE6u1iWLnjTyxGkIAqAlmusd8Bm8U0yj31oichsUZHsua1ShSooF6l/etUnd+IwS+Y8zjLOYvTl/1U+V3qouNpQVXed7QabtKysgE3RpLqSKldb9SpNTpjP3le1WCqvBRfa7AKogPnVqJXtUx7HSrQ6LW6b1KaWgFR9TXzJV8BTeQ3D+yVqBO9NFxyrjo8ARBlwn/jadHwqF+KCthqvnanwzcFcAZeKaMvgLAz0pbRUOAGlzymcQCu44y9fNCsAiFzyBQC9Yje0acRaOLnLJz07cew7rZ7kyeBZdVALBfmXx2p1TFZBTp5eNbq/PFbGq828GKHSiLQKxhWQUSZnnzAgqwBafv2dC1QIeV+JrquRsxC9PImAVyqcXYkjZVb7i22n9hnYdnHXs22RNmOHXXzfYQGE08f3z22R6SeuePx8qTnE6+G2JFJE52TFTa9E42XqK7zn7LxPIlBkCagaVmWbXL5xEsGq0c3oam9R1lNJ6YvR6E/ZlnhOKxGqHKWK22ZRrE6FVeAFYCiD5Z3BenfQKlfjnzk2s/cuXmjLY/fu2EyBNRmg0vY3BupdMK0O2lIPeqXHXLnwq/tkOq0KpM+4EBcuuHgyxeIAzsBV3mcCwqV9XgBrKwJ6+eSJIndqylYnRiwAwQoXin/GPvSzXeyGPwsUk5NVOWHVaPUpA754oqvezn/LsQr7sQJgrUwtaoXBWBmUTxucKh28eZVWLsK3x2oFlCsR992xsqi74QWP6t0r8933rAz4CkDfeU8LLJeq1qy8b+WiWAFGaHu8eAG2jArfAcorJ3/1arIXrqxXr8iXxPtqlMre9xkX0rvRbAG8ORV+EsBWuNzeHbDPHLw35cFnSIG3xuGViPxJ0bAOLFrd7+DVVwZahPxy2UCl68k+lcHzxYFtK//fZHw+PZH4BEB68XNnwGpf3g3vq1ffK0nBm9T06VfuvzGb/LOBtGwzFT+3fem9f/n/+c/8Gwa+2X/zn38DSFd//vNL7/3/mtnD/ufnf34+7+df/28AkXg9KZ7Ze3oAAAAASUVORK5CYII=') no-repeat left top}.p-colorpicker-panel .p-colorpicker-hue{background:transparent url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAACWCAIAAAC3uvTNAAAA7ElEQVRYw+2YUQqDQAxEh9GWuqV6Be9/JT88RN0VRUuv0ElBwhKY3yF5m90kLKd+mF/975r6geNyjm9Fy0kgqTJ6nqoIdGKczjmPJU5tZxA8wWPL7YOHKhZAlcmTAVVcxSCrMbfgqY/H6JEOoASPe56tgSrqLR7U2zWojwWjJ3jq47HEiZoGTwJxP1RRXw8y9RZfCMhbhTHOVTxXnUFtPJ5rGjzu35y2KfKGQxWT2K4TQL1d2zz6KAH1kRU8wfOXx+37qY3Hct+aDaqot2u7R/wMuDS3qnj0z0HqK4X/+kRNHdfUwFP2Nisqe/sFuUZiVjC9HCUAAAAASUVORK5CYII=') no-repeat left top}.p-confirm-popup{position:absolute;top:50%;left:50%;margin-top:10px}.p-confirm-popup-flipped{margin-top:0;margin-bottom:10px}.p-confirm-popup:after,.p-confirm-popup:before{bottom:100%;left:calc(var(--overlayArrowLeft, 0) + 1.25rem);content:" ";height:0;width:0;position:absolute;pointer-events:none}.p-confirm-popup:after{border-width:8px;margin-left:-8px}.p-confirm-popup:before{border-width:10px;margin-left:-10px}.p-confirm-popup-flipped:after,.p-confirm-popup-flipped:before{bottom:auto;top:100%}.p-confirm-popup.p-confirm-popup-flipped:after{border-bottom-color:transparent}.p-confirm-popup.p-confirm-popup-flipped:before{border-bottom-color:transparent}.p-confirm-popup .p-confirm-popup-content{display:flex;align-items:center}.p-contextmenu{position:absolute}.p-contextmenu ul{margin:0;padding:0;list-style:none}.p-contextmenu .p-submenu-list{position:absolute;min-width:100%;z-index:1}.p-contextmenu .p-menuitem-link{cursor:pointer;display:flex;align-items:center;text-decoration:none;overflow:hidden;position:relative}.p-contextmenu .p-menuitem-text{line-height:1}.p-contextmenu .p-menuitem{position:relative}.p-contextmenu .p-menuitem-link .p-submenu-icon{margin-left:auto}.p-contextmenu-enter{opacity:0}.p-contextmenu-enter-active{opacity:1;transition:opacity 250ms}.p-datascroller .p-datascroller-header{text-align:center;padding:.5em .75em;border-bottom:0 none}.p-datascroller .p-datascroller-footer{text-align:center;padding:.25em .625em;border-top:0 none}.p-datascroller .p-datascroller-content{padding:.25em .625em}.p-datascroller-inline .p-datascroller-content{overflow:auto}.p-datascroller .p-datascroller-list{list-style-type:none;margin:0;padding:0}.p-datatable{position:relative}.p-datatable table{border-collapse:collapse;width:100%;table-layout:fixed}.p-datatable .p-sortable-column{cursor:pointer;user-select:none}.p-datatable .p-sortable-disabled{cursor:auto}.p-datatable .p-sortable-column .p-column-title,.p-datatable .p-sortable-column .p-sortable-column-icon,.p-datatable .p-sortable-column .p-sortable-column-badge{vertical-align:middle}.p-datatable .p-sortable-column .p-sortable-column-badge{display:inline-flex;align-items:center;justify-content:center}.p-datatable-auto-layout>.p-datatable-wrapper{overflow-x:auto}.p-datatable-auto-layout>.p-datatable-wrapper>table{table-layout:auto}.p-datatable-hoverable-rows .p-selectable-row{cursor:pointer}.p-datatable-drag-selection-helper{position:absolute;z-index:99999999}.p-datatable-scrollable-wrapper{position:relative}.p-datatable-scrollable-header,.p-datatable-scrollable-footer{overflow:hidden}.p-datatable-scrollable-body{overflow:auto;position:relative}.p-datatable-scrollable-body>table>.p-datatable-tbody>tr:first-child>td{border-top:0 none}.p-datatable-virtual-table{position:absolute}.p-datatable-frozen-view .p-datatable-scrollable-body{overflow:hidden}.p-datatable-frozen-view>.p-datatable-scrollable-body>table>.p-datatable-tbody>tr>td:last-child{border-right:0 none}.p-datatable-unfrozen-view{position:absolute;top:0}.p-datatable-flex-scrollable{display:flex;flex-direction:column;flex:1;height:100%}.p-datatable-flex-scrollable .p-datatable-scrollable-wrapper,.p-datatable-flex-scrollable .p-datatable-scrollable-view{display:flex;flex-direction:column;flex:1;height:100%}.p-datatable-flex-scrollable .p-datatable-scrollable-body{flex:1}.p-datatable-resizable>.p-datatable-wrapper{overflow-x:auto}.p-datatable-resizable .p-datatable-thead>tr>th,.p-datatable-resizable .p-datatable-tfoot>tr>td,.p-datatable-resizable .p-datatable-tbody>tr>td{overflow:hidden}.p-datatable-resizable .p-resizable-column{background-clip:padding-box;position:relative}.p-datatable-resizable-fit .p-resizable-column:last-child .p-column-resizer{display:none}.p-datatable .p-column-resizer{display:block;position:absolute !important;top:0;right:0;margin:0;width:.5rem;height:100%;padding:0;cursor:col-resize;border:1px solid transparent}.p-datatable .p-column-resizer-helper{width:1px;position:absolute;z-index:10;display:none}.p-datatable .p-row-editor-init,.p-datatable .p-row-editor-save,.p-datatable .p-row-editor-cancel{display:inline-flex;align-items:center;justify-content:center;overflow:hidden;position:relative}.p-datatable .p-row-toggler{display:inline-flex;align-items:center;justify-content:center;overflow:hidden;position:relative}.p-datatable-reorder-indicator-up,.p-datatable-reorder-indicator-down{position:absolute;display:none}.p-datatable .p-datatable-loading-overlay{position:absolute;display:flex;align-items:center;justify-content:center;z-index:1}.p-dataview-loading{position:relative;min-height:4rem}.p-dataview .p-dataview-loading-overlay{position:absolute;z-index:1;display:flex;align-items:center;justify-content:center}.p-dialog-mask{position:fixed;top:0;left:0;width:100%;height:100%;display:none;justify-content:center;align-items:center;pointer-events:none;background-color:transparent;transition-property:background-color}.p-dialog-visible{display:flex}.p-dialog-mask.p-component-overlay{pointer-events:auto}.p-dialog{display:flex;flex-direction:column;pointer-events:auto;max-height:90%;transform:scale(1);position:relative}.p-dialog-content{overflow-y:auto;flex-grow:1}.p-dialog-header{display:flex;align-items:center;flex-shrink:0}.p-dialog-footer{flex-shrink:0}.p-dialog .p-dialog-header-icons{display:flex;align-items:center;align-self:flex-start;flex-shrink:0}.p-dialog .p-dialog-header-icon{display:flex;align-items:center;justify-content:center;overflow:hidden;position:relative}.p-dialog .p-dialog-title{flex-grow:1}.p-fluid .p-dialog-footer .p-button{width:auto}.p-dialog-enter{opacity:0;transform:scale(0.7)}.p-dialog-enter-active{opacity:1;transform:scale(1);transition:all 150ms cubic-bezier(0,0,0.2,1)}.p-dialog-enter-done{transform:none}.p-dialog-exit-active{opacity:0;transform:scale(0.7);transition:all 150ms cubic-bezier(0.4,0.0,0.2,1)}.p-dialog-top .p-dialog,.p-dialog-bottom .p-dialog,.p-dialog-left .p-dialog,.p-dialog-right .p-dialog,.p-dialog-top-left .p-dialog,.p-dialog-top-right .p-dialog,.p-dialog-bottom-left .p-dialog,.p-dialog-bottom-right .p-dialog{margin:.75em}.p-dialog-top .p-dialog-enter,.p-dialog-top .p-dialog-exit-active{transform:translate3d(0,-100%,0)}.p-dialog-bottom .p-dialog-enter,.p-dialog-bottom .p-dialog-exit-active{transform:translate3d(0,100%,0)}.p-dialog-left .p-dialog-enter,.p-dialog-left .p-dialog-exit-active,.p-dialog-top-left .p-dialog-enter,.p-dialog-top-left .p-dialog-exit-active,.p-dialog-bottom-left .p-dialog-enter,.p-dialog-bottom-left .p-dialog-exit-active{transform:translate3d(-100%,0,0)}.p-dialog-right .p-dialog-enter,.p-dialog-right .p-dialog-exit-active,.p-dialog-top-right .p-dialog-enter,.p-dialog-top-right .p-dialog-exit-active,.p-dialog-bottom-right .p-dialog-enter,.p-dialog-bottom-right .p-dialog-exit-active{transform:translate3d(100%,0,0)}.p-dialog-top .p-dialog-enter-active,.p-dialog-bottom .p-dialog-enter-active,.p-dialog-left .p-dialog-enter-active,.p-dialog-top-left .p-dialog-enter-active,.p-dialog-bottom-left .p-dialog-enter-active,.p-dialog-right .p-dialog-enter-active,.p-dialog-top-right .p-dialog-enter-active,.p-dialog-bottom-right .p-dialog-enter-active{transform:translate3d(0,0,0);transition:all .3s ease-out}.p-dialog-top .p-dialog-exit-active,.p-dialog-bottom .p-dialog-exit-active,.p-dialog-left .p-dialog-exit-active,.p-dialog-top-left .p-dialog-exit-active,.p-dialog-bottom-left .p-dialog-exit-active,.p-dialog-right .p-dialog-exit-active,.p-dialog-top-right .p-dialog-exit-active,.p-dialog-bottom-right .p-dialog-exit-active{transition:all .3s ease-out}.p-dialog-maximized{transition:none;transform:none;width:100vw !important;height:100vh !important;max-height:100%;top:0 !important;left:0 !important}.p-dialog-maximized .p-dialog-content{flex-grow:1}.p-dialog-left{justify-content:flex-start}.p-dialog-right{justify-content:flex-end}.p-dialog-top{align-items:flex-start}.p-dialog-top-left{justify-content:flex-start;align-items:flex-start}.p-dialog-top-right{justify-content:flex-end;align-items:flex-start}.p-dialog-bottom{align-items:flex-end}.p-dialog-bottom-left{justify-content:flex-start;align-items:flex-end}.p-dialog-bottom-right{justify-content:flex-end;align-items:flex-end}.p-confirm-dialog .p-dialog-content{display:flex;align-items:center}.p-dialog .p-resizable-handle{position:absolute;font-size:.1px;display:block;cursor:se-resize;width:12px;height:12px;right:1px;bottom:1px}.p-dialog-draggable .p-dialog-header{cursor:move}.p-divider-horizontal{display:flex;width:100%;position:relative;align-items:center}.p-divider-horizontal:before{position:absolute;display:block;top:50%;left:0;width:100%;content:""}.p-divider-horizontal.p-divider-left{justify-content:flex-start}.p-divider-horizontal.p-divider-right{justify-content:flex-end}.p-divider-horizontal.p-divider-center{justify-content:center}.p-divider-content{z-index:1}.p-divider-vertical{min-height:100%;margin:0 1rem;display:flex;position:relative;justify-content:center}.p-divider-vertical:before{position:absolute;display:block;top:0;left:50%;height:100%;content:""}.p-divider-vertical.p-divider-top{align-items:flex-start}.p-divider-vertical.p-divider-center{align-items:center}.p-divider-vertical.p-divider-bottom{align-items:flex-end}.p-divider-solid.p-divider-horizontal:before{border-top-style:solid}.p-divider-solid.p-divider-vertical:before{border-left-style:solid}.p-divider-dashed.p-divider-horizontal:before{border-top-style:dashed}.p-divider-dashed.p-divider-vertical:before{border-left-style:dashed}.p-divider-dotted.p-divider-horizontal:before{border-top-style:dotted}.p-divider-dotted.p-divider-horizontal:before{border-left-style:dotted}.p-dock{position:absolute;z-index:1;display:flex;justify-content:center;align-items:center;pointer-events:none}.p-dock-list-container{display:flex;pointer-events:auto}.p-dock-list{margin:0;padding:0;list-style:none;display:flex;align-items:center;justify-content:center;pointer-events:auto}.p-dock-item{transition:all .2s cubic-bezier(0.4,0,0.2,1);will-change:transform}.p-dock-action{display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;overflow:hidden;cursor:default}.p-dock-item-second-prev,.p-dock-item-second-next{transform:scale(1.2)}.p-dock-item-prev,.p-dock-item-next{transform:scale(1.4)}.p-dock-item-current{transform:scale(1.6);z-index:1}.p-dock-top{left:0;top:0;width:100%}.p-dock-top .p-dock-item{transform-origin:center top}.p-dock-bottom{left:0;bottom:0;width:100%}.p-dock-bottom .p-dock-item{transform-origin:center bottom}.p-dock-right{right:0;top:0;height:100%}.p-dock-right .p-dock-item{transform-origin:center right}.p-dock-right .p-dock-list{flex-direction:column}.p-dock-left{left:0;top:0;height:100%}.p-dock-left .p-dock-item{transform-origin:center left}.p-dock-left .p-dock-list{flex-direction:column}.p-dropdown{display:inline-flex;cursor:pointer;position:relative;user-select:none}.p-dropdown-clear-icon{position:absolute;top:50%;margin-top:-.5rem}.p-dropdown-trigger{display:flex;align-items:center;justify-content:center;flex-shrink:0}.p-dropdown-label{display:block;white-space:nowrap;overflow:hidden;flex:1 1 auto;width:1%;text-overflow:ellipsis;cursor:pointer}.p-dropdown-label-empty{overflow:hidden;visibility:hidden}input.p-dropdown-label{cursor:default}.p-dropdown .p-dropdown-panel{min-width:100%}.p-dropdown-panel{position:absolute;top:0;left:0}.p-dropdown-items-wrapper{overflow:auto}.p-dropdown-item{cursor:pointer;font-weight:normal;white-space:nowrap;position:relative;overflow:hidden}.p-dropdown-items{margin:0;padding:0;list-style-type:none}.p-dropdown-filter{width:100%}.p-dropdown-filter-container{position:relative}.p-dropdown-filter-icon,.p-dropdown-filter-clear-icon{position:absolute;top:50%;margin-top:-.5rem}.p-fluid .p-dropdown{display:flex}.p-fluid .p-dropdown .p-dropdown-label{width:1%}/* * Quill Editor v1.3.7 * https://quilljs.com/ * Copyright (c) 2014, Jason Chen * Copyright (c) 2013, salesforce.com */.ql-container{box-sizing:border-box;font-family:Helvetica,Arial,sans-serif;font-size:13px;height:100%;margin:0;position:relative}.ql-container.ql-disabled .ql-tooltip{visibility:hidden}.ql-container.ql-disabled .ql-editor ul[data-checked]>li::before{pointer-events:none}.ql-clipboard{left:-100000px;height:1px;overflow-y:hidden;position:absolute;top:50%}.ql-clipboard p{margin:0;padding:0}.ql-editor{box-sizing:border-box;line-height:1.42;height:100%;outline:0;overflow-y:auto;padding:12px 15px;tab-size:4;-moz-tab-size:4;text-align:left;white-space:pre-wrap;word-wrap:break-word}.ql-editor>*{cursor:text}.ql-editor p,.ql-editor ol,.ql-editor ul,.ql-editor pre,.ql-editor blockquote,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6{margin:0;padding:0;counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol,.ql-editor ul{padding-left:1.5em}.ql-editor ol>li,.ql-editor ul>li{list-style-type:none}.ql-editor ul>li::before{content:"\2022"}.ql-editor ul[data-checked="true"],.ql-editor ul[data-checked="false"]{pointer-events:none}.ql-editor ul[data-checked="true"]>li *,.ql-editor ul[data-checked="false"]>li *{pointer-events:all}.ql-editor ul[data-checked="true"]>li::before,.ql-editor ul[data-checked="false"]>li::before{color:#777;cursor:pointer;pointer-events:all}.ql-editor ul[data-checked="true"]>li::before{content:"\2611"}.ql-editor ul[data-checked="false"]>li::before{content:"\2610"}.ql-editor li::before{display:inline-block;white-space:nowrap;width:1.2em}.ql-editor li:not(.ql-direction-rtl)::before{margin-left:-1.5em;margin-right:.3em;text-align:right}.ql-editor li.ql-direction-rtl::before{margin-left:.3em;margin-right:-1.5em}.ql-editor ol li:not(.ql-direction-rtl),.ql-editor ul li:not(.ql-direction-rtl){padding-left:1.5em}.ql-editor ol li.ql-direction-rtl,.ql-editor ul li.ql-direction-rtl{padding-right:1.5em}.ql-editor ol li{counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;counter-increment:list-0}.ql-editor ol li:before{content:counter(list-0,decimal) ". "}.ql-editor ol li.ql-indent-1{counter-increment:list-1}.ql-editor ol li.ql-indent-1:before{content:counter(list-1,lower-alpha) ". "}.ql-editor ol li.ql-indent-1{counter-reset:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-2{counter-increment:list-2}.ql-editor ol li.ql-indent-2:before{content:counter(list-2,lower-roman) ". "}.ql-editor ol li.ql-indent-2{counter-reset:list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-3{counter-increment:list-3}.ql-editor ol li.ql-indent-3:before{content:counter(list-3,decimal) ". "}.ql-editor ol li.ql-indent-3{counter-reset:list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-4{counter-increment:list-4}.ql-editor ol li.ql-indent-4:before{content:counter(list-4,lower-alpha) ". "}.ql-editor ol li.ql-indent-4{counter-reset:list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-5{counter-increment:list-5}.ql-editor ol li.ql-indent-5:before{content:counter(list-5,lower-roman) ". "}.ql-editor ol li.ql-indent-5{counter-reset:list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-6{counter-increment:list-6}.ql-editor ol li.ql-indent-6:before{content:counter(list-6,decimal) ". "}.ql-editor ol li.ql-indent-6{counter-reset:list-7 list-8 list-9}.ql-editor ol li.ql-indent-7{counter-increment:list-7}.ql-editor ol li.ql-indent-7:before{content:counter(list-7,lower-alpha) ". "}.ql-editor ol li.ql-indent-7{counter-reset:list-8 list-9}.ql-editor ol li.ql-indent-8{counter-increment:list-8}.ql-editor ol li.ql-indent-8:before{content:counter(list-8,lower-roman) ". "}.ql-editor ol li.ql-indent-8{counter-reset:list-9}.ql-editor ol li.ql-indent-9{counter-increment:list-9}.ql-editor ol li.ql-indent-9:before{content:counter(list-9,decimal) ". "}.ql-editor .ql-indent-1:not(.ql-direction-rtl){padding-left:3em}.ql-editor li.ql-indent-1:not(.ql-direction-rtl){padding-left:4.5em}.ql-editor .ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:3em}.ql-editor li.ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:4.5em}.ql-editor .ql-indent-2:not(.ql-direction-rtl){padding-left:6em}.ql-editor li.ql-indent-2:not(.ql-direction-rtl){padding-left:7.5em}.ql-editor .ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:6em}.ql-editor li.ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:7.5em}.ql-editor .ql-indent-3:not(.ql-direction-rtl){padding-left:9em}.ql-editor li.ql-indent-3:not(.ql-direction-rtl){padding-left:10.5em}.ql-editor .ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:9em}.ql-editor li.ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:10.5em}.ql-editor .ql-indent-4:not(.ql-direction-rtl){padding-left:12em}.ql-editor li.ql-indent-4:not(.ql-direction-rtl){padding-left:13.5em}.ql-editor .ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:12em}.ql-editor li.ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:13.5em}.ql-editor .ql-indent-5:not(.ql-direction-rtl){padding-left:15em}.ql-editor li.ql-indent-5:not(.ql-direction-rtl){padding-left:16.5em}.ql-editor .ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:15em}.ql-editor li.ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:16.5em}.ql-editor .ql-indent-6:not(.ql-direction-rtl){padding-left:18em}.ql-editor li.ql-indent-6:not(.ql-direction-rtl){padding-left:19.5em}.ql-editor .ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:18em}.ql-editor li.ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:19.5em}.ql-editor .ql-indent-7:not(.ql-direction-rtl){padding-left:21em}.ql-editor li.ql-indent-7:not(.ql-direction-rtl){padding-left:22.5em}.ql-editor .ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:21em}.ql-editor li.ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:22.5em}.ql-editor .ql-indent-8:not(.ql-direction-rtl){padding-left:24em}.ql-editor li.ql-indent-8:not(.ql-direction-rtl){padding-left:25.5em}.ql-editor .ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:24em}.ql-editor li.ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:25.5em}.ql-editor .ql-indent-9:not(.ql-direction-rtl){padding-left:27em}.ql-editor li.ql-indent-9:not(.ql-direction-rtl){padding-left:28.5em}.ql-editor .ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:27em}.ql-editor li.ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:28.5em}.ql-editor .ql-video{display:block;max-width:100%}.ql-editor .ql-video.ql-align-center{margin:0 auto}.ql-editor .ql-video.ql-align-right{margin:0 0 0 auto}.ql-editor .ql-bg-black{background-color:#000}.ql-editor .ql-bg-red{background-color:#e60000}.ql-editor .ql-bg-orange{background-color:#f90}.ql-editor .ql-bg-yellow{background-color:#ff0}.ql-editor .ql-bg-green{background-color:#008a00}.ql-editor .ql-bg-blue{background-color:#06c}.ql-editor .ql-bg-purple{background-color:#93f}.ql-editor .ql-color-white{color:#fff}.ql-editor .ql-color-red{color:#e60000}.ql-editor .ql-color-orange{color:#f90}.ql-editor .ql-color-yellow{color:#ff0}.ql-editor .ql-color-green{color:#008a00}.ql-editor .ql-color-blue{color:#06c}.ql-editor .ql-color-purple{color:#93f}.ql-editor .ql-font-serif{font-family:Georgia,Times New Roman,serif}.ql-editor .ql-font-monospace{font-family:Monaco,Courier New,monospace}.ql-editor .ql-size-small{font-size:.75em}.ql-editor .ql-size-large{font-size:1.5em}.ql-editor .ql-size-huge{font-size:2.5em}.ql-editor .ql-direction-rtl{direction:rtl;text-align:inherit}.ql-editor .ql-align-center{text-align:center}.ql-editor .ql-align-justify{text-align:justify}.ql-editor .ql-align-right{text-align:right}.ql-editor.ql-blank::before{color:rgba(0,0,0,0.6);content:attr(data-placeholder);font-style:italic;left:15px;pointer-events:none;position:absolute;right:15px}.ql-snow.ql-toolbar:after,.ql-snow .ql-toolbar:after{clear:both;content:"";display:table}.ql-snow.ql-toolbar button,.ql-snow .ql-toolbar button{background:0;border:0;cursor:pointer;display:inline-block;float:left;height:24px;padding:3px 5px;width:28px}.ql-snow.ql-toolbar button svg,.ql-snow .ql-toolbar button svg{float:left;height:100%}.ql-snow.ql-toolbar button:active:hover,.ql-snow .ql-toolbar button:active:hover{outline:0}.ql-snow.ql-toolbar input.ql-image[type="file"],.ql-snow .ql-toolbar input.ql-image[type="file"]{display:none}.ql-snow.ql-toolbar button:hover,.ql-snow .ql-toolbar button:hover,.ql-snow.ql-toolbar button:focus,.ql-snow .ql-toolbar button:focus,.ql-snow.ql-toolbar button.ql-active,.ql-snow .ql-toolbar button.ql-active,.ql-snow.ql-toolbar .ql-picker-label:hover,.ql-snow .ql-toolbar .ql-picker-label:hover,.ql-snow.ql-toolbar .ql-picker-label.ql-active,.ql-snow .ql-toolbar .ql-picker-label.ql-active,.ql-snow.ql-toolbar .ql-picker-item:hover,.ql-snow .ql-toolbar .ql-picker-item:hover,.ql-snow.ql-toolbar .ql-picker-item.ql-selected,.ql-snow .ql-toolbar .ql-picker-item.ql-selected{color:#06c}.ql-snow.ql-toolbar button:hover .ql-fill,.ql-snow .ql-toolbar button:hover .ql-fill,.ql-snow.ql-toolbar button:focus .ql-fill,.ql-snow .ql-toolbar button:focus .ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-fill,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-fill,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-fill,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow.ql-toolbar button:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar button:focus .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:focus .ql-stroke.ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill{fill:#06c}.ql-snow.ql-toolbar button:hover .ql-stroke,.ql-snow .ql-toolbar button:hover .ql-stroke,.ql-snow.ql-toolbar button:focus .ql-stroke,.ql-snow .ql-toolbar button:focus .ql-stroke,.ql-snow.ql-toolbar button.ql-active .ql-stroke,.ql-snow .ql-toolbar button.ql-active .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow.ql-toolbar button:hover .ql-stroke-miter,.ql-snow .ql-toolbar button:hover .ql-stroke-miter,.ql-snow.ql-toolbar button:focus .ql-stroke-miter,.ql-snow .ql-toolbar button:focus .ql-stroke-miter,.ql-snow.ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter{stroke:#06c}@media(pointer:coarse){.ql-snow.ql-toolbar button:hover:not(.ql-active),.ql-snow .ql-toolbar button:hover:not(.ql-active){color:#444}.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill{fill:#444}.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter{stroke:#444}}.ql-snow{box-sizing:border-box}.ql-snow *{box-sizing:border-box}.ql-snow .ql-hidden{display:none}.ql-snow .ql-out-bottom,.ql-snow .ql-out-top{visibility:hidden}.ql-snow .ql-tooltip{position:absolute;transform:translateY(10px)}.ql-snow .ql-tooltip a{cursor:pointer;text-decoration:none}.ql-snow .ql-tooltip.ql-flip{transform:translateY(-10px)}.ql-snow .ql-formats{display:inline-block;vertical-align:middle}.ql-snow .ql-formats:after{clear:both;content:"";display:table}.ql-snow .ql-stroke{fill:none;stroke:#444;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.ql-snow .ql-stroke-miter{fill:none;stroke:#444;stroke-miterlimit:10;stroke-width:2}.ql-snow .ql-fill,.ql-snow .ql-stroke.ql-fill{fill:#444}.ql-snow .ql-empty{fill:none}.ql-snow .ql-even{fill-rule:evenodd}.ql-snow .ql-thin,.ql-snow .ql-stroke.ql-thin{stroke-width:1}.ql-snow .ql-transparent{opacity:.4}.ql-snow .ql-direction svg:last-child{display:none}.ql-snow .ql-direction.ql-active svg:last-child{display:inline}.ql-snow .ql-direction.ql-active svg:first-child{display:none}.ql-snow .ql-editor h1{font-size:2em}.ql-snow .ql-editor h2{font-size:1.5em}.ql-snow .ql-editor h3{font-size:1.17em}.ql-snow .ql-editor h4{font-size:1em}.ql-snow .ql-editor h5{font-size:.83em}.ql-snow .ql-editor h6{font-size:.67em}.ql-snow .ql-editor a{text-decoration:underline}.ql-snow .ql-editor blockquote{border-left:4px solid #ccc;margin-bottom:5px;margin-top:5px;padding-left:16px}.ql-snow .ql-editor code,.ql-snow .ql-editor pre{background-color:#f0f0f0;border-radius:3px}.ql-snow .ql-editor pre{white-space:pre-wrap;margin-bottom:5px;margin-top:5px;padding:5px 10px}.ql-snow .ql-editor code{font-size:85%;padding:2px 4px}.ql-snow .ql-editor pre.ql-syntax{background-color:#23241f;color:#f8f8f2;overflow:visible}.ql-snow .ql-editor img{max-width:100%}.ql-snow .ql-picker{color:#444;display:inline-block;float:left;font-size:14px;font-weight:500;height:24px;position:relative;vertical-align:middle}.ql-snow .ql-picker-label{cursor:pointer;display:inline-block;height:100%;padding-left:8px;padding-right:2px;position:relative;width:100%}.ql-snow .ql-picker-label::before{display:inline-block;line-height:22px}.ql-snow .ql-picker-options{background-color:#fff;display:none;min-width:100%;padding:4px 8px;position:absolute;white-space:nowrap}.ql-snow .ql-picker-options .ql-picker-item{cursor:pointer;display:block;padding-bottom:5px;padding-top:5px}.ql-snow .ql-picker.ql-expanded .ql-picker-label{color:#ccc;z-index:2}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-fill{fill:#ccc}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-stroke{stroke:#ccc}.ql-snow .ql-picker.ql-expanded .ql-picker-options{display:block;margin-top:-1px;top:100%;z-index:1}.ql-snow .ql-color-picker,.ql-snow .ql-icon-picker{width:28px}.ql-snow .ql-color-picker .ql-picker-label,.ql-snow .ql-icon-picker .ql-picker-label{padding:2px 4px}.ql-snow .ql-color-picker .ql-picker-label svg,.ql-snow .ql-icon-picker .ql-picker-label svg{right:4px}.ql-snow .ql-icon-picker .ql-picker-options{padding:4px 0}.ql-snow .ql-icon-picker .ql-picker-item{height:24px;width:24px;padding:2px 4px}.ql-snow .ql-color-picker .ql-picker-options{padding:3px 5px;width:152px}.ql-snow .ql-color-picker .ql-picker-item{border:1px solid transparent;float:left;height:16px;margin:2px;padding:0;width:16px}.ql-snow .ql-picker:not(.ql-color-picker):not(.ql-icon-picker) svg{position:absolute;margin-top:-9px;right:0;top:50%;width:18px}.ql-snow .ql-picker.ql-header .ql-picker-label[data-label]:not([data-label=""])::before,.ql-snow .ql-picker.ql-font .ql-picker-label[data-label]:not([data-label=""])::before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-label]:not([data-label=""])::before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-label]:not([data-label=""])::before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-label]:not([data-label=""])::before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-label]:not([data-label=""])::before{content:attr(data-label)}.ql-snow .ql-picker.ql-header{width:98px}.ql-snow .ql-picker.ql-header .ql-picker-label::before,.ql-snow .ql-picker.ql-header .ql-picker-item::before{content:"Normal"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="1"]::before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]::before{content:"Heading 1"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="2"]::before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]::before{content:"Heading 2"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="3"]::before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]::before{content:"Heading 3"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="4"]::before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]::before{content:"Heading 4"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="5"]::before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]::before{content:"Heading 5"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="6"]::before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]::before{content:"Heading 6"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]::before{font-size:2em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]::before{font-size:1.5em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]::before{font-size:1.17em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]::before{font-size:1em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]::before{font-size:.83em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]::before{font-size:.67em}.ql-snow .ql-picker.ql-font{width:108px}.ql-snow .ql-picker.ql-font .ql-picker-label::before,.ql-snow .ql-picker.ql-font .ql-picker-item::before{content:"Sans Serif"}.ql-snow .ql-picker.ql-font .ql-picker-label[data-value="serif"]::before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-value="serif"]::before{content:"Serif"}.ql-snow .ql-picker.ql-font .ql-picker-label[data-value="monospace"]::before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-value="monospace"]::before{content:"Monospace"}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value="serif"]::before{font-family:Georgia,Times New Roman,serif}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value="monospace"]::before{font-family:Monaco,Courier New,monospace}.ql-snow .ql-picker.ql-size{width:98px}.ql-snow .ql-picker.ql-size .ql-picker-label::before,.ql-snow .ql-picker.ql-size .ql-picker-item::before{content:"Normal"}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value="small"]::before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value="small"]::before{content:"Small"}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value="large"]::before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value="large"]::before{content:"Large"}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value="huge"]::before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value="huge"]::before{content:"Huge"}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value="small"]::before{font-size:10px}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value="large"]::before{font-size:18px}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value="huge"]::before{font-size:32px}.ql-snow .ql-color-picker.ql-background .ql-picker-item{background-color:#fff}.ql-snow .ql-color-picker.ql-color .ql-picker-item{background-color:#000}.ql-toolbar.ql-snow{border:1px solid #ccc;box-sizing:border-box;font-family:"Helvetica Neue","Helvetica","Arial",sans-serif;padding:8px}.ql-toolbar.ql-snow .ql-formats{margin-right:15px}.ql-toolbar.ql-snow .ql-picker-label{border:1px solid transparent}.ql-toolbar.ql-snow .ql-picker-options{border:1px solid transparent;box-shadow:rgba(0,0,0,0.2) 0 2px 8px}.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-label{border-color:#ccc}.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-options{border-color:#ccc}.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item.ql-selected,.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item:hover{border-color:#000}.ql-toolbar.ql-snow+.ql-container.ql-snow{border-top:0}.ql-snow .ql-tooltip{background-color:#fff;border:1px solid #ccc;box-shadow:0 0 5px #ddd;color:#444;padding:5px 12px;white-space:nowrap}.ql-snow .ql-tooltip::before{content:"Visit URL:";line-height:26px;margin-right:8px}.ql-snow .ql-tooltip input[type="text"]{display:none;border:1px solid #ccc;font-size:13px;height:26px;margin:0;padding:3px 5px;width:170px}.ql-snow .ql-tooltip a.ql-preview{display:inline-block;max-width:200px;overflow-x:hidden;text-overflow:ellipsis;vertical-align:top}.ql-snow .ql-tooltip a.ql-action::after{border-right:1px solid #ccc;content:"Edit";margin-left:16px;padding-right:8px}.ql-snow .ql-tooltip a.ql-remove::before{content:"Remove";margin-left:8px}.ql-snow .ql-tooltip a{line-height:26px}.ql-snow .ql-tooltip.ql-editing a.ql-preview,.ql-snow .ql-tooltip.ql-editing a.ql-remove{display:none}.ql-snow .ql-tooltip.ql-editing input[type="text"]{display:inline-block}.ql-snow .ql-tooltip.ql-editing a.ql-action::after{border-right:0;content:"Save";padding-right:0}.ql-snow .ql-tooltip[data-mode="link"]::before{content:"Enter link:"}.ql-snow .ql-tooltip[data-mode="formula"]::before{content:"Enter formula:"}.ql-snow .ql-tooltip[data-mode="video"]::before{content:"Enter video:"}.ql-snow a{color:#06c}.ql-container.ql-snow{border:1px solid #ccc}.p-fieldset-legend>a,.p-fieldset-legend>span{display:flex;align-items:center;justify-content:center}.p-fieldset-toggleable .p-fieldset-legend a{cursor:pointer;user-select:none;overflow:hidden;position:relative;text-decoration:none}.p-fieldset-legend-text{line-height:1}.p-fileupload-content{position:relative}.p-fileupload-row{display:flex;align-items:center}.p-fileupload-row>div{flex:1 1 auto;width:25%}.p-fileupload-row>div:last-child{text-align:right}.p-fileupload-content>.p-progressbar{width:100%;position:absolute;top:0;left:0}.p-button.p-fileupload-choose{position:relative;overflow:hidden}.p-button.p-fileupload-choose input[type=file]{display:none}.p-fileupload-choose.p-fileupload-choose-selected input[type=file]{display:none}.p-fileupload-filename{word-break:break-all}.p-fluid .p-fileupload .p-button{width:auto}.p-galleria-content{display:flex;flex-direction:column}.p-galleria-item-wrapper{display:flex;flex-direction:column;position:relative}.p-galleria-item-container{position:relative;display:flex;height:100%}.p-galleria-item-nav{position:absolute;top:50%;margin-top:-.5rem;display:inline-flex;justify-content:center;align-items:center;overflow:hidden}.p-galleria-item-prev{left:0;border-top-left-radius:0;border-bottom-left-radius:0}.p-galleria-item-next{right:0;border-top-right-radius:0;border-bottom-right-radius:0}.p-galleria-item{display:flex;justify-content:center;align-items:center;height:100%;width:100%}.p-galleria-item-nav-onhover .p-galleria-item-nav{pointer-events:none;opacity:0;transition:opacity .2s ease-in-out}.p-galleria-item-nav-onhover .p-galleria-item-wrapper:hover .p-galleria-item-nav{pointer-events:all;opacity:1}.p-galleria-item-nav-onhover .p-galleria-item-wrapper:hover .p-galleria-item-nav.p-disabled{pointer-events:none}.p-galleria-caption{position:absolute;bottom:0;left:0;width:100%}.p-galleria-thumbnail-wrapper{display:flex;flex-direction:column;overflow:auto;flex-shrink:0}.p-galleria-thumbnail-prev,.p-galleria-thumbnail-next{align-self:center;flex:0 0 auto;display:flex;justify-content:center;align-items:center;overflow:hidden;position:relative}.p-galleria-thumbnail-prev span,.p-galleria-thumbnail-next span{display:flex;justify-content:center;align-items:center}.p-galleria-thumbnail-container{display:flex;flex-direction:row}.p-galleria-thumbnail-items-container{overflow:hidden;width:100%}.p-galleria-thumbnail-items{display:flex}.p-galleria-thumbnail-item{overflow:auto;display:flex;align-items:center;justify-content:center;cursor:pointer;opacity:.5}.p-galleria-thumbnail-item:hover{opacity:1;transition:opacity .3s}.p-galleria-thumbnail-item-current{opacity:1}.p-galleria-thumbnails-left .p-galleria-content,.p-galleria-thumbnails-right .p-galleria-content{flex-direction:row}.p-galleria-thumbnails-left .p-galleria-item-wrapper,.p-galleria-thumbnails-right .p-galleria-item-wrapper{flex-direction:row}.p-galleria-thumbnails-left .p-galleria-item-wrapper,.p-galleria-thumbnails-top .p-galleria-item-wrapper{order:2}.p-galleria-thumbnails-left .p-galleria-thumbnail-wrapper,.p-galleria-thumbnails-top .p-galleria-thumbnail-wrapper{order:1}.p-galleria-thumbnails-left .p-galleria-thumbnail-container,.p-galleria-thumbnails-right .p-galleria-thumbnail-container{flex-direction:column;flex-grow:1}.p-galleria-thumbnails-left .p-galleria-thumbnail-items,.p-galleria-thumbnails-right .p-galleria-thumbnail-items{flex-direction:column;height:100%}.p-galleria-indicators{display:flex;align-items:center;justify-content:center}.p-galleria-indicator>button{display:inline-flex;align-items:center}.p-galleria-indicators-left .p-galleria-item-wrapper,.p-galleria-indicators-right .p-galleria-item-wrapper{flex-direction:row;align-items:center}.p-galleria-indicators-left .p-galleria-item-container,.p-galleria-indicators-top .p-galleria-item-container{order:2}.p-galleria-indicators-left .p-galleria-indicators,.p-galleria-indicators-top .p-galleria-indicators{order:1}.p-galleria-indicators-left .p-galleria-indicators,.p-galleria-indicators-right .p-galleria-indicators{flex-direction:column}.p-galleria-indicator-onitem .p-galleria-indicators{position:absolute;display:flex}.p-galleria-indicator-onitem.p-galleria-indicators-top .p-galleria-indicators{top:0;left:0;width:100%;align-items:flex-start}.p-galleria-indicator-onitem.p-galleria-indicators-right .p-galleria-indicators{right:0;top:0;height:100%;align-items:flex-end}.p-galleria-indicator-onitem.p-galleria-indicators-bottom .p-galleria-indicators{bottom:0;left:0;width:100%;align-items:flex-end}.p-galleria-indicator-onitem.p-galleria-indicators-left .p-galleria-indicators{left:0;top:0;height:100%;align-items:flex-start}.p-galleria-mask{position:fixed;top:0;left:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;pointer-events:none}.p-galleria-mask.p-component-overlay{pointer-events:auto}.p-galleria-close{position:absolute;top:0;right:0;display:flex;justify-content:center;align-items:center;overflow:hidden}.p-galleria-mask .p-galleria-item-nav{position:fixed;top:50%;margin-top:-.5rem}.p-galleria-enter{opacity:0;transform:scale(0.7)}.p-galleria-enter-active{opacity:1;transform:scale(1);transition:all 150ms cubic-bezier(0,0,0.2,1)}.p-galleria-enter-done{transform:none}.p-galleria-exit{opacity:1}.p-galleria-exit-active{opacity:0;transform:scale(0.7);transition:all 150ms cubic-bezier(0.4,0.0,0.2,1)}.p-galleria-enter-active .p-galleria-item-nav{opacity:0}.p-items-hidden .p-galleria-thumbnail-item{visibility:hidden}.p-items-hidden .p-galleria-thumbnail-item.p-galleria-thumbnail-item-active{visibility:visible}.p-image-mask{display:flex;align-items:center;justify-content:center}.p-image-preview-container{position:relative;display:inline-block}.p-image-preview-indicator{position:absolute;left:0;top:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;opacity:0;transition:opacity .3s}.p-image-preview-icon{font-size:1.5rem}.p-image-preview-container:hover>.p-image-preview-indicator{opacity:1;cursor:pointer}.p-image-preview-container>img{cursor:pointer}.p-image-toolbar{position:absolute;top:0;right:0;display:flex}.p-image-action.p-link{display:flex;justify-content:center;align-items:center}.p-image-preview{transition:transform .15s;max-width:100vw;max-height:100vh}.p-image-preview-enter{opacity:0;transform:scale(0.7)}.p-image-preview-enter-active{opacity:1;transform:scale(1);transition:all 150ms cubic-bezier(0,0,0.2,1)}.p-image-preview-enter-done{transform:none}.p-image-preview-exit{opacity:1}.p-image-preview-exit-active{opacity:0;transform:scale(0.7);transition:all 150ms cubic-bezier(0.4,0.0,0.2,1)}.p-inplace .p-inplace-display{display:inline;cursor:pointer}.p-inplace .p-inplace-content{display:inline}.p-fluid .p-inplace.p-inplace-closable .p-inplace-content{display:flex}.p-fluid .p-inplace.p-inplace-closable .p-inplace-content>.p-inputtext{flex:1 1 auto;width:1%}.p-inplace-content-close{margin-left:.25rem}.p-inputnumber{display:inline-flex}.p-inputnumber-button{display:flex;align-items:center;justify-content:center;flex:0 0 auto}.p-inputnumber-buttons-stacked .p-button.p-inputnumber-button .p-button-label,.p-inputnumber-buttons-horizontal .p-button.p-inputnumber-button .p-button-label{display:none}.p-inputnumber-buttons-stacked .p-button.p-inputnumber-button-up{border-top-left-radius:0;border-bottom-left-radius:0;border-bottom-right-radius:0;padding:0}.p-inputnumber-buttons-stacked .p-inputnumber-input{border-top-right-radius:0;border-bottom-right-radius:0}.p-inputnumber-buttons-stacked .p-button.p-inputnumber-button-down{border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:0;padding:0}.p-inputnumber-buttons-stacked .p-inputnumber-button-group{display:flex;flex-direction:column}.p-inputnumber-buttons-stacked .p-inputnumber-button-group .p-button.p-inputnumber-button{flex:1 1 auto}.p-inputnumber-buttons-horizontal .p-button.p-inputnumber-button-up{order:3;border-top-left-radius:0;border-bottom-left-radius:0}.p-inputnumber-buttons-horizontal .p-inputnumber-input{order:2;border-radius:0}.p-inputnumber-buttons-horizontal .p-button.p-inputnumber-button-down{order:1;border-top-right-radius:0;border-bottom-right-radius:0}.p-inputnumber-buttons-vertical{flex-direction:column}.p-inputnumber-buttons-vertical .p-button.p-inputnumber-button-up{order:1;border-bottom-left-radius:0;border-bottom-right-radius:0;width:100%}.p-inputnumber-buttons-vertical .p-inputnumber-input{order:2;border-radius:0;text-align:center}.p-inputnumber-buttons-vertical .p-button.p-inputnumber-button-down{order:3;border-top-left-radius:0;border-top-right-radius:0;width:100%}.p-inputnumber-input{flex:1 1 auto}.p-fluid .p-inputnumber{width:100%}.p-fluid .p-inputnumber .p-inputnumber-input{width:1%}.p-fluid .p-inputnumber-buttons-vertical .p-inputnumber-input{width:100%}.p-inputswitch{position:relative;display:inline-block}.p-inputswitch-slider{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0}.p-inputswitch-slider:before{position:absolute;content:"";top:50%}.p-inputtext{margin:0}.p-fluid .p-inputtext{width:100%}.p-inputgroup{display:flex;align-items:stretch;width:100%}.p-inputgroup-addon{display:flex;align-items:center;justify-content:center}.p-inputgroup .p-float-label{display:flex;align-items:stretch;width:100%}.p-inputgroup .p-inputtext,.p-fluid .p-inputgroup .p-inputtext,.p-inputgroup .p-inputwrapper,.p-fluid .p-inputgroup .p-input{flex:1 1 auto;width:1%}.p-float-label{display:block;position:relative}.p-float-label label{position:absolute;pointer-events:none;top:50%;margin-top:-.5rem;transition-property:all;transition-timing-function:ease;line-height:1}.p-float-label textarea ~ label{top:1rem}.p-float-label input:focus ~ label,.p-float-label input.p-filled ~ label,.p-float-label textarea:focus ~ label,.p-float-label textarea.p-filled ~ label,.p-float-label .p-inputwrapper-focus ~ label,.p-float-label .p-inputwrapper-filled ~ label{top:-.75rem;font-size:12px}.p-float-label .input:-webkit-autofill ~ label{top:-20px;font-size:12px}.p-input-icon-left,.p-input-icon-right{position:relative;display:inline-block}.p-input-icon-left>i,.p-input-icon-right>i,.p-input-icon-left>svg,.p-input-icon-right>svg,.p-input-icon-left>.p-input-prefix,.p-input-icon-right>.p-input-suffix{position:absolute;top:50%;margin-top:-.5rem}.p-fluid .p-input-icon-left,.p-fluid .p-input-icon-right{display:block;width:100%}.p-inputtextarea-resizable{overflow:hidden;resize:none}.p-fluid .p-inputtextarea{width:100%}@keyframes dash-frame{100%{stroke-dashoffset:0}}.p-knob-range{fill:none;transition:stroke .1s ease-in}.p-knob-value{animation-name:dash-frame;animation-fill-mode:forwards;fill:none}.p-knob-text{font-size:1.3rem;text-align:center}.p-listbox-list-wrapper{overflow:auto}.p-listbox-list{list-style-type:none;margin:0;padding:0}.p-listbox-item{cursor:pointer;position:relative;overflow:hidden}.p-listbox-filter-container{position:relative}.p-listbox-filter-icon{position:absolute;top:50%;margin-top:-.5rem}.p-listbox-filter{width:100%}.p-megamenu-root-list{margin:0;padding:0;list-style:none}.p-megamenu-root-list>.p-menuitem{position:relative}.p-megamenu .p-menuitem-link{cursor:pointer;display:flex;align-items:center;text-decoration:none;overflow:hidden;position:relative}.p-megamenu .p-menuitem-text{line-height:1}.p-megamenu-panel{display:none;position:absolute;width:auto;z-index:1}.p-megamenu-root-list>.p-menuitem-active>.p-megamenu-panel{display:block}.p-megamenu-submenu{margin:0;padding:0;list-style:none}.p-megamenu-horizontal .p-megamenu-root-list{display:flex;align-items:center;flex-wrap:wrap}.p-megamenu-vertical .p-megamenu-root-list{flex-direction:column}.p-megamenu-vertical .p-megamenu-root-list>.p-menuitem-active>.p-megamenu-panel{left:100%;top:0}.p-megamenu-vertical .p-megamenu-root-list>.p-menuitem>.p-menuitem-link>.p-submenu-icon{margin-left:auto}.p-megamenu-grid{display:flex}.p-megamenu-col-2,.p-megamenu-col-3,.p-megamenu-col-4,.p-megamenu-col-6,.p-megamenu-col-12{flex:0 0 auto;padding:.5rem}.p-megamenu-col-2{width:16.6667%}.p-megamenu-col-3{width:25%}.p-megamenu-col-4{width:33.3333%}.p-megamenu-col-6{width:50%}.p-megamenu-col-12{width:100%}.p-menu-overlay{position:absolute}.p-menu ul{margin:0;padding:0;list-style:none}.p-menu .p-menuitem-link{cursor:pointer;display:flex;align-items:center;text-decoration:none;overflow:hidden;position:relative}.p-menu .p-menuitem-text{line-height:1}.p-mention{display:inline-flex;position:relative}.p-autocomplete-loader{position:absolute;top:50%;margin-top:-.5rem}.p-mention .p-mention-panel{min-width:100%}.p-mention-panel{position:absolute;top:0;left:0;overflow:auto}.p-mention-items{margin:0;padding:0;list-style-type:none}.p-mention-item{cursor:pointer;white-space:nowrap;position:relative;overflow:hidden}.p-fluid .p-mention{display:flex}.p-menubar{display:flex;align-items:center}.p-menubar ul{margin:0;padding:0;list-style:none}.p-menubar .p-menuitem-link{cursor:pointer;display:flex;align-items:center;text-decoration:none;overflow:hidden;position:relative}.p-menubar .p-menuitem-text{line-height:1}.p-menubar .p-menuitem{position:relative}.p-menubar-root-list{display:flex;align-items:center}.p-menubar-root-list>li ul{display:none;z-index:1}.p-menubar-root-list>.p-menuitem-active>.p-submenu-list{display:block}.p-menubar .p-submenu-list{display:none;position:absolute;z-index:1}.p-menubar .p-submenu-list>.p-menuitem-active>.p-submenu-list{display:block;left:100%;top:0}.p-menubar .p-submenu-list .p-menuitem-link .p-submenu-icon{margin-left:auto}.p-menubar .p-menubar-custom,.p-menubar .p-menubar-end{margin-left:auto;align-self:center}.p-menubar-button{display:none;cursor:pointer;align-items:center;justify-content:center}.p-inline-message{display:inline-flex;align-items:center;justify-content:center;vertical-align:top}.p-inline-message-icon-only .p-inline-message-text{visibility:hidden;width:0}.p-fluid .p-inline-message{display:flex}.p-message-wrapper{display:flex;align-items:center}.p-message-close{display:flex;align-items:center;justify-content:center}.p-message-close.p-link{margin-left:auto;overflow:hidden;position:relative}.p-message-enter{opacity:0}.p-message-enter-active{opacity:1;transition:opacity .3s}.p-message-exit{opacity:1;max-height:1000px}.p-message-exit-active{opacity:0;max-height:0;margin:0;overflow:hidden;transition:max-height .3s cubic-bezier(0,1,0,1),opacity .3s,margin .3s}.p-message-exit-active .p-message-close{display:none}.p-multiselect{display:inline-flex;position:relative;user-select:none}.p-multiselect-trigger{display:flex;align-items:center;justify-content:center;flex-shrink:0;cursor:pointer}.p-multiselect-label-container{overflow:hidden;flex:1 1 auto;cursor:pointer}.p-multiselect-label{display:block;white-space:nowrap;cursor:pointer;overflow:hidden;text-overflow:ellipsis}.p-multiselect-label-empty{overflow:hidden;visibility:hidden}.p-multiselect-token{cursor:default;display:inline-flex;align-items:center;flex:0 0 auto}.p-multiselect-token-icon{cursor:pointer}.p-multiselect .p-multiselect-panel{min-width:100%}.p-multiselect-panel{position:absolute;top:0;left:0}.p-multiselect-items-wrapper{overflow:auto}.p-multiselect-items{margin:0;padding:0;list-style-type:none}.p-multiselect-item{cursor:pointer;display:flex;align-items:center;font-weight:normal;white-space:nowrap;position:relative;overflow:hidden}.p-multiselect-header{display:flex;align-items:center;justify-content:space-between}.p-multiselect-filter-container{position:relative;flex:1 1 auto}.p-multiselect-filter-icon{position:absolute;top:50%;margin-top:-.5rem}.p-multiselect-filter-container .p-inputtext{width:100%}.p-multiselect-close{display:flex;align-items:center;justify-content:center;flex-shrink:0;overflow:hidden;position:relative;margin-left:auto}.p-multiselect-clear-icon{position:absolute;top:50%;margin-top:-.5rem}.p-fluid .p-multiselect{display:flex}.p-orderlist{display:flex}.p-orderlist-controls{display:flex;flex-direction:column;justify-content:center}.p-orderlist-list-container{flex:1 1 auto}.p-orderlist-list{list-style-type:none;margin:0;padding:0;overflow:auto;min-height:12rem;max-height:24rem}.p-orderlist-item{cursor:pointer;overflow:hidden;position:relative}.p-orderlist.p-state-disabled .p-orderlist-item,.p-orderlist.p-state-disabled .p-button{cursor:default}.p-orderlist.p-state-disabled .p-orderlist-list{overflow:hidden}.p-organizationchart-table{border-spacing:0;border-collapse:separate;margin:0 auto}.p-organizationchart-table>tbody>tr>td{text-align:center;vertical-align:top;padding:0 .75rem}.p-organizationchart-node-content{display:inline-block;position:relative}.p-organizationchart-node-content .p-node-toggler{position:absolute;bottom:-.75rem;margin-left:-.75rem;z-index:2;left:50%;user-select:none;cursor:pointer;width:1.5rem;height:1.5rem}.p-organizationchart-node-content .p-node-toggler .p-node-toggler-icon{position:relative;top:.25rem}.p-organizationchart-line-down{margin:0 auto;height:20px;width:1px}.p-organizationchart-line-right{border-radius:0}.p-organizationchart-line-left{border-radius:0}.p-organizationchart-selectable-node{cursor:pointer}.p-overlaypanel{position:absolute;margin-top:10px}.p-overlaypanel-flipped{margin-top:0;margin-bottom:10px}.p-overlaypanel-close{display:flex;justify-content:center;align-items:center;overflow:hidden;position:relative}.p-overlaypanel-enter{opacity:0;transform:scaleY(0.8)}.p-overlaypanel-enter-active{opacity:1;transform:scaleY(1);transition:transform .12s cubic-bezier(0,0,0.2,1),opacity .12s cubic-bezier(0,0,0.2,1)}.p-overlaypanel-enter-done{transform:none}.p-overlaypanel-exit{opacity:1}.p-overlaypanel-exit-active{opacity:0;transition:opacity .1s linear}.p-overlaypanel:after,.p-overlaypanel:before{bottom:100%;left:calc(var(--overlayArrowLeft, 0) + 1.25rem);content:" ";height:0;width:0;position:absolute;pointer-events:none}.p-overlaypanel:after{border-width:8px;margin-left:-8px}.p-overlaypanel:before{border-width:10px;margin-left:-10px}.p-overlaypanel-flipped:after,.p-overlaypanel-flipped:before{bottom:auto;top:100%}.p-overlaypanel.p-overlaypanel-flipped:after{border-bottom-color:transparent}.p-overlaypanel.p-overlaypanel-flipped:before{border-bottom-color:transparent}.p-paginator{display:flex;align-items:center;justify-content:center;flex-wrap:wrap}.p-paginator-left-content{margin-right:auto}.p-paginator-right-content{margin-left:auto}.p-paginator-page,.p-paginator-next,.p-paginator-last,.p-paginator-first,.p-paginator-prev,.p-paginator-current{cursor:pointer;display:inline-flex;align-items:center;justify-content:center;line-height:1;user-select:none;overflow:hidden;position:relative}.p-paginator-element:focus{z-index:1;position:relative}.p-panel-header{display:flex;justify-content:space-between;align-items:center}.p-panel-title{line-height:1}.p-panel-header-icon{display:inline-flex;justify-content:center;align-items:center;cursor:pointer;text-decoration:none;overflow:hidden;position:relative}.p-panelmenu .p-panelmenu-header-link{display:flex;align-items:center;user-select:none;cursor:pointer;position:relative;text-decoration:none}.p-panelmenu .p-panelmenu-header-link:focus{z-index:1}.p-panelmenu .p-submenu-list{margin:0;padding:0;list-style:none}.p-panelmenu .p-menuitem-link{display:flex;align-items:center;user-select:none;cursor:pointer;text-decoration:none}.p-panelmenu .p-menuitem-text{line-height:1}.p-password{position:relative;display:inline-flex}.p-password-panel{position:absolute;top:0;left:0}.p-password .p-password-panel{min-width:100%}.p-password-meter{height:10px}.p-password-strength{height:100%;width:0;transition:width 1s ease-in-out}.p-fluid .p-password{display:flex}.p-picklist{display:flex}.p-picklist-buttons{display:flex;flex-direction:column;justify-content:center}.p-picklist-list-wrapper{flex:1 1 50%}.p-picklist-list{list-style-type:none;margin:0;padding:0;overflow:auto;min-height:12rem;max-height:24rem}.p-picklist-item{cursor:pointer;overflow:hidden;position:relative}.p-progressbar{position:relative;overflow:hidden}.p-progressbar-determinate .p-progressbar-value{height:100%;width:0;position:absolute;display:none;border:0 none}.p-progressbar-determinate .p-progressbar-value-animate{transition:width 1s ease-in-out}.p-progressbar-determinate .p-progressbar-label{text-align:center;height:100%;width:100%;position:absolute;font-weight:bold}.p-progressbar-indeterminate .p-progressbar-value::before{content:'';position:absolute;background-color:inherit;top:0;left:0;bottom:0;will-change:left,right;-webkit-animation:p-progressbar-indeterminate-anim 2.1s cubic-bezier(0.65,0.815,0.735,0.395) infinite;animation:p-progressbar-indeterminate-anim 2.1s cubic-bezier(0.65,0.815,0.735,0.395) infinite}.p-progressbar-indeterminate .p-progressbar-value::after{content:'';position:absolute;background-color:inherit;top:0;left:0;bottom:0;will-change:left,right;-webkit-animation:p-progressbar-indeterminate-anim-short 2.1s cubic-bezier(0.165,0.84,0.44,1) infinite;animation:p-progressbar-indeterminate-anim-short 2.1s cubic-bezier(0.165,0.84,0.44,1) infinite;-webkit-animation-delay:1.15s;animation-delay:1.15s}@-webkit-keyframes p-progressbar-indeterminate-anim{0%{left:-35%;right:100%}60%{left:100%;right:-90%}100%{left:100%;right:-90%}}@keyframes p-progressbar-indeterminate-anim{0%{left:-35%;right:100%}60%{left:100%;right:-90%}100%{left:100%;right:-90%}}@-webkit-keyframes p-progressbar-indeterminate-anim-short{0%{left:-200%;right:100%}60%{left:107%;right:-8%}100%{left:107%;right:-8%}}@keyframes p-progressbar-indeterminate-anim-short{0%{left:-200%;right:100%}60%{left:107%;right:-8%}100%{left:107%;right:-8%}}.p-progress-spinner{position:relative;margin:0 auto;width:100px;height:100px;display:inline-block}.p-progress-spinner::before{content:'';display:block;padding-top:100%}.p-progress-spinner-svg{animation:p-progress-spinner-rotate 2s linear infinite;height:100%;transform-origin:center center;width:100%;position:absolute;top:0;bottom:0;left:0;right:0;margin:auto}.p-progress-spinner-circle{stroke-dasharray:89,200;stroke-dashoffset:0;stroke:#d62d20;animation:p-progress-spinner-dash 1.5s ease-in-out infinite,p-progress-spinner-color 6s ease-in-out infinite;stroke-linecap:round}@keyframes p-progress-spinner-rotate{100%{transform:rotate(360deg)}}@keyframes p-progress-spinner-dash{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:89,200;stroke-dashoffset:-35px}100%{stroke-dasharray:89,200;stroke-dashoffset:-124px}}@keyframes p-progress-spinner-color{100%,0%{stroke:#d62d20}40%{stroke:#0057e7}66%{stroke:#008744}80%,90%{stroke:#ffa700}}.p-radiobutton{display:inline-flex;cursor:pointer;user-select:none;vertical-align:bottom}.p-radiobutton-box{display:flex;justify-content:center;align-items:center}.p-radiobutton-icon{-webkit-backface-visibility:hidden;backface-visibility:hidden;transform:translateZ(0) scale(.1);border-radius:50%;visibility:hidden}.p-radiobutton-box.p-highlight .p-radiobutton-icon{transform:translateZ(0) scale(1.0,1.0);visibility:visible}.p-rating-icon{cursor:pointer}.p-rating.p-rating-readonly .p-rating-icon{cursor:default}.p-ripple{overflow:hidden;position:relative}.p-ink{display:block;position:absolute;background:rgba(255,255,255,0.5);border-radius:100%;transform:scale(0)}.p-ink-active{animation:ripple .4s linear}.p-ripple-disabled .p-ink{display:none !important}@keyframes ripple{100%{opacity:0;transform:scale(2.5)}}.p-scrollpanel-wrapper{overflow:hidden;width:100%;height:100%;position:relative;z-index:1;float:left}.p-scrollpanel-content{height:calc(100% + 18px);width:calc(100% + 18px);padding:0 18px 18px 0;position:relative;overflow:scroll;box-sizing:border-box}.p-scrollpanel-bar{position:relative;background:#c1c1c1;border-radius:3px;z-index:2;cursor:pointer;opacity:0;transition:opacity .25s linear}.p-scrollpanel-bar-y{width:9px;top:0}.p-scrollpanel-bar-x{height:9px;bottom:0}.p-scrollpanel-hidden{visibility:hidden}.p-scrollpanel:hover .p-scrollpanel-bar,.p-scrollpanel:active .p-scrollpanel-bar{opacity:1}.p-scrollpanel-grabbed{user-select:none}.p-scrolltop{position:fixed;bottom:20px;right:20px;display:flex;align-items:center;justify-content:center}.p-scrolltop-sticky{position:sticky}.p-scrolltop-sticky.p-link{margin-left:auto}.p-scrolltop-helper{display:none !important}.p-scrolltop-enter{opacity:0}.p-scrolltop-enter-active{opacity:1;transition:opacity .15s}.p-scrolltop-exit{opacity:1}.p-scrolltop-exit-active{opacity:0;transition:opacity .15s}.p-sidebar{position:fixed;display:flex;flex-direction:column}.p-sidebar-content{position:relative;overflow-y:auto}.p-sidebar-header{display:flex;align-items:center;justify-content:flex-end}.p-sidebar-icon{display:flex;align-items:center;justify-content:center;overflow:hidden;position:relative}.p-sidebar-left{top:0;left:0;width:20rem;height:100%}.p-sidebar-right{top:0;right:0;width:20rem;height:100%}.p-sidebar-top{top:0;left:0;width:100%;height:10rem}.p-sidebar-bottom{bottom:0;left:0;width:100%;height:10rem}.p-sidebar-full{width:100%;height:100%;top:0;left:0;-webkit-transition:none;transition:none}.p-sidebar-left.p-sidebar-enter{transform:translateX(-100%)}.p-sidebar-left.p-sidebar-enter-active{transform:translateX(0);transition:transform .3s}.p-sidebar-left.p-sidebar-exit{transform:translateX(0)}.p-sidebar-left.p-sidebar-exit-active{transform:translateX(-100%);transition:transform .3s}.p-sidebar-right.p-sidebar-enter{transform:translateX(100%)}.p-sidebar-right.p-sidebar-enter-active{transform:translateX(0);transition:transform .3s}.p-sidebar-right.p-sidebar-exit{transform:translateX(0)}.p-sidebar-right.p-sidebar-exit-active{transform:translateX(100%);transition:transform .3s}.p-sidebar-top.p-sidebar-enter{transform:translateY(-100%)}.p-sidebar-top.p-sidebar-enter-active{transform:translateY(0);transition:transform .3s}.p-sidebar-top.p-sidebar-exit{transform:translateY(0)}.p-sidebar-top.p-sidebar-exit-active{transform:translateY(-100%);transition:transform .3s}.p-sidebar-bottom.p-sidebar-enter{transform:translateY(100%)}.p-sidebar-bottom.p-sidebar-enter-active{transform:translateY(0);transition:transform .3s}.p-sidebar-bottom.p-sidebar-exit{transform:translateY(0)}.p-sidebar-bottom.p-sidebar-exit-active{transform:translateY(100%);transition:transform .3s}.p-sidebar-full.p-sidebar-enter{opacity:0}.p-sidebar-full.p-sidebar-enter-active{opacity:1;transition:opacity 400ms cubic-bezier(0.25,0.8,0.25,1)}.p-sidebar-full.p-sidebar-exit{opacity:1}.p-sidebar-full.p-sidebar-exit-active{opacity:0;transition:opacity 400ms cubic-bezier(0.25,0.8,0.25,1)}.p-sidebar-left.p-sidebar-sm,.p-sidebar-right.p-sidebar-sm{width:20rem}.p-sidebar-left.p-sidebar-md,.p-sidebar-right.p-sidebar-md{width:40rem}.p-sidebar-left.p-sidebar-lg,.p-sidebar-right.p-sidebar-lg{width:60rem}.p-sidebar-top.p-sidebar-sm,.p-sidebar-bottom.p-sidebar-sm{height:10rem}.p-sidebar-top.p-sidebar-md,.p-sidebar-bottom.p-sidebar-md{height:20rem}.p-sidebar-top.p-sidebar-lg,.p-sidebar-bottom.p-sidebar-lg{height:30rem}.p-sidebar-left.p-sidebar-view,.p-sidebar-right.p-sidebar-view,.p-sidebar-top.p-sidebar-view,.p-sidebar-bottom.p-sidebar-view{width:100%;height:100%}.p-sidebar-left.p-sidebar-content,.p-sidebar-right.p-sidebar-content,.p-sidebar-top.p-sidebar-content,.p-sidebar-bottom.p-sidebar-content{position:absolute;width:100%;height:100%}@media screen and (max-width:64em){.p-sidebar-left.p-sidebar-lg,.p-sidebar-left.p-sidebar-md,.p-sidebar-right.p-sidebar-lg,.p-sidebar-right.p-sidebar-md{width:20rem}}.p-skeleton{position:relative;overflow:hidden}.p-skeleton::after{content:"";animation:p-skeleton-animation 1.2s infinite;height:100%;left:0;position:absolute;right:0;top:0;transform:translateX(-100%);z-index:1}.p-skeleton-circle{border-radius:50%}.p-skeleton-none::after{animation:none}@keyframes p-skeleton-animation{from{transform:translateX(-100%)}to{transform:translateX(100%)}}.p-slidemenu{width:12.5em}.p-slidemenu.p-slidemenu-overlay{position:absolute}.p-slidemenu .p-menu-separator{border-width:1px 0 0 0}.p-slidemenu ul{list-style:none;margin:0;padding:0}.p-slidemenu .p-slidemenu-rootlist{position:absolute;top:0}.p-slidemenu .p-submenu-list{display:none;position:absolute;top:0;width:12.5em}.p-slidemenu .p-menuitem-link{cursor:pointer;display:flex;align-items:center;text-decoration:none;overflow:hidden}.p-slidemenu .p-menuitem-icon{vertical-align:middle}.p-slidemenu .p-menuitem-text{vertical-align:middle}.p-slidemenu .p-menuitem{position:relative}.p-slidemenu .p-menuitem-link .p-submenu-icon{margin-left:auto}.p-slidemenu .p-slidemenu-wrapper{position:relative}.p-slidemenu .p-slidemenu-content{overflow-x:hidden;overflow-y:auto;position:relative;height:100%}.p-slidemenu-backward{position:absolute;bottom:0;width:100%;padding:.25em;cursor:pointer}.p-slidemenu-backward .p-slidemenu-backward-icon{vertical-align:middle}.p-slidemenu-backward span{vertical-align:middle}.p-slidemenu .p-menuitem-active{position:static}.p-slidemenu .p-menuitem-active>.p-submenu-list{display:block}.p-slider{position:relative}.p-slider .p-slider-handle{position:absolute;cursor:grab;touch-action:none;display:block;z-index:1}.p-slider .p-slider-handle.p-slider-handle-active{z-index:2}.p-slider-range{position:absolute;display:block}.p-slider-horizontal .p-slider-range{top:0;left:0;height:100%}.p-slider-horizontal .p-slider-handle{top:50%}.p-slider-vertical{height:100px}.p-slider-vertical .p-slider-handle{left:50%}.p-slider-vertical .p-slider-range{bottom:0;left:0;width:100%}.p-speeddial{position:absolute;display:flex;z-index:1}.p-speeddial-list{margin:0;padding:0;list-style:none;display:flex;align-items:center;justify-content:center;transition:top 0s linear .2s;pointer-events:none}.p-speeddial-item{transform:scale(0);opacity:0;transition:transform 200ms cubic-bezier(0.4,0,0.2,1) 0ms,opacity .8s;will-change:transform}.p-speeddial-action{display:flex;align-items:center;justify-content:center;border-radius:50%;position:relative;overflow:hidden;text-decoration:none}.p-speeddial-circle .p-speeddial-item,.p-speeddial-semi-circle .p-speeddial-item,.p-speeddial-quarter-circle .p-speeddial-item{position:absolute}.p-speeddial-rotate{transition:transform 250ms cubic-bezier(0.4,0,0.2,1) 0ms;will-change:transform}.p-speeddial-mask{position:absolute;left:0;top:0;width:100%;height:100%;opacity:0;transition:opacity 250ms cubic-bezier(0.25,0.8,0.25,1)}.p-speeddial-mask-visible{pointer-events:none;opacity:1;transition:opacity 400ms cubic-bezier(0.25,0.8,0.25,1)}.p-speeddial-opened .p-speeddial-list{pointer-events:auto}.p-speeddial-opened .p-speeddial-item{transform:scale(1);opacity:1}.p-speeddial-opened .p-speeddial-rotate{transform:rotate(45deg)}.p-speeddial-direction-up{align-items:center;flex-direction:column-reverse}.p-speeddial-direction-up .p-speeddial-list{flex-direction:column-reverse}.p-speeddial-direction-down{align-items:center;flex-direction:column}.p-speeddial-direction-down .p-speeddial-list{flex-direction:column}.p-speeddial-direction-left{justify-content:center;flex-direction:row-reverse}.p-speeddial-direction-left .p-speeddial-list{flex-direction:row-reverse}.p-speeddial-direction-right{justify-content:center;flex-direction:row}.p-speeddial-direction-right .p-speeddial-list{flex-direction:row}.p-splitbutton{display:inline-flex;position:relative}.p-splitbutton .p-splitbutton-defaultbutton{flex:1 1 auto;border-top-right-radius:0;border-bottom-right-radius:0;border-right:0 none}.p-splitbutton-menubutton{display:flex;align-items:center;justify-content:center;border-top-left-radius:0;border-bottom-left-radius:0}.p-splitbutton .p-menu{min-width:100%}.p-fluid .p-splitbutton{display:flex}.p-splitter{display:flex;flex-wrap:nowrap}.p-splitter-vertical{flex-direction:column}.p-splitter-panel{flex-grow:1}.p-splitter-panel-nested{display:flex}.p-splitter-panel .p-splitter{flex-grow:1;border:0 none}.p-splitter-gutter{flex-grow:0;flex-shrink:0;display:flex;align-items:center;justify-content:center;cursor:col-resize}.p-splitter-horizontal.p-splitter-resizing{cursor:col-resize;user-select:none}.p-splitter-horizontal>.p-splitter-gutter>.p-splitter-gutter-handle{height:24px;width:100%}.p-splitter-horizontal>.p-splitter-gutter{cursor:col-resize}.p-splitter-vertical.p-splitter-resizing{cursor:row-resize;user-select:none}.p-splitter-vertical>.p-splitter-gutter{cursor:row-resize}.p-splitter-vertical>.p-splitter-gutter>.p-splitter-gutter-handle{width:24px;height:100%}.p-steps{position:relative}.p-steps ul{padding:0;margin:0;list-style-type:none;display:flex}.p-steps-item{position:relative;display:flex;justify-content:center;flex:1 1 auto}.p-steps-item .p-menuitem-link{display:inline-flex;flex-direction:column;align-items:center;overflow:hidden;text-decoration:none}.p-steps.p-steps-readonly .p-steps-item{cursor:auto}.p-steps-item.p-steps-current .p-menuitem-link{cursor:default}.p-steps-title{white-space:nowrap}.p-steps-number{display:flex;align-items:center;justify-content:center}.p-steps-title{display:block}.p-tabmenu{overflow-x:auto}.p-tabmenu-nav{display:flex;margin:0;padding:0;list-style-type:none;flex-wrap:nowrap}.p-tabmenu-nav a{cursor:pointer;user-select:none;display:flex;align-items:center;position:relative;text-decoration:none;text-decoration:none;overflow:hidden}.p-tabmenu-nav a:focus{z-index:1}.p-tabmenu-nav .p-menuitem-text{line-height:1}.p-tabmenu-ink-bar{display:none;z-index:1}.p-tabview-nav-container{position:relative}.p-tabview-scrollable .p-tabview-nav-container{overflow:hidden}.p-tabview-nav-content{overflow-x:auto;overflow-y:hidden;scroll-behavior:smooth;scrollbar-width:none;overscroll-behavior:contain auto}.p-tabview-nav{display:flex;margin:0;padding:0;list-style-type:none;flex:1 1 auto}.p-tabview-nav-link{cursor:pointer;user-select:none;display:flex;align-items:center;position:relative;text-decoration:none;overflow:hidden}.p-tabview-ink-bar{display:none;z-index:1}.p-tabview-nav-link:focus{z-index:1}.p-tabview-title{line-height:1;white-space:nowrap}.p-tabview-nav-btn{position:absolute;top:0;z-index:2;height:100%;display:flex;align-items:center;justify-content:center}.p-tabview-nav-prev{left:0}.p-tabview-nav-next{right:0}.p-tabview-nav-content::-webkit-scrollbar{display:none}.p-tag{display:inline-flex;align-items:center;justify-content:center}.p-tag-icon,.p-tag-value,.p-tag-icon.pi{line-height:1.5}.p-tag.p-tag-rounded{border-radius:10rem}.p-terminal{height:18rem;overflow:auto}.p-terminal-prompt-container{display:flex;align-items:center}.p-terminal-input{flex:1 1 auto;border:0 none;background-color:transparent;color:inherit;padding:0;outline:0 none}.p-terminal-input::-ms-clear{display:none}.p-tieredmenu-overlay{position:absolute}.p-tieredmenu ul{margin:0;padding:0;list-style:none}.p-tieredmenu .p-submenu-list{position:absolute;min-width:100%;z-index:1;display:none}.p-tieredmenu .p-menuitem-link{cursor:pointer;display:flex;align-items:center;text-decoration:none;overflow:hidden;position:relative}.p-tieredmenu .p-menuitem-text{line-height:1}.p-tieredmenu .p-menuitem{position:relative}.p-tieredmenu .p-menuitem-link .p-submenu-icon{margin-left:auto}.p-tieredmenu .p-menuitem-active>.p-submenu-list{display:block;left:100%;top:0}.p-tieredmenu .p-menuitem-active>.p-submenu-list-flipped{left:-100%}.p-timeline{display:flex;flex-grow:1;flex-direction:column}.p-timeline-left .p-timeline-event-opposite{text-align:right}.p-timeline-left .p-timeline-event-content{text-align:left}.p-timeline-right .p-timeline-event{flex-direction:row-reverse}.p-timeline-right .p-timeline-event-opposite{text-align:left}.p-timeline-right .p-timeline-event-content{text-align:right}.p-timeline-vertical.p-timeline-alternate .p-timeline-event:nth-child(even){flex-direction:row-reverse}.p-timeline-vertical.p-timeline-alternate .p-timeline-event:nth-child(odd) .p-timeline-event-opposite{text-align:right}.p-timeline-vertical.p-timeline-alternate .p-timeline-event:nth-child(odd) .p-timeline-event-content{text-align:left}.p-timeline-vertical.p-timeline-alternate .p-timeline-event:nth-child(even) .p-timeline-event-opposite{text-align:left}.p-timeline-vertical.p-timeline-alternate .p-timeline-event:nth-child(even) .p-timeline-event-content{text-align:right}.p-timeline-event{display:flex;position:relative;min-height:70px}.p-timeline-event:last-child{min-height:0}.p-timeline-event-opposite{flex:1;padding:0 1rem}.p-timeline-event-content{flex:1;padding:0 1rem}.p-timeline-event-separator{flex:0;display:flex;align-items:center;flex-direction:column}.p-timeline-event-marker{display:flex;align-self:baseline}.p-timeline-event-connector{flex-grow:1}.p-timeline-horizontal{flex-direction:row}.p-timeline-horizontal .p-timeline-event{flex-direction:column;flex:1}.p-timeline-horizontal .p-timeline-event:last-child{flex:0}.p-timeline-horizontal .p-timeline-event-separator{flex-direction:row}.p-timeline-horizontal .p-timeline-event-connector{width:100%}.p-timeline-bottom .p-timeline-event{flex-direction:column-reverse}.p-timeline-horizontal.p-timeline-alternate .p-timeline-event:nth-child(even){flex-direction:column-reverse}.p-toast{position:fixed;width:25rem}.p-toast-message-content{display:flex;align-items:flex-start}.p-toast-message-text{flex:1 1 auto}.p-toast-top-right{top:20px;right:20px}.p-toast-top-left{top:20px;left:20px}.p-toast-bottom-left{bottom:20px;left:20px}.p-toast-bottom-right{bottom:20px;right:20px}.p-toast-top-center{top:20px;left:50%;transform:translateX(-50%)}.p-toast-bottom-center{bottom:20px;left:50%;transform:translateX(-50%)}.p-toast-center{left:50%;top:50%;min-width:20vw;transform:translate(-50%,-50%)}.p-toast-icon-close{display:flex;align-items:center;justify-content:center;overflow:hidden;position:relative}.p-toast-icon-close.p-link{cursor:pointer}.p-toast-message-enter{opacity:0;transform:translateY(50%)}.p-toast-message-enter-active{opacity:1;transform:translateY(0);transition:transform .3s,opacity .3s}.p-toast-message-enter-done{transform:none}.p-toast-message-exit{opacity:1;max-height:1000px}.p-toast-message-exit-active{opacity:0;max-height:0;margin-bottom:0;overflow:hidden;transition:max-height .45s cubic-bezier(0,1,0,1),opacity .3s,margin-bottom .3s}.p-toolbar{display:flex;align-items:center;justify-content:space-between}.p-toolbar-group-left,.p-toolbar-group-right{display:flex;align-items:center}.p-tooltip{position:absolute;padding:.25em .5rem;max-width:12.5rem}.p-tooltip.p-tooltip-right,.p-tooltip.p-tooltip-left{padding:0 .25rem}.p-tooltip.p-tooltip-top,.p-tooltip.p-tooltip-bottom{padding:.25em 0}.p-tooltip .p-tooltip-text{white-space:pre-line;word-break:break-word}.p-tooltip-arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid}.p-tooltip-right .p-tooltip-arrow{top:50%;left:0;margin-top:-.25rem;border-width:.25em .25em .25em 0}.p-tooltip-left .p-tooltip-arrow{top:50%;right:0;margin-top:-.25rem;border-width:.25em 0 .25em .25rem}.p-tooltip.p-tooltip-top{padding:.25em 0}.p-tooltip-top .p-tooltip-arrow{bottom:0;left:50%;margin-left:-.25rem;border-width:.25em .25em 0}.p-tooltip-bottom .p-tooltip-arrow{top:0;left:50%;margin-left:-.25rem;border-width:0 .25em .25rem}.p-tree-container{margin:0;padding:0;list-style-type:none;overflow:auto}.p-treenode-children{margin:0;padding:0;list-style-type:none}.p-treenode-selectable{cursor:pointer;user-select:none}.p-tree-toggler{cursor:pointer;user-select:none;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;overflow:hidden;position:relative}.p-treenode-leaf>.p-treenode-content .p-tree-toggler{visibility:hidden}.p-treenode-content{display:flex;align-items:center}.p-tree-filter{width:100%}.p-tree-filter-container{position:relative;display:block;width:100%}.p-tree-filter-icon{position:absolute;top:50%;margin-top:-.5rem}.p-tree-loading{position:relative;min-height:4rem}.p-tree .p-tree-loading-overlay{position:absolute;z-index:1;display:flex;align-items:center;justify-content:center}.p-treeselect{display:inline-flex;cursor:pointer;position:relative;user-select:none}.p-treeselect-trigger{display:flex;align-items:center;justify-content:center;flex-shrink:0}.p-treeselect-label-container{overflow:hidden;flex:1 1 auto;cursor:pointer}.p-treeselect-label{display:block;white-space:nowrap;cursor:pointer;overflow:hidden;text-overflow:ellipsis}.p-treeselect-label-empty{overflow:hidden;visibility:hidden}.p-treeselect-token{cursor:default;display:inline-flex;align-items:center;flex:0 0 auto}.p-treeselect .p-treeselect-panel{min-width:100%}.p-treeselect-panel{position:absolute;top:0;left:0}.p-treeselect-items-wrapper{overflow:auto}.p-treeselect-header{display:flex;align-items:center;justify-content:space-between}.p-treeselect-filter-container{position:relative;flex:1 1 auto}.p-treeselect-filter-icon{position:absolute;top:50%;margin-top:-.5rem}.p-treeselect-filter-container .p-inputtext{width:100%}.p-treeselect-close{display:flex;align-items:center;justify-content:center;flex-shrink:0;overflow:hidden;position:relative;margin-left:auto}.p-treeselect-clear-icon{position:absolute;top:50%;margin-top:-.5rem}.p-fluid .p-treeselect{display:flex}.p-treetable{position:relative}.p-treetable table{border-collapse:collapse;width:100%;table-layout:fixed}.p-treetable .p-sortable-column{cursor:pointer;user-select:none}.p-treetable-auto-layout>.p-treetable-wrapper{overflow-x:auto}.p-treetable-auto-layout>.p-treetable-wrapper>table{table-layout:auto}.p-treetable-hoverable-rows .p-treetable-tbody>tr{cursor:pointer}.p-treetable-toggler{cursor:pointer;user-select:none;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;vertical-align:middle;overflow:hidden;position:relative}.p-treetable-toggler+.p-checkbox{vertical-align:middle}.p-treetable-toggler+.p-checkbox+span{vertical-align:middle}.p-treetable-resizable>.p-treetable-wrapper{overflow-x:auto}.p-treetable-resizable .p-treetable-thead>tr>th,.p-treetable-resizable .p-treetable-tfoot>tr>td,.p-treetable-resizable .p-treetable-tbody>tr>td{overflow:hidden}.p-treetable-resizable .p-resizable-column{background-clip:padding-box;position:relative}.p-treetable-resizable-fit .p-resizable-column:last-child .p-column-resizer{display:none}.p-treetable .p-column-resizer{display:block;position:absolute !important;top:0;right:0;margin:0;width:.5rem;height:100%;padding:0;cursor:col-resize;border:1px solid transparent}.p-treetable .p-column-resizer-helper{width:1px;position:absolute;z-index:10;display:none}.p-treetable-scrollable-wrapper{position:relative}.p-treetable-scrollable-header,.p-treetable-scrollable-footer{overflow:hidden;border:0 none}.p-treetable-scrollable-body{overflow:auto;position:relative}.p-treetable-virtual-table{position:absolute}.p-treetable-frozen-view .p-treetable-scrollable-body{overflow:hidden}.p-treetable-unfrozen-view{position:absolute;top:0;left:0}.p-treetable-reorder-indicator-up,.p-treetable-reorder-indicator-down{position:absolute;display:none}.p-treetable .p-treetable-loading-overlay{position:absolute;display:flex;align-items:center;justify-content:center;z-index:1}.p-virtualscroller{position:relative;overflow:auto;contain:strict;transform:translateZ(0);will-change:scroll-position;outline:0 none}.p-virtualscroller-content{position:absolute;top:0;left:0;contain:content;min-height:100%;min-width:100%;will-change:transform}.p-virtualscroller-spacer{position:absolute;top:0;left:0;height:1px;width:1px;transform-origin:0 0;pointer-events:none}.p-virtualscroller-loader{position:sticky;top:0;left:0;width:100%;height:100%}.p-virtualscroller-loader.p-component-overlay{display:flex;align-items:center;justify-content:center}5596 .p-component,.p-component *{box-sizing:border-box}.p-hidden{display:none}.p-hidden-accessible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.p-hidden-accessible input,.p-hidden-accessible select{transform:scale(0)}.p-reset{margin:0;padding:0;border:0;outline:0;text-decoration:none;font-size:100%;list-style:none}.p-disabled,.p-disabled *{cursor:default !important;pointer-events:none}.p-component-overlay{position:fixed;top:0;left:0;width:100%;height:100%}.p-overflow-hidden{overflow:hidden}.p-unselectable-text{user-select:none}.p-scrollbar-measure{width:100px;height:100px;overflow:scroll;position:absolute;top:-9999px}@-webkit-keyframes p-fadein{0%{opacity:0}100%{opacity:1}}@keyframes p-fadein{0%{opacity:0}100%{opacity:1}}.p-link{text-align:left;background-color:transparent;margin:0;padding:0;border:0;cursor:pointer;user-select:none}.p-connected-overlay{opacity:0;transform:scaleY(0.8);transition:transform .12s cubic-bezier(0,0,0.2,1),opacity .12s cubic-bezier(0,0,0.2,1)}.p-connected-overlay-visible{opacity:1;transform:scaleY(1)}.p-connected-overlay-hidden{opacity:0;transform:scaleY(1);transition:opacity .1s linear}.p-connected-overlay-enter{opacity:0;transform:scaleY(0.8)}.p-connected-overlay-enter-active{opacity:1;transform:scaleY(1);transition:transform .12s cubic-bezier(0,0,0.2,1),opacity .12s cubic-bezier(0,0,0.2,1)}.p-connected-overlay-enter-done{transform:none}.p-connected-overlay-exit{opacity:1}.p-connected-overlay-exit-active{opacity:0;transition:opacity .1s linear}.p-toggleable-content-enter{max-height:0}.p-toggleable-content-enter-active{overflow:hidden;max-height:1000px;transition:max-height 1s ease-in-out}.p-toggleable-content-enter-done{transform:none}.p-toggleable-content-exit{max-height:1000px}.p-toggleable-content-exit-active{overflow:hidden;max-height:0;transition:max-height .45s cubic-bezier(0,1,0,1)}.p-sr-only{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal !important}.p-accordion-header-link{cursor:pointer;display:flex;align-items:center;user-select:none;position:relative;text-decoration:none}.p-accordion-header-link:focus{z-index:1}.p-accordion-header-text{line-height:1}.p-autocomplete{display:inline-flex;position:relative}.p-autocomplete-loader{position:absolute;top:50%;margin-top:-.5rem}.p-autocomplete-dd .p-autocomplete-input{flex:1 1 auto;width:1%}.p-autocomplete-dd .p-autocomplete-input,.p-autocomplete-dd .p-autocomplete-multiple-container{border-top-right-radius:0;border-bottom-right-radius:0}.p-autocomplete-dd .p-autocomplete-dropdown{border-top-left-radius:0;border-bottom-left-radius:0}.p-autocomplete .p-autocomplete-panel{min-width:100%}.p-autocomplete-panel{position:absolute;top:0;left:0;overflow:auto}.p-autocomplete-items{margin:0;padding:0;list-style-type:none}.p-autocomplete-item{cursor:pointer;white-space:nowrap;position:relative;overflow:hidden}.p-autocomplete-multiple-container{margin:0;padding:0;list-style-type:none;cursor:text;overflow:hidden;display:flex;align-items:center;flex-wrap:wrap}.p-autocomplete-token{cursor:default;display:inline-flex;align-items:center;flex:0 0 auto}.p-autocomplete-token-icon{cursor:pointer}.p-autocomplete-input-token{flex:1 1 auto;display:inline-flex}.p-autocomplete-input-token input{border:0 none;outline:0 none;background-color:transparent;margin:0;padding:0;box-shadow:none;border-radius:0;width:100%}.p-fluid .p-autocomplete{display:flex}.p-fluid .p-autocomplete-dd .p-autocomplete-input{width:1%}.p-avatar{display:inline-flex;align-items:center;justify-content:center;width:2rem;height:2rem;font-size:1rem}.p-avatar.p-avatar-image{background-color:transparent}.p-avatar-circle{border-radius:50%}.p-avatar-circle img{border-radius:50%}.p-avatar .p-avatar-icon{font-size:1rem}.p-avatar img{width:100%;height:100%}.p-avatar-clickable{cursor:pointer}.p-avatar-group .p-avatar+.p-avatar{margin-left:-1rem}.p-avatar-group{display:flex;align-items:center}.p-badge{display:inline-block;border-radius:10px;text-align:center;padding:0 .5rem}.p-overlay-badge{position:relative}.p-overlay-badge .p-badge{position:absolute;top:0;right:0;transform:translate(50%,-50%);transform-origin:100% 0;margin:0}.p-badge-dot{width:.5rem;min-width:.5rem;height:.5rem;border-radius:50%;padding:0}.p-badge-no-gutter{padding:0;border-radius:50%}.p-blockui-container{position:relative}.p-blockui{position:absolute;top:0;left:0;width:100%;height:100%;opacity:1;display:flex;align-items:center;justify-content:center}.p-blockui.p-component-overlay{position:absolute}.p-blockui-document.p-component-overlay{position:fixed}.p-breadcrumb{overflow-x:auto}.p-breadcrumb ul{margin:0;padding:0;list-style-type:none;display:flex;align-items:center;flex-wrap:nowrap}.p-breadcrumb .p-menuitem-text{line-height:1}.p-breadcrumb .p-menuitem-link{text-decoration:none;display:flex;align-items:center}.p-breadcrumb::-webkit-scrollbar{display:none}.p-button{margin:0;display:inline-flex;cursor:pointer;user-select:none;align-items:center;vertical-align:bottom;text-align:center;overflow:hidden;position:relative}.p-button-label{flex:1 1 auto}.p-button-icon-right{order:1}.p-button:disabled{cursor:default}.p-button-icon-only{justify-content:center}.p-button-icon-only .p-button-label{visibility:hidden;width:0;flex:0 0 auto}.p-button-vertical{flex-direction:column}.p-button-icon-bottom{order:2}.p-buttonset .p-button{margin:0}.p-buttonset .p-button:not(:last-child){border-right:0 none}.p-buttonset .p-button:not(:first-of-type):not(:last-of-type){border-radius:0}.p-buttonset .p-button:first-of-type{border-top-right-radius:0;border-bottom-right-radius:0}.p-buttonset .p-button:last-of-type{border-top-left-radius:0;border-bottom-left-radius:0}.p-buttonset .p-button:focus{position:relative;z-index:1}.p-button-label{transition:all .2s}.p-calendar{position:relative;display:inline-flex}.p-calendar .p-inputtext{flex:1 1 auto;width:1%}.p-calendar-w-btn .p-inputtext{border-top-right-radius:0;border-bottom-right-radius:0}.p-calendar-w-btn .p-datepicker-trigger{border-top-left-radius:0;border-bottom-left-radius:0}.p-fluid .p-calendar{display:flex}.p-fluid .p-calendar .p-inputtext{width:1%}.p-calendar .p-datepicker{min-width:100%}.p-datepicker{width:auto;position:absolute;top:0;left:0}.p-datepicker-inline{display:inline-flex;flex-direction:column;position:static}.p-datepicker-header{display:flex;align-items:center;justify-content:space-between}.p-datepicker-header .p-datepicker-title{margin:0 auto}.p-datepicker-prev,.p-datepicker-next{cursor:pointer;display:inline-flex;justify-content:center;align-items:center;overflow:hidden;position:relative}.p-datepicker-multiple-month .p-datepicker-group-container{display:flex}.p-datepicker table{width:100%;border-collapse:collapse}.p-datepicker td>span{display:flex;justify-content:center;align-items:center;cursor:pointer;margin:0 auto;overflow:hidden;position:relative}.p-monthpicker-month{width:33.3%;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;overflow:hidden;position:relative}.p-datepicker-buttonbar{display:flex;justify-content:space-between;align-items:center}.p-timepicker{display:flex;justify-content:center;align-items:center}.p-timepicker button{display:flex;align-items:center;justify-content:center;cursor:pointer;overflow:hidden;position:relative}.p-timepicker>div{display:flex;align-items:center;flex-direction:column}.p-datepicker-touch-ui,.p-calendar .p-datepicker-touch-ui{position:fixed;top:50%;left:50%;min-width:80vw;transform:translate(-50%,-50%)}.p-card-header img{width:100%}.p-carousel{display:flex;flex-direction:column}.p-carousel-content{display:flex;flex-direction:column;overflow:auto}.p-carousel-prev,.p-carousel-next{align-self:center;flex-grow:0;flex-shrink:0;display:flex;justify-content:center;align-items:center;overflow:hidden;position:relative}.p-carousel-container{display:flex;flex-direction:row}.p-carousel-items-content{overflow:hidden;width:100%}.p-carousel-items-container{display:flex;flex-direction:row}.p-carousel-indicators{display:flex;flex-direction:row;justify-content:center;flex-wrap:wrap}.p-carousel-indicator>button{display:flex;align-items:center;justify-content:center}.p-carousel-vertical .p-carousel-container{flex-direction:column}.p-carousel-vertical .p-carousel-items-container{flex-direction:column;height:100%}.p-items-hidden .p-carousel-item{visibility:hidden}.p-items-hidden .p-carousel-item.p-carousel-item-active{visibility:visible}.p-cascadeselect{display:inline-flex;cursor:pointer;position:relative;user-select:none}.p-cascadeselect-trigger{display:flex;align-items:center;justify-content:center;flex-shrink:0}.p-cascadeselect-label{display:block;white-space:nowrap;overflow:hidden;flex:1 1 auto;width:1%;text-overflow:ellipsis;cursor:pointer}.p-cascadeselect-label-empty{overflow:hidden;visibility:hidden}.p-cascadeselect .p-cascadeselect-panel{min-width:100%}.p-cascadeselect-panel{position:absolute;top:0;left:0}.p-cascadeselect-item{cursor:pointer;font-weight:normal;white-space:nowrap}.p-cascadeselect-item-content{display:flex;align-items:center;overflow:hidden;position:relative}.p-cascadeselect-group-icon{margin-left:auto}.p-cascadeselect-items{margin:0;padding:0;list-style-type:none;min-width:100%}.p-fluid .p-cascadeselect{display:flex}.p-fluid .p-cascadeselect .p-cascadeselect-label{width:1%}.p-cascadeselect-sublist{position:absolute;min-width:100%;z-index:1;display:none}.p-cascadeselect-item-active{overflow:visible !important}.p-cascadeselect-item-active>.p-cascadeselect-sublist{display:block;left:100%;top:0}.p-chart{position:relative}.p-checkbox{display:inline-flex;cursor:pointer;user-select:none;vertical-align:bottom;position:relative}.p-checkbox-box{display:flex;justify-content:center;align-items:center}.p-chip{display:inline-flex;align-items:center}.p-chip-text{line-height:1.5}.p-chip-icon.pi{line-height:1.5}.p-chip .p-chip-remove-icon{line-height:1.5;cursor:pointer}.p-chip img{border-radius:50%}.p-chips{display:inline-flex}.p-chips-multiple-container{margin:0;padding:0;list-style-type:none;cursor:text;overflow:hidden;display:flex;align-items:center;flex-wrap:wrap}.p-chips-token{cursor:default;display:inline-flex;align-items:center;flex:0 0 auto}.p-chips-input-token{flex:1 1 auto;display:inline-flex}.p-chips-token-icon{cursor:pointer}.p-chips-input-token input{border:0 none;outline:0 none;background-color:transparent;margin:0;padding:0;box-shadow:none;border-radius:0;width:100%}.p-fluid .p-chips{display:flex}.p-colorpicker{display:inline-block}.p-colorpicker-dragging{cursor:pointer}.p-colorpicker-overlay{position:relative}.p-colorpicker-panel{position:relative;width:193px;height:166px}.p-colorpicker-overlay-panel{position:absolute;top:0;left:0}.p-colorpicker-preview{cursor:pointer}.p-colorpicker-panel .p-colorpicker-content{position:relative}.p-colorpicker-panel .p-colorpicker-color-selector{width:150px;height:150px;top:8px;left:8px;position:absolute}.p-colorpicker-panel .p-colorpicker-color{width:150px;height:150px}.p-colorpicker-panel .p-colorpicker-color-handle{position:absolute;top:0;left:150px;border-radius:100%;width:10px;height:10px;border-width:1px;border-style:solid;margin:-5px 0 0 -5px;cursor:pointer;opacity:.85}.p-colorpicker-panel .p-colorpicker-hue{width:17px;height:150px;top:8px;left:167px;position:absolute;opacity:.85}.p-colorpicker-panel .p-colorpicker-hue-handle{position:absolute;top:150px;left:0;width:21px;margin-left:-2px;margin-top:-5px;height:10px;border-width:2px;border-style:solid;opacity:.85;cursor:pointer}.p-colorpicker-panel .p-colorpicker-color{background:transparent url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAYAAAA8AXHiAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAIGNIUk0AAHotAACAlQAA+NcAAIhSAABxRQAA6mYAADkHAAAh+QMnhVYAACf5SURBVHja7H3LjuRIkqQaJ+e0wB72T/s7+w/qOKduoLBd3ZVZmeEP0z0UjSUUiqqpuUf1AoMJIBDuTjrdwyhUERVVMzZ3/y8z+99m9jAz33/7/hs97vb7zzv7qff54n7HNncv7Vc9nnjuf/Ixsv2i7y/328eii/EMP9vd5fjvr3cc4/Fa793dvffe+/P57Pf73b99+9b/8pe/9C+99/9jZv9rB8Dsn3kWT9RsQCIgzE7Us3r8le+Ig/fqMRKAp8cAEPAY4/Gy93l2cY393P0J+/nYBtvH8+e+rfXe246cBr/+eDz68/m0+/3uHx8f9v37d/v69av9/PPP/tNPP9lf//pX+9J7f+ygenzCSfPZgLxz0l48oeEvXKVv7fPisU4/v28yM7O2/5q7t+A5P3Y8hvq772/u3nYQjdePfXbgbDuYxmv+fD7t+Xza4/Gwx+Ph9/vdbreb3W43//79u/3666/2z3/+0/72t7/5Tz/9ZN++fbMv8A+Vfmj/ZmZtf63hgLXWVo7z0ueOgQ0enwY9+MH9Kp99+Vw8wcG2bQc+7+cF8BgcC4957EevNwDRRgByAFYbQILIdIDI3e35fFrvvY2/j8ejPR6P7X6/++1284+Pj/bjxw/79u1b+/XXX9s//vGP9ve//91+/vnn9ng82pfe+8qJ5YH1FeAEJ28KEPpsg5NyArEA3+lEtdaOE8MXQvBZDBKbAYv3w+PhNnhsapu7W2tt671ba63vf1vvPQQWRaUjUu2/B9D2c34C0YhSO5B8j1B9/9uez2e73++2/247BfrXr1/tX//6l/3yyy/2yy+/+NevX+35fNoUWDAwKZCKESYEZyGCpSdeAEnRTRW4YSQKgJQBy+HxRkHUOZrtwEGAMICOY/wRhE60NsDTB7DGMZHuzMx778Zgcnd7PB4DWPZ8Pn0A6na79dvtZvf7fbvf7/bbb78dwPr111/t69ev/ttvv1nvfQqs8Y/5Im2VIluR3sag+uQ7toDi5PcQ39FEVLqALgNW8HgDJPWE0i5gIp00ANSZ0sxs0BkCyDBCjef7376/NgT51ns/IhYCCzXV/X63j48P//HjR//4+Gj3+719+/bNxu/379/9drv9DqwoUlQBpehnIk6jSOSr+ir4jnysCCDZ+46T1FrDk+2tNcOLESN6AKzTRwFQZsByEteK7hrS3R6ZBngaRizQUcfj5/PZdh01QDWe266p2uPxsPv93m632/i179+/t99++619fHwMrdV+/PjRbrebPR6PZmZaY1WFNdFkKwCqLYjriI48SCAqkU5RldJEXtBLBhGpR8AiACGNdd4v0EuH+GZggd7aRJTqCKRBhyN6YYQaVLhrqra/tokscEQs+/j4sG/fvg0hbz9+/LDb7eaPx8Pc/UKFHlz1L9GkONk+iXQZ9UnwKKApQNIxWyGVtxkV9t7bHsGOyBYAq+3jzGDCCHWIa6C+Jva9ZHs7tWEE25D6CEwDaObu2wDW8/n0XVPZ4/FAkLUBKgTWANK3b9/6x8fHtuuwASy/UOEMT8paSFJzn2WEETjpODK4Bd6PR1GVhT1mZgIUjhdYkt35hOKG3cD7oDVw8pYYdOOYw7AkXXWiwmEbDDpES2Hoqp3ybKfAE/09n8+2R6p2v9/brrdOVIiPPz4+2sfHhz0ej+3xePQRGTliTb2fLErR1e0FjeQB2CLqi7Ix3keefBF5HPZzYQd4JNCVfzRokSmTQDYcbtZU214iMQBiI5G+Daug//5zimSwDS2Ek0AHj2oYn0dk6r0fgn3XVna/3/1+v/fn87kNU3QI+X2bff/+vd/vd3s8HkekvGisiVGYgSoDVEsiT2iyigzsopeQgnbvx/Gqx+PTtgiATQBGelCUwTUGDBxzUxkd6qMByID6DEouaG6iN9VRoO9AQyBhJriBV3VQ4W6EbgJYdr/f++Px2G63G2aJvgNxZJI+wH0CFmc8k2wrjXJIQXBCj9d3s/L0VgDJBcScKJzMIG0BuNJ5FKkuEXCAqxClsowuMi3VYxbiJ62EYAIgDVrrHLH2KIXaagBpRCnctiGwBqD2yLXtUWgAaQAMjdIDgB8fHw4R96yxXgBV5rAfJ1fQravPGumyos8MaALUlwwPwYRCXgGNdZWyDlico/YR9oADAE7uusr20DkHf8r2E8flmAFMh+cbRqjn83lsez6f296NcESpkQkOnXS/3we42g6utkerfr/ffddhbQflQaPj89y9lahwxesKKC0T4XiVSwOTNJLyiDLt1DIdJQS82rYSlSLfaRNU2MAaQOd9i7K9AUb0o0a0IothwzLN8/kc20YmeGis/bUTre1Z4TYi1g4wu91uDr6X7zRruw5rkgoDEKlolUWKCCAVoEURxZSQJ8CYMk5VticikQEFSkc9K/4yeJSOQ0obQh6jFdoSqLcITJ0tBQTT0FXjdbQUIAvsz+ezuXvbW1+s9953CtzAbrDb7dZHlENb4na79cfjsaFFMT5jnI+S3VDcJwJPRG2evB+BEkU4BTKPaJIozIPOAUWBzlEIvxcBS+2LOglFuTM4oeRy2m8/YRdLAbRVH71S6LSzdwUdC0iPB609Hg9398NuGIVnduL3bUcHBEdPM+vTiFWNYBOgWGYh0L6H97MQiZTx6YHYNnDLEUwciYztAlWjE/ttlME5ZXlHJBrWA9b5JhGLHfROADuAhNFrWAoAtpHFdXcfAh47Ghr0YA09tqGRumutkwE7LA4z2xBYUQmkUqbxLCIJY1JRIeopT7SUKUCojI7KMxYArqExySZn1gfFAAs01sm7wmwPTE9JjQCyEaUYZNu+30AYgqcrd33fZxuFZtZYe4RyyBjb7XbroMl8aCoE6gDr+O5fVIE0A0zv3aGJ7wjp+2tH9rJbB6ayqQb+Az8fINn7jxToOCPzSG8RxTXhtl/cdwCnTwT7MR4ELG6oc5HtObnpp/4poJWTFTGi0XjfSO/JAPVdQw2v6jnApOyGYTOAI98AiIdbPxx4LFbvugw7Kw5cfBGV+ik1BtX6qB32orH4GIKO0ZJQ1MmRT1Irl0w4SkJDnZHmMWETXLwxtgYIdJjhdUGF3IhnAJgjGRj6CemPxLtDG8ygvw6txdtOhaOp73gO9oPt4NqGyN8j0jaAOOgSW5VHZOMCOFPhTF8p51s994QOmfqUPvJApB/utqBJRX0bTBy4RC/x/GRaMkgmlsJF3KOFEBidbG4iNSItbnDS0EbAks62U1pD8xTAZgAutBs6UJ7v+2yot0D0H/qLitqnwvnQsFVgqZpd9FxZES0CUKSjqLxigYnJ2VhEmS6EOReAT811rL8WgLXh8Vg3ofWwA+mSNQLINmExdDBFEWRSvA/AjegzBHvkY8H+p6gEYv6IbFjGuUQsprAqLSYgs4mQtwmNeUCfyvl2bo6j6KLc9YstwPvS+0xYAxcdFbjsjaLVoHjpvKPdgJoKAMcaC2fXODbwPZ9PN7OGzvjYd4js4aADiNpuJRwZ6PCp0LLgRIUK7meNNfOZEjBkJRaOVJdSSkSTIqM7rgZBca5qjMpZh6Jw5+iV1fJWtqFews8D7WSsozgqiVrhAEDn/SBadSjpDCAeVEjUeNo2DFLY5rhtHHOPdCNK+U6XGwD/bDfMIlY1WhE4PHHNI4A1dYxAU4XHUIYoHwMjmSpCZ6BT9Dd6pLDTYUxcIJpE6uukqzpMdjhto8cdvKpOvesH3cF+h/OOtIglHnDtj5LOHgEdmgZP+yEFAtuUqLAFnQtyP8iyuMB8WBJgR1yyxgGAkakFwLlENkFpRkLc4AQbgc0n+51oblAOfO4lewQKc4peWFh2ENzOzXy4DaIWuutO7cdD6xx0ho+HVTDEOLxnFKbZUjg04E6Bg2o9MIevdgObo4UIFWmrBuhN9QtrGQQI+EPsVXUVEVkHBd7UpeeKIo8JbYXFYRP2ggmLAT2ok8M+ohmA01QkwuiFpihEqUYRa2Mq3CMNUmFjWtyp7JQtDsCOrHAHU8dmweGZjYwSorSdSjpF6otqgCXARTQ5iUycBQ7dwVkh7yd9LAYaG6WTDHD6GgOL/KqTjUBA6kpjsa1AuoofH5kgPwbnHUE3PCoGXaPCNb5/dDQ4jLFjQpSJ9xmwLAFVn4AtAowFYPGkM8ECC8Gw15wzFirhOLnkTdT4PAIbFIgjMDkbqUizkN1dtou+9Q7PO2WGG7bGoI8VAM0hCrGYd0oAnH0rBBOiKrUbkozPFwA3jWbZZwsgeTKBIXL2I+q1RNzPgHbyvYbmEdmeilJOFsXIFk009xnPA6TuBnyM2grfh1rqpLmoHnn6HlBQvui28b7xOWKisIxYF7tAgKklloGanOBFoLRk1ktEY5445JZkf1GdEBfQkBYD1sXIp7pQoXjM2R33sOO+LcoKdzBjScfJee9QG+SscPRnjcenyIbvo3LQhiCmHvsOLTMW2g0TuptFuAs4lI5SACRwc8lF+VZNUaYQ9TMtZYGQb0Hr8Ba0w1QfH5po2ApCsGMJp2OGBuDBiIVA29DvejwekgrBQkCN5ZCVnqgOaRLXi4DEb5yDlApLYCIxHwnxVyjPgga8GXg8oEDuS3dM8xNKPOk9thCGTqJJppbQX4Pow/sZ2wtAPyb621FjOTb3DbpCehs2whhLbPaDx2pSa4eGANSXijFi8f4GmEyUY6Jow3pHinoB1Ma1uARIDF6mxVeimQVCHP0tg8LyicbAuzpFL9jviF7Q/tKhsH0yQckQ7QAiJyo8KA0jFACpg9vuoiLg6MqTIXpcV6tUaNEMYUVbKu2f7RcBSWR/GTVeQJFto8euwMRZ57hyx7iRWMcGvosgB7P40GVDXOMx0I8S1Gg4E4eywE1RIWaFBJDDx+LskUE2to3pZSozBJDNs8IJpZ0a/9TJ3534sV9pG9sNTE0U9bB/yYVRe9nGrcojonDNUVkUUTSb6SoCz0Ws4zGSbQg6zgLlNnTY99c6l35GZCI6RN13lG6gG3YjmwGXw6xHrGx71uxHK6ZY5G5Tx4EFUUxFPVetLcEyQKps48JB5++EeuJSHcBtrLfAjmg41ii8iU6noKOuBuPno8MBvC+MbidLAnSd4TR/ZWUgaOm8vq6xotphdKJFS0oTGaAFYLKgCM0n10UHQ0aLbFq66HDwaMlF9Rqk2a40VqCrsCW57ye0K/CwxsIeLKKtC90hLY7C86DXPZrhhAvH/i+0Mjh6EQ2ySeqr4l3ZCGo61ax3KrMfPNFHHmgsfu+lyMxLA0WinCjPlaNOkQdLMZfIQ89PugomWaDzPhz1LTipJ10FNgQ+b1w7xONNjn8CJOspFvNUysEVoXONNel8UK3HvmAtmABGRrGtCC7V0WDsSzHdcQE9mFjBFoKiTAvsBiedhfbCKVoCHbH9cBLwAU3iMRCIbCOw/jqKyWhhiPmQp+yXHPe8VhgBYCWyiQxy9tcUpTGNFo7VAi2XUiE77qp7Qbjrp3mHSGdAb5sAlQQFWgoYXiArRKrifixTVoTICtFuONEpRCaHibK8aK7D3Mlxg4JtSbwHLTGhXprNoIkiV9BLlQEwshRc1ASjKV3Sn1JCP8r8gomopuwGKuEgWNhtv1Am05aIRsP34udHBgfgQQCdgKkoEj0tBJT9cVMEEzdPuFLhrDwza/KLAEZzDUfjXybW8X1oSRj3rcMqNU10MKi7MrRoHiF3JYCzfsr88H1oVSC10usnpx7pMrMb4DV23Q93HVeiYRrjKfmDEqF33Uk3Oq0WqHrcj4xY0KCmwqh9Zva3oNOauEOCV8Q7ao/EL1MWA9Of6njgRj4X7cdGRWjpwuNECIpUHkS+jQDNrTKYKXJDIEYsIz8Ko9RGbcUYlRymxWON0Fig49pb4pYpuEqhpsKqYRqUbFINlYh8SXcBeCzyoQJH3YLGPksoMivjXPQW7XeiuERHZRHqoEVw0Lnxj+2Fk/OO1IeuOWZ36HGx5hL7bwxAPK0DjO8AK1vJxSagU4150eKwFpRvLlYA2xFKZwn91YLPOhWTsYwzsxTgdiJhNIs0G0QJg5PEpRvOItEcPYEJdJPNwMMrKw8A9T/C0waAOmmeEcna7+WXksaKIs4sml0AtmgjqC4GGcnUcRSlUshW7noDB91EZuk0+cEFxbONEIl+ZyCJ/YymrV9KQ+TOG82W9ijikuNvgcbEi+k/MPJyVeEljVWIYiH4koJxtmZV1sulsj3LqFFEM349ctRN0aJ6zuBlW6FChaKDAd9zoSRhYLLxqaIXZ5ONi9M4NY1tDl5c1/Jb6r0NrOo2bpO53CcmAODqtkukigCnthGNZVEJqaHT+0KNhdqJhbly14nqTpYFLfxh7HFRDfGizSjCskiX20TUisCV2w3FTFD2ZbGPla02o3rXZ9FsITNUjX6RQGeLIRL6FkyYcCXsxW1LVCZ4cegJOMYOvIq+2Iajoi5aHXa+odPlQsXvwKsfTvR3q4p3dsSz5j++8SJ/KZt0Mlh0jCgaTWgwms4VaQwP9mui/yqNRASyTLybcNeV3trIGe9KwON+ogUGC9enY1BN8RSFqIpwMUrtfOfY17LCpI041EbBzGSV0cmisOipsgJFqrZi9X+kuinTYgJA8jhMd7iUJMyQOQGVTzIDieyGkz4iUc/Oe4dVbzZBh05FZ4/oTznxEljD5c6iUmQrDGc9obGmoh4CZEzFh8YyC3wsizI3Me39otPIdc78rBBYTBViZo4pK0LNI6RtRgC69E+hpQDH3sR0fKepXXwHi4bgIMA79Iixj4WPOxWjrxqrUjuMSjdqra2kPhjZBvgdwvmEAd15ZoKSpSAb1hD4Qo+5yh4ZmFFEEyCRjjyPI/tg4II3QZenLJPAPsZno2LypXKA27MVHVliKLshKwRPxbuKSgkoZRdnRndCw10ojyOiaitOIl00jT6kPWE/lEDF2eOgrsBuiKyHjagLb9WLJR0T9oOLzPVEjQN8SnO11oab31prDu77MErnGqvappzMPK4CzZXADmwJi6Z8BdrsYpAGNcx3gSXFexVkILw70h2e+KGbRNaIgn0LANRoRcBO+25KN4F+6sQiKFcODyu1G16xHxIDVa1Eo1aJ8cmxs2JytGJfVIy2aA6hinJEd0p/+cwgnbjrJhoDjaZfScCDFJH/B72u5kBmcxPUvAE1sfi0ul8UseQUeBLtbRKFZhNTLZh5YyrDg5MrJ66Kx9Iby05M9lwtYzSJYivg2qA+N8vSkO4syBJNUSG56CzAnZr1Tlnh6Mfax+J4PBr9IKot+VgVSyFccDaqNRZn9yhATgGzAKooWqkZOjh3sAUa5ZLdLYLM1DHIrnBlEzAQry93pNcGqwaeqBZ1GtCcUfXkdFqXqTCYfm6VVWMyAEZrZgWWRhM9QKlrn0U1sbAarzBzWbVPTNBwtSQR2wsq26YSUGQtyP0R5ERxFyqcPVa2h8iYnTLSU8Mle5IV5z2cqJoJ74Du1H6WzGbOKLMUkYIZzp5Qps9Ee0XMs3e1Eqn4GJn7zk2EahtMyjhFupHBcXZKrceZu47UucmI9Q4VfvJfZSuE0Yw0oCXlnFRDrWx7RU+xF5WBh+wG1Dboe3UwP7swQtuMFvE1BAr2YkU/qMHUtjKwVrRWBArVnCeOO41YybZoTXYLANlIY83mH34KsKIINekm5ULxBvTEBucmOhTYYO2Be99QsEcRKrMjXrIbXphqP5soMRXyiZg3RasqokW99up4yj4Q/fIl2syi1mT/6cSKV6IprlHBvmCwOLGpIKDmRXCTXykrnAjyCyWpGdAV0CjjM3hPGKHQkpjMal61Ilql0BzpLdHa0oniD8oTC3Hw1HY+tjJSp1SGnQ404/mwFPx8oy2eMCF11ytUyECyqp8ljhFRYaWmmIl4FxHKkt72ioeljMRNZamRcBelGgWWLTBfsU345C0xILhZT0THxmUdpZlGnRCSNxf2g9Rd7zjvLeppd73YbATIMt0FlDa1FqJIJ+qRlixZxHXFavuyqYwz6Yl3VYxG519M0PDo+yYTPGZlL3nBk9OeUWWJCtMidAYK9cWSfipTglropdPxsZk/MTgtG8hKJlh9raK5YKVlhzIQrliTaS+MKEq8MzU20eqy8RQuFO+RG09rjI5WmRaI95LznkYo3xdPE6CoUKFHi3cosKjOhYjiou/AV3kCqtmV3agzIQNXqxSnDe7uEGilMLsTq7+EoEt0Fy9LEFkNNko6YVY4A9ZouptRGO8HzxtZ/5dUO4lYYRbHa55y8Ve1xwRTuySgKDJmIMzmFWYTYC8aCBaNVYYrg0KKegJPn2Sfl/YZO995TYEQI5W9bDcks3iiKFJp+rPA85rpNBOTMyT1ZdqJVgEMPS7XyyCFES1q3OMEYFbsTioIVun7Clx1NYMZP2cjAW/BxInNzjekr9sNb04Bk6I5ocJSVHKx0GxgP6T/C1JhJGgrmip4LqMIZoUFw3QaibDLAxYekTqKoq3KJi/RS0yOUKUcL1PhZ80trHphKvIks3iiWUItiy4V8LzTUrPw+ibm53G/uSfU52w9FKiQPSZTAl2BhyZHRHXCnAor0+SjSDHRR+E6Ddl0MY5Y1W0ZZfp16e1wichkgZGs5TmkqmSbqwkbLC9YqwoAnjRitE1Eqct71HlJlgNQoG7u/jsVvhOhViOYJ2tofWbEUgD8jIj1KlVSppVGpUm2p7apblZ0wtMoJaZ0WVILtGRq/VljfTKwShpL2As+mZg6O36a7U2cd59NvCj6XS3SWMpVT7LHkOKo5SUCYIOJppca6OwYag4h02miuUIqjIDliRHqlanzZEOEWWHi9l8ilrp5wMTNP9FJkFm2QlaYeWxhVljVbOJ3KSuEC5QjVsggOzi6KMifzldrrSeF6OWI1SbT6ytZoru+l2BGhe0zIpZoRmwTz6tNJhfMjiGn2WfbJkDjyNRmVMhzBFgrCfozmEvITvvJfE1o8o+s0Oc3DLBocY+CeJ/tF3VFmOijT8V61NEgDNCmJmEm8w3D4nIwuZUjVIkKwc2faSk1u4n3a5GjruhOtQ2prJDbygVNloDVBAVeXo8yPdHWosxNTzLElgl2MfO5VP5h2npFyE8ojW/FYolgj3RYKwj2BnP9VGRrQv031Fi4YiECRL0naJHREWumsWbZnOtbyVXc9WxF5iZmgmRWwgWoCb2qmUVRd4NP9JYHzr4pLRY0FFo0z4+zWnH/aY9aeFTHBHZJiHmBPjQwfz6v3Ke+47LGyiJV0CLsSYdpEyvMRCc++tzmwXpbijYnAJveVzoo8zTuREhotWXGaBKxGBRIbU3onsox25giDxNlT5ke9MM3YbC2SdRa0lih2A5626OZzjZZlC1qObaJWPcos0sshmmbdHEGUNgZkfTYN+WiD6AyVRKgZsKedZSzrlLgEZJBaimIXNENBNbtBhfLDlWjmxdX96uUgsS8xjbRZekcxSBCSr00KVaXgTabdDKZDGIqeqpedLXOgud3SruMu6JBoj2nx8t2w2UtiFdn6aw+T2ZYS4DNTlTyOWHr8gs98j6ZNCspTFBatB2bBi9ZZXRRctZo55uKXgzW3Xf8/cXf9VdUoLYMWDNB7QUd5olm8SjqqTbjZJ0IOWs6Wj0mWg9iZZbQqxljYkmE0VNZA5HGUtsYJGSOKpo8ZYEIJlHCacqFh225xsoMUdN3hOeTnE4sLYhxD45XmXoW+VHHohXQWhvdE3oGKmcdmCxkEiYK1QQAszkRsXwCzBZotsu5YC2Fj1U7MtwPqZ+A5fkNAaKsrBK50tVrZms3JAuLyAgQbTO9Zle4hGREw4XJr6WW5yxdp0bJTApEU+V4llKLLq7J3ED+Xkc7DGfe8LOV7IZK94Ja4sjyNbCmvV8RKAmIrThP0YNo5gVwHItf0KSNbCGT2WODe0TPoll2T+pTdiZ0WESFFwolf8wpU22ZnhJF6andICNUEm0yYW/ZdHkFSl7hRZmZ6vssAHC6yFtkJ7ygv0K7wa73f7yARzy+lIjUeWMqBM3UAr01Lib2uKaUKrLDuvMujE6vrOOQTXCd7avmrLlYzJ9S3Wx57xBkQdboonzkgQ2hwDKL0O76lnd8k/aQwuiejyEVqpJWQGkRDVZ/1px3RnoAlnQlwEADhTOdg2wuA4O6430YRZJk4aXF3Cy/eVQKas7qmJJEs1/o8NNYuIp6UbSEJQqixr6WWA2SCmW5xvRdvGS0CGgypEX6otFM53BFP/E+lXmqyNGoU7KtmLaFRU3k8YN9WpDVZced0mTCBsp6uFBxpOdIXzXx2vZqEfpIkyEMZ9nd6R8e97UjUSp77llEi6jHt+xNbyhgtM57Eh0vjXmV8g/eQKE6jS6iyaizZDETHrZKmHTtjX3KcR/foQdO+xoVFhr6mpiXl7YsGy3g7ws3MVflC4+X4bbAT4vuPOHqs5NJIWGPF2dukT8nwOau762YabNwfATItqxDlywEFYk2/r8m0WuLgFWxGUoAFNGsfC8dNTMoygotuZcOR6wCjdmsnvnqJF/qXvWZLlNue0WjTVqUXF1QykIItke9WgbA2krAssLdVhO9ZUJQZ9tkCSiaK8hRrgCeyv2r24y+kszykqREyxREYprXlA/GP5y0IRItj7ZlIFNRifcTrTdaY0WaqkJzE701NUhnJ00lCQEwsruQtaQtR1GiKX0XZcSq3x9Ape6tqDJbaTvw+7m7IehAiNgntCCqVkRQOWhlKpwAa+VWKFlkakmWWB5wC27bG2SIL93Z1ea3zCttq1wkynmPji0incxARWRSkccCZ139fZkKU8c40UcZ3aQDLpz/sLZXAJm6OtOLYWX5gJVtxRM/pdkK3RFlVujfo0SENNccWEkEyoCQvged+eL0MC+K2PTkUEZ5cuOD+YvRhaHc9ugv949faI7oFFN5eZfXzPkOdFgUwdOCd8AW2b4hZVbshupKyZXV/ppK+UUnwZQu+OQVqGsq7JPoMt03atku7hutKJ2uv5pF90CUl6IeZ3wiK6zQYY0KZzbDRD+F1FeJNsWsLdNA4Y2eIkG+AKQl8BSpMFpLtfRX7R9kdDITRCciyvyULvtsYL26nQvXK6DhbC2LSrLSb/mtVyyLhivabEWjTcpIUaG/VTUTue8ntx3/CuB07l6ZAQp7tsysZRortQsyWgw0i7+wXxrBJkapnASQNPXNXn/17+zzKxNIZEeE0l7B9LqNvtcmXHd83zaZO5h1Pcw1lriyohM9i0rT6MXiepH+lujzE+julUXnymAU9cyZxOA+9EaNchcao6zPIvqLsmwKEKi//iOkwkRHVeiwqrlUCC6DJaHLyrpdHvRNyWiyApwsSnv9tjBLEVFNfXshqjrNxpK0V9Bfsd1QHUhlAUyc33DwTawFUb3iA41Volo66ThnsXxh8ISRzC2HDojliykzgCsXjZr8gdO2ZvT6VqPf7MQWoluoubIu0iwardb4qE1aDlRB21T2LS/tZGICb9Jq3YQf5rNxy8xhQXkyYwyikE0MUrtErGwyRdKk5wG4wmn4BX1mBZqcgilq3KPHFwO18v6F5QeyMcnqmCt+XoUaS9osiXQp0FJgsTgfwvH3fjyb9rejm7yH+Sk1BS65Rc452gCT99nEeA09rFmf/4rVUJUT1WJ81vxXKIJ70KDHTn8nK2IWnaJt799hddaxUNFfq1d7YOAp8LcJrVc1nK1GjVmnwCSNXynuz8Y9M2952wYRp3x88Tn5vXQy8R2d8IS2ImBYRI8FqktnoVQj0qSNZOkkW2Eyb2G/ENAe30CrelFENGkzGgz0Va6xFoBlBdMzsx+sAMw2+8ez42VC3q7rPFgFdK+8JjRlJTpbpbtDXAipPgoqDyFIFsAUAat9mWUxFe0xEdvlq3ySGEyv6iIgLSiCX6h1ov2y/WRL9IsXxiXlL1BuutbF7DiJLVFx3+tUOANJAZAvAUFllJOBtSJNlibmJu8vj0ehM6Q6HlaRDOyoT4Dq3NIjHHULMsQocmkqTNLRWYSJ/pmVfavcz5liBRQrYCtnigWQTcfrxfctA+mNCzKjWN7+h92QDeCLUWsm6itXepT1hSvYvXhS1bHlehKFx+r/qZysGeVYVqoqHqN8Yb1QeJ5TYeWERf1Z1cczWqtQwgsAj56Xv8vKZ70g9g26S18Z5yVGwGhXAL0XBXxKhauRoBTiI4p9ZUCKgLQKgF8By+Ljy8JmwRKas/F4aayidbImGiuqF8p1Q98GVvZPRxMpOPNKsrCLo6s4vBgRo8FV6028FfU+8z0JMK3yv2ZjIKKTPJYAzyyKaWAVwrP0qWb7FY8XtuNUo1oVeFWRXDhRSyd0Ieq+StcWRN9IXL+roS4rKb+ssYoRbAVAFaBcwLUIIp8BYuVkV9qBXvn/3rhIOBq98v+FUWghQtWpcAYYE1O7FgfOViJCcHWWBi/L0lYo6819qxdgCZQTvfbKxcUyJKPEGQBjKlxMQzM6e2dQl04AaUr1vALiFcCvnECbXQR0wlqwQNzKBZPNE1QgerfB7xRcoog1PakU/lKAvHuyiiG9fKzZSXklYolWlYo9sxLVo/PwKcCOnos7U2QUOaXCtL3lVXAt/OP2Zw3UKuheeT4By2dfiC9duG+MXUv01RxYBYpLwQZNf2NVvsNRV8/Ve2YDhfuLIvClKEz2gnz+DrDwlmxOt2hzccu2NwE6u1iWLnjTyxGkIAqAlmusd8Bm8U0yj31oichsUZHsua1ShSooF6l/etUnd+IwS+Y8zjLOYvTl/1U+V3qouNpQVXed7QabtKysgE3RpLqSKldb9SpNTpjP3le1WCqvBRfa7AKogPnVqJXtUx7HSrQ6LW6b1KaWgFR9TXzJV8BTeQ3D+yVqBO9NFxyrjo8ARBlwn/jadHwqF+KCthqvnanwzcFcAZeKaMvgLAz0pbRUOAGlzymcQCu44y9fNCsAiFzyBQC9Yje0acRaOLnLJz07cew7rZ7kyeBZdVALBfmXx2p1TFZBTp5eNbq/PFbGq828GKHSiLQKxhWQUSZnnzAgqwBafv2dC1QIeV+JrquRsxC9PImAVyqcXYkjZVb7i22n9hnYdnHXs22RNmOHXXzfYQGE08f3z22R6SeuePx8qTnE6+G2JFJE52TFTa9E42XqK7zn7LxPIlBkCagaVmWbXL5xEsGq0c3oam9R1lNJ6YvR6E/ZlnhOKxGqHKWK22ZRrE6FVeAFYCiD5Z3BenfQKlfjnzk2s/cuXmjLY/fu2EyBNRmg0vY3BupdMK0O2lIPeqXHXLnwq/tkOq0KpM+4EBcuuHgyxeIAzsBV3mcCwqV9XgBrKwJ6+eSJIndqylYnRiwAwQoXin/GPvSzXeyGPwsUk5NVOWHVaPUpA754oqvezn/LsQr7sQJgrUwtaoXBWBmUTxucKh28eZVWLsK3x2oFlCsR992xsqi74QWP6t0r8933rAz4CkDfeU8LLJeq1qy8b+WiWAFGaHu8eAG2jArfAcorJ3/1arIXrqxXr8iXxPtqlMre9xkX0rvRbAG8ORV+EsBWuNzeHbDPHLw35cFnSIG3xuGViPxJ0bAOLFrd7+DVVwZahPxy2UCl68k+lcHzxYFtK//fZHw+PZH4BEB68XNnwGpf3g3vq1ffK0nBm9T06VfuvzGb/LOBtGwzFT+3fem9f/n/+c/8Gwa+2X/zn38DSFd//vNL7/3/mtnD/ufnf34+7+df/28AkXg9KZ7Ze3oAAAAASUVORK5CYII=') no-repeat left top}.p-colorpicker-panel .p-colorpicker-hue{background:transparent url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAACWCAIAAAC3uvTNAAAA7ElEQVRYw+2YUQqDQAxEh9GWuqV6Be9/JT88RN0VRUuv0ElBwhKY3yF5m90kLKd+mF/975r6geNyjm9Fy0kgqTJ6nqoIdGKczjmPJU5tZxA8wWPL7YOHKhZAlcmTAVVcxSCrMbfgqY/H6JEOoASPe56tgSrqLR7U2zWojwWjJ3jq47HEiZoGTwJxP1RRXw8y9RZfCMhbhTHOVTxXnUFtPJ5rGjzu35y2KfKGQxWT2K4TQL1d2zz6KAH1kRU8wfOXx+37qY3Hct+aDaqot2u7R/wMuDS3qnj0z0HqK4X/+kRNHdfUwFP2Nisqe/sFuUZiVjC9HCUAAAAASUVORK5CYII=') no-repeat left top}.p-confirm-popup{position:absolute;top:50%;left:50%;margin-top:10px}.p-confirm-popup-flipped{margin-top:0;margin-bottom:10px}.p-confirm-popup:after,.p-confirm-popup:before{bottom:100%;left:calc(var(--overlayArrowLeft, 0) + 1.25rem);content:" ";height:0;width:0;position:absolute;pointer-events:none}.p-confirm-popup:after{border-width:8px;margin-left:-8px}.p-confirm-popup:before{border-width:10px;margin-left:-10px}.p-confirm-popup-flipped:after,.p-confirm-popup-flipped:before{bottom:auto;top:100%}.p-confirm-popup.p-confirm-popup-flipped:after{border-bottom-color:transparent}.p-confirm-popup.p-confirm-popup-flipped:before{border-bottom-color:transparent}.p-confirm-popup .p-confirm-popup-content{display:flex;align-items:center}.p-contextmenu{position:absolute}.p-contextmenu ul{margin:0;padding:0;list-style:none}.p-contextmenu .p-submenu-list{position:absolute;min-width:100%;z-index:1}.p-contextmenu .p-menuitem-link{cursor:pointer;display:flex;align-items:center;text-decoration:none;overflow:hidden;position:relative}.p-contextmenu .p-menuitem-text{line-height:1}.p-contextmenu .p-menuitem{position:relative}.p-contextmenu .p-menuitem-link .p-submenu-icon{margin-left:auto}.p-contextmenu-enter{opacity:0}.p-contextmenu-enter-active{opacity:1;transition:opacity 250ms}.p-datascroller .p-datascroller-header{text-align:center;padding:.5em .75em;border-bottom:0 none}.p-datascroller .p-datascroller-footer{text-align:center;padding:.25em .625em;border-top:0 none}.p-datascroller .p-datascroller-content{padding:.25em .625em}.p-datascroller-inline .p-datascroller-content{overflow:auto}.p-datascroller .p-datascroller-list{list-style-type:none;margin:0;padding:0}.p-datatable{position:relative}.p-datatable table{border-collapse:collapse;width:100%;table-layout:fixed}.p-datatable .p-sortable-column{cursor:pointer;user-select:none}.p-datatable .p-sortable-disabled{cursor:auto}.p-datatable .p-sortable-column .p-column-title,.p-datatable .p-sortable-column .p-sortable-column-icon,.p-datatable .p-sortable-column .p-sortable-column-badge{vertical-align:middle}.p-datatable .p-sortable-column .p-sortable-column-badge{display:inline-flex;align-items:center;justify-content:center}.p-datatable-auto-layout>.p-datatable-wrapper{overflow-x:auto}.p-datatable-auto-layout>.p-datatable-wrapper>table{table-layout:auto}.p-datatable-hoverable-rows .p-selectable-row{cursor:pointer}.p-datatable-drag-selection-helper{position:absolute;z-index:99999999}.p-datatable-scrollable-wrapper{position:relative}.p-datatable-scrollable-header,.p-datatable-scrollable-footer{overflow:hidden}.p-datatable-scrollable-body{overflow:auto;position:relative}.p-datatable-scrollable-body>table>.p-datatable-tbody>tr:first-child>td{border-top:0 none}.p-datatable-virtual-table{position:absolute}.p-datatable-frozen-view .p-datatable-scrollable-body{overflow:hidden}.p-datatable-frozen-view>.p-datatable-scrollable-body>table>.p-datatable-tbody>tr>td:last-child{border-right:0 none}.p-datatable-unfrozen-view{position:absolute;top:0}.p-datatable-flex-scrollable{display:flex;flex-direction:column;flex:1;height:100%}.p-datatable-flex-scrollable .p-datatable-scrollable-wrapper,.p-datatable-flex-scrollable .p-datatable-scrollable-view{display:flex;flex-direction:column;flex:1;height:100%}.p-datatable-flex-scrollable .p-datatable-scrollable-body{flex:1}.p-datatable-resizable>.p-datatable-wrapper{overflow-x:auto}.p-datatable-resizable .p-datatable-thead>tr>th,.p-datatable-resizable .p-datatable-tfoot>tr>td,.p-datatable-resizable .p-datatable-tbody>tr>td{overflow:hidden}.p-datatable-resizable .p-resizable-column{background-clip:padding-box;position:relative}.p-datatable-resizable-fit .p-resizable-column:last-child .p-column-resizer{display:none}.p-datatable .p-column-resizer{display:block;position:absolute !important;top:0;right:0;margin:0;width:.5rem;height:100%;padding:0;cursor:col-resize;border:1px solid transparent}.p-datatable .p-column-resizer-helper{width:1px;position:absolute;z-index:10;display:none}.p-datatable .p-row-editor-init,.p-datatable .p-row-editor-save,.p-datatable .p-row-editor-cancel{display:inline-flex;align-items:center;justify-content:center;overflow:hidden;position:relative}.p-datatable .p-row-toggler{display:inline-flex;align-items:center;justify-content:center;overflow:hidden;position:relative}.p-datatable-reorder-indicator-up,.p-datatable-reorder-indicator-down{position:absolute;display:none}.p-datatable .p-datatable-loading-overlay{position:absolute;display:flex;align-items:center;justify-content:center;z-index:1}.p-dataview-loading{position:relative;min-height:4rem}.p-dataview .p-dataview-loading-overlay{position:absolute;z-index:1;display:flex;align-items:center;justify-content:center}.p-dialog-mask{position:fixed;top:0;left:0;width:100%;height:100%;display:none;justify-content:center;align-items:center;pointer-events:none;background-color:transparent;transition-property:background-color}.p-dialog-visible{display:flex}.p-dialog-mask.p-component-overlay{pointer-events:auto}.p-dialog{display:flex;flex-direction:column;pointer-events:auto;max-height:90%;transform:scale(1);position:relative}.p-dialog-content{overflow-y:auto;flex-grow:1}.p-dialog-header{display:flex;align-items:center;flex-shrink:0}.p-dialog-footer{flex-shrink:0}.p-dialog .p-dialog-header-icons{display:flex;align-items:center;align-self:flex-start;flex-shrink:0}.p-dialog .p-dialog-header-icon{display:flex;align-items:center;justify-content:center;overflow:hidden;position:relative}.p-dialog .p-dialog-title{flex-grow:1}.p-fluid .p-dialog-footer .p-button{width:auto}.p-dialog-enter{opacity:0;transform:scale(0.7)}.p-dialog-enter-active{opacity:1;transform:scale(1);transition:all 150ms cubic-bezier(0,0,0.2,1)}.p-dialog-enter-done{transform:none}.p-dialog-exit-active{opacity:0;transform:scale(0.7);transition:all 150ms cubic-bezier(0.4,0.0,0.2,1)}.p-dialog-top .p-dialog,.p-dialog-bottom .p-dialog,.p-dialog-left .p-dialog,.p-dialog-right .p-dialog,.p-dialog-top-left .p-dialog,.p-dialog-top-right .p-dialog,.p-dialog-bottom-left .p-dialog,.p-dialog-bottom-right .p-dialog{margin:.75em}.p-dialog-top .p-dialog-enter,.p-dialog-top .p-dialog-exit-active{transform:translate3d(0,-100%,0)}.p-dialog-bottom .p-dialog-enter,.p-dialog-bottom .p-dialog-exit-active{transform:translate3d(0,100%,0)}.p-dialog-left .p-dialog-enter,.p-dialog-left .p-dialog-exit-active,.p-dialog-top-left .p-dialog-enter,.p-dialog-top-left .p-dialog-exit-active,.p-dialog-bottom-left .p-dialog-enter,.p-dialog-bottom-left .p-dialog-exit-active{transform:translate3d(-100%,0,0)}.p-dialog-right .p-dialog-enter,.p-dialog-right .p-dialog-exit-active,.p-dialog-top-right .p-dialog-enter,.p-dialog-top-right .p-dialog-exit-active,.p-dialog-bottom-right .p-dialog-enter,.p-dialog-bottom-right .p-dialog-exit-active{transform:translate3d(100%,0,0)}.p-dialog-top .p-dialog-enter-active,.p-dialog-bottom .p-dialog-enter-active,.p-dialog-left .p-dialog-enter-active,.p-dialog-top-left .p-dialog-enter-active,.p-dialog-bottom-left .p-dialog-enter-active,.p-dialog-right .p-dialog-enter-active,.p-dialog-top-right .p-dialog-enter-active,.p-dialog-bottom-right .p-dialog-enter-active{transform:translate3d(0,0,0);transition:all .3s ease-out}.p-dialog-top .p-dialog-exit-active,.p-dialog-bottom .p-dialog-exit-active,.p-dialog-left .p-dialog-exit-active,.p-dialog-top-left .p-dialog-exit-active,.p-dialog-bottom-left .p-dialog-exit-active,.p-dialog-right .p-dialog-exit-active,.p-dialog-top-right .p-dialog-exit-active,.p-dialog-bottom-right .p-dialog-exit-active{transition:all .3s ease-out}.p-dialog-maximized{transition:none;transform:none;width:100vw !important;height:100vh !important;max-height:100%;top:0 !important;left:0 !important}.p-dialog-maximized .p-dialog-content{flex-grow:1}.p-dialog-left{justify-content:flex-start}.p-dialog-right{justify-content:flex-end}.p-dialog-top{align-items:flex-start}.p-dialog-top-left{justify-content:flex-start;align-items:flex-start}.p-dialog-top-right{justify-content:flex-end;align-items:flex-start}.p-dialog-bottom{align-items:flex-end}.p-dialog-bottom-left{justify-content:flex-start;align-items:flex-end}.p-dialog-bottom-right{justify-content:flex-end;align-items:flex-end}.p-confirm-dialog .p-dialog-content{display:flex;align-items:center}.p-dialog .p-resizable-handle{position:absolute;font-size:.1px;display:block;cursor:se-resize;width:12px;height:12px;right:1px;bottom:1px}.p-dialog-draggable .p-dialog-header{cursor:move}.p-divider-horizontal{display:flex;width:100%;position:relative;align-items:center}.p-divider-horizontal:before{position:absolute;display:block;top:50%;left:0;width:100%;content:""}.p-divider-horizontal.p-divider-left{justify-content:flex-start}.p-divider-horizontal.p-divider-right{justify-content:flex-end}.p-divider-horizontal.p-divider-center{justify-content:center}.p-divider-content{z-index:1}.p-divider-vertical{min-height:100%;margin:0 1rem;display:flex;position:relative;justify-content:center}.p-divider-vertical:before{position:absolute;display:block;top:0;left:50%;height:100%;content:""}.p-divider-vertical.p-divider-top{align-items:flex-start}.p-divider-vertical.p-divider-center{align-items:center}.p-divider-vertical.p-divider-bottom{align-items:flex-end}.p-divider-solid.p-divider-horizontal:before{border-top-style:solid}.p-divider-solid.p-divider-vertical:before{border-left-style:solid}.p-divider-dashed.p-divider-horizontal:before{border-top-style:dashed}.p-divider-dashed.p-divider-vertical:before{border-left-style:dashed}.p-divider-dotted.p-divider-horizontal:before{border-top-style:dotted}.p-divider-dotted.p-divider-horizontal:before{border-left-style:dotted}.p-dock{position:absolute;z-index:1;display:flex;justify-content:center;align-items:center;pointer-events:none}.p-dock-list-container{display:flex;pointer-events:auto}.p-dock-list{margin:0;padding:0;list-style:none;display:flex;align-items:center;justify-content:center;pointer-events:auto}.p-dock-item{transition:all .2s cubic-bezier(0.4,0,0.2,1);will-change:transform}.p-dock-action{display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;overflow:hidden;cursor:default}.p-dock-item-second-prev,.p-dock-item-second-next{transform:scale(1.2)}.p-dock-item-prev,.p-dock-item-next{transform:scale(1.4)}.p-dock-item-current{transform:scale(1.6);z-index:1}.p-dock-top{left:0;top:0;width:100%}.p-dock-top .p-dock-item{transform-origin:center top}.p-dock-bottom{left:0;bottom:0;width:100%}.p-dock-bottom .p-dock-item{transform-origin:center bottom}.p-dock-right{right:0;top:0;height:100%}.p-dock-right .p-dock-item{transform-origin:center right}.p-dock-right .p-dock-list{flex-direction:column}.p-dock-left{left:0;top:0;height:100%}.p-dock-left .p-dock-item{transform-origin:center left}.p-dock-left .p-dock-list{flex-direction:column}.p-dropdown{display:inline-flex;cursor:pointer;position:relative;user-select:none}.p-dropdown-clear-icon{position:absolute;top:50%;margin-top:-.5rem}.p-dropdown-trigger{display:flex;align-items:center;justify-content:center;flex-shrink:0}.p-dropdown-label{display:block;white-space:nowrap;overflow:hidden;flex:1 1 auto;width:1%;text-overflow:ellipsis;cursor:pointer}.p-dropdown-label-empty{overflow:hidden;visibility:hidden}input.p-dropdown-label{cursor:default}.p-dropdown .p-dropdown-panel{min-width:100%}.p-dropdown-panel{position:absolute;top:0;left:0}.p-dropdown-items-wrapper{overflow:auto}.p-dropdown-item{cursor:pointer;font-weight:normal;white-space:nowrap;position:relative;overflow:hidden}.p-dropdown-items{margin:0;padding:0;list-style-type:none}.p-dropdown-filter{width:100%}.p-dropdown-filter-container{position:relative}.p-dropdown-filter-icon,.p-dropdown-filter-clear-icon{position:absolute;top:50%;margin-top:-.5rem}.p-fluid .p-dropdown{display:flex}.p-fluid .p-dropdown .p-dropdown-label{width:1%}/* * Quill Editor v1.3.7 * https://quilljs.com/ * Copyright (c) 2014, Jason Chen * Copyright (c) 2013, salesforce.com */.ql-container{box-sizing:border-box;font-family:Helvetica,Arial,sans-serif;font-size:13px;height:100%;margin:0;position:relative}.ql-container.ql-disabled .ql-tooltip{visibility:hidden}.ql-container.ql-disabled .ql-editor ul[data-checked]>li::before{pointer-events:none}.ql-clipboard{left:-100000px;height:1px;overflow-y:hidden;position:absolute;top:50%}.ql-clipboard p{margin:0;padding:0}.ql-editor{box-sizing:border-box;line-height:1.42;height:100%;outline:0;overflow-y:auto;padding:12px 15px;tab-size:4;-moz-tab-size:4;text-align:left;white-space:pre-wrap;word-wrap:break-word}.ql-editor>*{cursor:text}.ql-editor p,.ql-editor ol,.ql-editor ul,.ql-editor pre,.ql-editor blockquote,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6{margin:0;padding:0;counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol,.ql-editor ul{padding-left:1.5em}.ql-editor ol>li,.ql-editor ul>li{list-style-type:none}.ql-editor ul>li::before{content:"\2022"}.ql-editor ul[data-checked="true"],.ql-editor ul[data-checked="false"]{pointer-events:none}.ql-editor ul[data-checked="true"]>li *,.ql-editor ul[data-checked="false"]>li *{pointer-events:all}.ql-editor ul[data-checked="true"]>li::before,.ql-editor ul[data-checked="false"]>li::before{color:#777;cursor:pointer;pointer-events:all}.ql-editor ul[data-checked="true"]>li::before{content:"\2611"}.ql-editor ul[data-checked="false"]>li::before{content:"\2610"}.ql-editor li::before{display:inline-block;white-space:nowrap;width:1.2em}.ql-editor li:not(.ql-direction-rtl)::before{margin-left:-1.5em;margin-right:.3em;text-align:right}.ql-editor li.ql-direction-rtl::before{margin-left:.3em;margin-right:-1.5em}.ql-editor ol li:not(.ql-direction-rtl),.ql-editor ul li:not(.ql-direction-rtl){padding-left:1.5em}.ql-editor ol li.ql-direction-rtl,.ql-editor ul li.ql-direction-rtl{padding-right:1.5em}.ql-editor ol li{counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;counter-increment:list-0}.ql-editor ol li:before{content:counter(list-0,decimal) ". "}.ql-editor ol li.ql-indent-1{counter-increment:list-1}.ql-editor ol li.ql-indent-1:before{content:counter(list-1,lower-alpha) ". "}.ql-editor ol li.ql-indent-1{counter-reset:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-2{counter-increment:list-2}.ql-editor ol li.ql-indent-2:before{content:counter(list-2,lower-roman) ". "}.ql-editor ol li.ql-indent-2{counter-reset:list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-3{counter-increment:list-3}.ql-editor ol li.ql-indent-3:before{content:counter(list-3,decimal) ". "}.ql-editor ol li.ql-indent-3{counter-reset:list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-4{counter-increment:list-4}.ql-editor ol li.ql-indent-4:before{content:counter(list-4,lower-alpha) ". "}.ql-editor ol li.ql-indent-4{counter-reset:list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-5{counter-increment:list-5}.ql-editor ol li.ql-indent-5:before{content:counter(list-5,lower-roman) ". "}.ql-editor ol li.ql-indent-5{counter-reset:list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-6{counter-increment:list-6}.ql-editor ol li.ql-indent-6:before{content:counter(list-6,decimal) ". "}.ql-editor ol li.ql-indent-6{counter-reset:list-7 list-8 list-9}.ql-editor ol li.ql-indent-7{counter-increment:list-7}.ql-editor ol li.ql-indent-7:before{content:counter(list-7,lower-alpha) ". "}.ql-editor ol li.ql-indent-7{counter-reset:list-8 list-9}.ql-editor ol li.ql-indent-8{counter-increment:list-8}.ql-editor ol li.ql-indent-8:before{content:counter(list-8,lower-roman) ". "}.ql-editor ol li.ql-indent-8{counter-reset:list-9}.ql-editor ol li.ql-indent-9{counter-increment:list-9}.ql-editor ol li.ql-indent-9:before{content:counter(list-9,decimal) ". "}.ql-editor .ql-indent-1:not(.ql-direction-rtl){padding-left:3em}.ql-editor li.ql-indent-1:not(.ql-direction-rtl){padding-left:4.5em}.ql-editor .ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:3em}.ql-editor li.ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:4.5em}.ql-editor .ql-indent-2:not(.ql-direction-rtl){padding-left:6em}.ql-editor li.ql-indent-2:not(.ql-direction-rtl){padding-left:7.5em}.ql-editor .ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:6em}.ql-editor li.ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:7.5em}.ql-editor .ql-indent-3:not(.ql-direction-rtl){padding-left:9em}.ql-editor li.ql-indent-3:not(.ql-direction-rtl){padding-left:10.5em}.ql-editor .ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:9em}.ql-editor li.ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:10.5em}.ql-editor .ql-indent-4:not(.ql-direction-rtl){padding-left:12em}.ql-editor li.ql-indent-4:not(.ql-direction-rtl){padding-left:13.5em}.ql-editor .ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:12em}.ql-editor li.ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:13.5em}.ql-editor .ql-indent-5:not(.ql-direction-rtl){padding-left:15em}.ql-editor li.ql-indent-5:not(.ql-direction-rtl){padding-left:16.5em}.ql-editor .ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:15em}.ql-editor li.ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:16.5em}.ql-editor .ql-indent-6:not(.ql-direction-rtl){padding-left:18em}.ql-editor li.ql-indent-6:not(.ql-direction-rtl){padding-left:19.5em}.ql-editor .ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:18em}.ql-editor li.ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:19.5em}.ql-editor .ql-indent-7:not(.ql-direction-rtl){padding-left:21em}.ql-editor li.ql-indent-7:not(.ql-direction-rtl){padding-left:22.5em}.ql-editor .ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:21em}.ql-editor li.ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:22.5em}.ql-editor .ql-indent-8:not(.ql-direction-rtl){padding-left:24em}.ql-editor li.ql-indent-8:not(.ql-direction-rtl){padding-left:25.5em}.ql-editor .ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:24em}.ql-editor li.ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:25.5em}.ql-editor .ql-indent-9:not(.ql-direction-rtl){padding-left:27em}.ql-editor li.ql-indent-9:not(.ql-direction-rtl){padding-left:28.5em}.ql-editor .ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:27em}.ql-editor li.ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:28.5em}.ql-editor .ql-video{display:block;max-width:100%}.ql-editor .ql-video.ql-align-center{margin:0 auto}.ql-editor .ql-video.ql-align-right{margin:0 0 0 auto}.ql-editor .ql-bg-black{background-color:#000}.ql-editor .ql-bg-red{background-color:#e60000}.ql-editor .ql-bg-orange{background-color:#f90}.ql-editor .ql-bg-yellow{background-color:#ff0}.ql-editor .ql-bg-green{background-color:#008a00}.ql-editor .ql-bg-blue{background-color:#06c}.ql-editor .ql-bg-purple{background-color:#93f}.ql-editor .ql-color-white{color:#fff}.ql-editor .ql-color-red{color:#e60000}.ql-editor .ql-color-orange{color:#f90}.ql-editor .ql-color-yellow{color:#ff0}.ql-editor .ql-color-green{color:#008a00}.ql-editor .ql-color-blue{color:#06c}.ql-editor .ql-color-purple{color:#93f}.ql-editor .ql-font-serif{font-family:Georgia,Times New Roman,serif}.ql-editor .ql-font-monospace{font-family:Monaco,Courier New,monospace}.ql-editor .ql-size-small{font-size:.75em}.ql-editor .ql-size-large{font-size:1.5em}.ql-editor .ql-size-huge{font-size:2.5em}.ql-editor .ql-direction-rtl{direction:rtl;text-align:inherit}.ql-editor .ql-align-center{text-align:center}.ql-editor .ql-align-justify{text-align:justify}.ql-editor .ql-align-right{text-align:right}.ql-editor.ql-blank::before{color:rgba(0,0,0,0.6);content:attr(data-placeholder);font-style:italic;left:15px;pointer-events:none;position:absolute;right:15px}.ql-snow.ql-toolbar:after,.ql-snow .ql-toolbar:after{clear:both;content:"";display:table}.ql-snow.ql-toolbar button,.ql-snow .ql-toolbar button{background:0;border:0;cursor:pointer;display:inline-block;float:left;height:24px;padding:3px 5px;width:28px}.ql-snow.ql-toolbar button svg,.ql-snow .ql-toolbar button svg{float:left;height:100%}.ql-snow.ql-toolbar button:active:hover,.ql-snow .ql-toolbar button:active:hover{outline:0}.ql-snow.ql-toolbar input.ql-image[type="file"],.ql-snow .ql-toolbar input.ql-image[type="file"]{display:none}.ql-snow.ql-toolbar button:hover,.ql-snow .ql-toolbar button:hover,.ql-snow.ql-toolbar button:focus,.ql-snow .ql-toolbar button:focus,.ql-snow.ql-toolbar button.ql-active,.ql-snow .ql-toolbar button.ql-active,.ql-snow.ql-toolbar .ql-picker-label:hover,.ql-snow .ql-toolbar .ql-picker-label:hover,.ql-snow.ql-toolbar .ql-picker-label.ql-active,.ql-snow .ql-toolbar .ql-picker-label.ql-active,.ql-snow.ql-toolbar .ql-picker-item:hover,.ql-snow .ql-toolbar .ql-picker-item:hover,.ql-snow.ql-toolbar .ql-picker-item.ql-selected,.ql-snow .ql-toolbar .ql-picker-item.ql-selected{color:#06c}.ql-snow.ql-toolbar button:hover .ql-fill,.ql-snow .ql-toolbar button:hover .ql-fill,.ql-snow.ql-toolbar button:focus .ql-fill,.ql-snow .ql-toolbar button:focus .ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-fill,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-fill,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-fill,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow.ql-toolbar button:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar button:focus .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:focus .ql-stroke.ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill{fill:#06c}.ql-snow.ql-toolbar button:hover .ql-stroke,.ql-snow .ql-toolbar button:hover .ql-stroke,.ql-snow.ql-toolbar button:focus .ql-stroke,.ql-snow .ql-toolbar button:focus .ql-stroke,.ql-snow.ql-toolbar button.ql-active .ql-stroke,.ql-snow .ql-toolbar button.ql-active .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow.ql-toolbar button:hover .ql-stroke-miter,.ql-snow .ql-toolbar button:hover .ql-stroke-miter,.ql-snow.ql-toolbar button:focus .ql-stroke-miter,.ql-snow .ql-toolbar button:focus .ql-stroke-miter,.ql-snow.ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter{stroke:#06c}@media(pointer:coarse){.ql-snow.ql-toolbar button:hover:not(.ql-active),.ql-snow .ql-toolbar button:hover:not(.ql-active){color:#444}.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill{fill:#444}.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter{stroke:#444}}.ql-snow{box-sizing:border-box}.ql-snow *{box-sizing:border-box}.ql-snow .ql-hidden{display:none}.ql-snow .ql-out-bottom,.ql-snow .ql-out-top{visibility:hidden}.ql-snow .ql-tooltip{position:absolute;transform:translateY(10px)}.ql-snow .ql-tooltip a{cursor:pointer;text-decoration:none}.ql-snow .ql-tooltip.ql-flip{transform:translateY(-10px)}.ql-snow .ql-formats{display:inline-block;vertical-align:middle}.ql-snow .ql-formats:after{clear:both;content:"";display:table}.ql-snow .ql-stroke{fill:none;stroke:#444;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.ql-snow .ql-stroke-miter{fill:none;stroke:#444;stroke-miterlimit:10;stroke-width:2}.ql-snow .ql-fill,.ql-snow .ql-stroke.ql-fill{fill:#444}.ql-snow .ql-empty{fill:none}.ql-snow .ql-even{fill-rule:evenodd}.ql-snow .ql-thin,.ql-snow .ql-stroke.ql-thin{stroke-width:1}.ql-snow .ql-transparent{opacity:.4}.ql-snow .ql-direction svg:last-child{display:none}.ql-snow .ql-direction.ql-active svg:last-child{display:inline}.ql-snow .ql-direction.ql-active svg:first-child{display:none}.ql-snow .ql-editor h1{font-size:2em}.ql-snow .ql-editor h2{font-size:1.5em}.ql-snow .ql-editor h3{font-size:1.17em}.ql-snow .ql-editor h4{font-size:1em}.ql-snow .ql-editor h5{font-size:.83em}.ql-snow .ql-editor h6{font-size:.67em}.ql-snow .ql-editor a{text-decoration:underline}.ql-snow .ql-editor blockquote{border-left:4px solid #ccc;margin-bottom:5px;margin-top:5px;padding-left:16px}.ql-snow .ql-editor code,.ql-snow .ql-editor pre{background-color:#f0f0f0;border-radius:3px}.ql-snow .ql-editor pre{white-space:pre-wrap;margin-bottom:5px;margin-top:5px;padding:5px 10px}.ql-snow .ql-editor code{font-size:85%;padding:2px 4px}.ql-snow .ql-editor pre.ql-syntax{background-color:#23241f;color:#f8f8f2;overflow:visible}.ql-snow .ql-editor img{max-width:100%}.ql-snow .ql-picker{color:#444;display:inline-block;float:left;font-size:14px;font-weight:500;height:24px;position:relative;vertical-align:middle}.ql-snow .ql-picker-label{cursor:pointer;display:inline-block;height:100%;padding-left:8px;padding-right:2px;position:relative;width:100%}.ql-snow .ql-picker-label::before{display:inline-block;line-height:22px}.ql-snow .ql-picker-options{background-color:#fff;display:none;min-width:100%;padding:4px 8px;position:absolute;white-space:nowrap}.ql-snow .ql-picker-options .ql-picker-item{cursor:pointer;display:block;padding-bottom:5px;padding-top:5px}.ql-snow .ql-picker.ql-expanded .ql-picker-label{color:#ccc;z-index:2}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-fill{fill:#ccc}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-stroke{stroke:#ccc}.ql-snow .ql-picker.ql-expanded .ql-picker-options{display:block;margin-top:-1px;top:100%;z-index:1}.ql-snow .ql-color-picker,.ql-snow .ql-icon-picker{width:28px}.ql-snow .ql-color-picker .ql-picker-label,.ql-snow .ql-icon-picker .ql-picker-label{padding:2px 4px}.ql-snow .ql-color-picker .ql-picker-label svg,.ql-snow .ql-icon-picker .ql-picker-label svg{right:4px}.ql-snow .ql-icon-picker .ql-picker-options{padding:4px 0}.ql-snow .ql-icon-picker .ql-picker-item{height:24px;width:24px;padding:2px 4px}.ql-snow .ql-color-picker .ql-picker-options{padding:3px 5px;width:152px}.ql-snow .ql-color-picker .ql-picker-item{border:1px solid transparent;float:left;height:16px;margin:2px;padding:0;width:16px}.ql-snow .ql-picker:not(.ql-color-picker):not(.ql-icon-picker) svg{position:absolute;margin-top:-9px;right:0;top:50%;width:18px}.ql-snow .ql-picker.ql-header .ql-picker-label[data-label]:not([data-label=""])::before,.ql-snow .ql-picker.ql-font .ql-picker-label[data-label]:not([data-label=""])::before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-label]:not([data-label=""])::before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-label]:not([data-label=""])::before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-label]:not([data-label=""])::before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-label]:not([data-label=""])::before{content:attr(data-label)}.ql-snow .ql-picker.ql-header{width:98px}.ql-snow .ql-picker.ql-header .ql-picker-label::before,.ql-snow .ql-picker.ql-header .ql-picker-item::before{content:"Normal"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="1"]::before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]::before{content:"Heading 1"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="2"]::before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]::before{content:"Heading 2"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="3"]::before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]::before{content:"Heading 3"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="4"]::before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]::before{content:"Heading 4"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="5"]::before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]::before{content:"Heading 5"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="6"]::before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]::before{content:"Heading 6"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]::before{font-size:2em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]::before{font-size:1.5em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]::before{font-size:1.17em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]::before{font-size:1em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]::before{font-size:.83em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]::before{font-size:.67em}.ql-snow .ql-picker.ql-font{width:108px}.ql-snow .ql-picker.ql-font .ql-picker-label::before,.ql-snow .ql-picker.ql-font .ql-picker-item::before{content:"Sans Serif"}.ql-snow .ql-picker.ql-font .ql-picker-label[data-value="serif"]::before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-value="serif"]::before{content:"Serif"}.ql-snow .ql-picker.ql-font .ql-picker-label[data-value="monospace"]::before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-value="monospace"]::before{content:"Monospace"}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value="serif"]::before{font-family:Georgia,Times New Roman,serif}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value="monospace"]::before{font-family:Monaco,Courier New,monospace}.ql-snow .ql-picker.ql-size{width:98px}.ql-snow .ql-picker.ql-size .ql-picker-label::before,.ql-snow .ql-picker.ql-size .ql-picker-item::before{content:"Normal"}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value="small"]::before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value="small"]::before{content:"Small"}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value="large"]::before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value="large"]::before{content:"Large"}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value="huge"]::before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value="huge"]::before{content:"Huge"}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value="small"]::before{font-size:10px}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value="large"]::before{font-size:18px}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value="huge"]::before{font-size:32px}.ql-snow .ql-color-picker.ql-background .ql-picker-item{background-color:#fff}.ql-snow .ql-color-picker.ql-color .ql-picker-item{background-color:#000}.ql-toolbar.ql-snow{border:1px solid #ccc;box-sizing:border-box;font-family:"Helvetica Neue","Helvetica","Arial",sans-serif;padding:8px}.ql-toolbar.ql-snow .ql-formats{margin-right:15px}.ql-toolbar.ql-snow .ql-picker-label{border:1px solid transparent}.ql-toolbar.ql-snow .ql-picker-options{border:1px solid transparent;box-shadow:rgba(0,0,0,0.2) 0 2px 8px}.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-label{border-color:#ccc}.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-options{border-color:#ccc}.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item.ql-selected,.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item:hover{border-color:#000}.ql-toolbar.ql-snow+.ql-container.ql-snow{border-top:0}.ql-snow .ql-tooltip{background-color:#fff;border:1px solid #ccc;box-shadow:0 0 5px #ddd;color:#444;padding:5px 12px;white-space:nowrap}.ql-snow .ql-tooltip::before{content:"Visit URL:";line-height:26px;margin-right:8px}.ql-snow .ql-tooltip input[type="text"]{display:none;border:1px solid #ccc;font-size:13px;height:26px;margin:0;padding:3px 5px;width:170px}.ql-snow .ql-tooltip a.ql-preview{display:inline-block;max-width:200px;overflow-x:hidden;text-overflow:ellipsis;vertical-align:top}.ql-snow .ql-tooltip a.ql-action::after{border-right:1px solid #ccc;content:"Edit";margin-left:16px;padding-right:8px}.ql-snow .ql-tooltip a.ql-remove::before{content:"Remove";margin-left:8px}.ql-snow .ql-tooltip a{line-height:26px}.ql-snow .ql-tooltip.ql-editing a.ql-preview,.ql-snow .ql-tooltip.ql-editing a.ql-remove{display:none}.ql-snow .ql-tooltip.ql-editing input[type="text"]{display:inline-block}.ql-snow .ql-tooltip.ql-editing a.ql-action::after{border-right:0;content:"Save";padding-right:0}.ql-snow .ql-tooltip[data-mode="link"]::before{content:"Enter link:"}.ql-snow .ql-tooltip[data-mode="formula"]::before{content:"Enter formula:"}.ql-snow .ql-tooltip[data-mode="video"]::before{content:"Enter video:"}.ql-snow a{color:#06c}.ql-container.ql-snow{border:1px solid #ccc}.p-fieldset-legend>a,.p-fieldset-legend>span{display:flex;align-items:center;justify-content:center}.p-fieldset-toggleable .p-fieldset-legend a{cursor:pointer;user-select:none;overflow:hidden;position:relative;text-decoration:none}.p-fieldset-legend-text{line-height:1}.p-fileupload-content{position:relative}.p-fileupload-row{display:flex;align-items:center}.p-fileupload-row>div{flex:1 1 auto;width:25%}.p-fileupload-row>div:last-child{text-align:right}.p-fileupload-content>.p-progressbar{width:100%;position:absolute;top:0;left:0}.p-button.p-fileupload-choose{position:relative;overflow:hidden}.p-button.p-fileupload-choose input[type=file]{display:none}.p-fileupload-choose.p-fileupload-choose-selected input[type=file]{display:none}.p-fileupload-filename{word-break:break-all}.p-fluid .p-fileupload .p-button{width:auto}.p-galleria-content{display:flex;flex-direction:column}.p-galleria-item-wrapper{display:flex;flex-direction:column;position:relative}.p-galleria-item-container{position:relative;display:flex;height:100%}.p-galleria-item-nav{position:absolute;top:50%;margin-top:-.5rem;display:inline-flex;justify-content:center;align-items:center;overflow:hidden}.p-galleria-item-prev{left:0;border-top-left-radius:0;border-bottom-left-radius:0}.p-galleria-item-next{right:0;border-top-right-radius:0;border-bottom-right-radius:0}.p-galleria-item{display:flex;justify-content:center;align-items:center;height:100%;width:100%}.p-galleria-item-nav-onhover .p-galleria-item-nav{pointer-events:none;opacity:0;transition:opacity .2s ease-in-out}.p-galleria-item-nav-onhover .p-galleria-item-wrapper:hover .p-galleria-item-nav{pointer-events:all;opacity:1}.p-galleria-item-nav-onhover .p-galleria-item-wrapper:hover .p-galleria-item-nav.p-disabled{pointer-events:none}.p-galleria-caption{position:absolute;bottom:0;left:0;width:100%}.p-galleria-thumbnail-wrapper{display:flex;flex-direction:column;overflow:auto;flex-shrink:0}.p-galleria-thumbnail-prev,.p-galleria-thumbnail-next{align-self:center;flex:0 0 auto;display:flex;justify-content:center;align-items:center;overflow:hidden;position:relative}.p-galleria-thumbnail-prev span,.p-galleria-thumbnail-next span{display:flex;justify-content:center;align-items:center}.p-galleria-thumbnail-container{display:flex;flex-direction:row}.p-galleria-thumbnail-items-container{overflow:hidden;width:100%}.p-galleria-thumbnail-items{display:flex}.p-galleria-thumbnail-item{overflow:auto;display:flex;align-items:center;justify-content:center;cursor:pointer;opacity:.5}.p-galleria-thumbnail-item:hover{opacity:1;transition:opacity .3s}.p-galleria-thumbnail-item-current{opacity:1}.p-galleria-thumbnails-left .p-galleria-content,.p-galleria-thumbnails-right .p-galleria-content{flex-direction:row}.p-galleria-thumbnails-left .p-galleria-item-wrapper,.p-galleria-thumbnails-right .p-galleria-item-wrapper{flex-direction:row}.p-galleria-thumbnails-left .p-galleria-item-wrapper,.p-galleria-thumbnails-top .p-galleria-item-wrapper{order:2}.p-galleria-thumbnails-left .p-galleria-thumbnail-wrapper,.p-galleria-thumbnails-top .p-galleria-thumbnail-wrapper{order:1}.p-galleria-thumbnails-left .p-galleria-thumbnail-container,.p-galleria-thumbnails-right .p-galleria-thumbnail-container{flex-direction:column;flex-grow:1}.p-galleria-thumbnails-left .p-galleria-thumbnail-items,.p-galleria-thumbnails-right .p-galleria-thumbnail-items{flex-direction:column;height:100%}.p-galleria-indicators{display:flex;align-items:center;justify-content:center}.p-galleria-indicator>button{display:inline-flex;align-items:center}.p-galleria-indicators-left .p-galleria-item-wrapper,.p-galleria-indicators-right .p-galleria-item-wrapper{flex-direction:row;align-items:center}.p-galleria-indicators-left .p-galleria-item-container,.p-galleria-indicators-top .p-galleria-item-container{order:2}.p-galleria-indicators-left .p-galleria-indicators,.p-galleria-indicators-top .p-galleria-indicators{order:1}.p-galleria-indicators-left .p-galleria-indicators,.p-galleria-indicators-right .p-galleria-indicators{flex-direction:column}.p-galleria-indicator-onitem .p-galleria-indicators{position:absolute;display:flex}.p-galleria-indicator-onitem.p-galleria-indicators-top .p-galleria-indicators{top:0;left:0;width:100%;align-items:flex-start}.p-galleria-indicator-onitem.p-galleria-indicators-right .p-galleria-indicators{right:0;top:0;height:100%;align-items:flex-end}.p-galleria-indicator-onitem.p-galleria-indicators-bottom .p-galleria-indicators{bottom:0;left:0;width:100%;align-items:flex-end}.p-galleria-indicator-onitem.p-galleria-indicators-left .p-galleria-indicators{left:0;top:0;height:100%;align-items:flex-start}.p-galleria-mask{position:fixed;top:0;left:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;pointer-events:none}.p-galleria-mask.p-component-overlay{pointer-events:auto}.p-galleria-close{position:absolute;top:0;right:0;display:flex;justify-content:center;align-items:center;overflow:hidden}.p-galleria-mask .p-galleria-item-nav{position:fixed;top:50%;margin-top:-.5rem}.p-galleria-enter{opacity:0;transform:scale(0.7)}.p-galleria-enter-active{opacity:1;transform:scale(1);transition:all 150ms cubic-bezier(0,0,0.2,1)}.p-galleria-enter-done{transform:none}.p-galleria-exit{opacity:1}.p-galleria-exit-active{opacity:0;transform:scale(0.7);transition:all 150ms cubic-bezier(0.4,0.0,0.2,1)}.p-galleria-enter-active .p-galleria-item-nav{opacity:0}.p-items-hidden .p-galleria-thumbnail-item{visibility:hidden}.p-items-hidden .p-galleria-thumbnail-item.p-galleria-thumbnail-item-active{visibility:visible}.p-image-mask{display:flex;align-items:center;justify-content:center}.p-image-preview-container{position:relative;display:inline-block}.p-image-preview-indicator{position:absolute;left:0;top:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;opacity:0;transition:opacity .3s}.p-image-preview-icon{font-size:1.5rem}.p-image-preview-container:hover>.p-image-preview-indicator{opacity:1;cursor:pointer}.p-image-preview-container>img{cursor:pointer}.p-image-toolbar{position:absolute;top:0;right:0;display:flex}.p-image-action.p-link{display:flex;justify-content:center;align-items:center}.p-image-preview{transition:transform .15s;max-width:100vw;max-height:100vh}.p-image-preview-enter{opacity:0;transform:scale(0.7)}.p-image-preview-enter-active{opacity:1;transform:scale(1);transition:all 150ms cubic-bezier(0,0,0.2,1)}.p-image-preview-enter-done{transform:none}.p-image-preview-exit{opacity:1}.p-image-preview-exit-active{opacity:0;transform:scale(0.7);transition:all 150ms cubic-bezier(0.4,0.0,0.2,1)}.p-inplace .p-inplace-display{display:inline;cursor:pointer}.p-inplace .p-inplace-content{display:inline}.p-fluid .p-inplace.p-inplace-closable .p-inplace-content{display:flex}.p-fluid .p-inplace.p-inplace-closable .p-inplace-content>.p-inputtext{flex:1 1 auto;width:1%}.p-inplace-content-close{margin-left:.25rem}.p-inputnumber{display:inline-flex}.p-inputnumber-button{display:flex;align-items:center;justify-content:center;flex:0 0 auto}.p-inputnumber-buttons-stacked .p-button.p-inputnumber-button .p-button-label,.p-inputnumber-buttons-horizontal .p-button.p-inputnumber-button .p-button-label{display:none}.p-inputnumber-buttons-stacked .p-button.p-inputnumber-button-up{border-top-left-radius:0;border-bottom-left-radius:0;border-bottom-right-radius:0;padding:0}.p-inputnumber-buttons-stacked .p-inputnumber-input{border-top-right-radius:0;border-bottom-right-radius:0}.p-inputnumber-buttons-stacked .p-button.p-inputnumber-button-down{border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:0;padding:0}.p-inputnumber-buttons-stacked .p-inputnumber-button-group{display:flex;flex-direction:column}.p-inputnumber-buttons-stacked .p-inputnumber-button-group .p-button.p-inputnumber-button{flex:1 1 auto}.p-inputnumber-buttons-horizontal .p-button.p-inputnumber-button-up{order:3;border-top-left-radius:0;border-bottom-left-radius:0}.p-inputnumber-buttons-horizontal .p-inputnumber-input{order:2;border-radius:0}.p-inputnumber-buttons-horizontal .p-button.p-inputnumber-button-down{order:1;border-top-right-radius:0;border-bottom-right-radius:0}.p-inputnumber-buttons-vertical{flex-direction:column}.p-inputnumber-buttons-vertical .p-button.p-inputnumber-button-up{order:1;border-bottom-left-radius:0;border-bottom-right-radius:0;width:100%}.p-inputnumber-buttons-vertical .p-inputnumber-input{order:2;border-radius:0;text-align:center}.p-inputnumber-buttons-vertical .p-button.p-inputnumber-button-down{order:3;border-top-left-radius:0;border-top-right-radius:0;width:100%}.p-inputnumber-input{flex:1 1 auto}.p-fluid .p-inputnumber{width:100%}.p-fluid .p-inputnumber .p-inputnumber-input{width:1%}.p-fluid .p-inputnumber-buttons-vertical .p-inputnumber-input{width:100%}.p-inputswitch{position:relative;display:inline-block}.p-inputswitch-slider{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0}.p-inputswitch-slider:before{position:absolute;content:"";top:50%}.p-inputtext{margin:0}.p-fluid .p-inputtext{width:100%}.p-inputgroup{display:flex;align-items:stretch;width:100%}.p-inputgroup-addon{display:flex;align-items:center;justify-content:center}.p-inputgroup .p-float-label{display:flex;align-items:stretch;width:100%}.p-inputgroup .p-inputtext,.p-fluid .p-inputgroup .p-inputtext,.p-inputgroup .p-inputwrapper,.p-fluid .p-inputgroup .p-input{flex:1 1 auto;width:1%}.p-float-label{display:block;position:relative}.p-float-label label{position:absolute;pointer-events:none;top:50%;margin-top:-.5rem;transition-property:all;transition-timing-function:ease;line-height:1}.p-float-label textarea ~ label{top:1rem}.p-float-label input:focus ~ label,.p-float-label input.p-filled ~ label,.p-float-label textarea:focus ~ label,.p-float-label textarea.p-filled ~ label,.p-float-label .p-inputwrapper-focus ~ label,.p-float-label .p-inputwrapper-filled ~ label{top:-.75rem;font-size:12px}.p-float-label .input:-webkit-autofill ~ label{top:-20px;font-size:12px}.p-input-icon-left,.p-input-icon-right{position:relative;display:inline-block}.p-input-icon-left>i,.p-input-icon-right>i,.p-input-icon-left>svg,.p-input-icon-right>svg,.p-input-icon-left>.p-input-prefix,.p-input-icon-right>.p-input-suffix{position:absolute;top:50%;margin-top:-.5rem}.p-fluid .p-input-icon-left,.p-fluid .p-input-icon-right{display:block;width:100%}.p-inputtextarea-resizable{overflow:hidden;resize:none}.p-fluid .p-inputtextarea{width:100%}@keyframes dash-frame{100%{stroke-dashoffset:0}}.p-knob-range{fill:none;transition:stroke .1s ease-in}.p-knob-value{animation-name:dash-frame;animation-fill-mode:forwards;fill:none}.p-knob-text{font-size:1.3rem;text-align:center}.p-listbox-list-wrapper{overflow:auto}.p-listbox-list{list-style-type:none;margin:0;padding:0}.p-listbox-item{cursor:pointer;position:relative;overflow:hidden}.p-listbox-filter-container{position:relative}.p-listbox-filter-icon{position:absolute;top:50%;margin-top:-.5rem}.p-listbox-filter{width:100%}.p-megamenu-root-list{margin:0;padding:0;list-style:none}.p-megamenu-root-list>.p-menuitem{position:relative}.p-megamenu .p-menuitem-link{cursor:pointer;display:flex;align-items:center;text-decoration:none;overflow:hidden;position:relative}.p-megamenu .p-menuitem-text{line-height:1}.p-megamenu-panel{display:none;position:absolute;width:auto;z-index:1}.p-megamenu-root-list>.p-menuitem-active>.p-megamenu-panel{display:block}.p-megamenu-submenu{margin:0;padding:0;list-style:none}.p-megamenu-horizontal .p-megamenu-root-list{display:flex;align-items:center;flex-wrap:wrap}.p-megamenu-vertical .p-megamenu-root-list{flex-direction:column}.p-megamenu-vertical .p-megamenu-root-list>.p-menuitem-active>.p-megamenu-panel{left:100%;top:0}.p-megamenu-vertical .p-megamenu-root-list>.p-menuitem>.p-menuitem-link>.p-submenu-icon{margin-left:auto}.p-megamenu-grid{display:flex}.p-megamenu-col-2,.p-megamenu-col-3,.p-megamenu-col-4,.p-megamenu-col-6,.p-megamenu-col-12{flex:0 0 auto;padding:.5rem}.p-megamenu-col-2{width:16.6667%}.p-megamenu-col-3{width:25%}.p-megamenu-col-4{width:33.3333%}.p-megamenu-col-6{width:50%}.p-megamenu-col-12{width:100%}.p-mention{display:inline-flex;position:relative}.p-autocomplete-loader{position:absolute;top:50%;margin-top:-.5rem}.p-mention .p-mention-panel{min-width:100%}.p-mention-panel{position:absolute;top:0;left:0;overflow:auto}.p-mention-items{margin:0;padding:0;list-style-type:none}.p-mention-item{cursor:pointer;white-space:nowrap;position:relative;overflow:hidden}.p-fluid .p-mention{display:flex}.p-menu-overlay{position:absolute}.p-menu ul{margin:0;padding:0;list-style:none}.p-menu .p-menuitem-link{cursor:pointer;display:flex;align-items:center;text-decoration:none;overflow:hidden;position:relative}.p-menu .p-menuitem-text{line-height:1}.p-menubar{display:flex;align-items:center}.p-menubar ul{margin:0;padding:0;list-style:none}.p-menubar .p-menuitem-link{cursor:pointer;display:flex;align-items:center;text-decoration:none;overflow:hidden;position:relative}.p-menubar .p-menuitem-text{line-height:1}.p-menubar .p-menuitem{position:relative}.p-menubar-root-list{display:flex;align-items:center}.p-menubar-root-list>li ul{display:none;z-index:1}.p-menubar-root-list>.p-menuitem-active>.p-submenu-list{display:block}.p-menubar .p-submenu-list{display:none;position:absolute;z-index:1}.p-menubar .p-submenu-list>.p-menuitem-active>.p-submenu-list{display:block;left:100%;top:0}.p-menubar .p-submenu-list .p-menuitem-link .p-submenu-icon{margin-left:auto}.p-menubar .p-menubar-custom,.p-menubar .p-menubar-end{margin-left:auto;align-self:center}.p-menubar-button{display:none;cursor:pointer;align-items:center;justify-content:center}.p-inline-message{display:inline-flex;align-items:center;justify-content:center;vertical-align:top}.p-inline-message-icon-only .p-inline-message-text{visibility:hidden;width:0}.p-fluid .p-inline-message{display:flex}.p-message-wrapper{display:flex;align-items:center}.p-message-close{display:flex;align-items:center;justify-content:center}.p-message-close.p-link{margin-left:auto;overflow:hidden;position:relative}.p-message-enter{opacity:0}.p-message-enter-active{opacity:1;transition:opacity .3s}.p-message-exit{opacity:1;max-height:1000px}.p-message-exit-active{opacity:0;max-height:0;margin:0;overflow:hidden;transition:max-height .3s cubic-bezier(0,1,0,1),opacity .3s,margin .3s}.p-message-exit-active .p-message-close{display:none}.p-multiselect{display:inline-flex;position:relative;user-select:none}.p-multiselect-trigger{display:flex;align-items:center;justify-content:center;flex-shrink:0;cursor:pointer}.p-multiselect-label-container{overflow:hidden;flex:1 1 auto;cursor:pointer}.p-multiselect-label{display:block;white-space:nowrap;cursor:pointer;overflow:hidden;text-overflow:ellipsis}.p-multiselect-label-empty{overflow:hidden;visibility:hidden}.p-multiselect-token{cursor:default;display:inline-flex;align-items:center;flex:0 0 auto}.p-multiselect-token-icon{cursor:pointer}.p-multiselect .p-multiselect-panel{min-width:100%}.p-multiselect-panel{position:absolute;top:0;left:0}.p-multiselect-items-wrapper{overflow:auto}.p-multiselect-items{margin:0;padding:0;list-style-type:none}.p-multiselect-item{cursor:pointer;display:flex;align-items:center;font-weight:normal;white-space:nowrap;position:relative;overflow:hidden}.p-multiselect-header{display:flex;align-items:center;justify-content:space-between}.p-multiselect-filter-container{position:relative;flex:1 1 auto}.p-multiselect-filter-icon{position:absolute;top:50%;margin-top:-.5rem}.p-multiselect-filter-container .p-inputtext{width:100%}.p-multiselect-close{display:flex;align-items:center;justify-content:center;flex-shrink:0;overflow:hidden;position:relative;margin-left:auto}.p-multiselect-clear-icon{position:absolute;top:50%;margin-top:-.5rem}.p-fluid .p-multiselect{display:flex}.p-orderlist{display:flex}.p-orderlist-controls{display:flex;flex-direction:column;justify-content:center}.p-orderlist-list-container{flex:1 1 auto}.p-orderlist-list{list-style-type:none;margin:0;padding:0;overflow:auto;min-height:12rem;max-height:24rem}.p-orderlist-item{cursor:pointer;overflow:hidden;position:relative}.p-orderlist.p-state-disabled .p-orderlist-item,.p-orderlist.p-state-disabled .p-button{cursor:default}.p-orderlist.p-state-disabled .p-orderlist-list{overflow:hidden}.p-organizationchart-table{border-spacing:0;border-collapse:separate;margin:0 auto}.p-organizationchart-table>tbody>tr>td{text-align:center;vertical-align:top;padding:0 .75rem}.p-organizationchart-node-content{display:inline-block;position:relative}.p-organizationchart-node-content .p-node-toggler{position:absolute;bottom:-.75rem;margin-left:-.75rem;z-index:2;left:50%;user-select:none;cursor:pointer;width:1.5rem;height:1.5rem}.p-organizationchart-node-content .p-node-toggler .p-node-toggler-icon{position:relative;top:.25rem}.p-organizationchart-line-down{margin:0 auto;height:20px;width:1px}.p-organizationchart-line-right{border-radius:0}.p-organizationchart-line-left{border-radius:0}.p-organizationchart-selectable-node{cursor:pointer}.p-overlaypanel{position:absolute;margin-top:10px}.p-overlaypanel-flipped{margin-top:0;margin-bottom:10px}.p-overlaypanel-close{display:flex;justify-content:center;align-items:center;overflow:hidden;position:relative}.p-overlaypanel-enter{opacity:0;transform:scaleY(0.8)}.p-overlaypanel-enter-active{opacity:1;transform:scaleY(1);transition:transform .12s cubic-bezier(0,0,0.2,1),opacity .12s cubic-bezier(0,0,0.2,1)}.p-overlaypanel-enter-done{transform:none}.p-overlaypanel-exit{opacity:1}.p-overlaypanel-exit-active{opacity:0;transition:opacity .1s linear}.p-overlaypanel:after,.p-overlaypanel:before{bottom:100%;left:calc(var(--overlayArrowLeft, 0) + 1.25rem);content:" ";height:0;width:0;position:absolute;pointer-events:none}.p-overlaypanel:after{border-width:8px;margin-left:-8px}.p-overlaypanel:before{border-width:10px;margin-left:-10px}.p-overlaypanel-flipped:after,.p-overlaypanel-flipped:before{bottom:auto;top:100%}.p-overlaypanel.p-overlaypanel-flipped:after{border-bottom-color:transparent}.p-overlaypanel.p-overlaypanel-flipped:before{border-bottom-color:transparent}.p-paginator{display:flex;align-items:center;justify-content:center;flex-wrap:wrap}.p-paginator-left-content{margin-right:auto}.p-paginator-right-content{margin-left:auto}.p-paginator-page,.p-paginator-next,.p-paginator-last,.p-paginator-first,.p-paginator-prev,.p-paginator-current{cursor:pointer;display:inline-flex;align-items:center;justify-content:center;line-height:1;user-select:none;overflow:hidden;position:relative}.p-paginator-element:focus{z-index:1;position:relative}.p-panel-header{display:flex;justify-content:space-between;align-items:center}.p-panel-title{line-height:1}.p-panel-header-icon{display:inline-flex;justify-content:center;align-items:center;cursor:pointer;text-decoration:none;overflow:hidden;position:relative}.p-panelmenu .p-panelmenu-header-link{display:flex;align-items:center;user-select:none;cursor:pointer;position:relative;text-decoration:none}.p-panelmenu .p-panelmenu-header-link:focus{z-index:1}.p-panelmenu .p-submenu-list{margin:0;padding:0;list-style:none}.p-panelmenu .p-menuitem-link{display:flex;align-items:center;user-select:none;cursor:pointer;text-decoration:none}.p-panelmenu .p-menuitem-text{line-height:1}.p-password{position:relative;display:inline-flex}.p-password-panel{position:absolute;top:0;left:0}.p-password .p-password-panel{min-width:100%}.p-password-meter{height:10px}.p-password-strength{height:100%;width:0;transition:width 1s ease-in-out}.p-fluid .p-password{display:flex}.p-picklist{display:flex}.p-picklist-buttons{display:flex;flex-direction:column;justify-content:center}.p-picklist-list-wrapper{flex:1 1 50%}.p-picklist-list{list-style-type:none;margin:0;padding:0;overflow:auto;min-height:12rem;max-height:24rem}.p-picklist-item{cursor:pointer;overflow:hidden;position:relative}.p-progressbar{position:relative;overflow:hidden}.p-progressbar-determinate .p-progressbar-value{height:100%;width:0;position:absolute;display:none;border:0 none}.p-progressbar-determinate .p-progressbar-value-animate{transition:width 1s ease-in-out}.p-progressbar-determinate .p-progressbar-label{text-align:center;height:100%;width:100%;position:absolute;font-weight:bold}.p-progressbar-indeterminate .p-progressbar-value::before{content:'';position:absolute;background-color:inherit;top:0;left:0;bottom:0;will-change:left,right;-webkit-animation:p-progressbar-indeterminate-anim 2.1s cubic-bezier(0.65,0.815,0.735,0.395) infinite;animation:p-progressbar-indeterminate-anim 2.1s cubic-bezier(0.65,0.815,0.735,0.395) infinite}.p-progressbar-indeterminate .p-progressbar-value::after{content:'';position:absolute;background-color:inherit;top:0;left:0;bottom:0;will-change:left,right;-webkit-animation:p-progressbar-indeterminate-anim-short 2.1s cubic-bezier(0.165,0.84,0.44,1) infinite;animation:p-progressbar-indeterminate-anim-short 2.1s cubic-bezier(0.165,0.84,0.44,1) infinite;-webkit-animation-delay:1.15s;animation-delay:1.15s}@-webkit-keyframes p-progressbar-indeterminate-anim{0%{left:-35%;right:100%}60%{left:100%;right:-90%}100%{left:100%;right:-90%}}@keyframes p-progressbar-indeterminate-anim{0%{left:-35%;right:100%}60%{left:100%;right:-90%}100%{left:100%;right:-90%}}@-webkit-keyframes p-progressbar-indeterminate-anim-short{0%{left:-200%;right:100%}60%{left:107%;right:-8%}100%{left:107%;right:-8%}}@keyframes p-progressbar-indeterminate-anim-short{0%{left:-200%;right:100%}60%{left:107%;right:-8%}100%{left:107%;right:-8%}}.p-progress-spinner{position:relative;margin:0 auto;width:100px;height:100px;display:inline-block}.p-progress-spinner::before{content:'';display:block;padding-top:100%}.p-progress-spinner-svg{animation:p-progress-spinner-rotate 2s linear infinite;height:100%;transform-origin:center center;width:100%;position:absolute;top:0;bottom:0;left:0;right:0;margin:auto}.p-progress-spinner-circle{stroke-dasharray:89,200;stroke-dashoffset:0;stroke:#d62d20;animation:p-progress-spinner-dash 1.5s ease-in-out infinite,p-progress-spinner-color 6s ease-in-out infinite;stroke-linecap:round}@keyframes p-progress-spinner-rotate{100%{transform:rotate(360deg)}}@keyframes p-progress-spinner-dash{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:89,200;stroke-dashoffset:-35px}100%{stroke-dasharray:89,200;stroke-dashoffset:-124px}}@keyframes p-progress-spinner-color{100%,0%{stroke:#d62d20}40%{stroke:#0057e7}66%{stroke:#008744}80%,90%{stroke:#ffa700}}.p-radiobutton{display:inline-flex;cursor:pointer;user-select:none;vertical-align:bottom}.p-radiobutton-box{display:flex;justify-content:center;align-items:center}.p-radiobutton-icon{-webkit-backface-visibility:hidden;backface-visibility:hidden;transform:translateZ(0) scale(.1);border-radius:50%;visibility:hidden}.p-radiobutton-box.p-highlight .p-radiobutton-icon{transform:translateZ(0) scale(1.0,1.0);visibility:visible}.p-rating-icon{cursor:pointer}.p-rating.p-rating-readonly .p-rating-icon{cursor:default}.p-ripple{overflow:hidden;position:relative}.p-ink{display:block;position:absolute;background:rgba(255,255,255,0.5);border-radius:100%;transform:scale(0)}.p-ink-active{animation:ripple .4s linear}.p-ripple-disabled .p-ink{display:none !important}@keyframes ripple{100%{opacity:0;transform:scale(2.5)}}.p-scrollpanel-wrapper{overflow:hidden;width:100%;height:100%;position:relative;z-index:1;float:left}.p-scrollpanel-content{height:calc(100% + 18px);width:calc(100% + 18px);padding:0 18px 18px 0;position:relative;overflow:scroll;box-sizing:border-box}.p-scrollpanel-bar{position:relative;background:#c1c1c1;border-radius:3px;z-index:2;cursor:pointer;opacity:0;transition:opacity .25s linear}.p-scrollpanel-bar-y{width:9px;top:0}.p-scrollpanel-bar-x{height:9px;bottom:0}.p-scrollpanel-hidden{visibility:hidden}.p-scrollpanel:hover .p-scrollpanel-bar,.p-scrollpanel:active .p-scrollpanel-bar{opacity:1}.p-scrollpanel-grabbed{user-select:none}.p-scrolltop{position:fixed;bottom:20px;right:20px;display:flex;align-items:center;justify-content:center}.p-scrolltop-sticky{position:sticky}.p-scrolltop-sticky.p-link{margin-left:auto}.p-scrolltop-helper{display:none !important}.p-scrolltop-enter{opacity:0}.p-scrolltop-enter-active{opacity:1;transition:opacity .15s}.p-scrolltop-exit{opacity:1}.p-scrolltop-exit-active{opacity:0;transition:opacity .15s}.p-sidebar{position:fixed;display:flex;flex-direction:column}.p-sidebar-content{position:relative;overflow-y:auto}.p-sidebar-header{display:flex;align-items:center;justify-content:flex-end}.p-sidebar-icon{display:flex;align-items:center;justify-content:center;overflow:hidden;position:relative}.p-sidebar-left{top:0;left:0;width:20rem;height:100%}.p-sidebar-right{top:0;right:0;width:20rem;height:100%}.p-sidebar-top{top:0;left:0;width:100%;height:10rem}.p-sidebar-bottom{bottom:0;left:0;width:100%;height:10rem}.p-sidebar-full{width:100%;height:100%;top:0;left:0;-webkit-transition:none;transition:none}.p-sidebar-left.p-sidebar-enter{transform:translateX(-100%)}.p-sidebar-left.p-sidebar-enter-active{transform:translateX(0);transition:transform .3s}.p-sidebar-left.p-sidebar-exit{transform:translateX(0)}.p-sidebar-left.p-sidebar-exit-active{transform:translateX(-100%);transition:transform .3s}.p-sidebar-right.p-sidebar-enter{transform:translateX(100%)}.p-sidebar-right.p-sidebar-enter-active{transform:translateX(0);transition:transform .3s}.p-sidebar-right.p-sidebar-exit{transform:translateX(0)}.p-sidebar-right.p-sidebar-exit-active{transform:translateX(100%);transition:transform .3s}.p-sidebar-top.p-sidebar-enter{transform:translateY(-100%)}.p-sidebar-top.p-sidebar-enter-active{transform:translateY(0);transition:transform .3s}.p-sidebar-top.p-sidebar-exit{transform:translateY(0)}.p-sidebar-top.p-sidebar-exit-active{transform:translateY(-100%);transition:transform .3s}.p-sidebar-bottom.p-sidebar-enter{transform:translateY(100%)}.p-sidebar-bottom.p-sidebar-enter-active{transform:translateY(0);transition:transform .3s}.p-sidebar-bottom.p-sidebar-exit{transform:translateY(0)}.p-sidebar-bottom.p-sidebar-exit-active{transform:translateY(100%);transition:transform .3s}.p-sidebar-full.p-sidebar-enter{opacity:0}.p-sidebar-full.p-sidebar-enter-active{opacity:1;transition:opacity 400ms cubic-bezier(0.25,0.8,0.25,1)}.p-sidebar-full.p-sidebar-exit{opacity:1}.p-sidebar-full.p-sidebar-exit-active{opacity:0;transition:opacity 400ms cubic-bezier(0.25,0.8,0.25,1)}.p-sidebar-left.p-sidebar-sm,.p-sidebar-right.p-sidebar-sm{width:20rem}.p-sidebar-left.p-sidebar-md,.p-sidebar-right.p-sidebar-md{width:40rem}.p-sidebar-left.p-sidebar-lg,.p-sidebar-right.p-sidebar-lg{width:60rem}.p-sidebar-top.p-sidebar-sm,.p-sidebar-bottom.p-sidebar-sm{height:10rem}.p-sidebar-top.p-sidebar-md,.p-sidebar-bottom.p-sidebar-md{height:20rem}.p-sidebar-top.p-sidebar-lg,.p-sidebar-bottom.p-sidebar-lg{height:30rem}.p-sidebar-left.p-sidebar-view,.p-sidebar-right.p-sidebar-view,.p-sidebar-top.p-sidebar-view,.p-sidebar-bottom.p-sidebar-view{width:100%;height:100%}.p-sidebar-left.p-sidebar-content,.p-sidebar-right.p-sidebar-content,.p-sidebar-top.p-sidebar-content,.p-sidebar-bottom.p-sidebar-content{position:absolute;width:100%;height:100%}@media screen and (max-width:64em){.p-sidebar-left.p-sidebar-lg,.p-sidebar-left.p-sidebar-md,.p-sidebar-right.p-sidebar-lg,.p-sidebar-right.p-sidebar-md{width:20rem}}.p-skeleton{position:relative;overflow:hidden}.p-skeleton::after{content:"";animation:p-skeleton-animation 1.2s infinite;height:100%;left:0;position:absolute;right:0;top:0;transform:translateX(-100%);z-index:1}.p-skeleton-circle{border-radius:50%}.p-skeleton-none::after{animation:none}@keyframes p-skeleton-animation{from{transform:translateX(-100%)}to{transform:translateX(100%)}}.p-slidemenu{width:12.5em}.p-slidemenu.p-slidemenu-overlay{position:absolute}.p-slidemenu .p-menu-separator{border-width:1px 0 0 0}.p-slidemenu ul{list-style:none;margin:0;padding:0}.p-slidemenu .p-slidemenu-rootlist{position:absolute;top:0}.p-slidemenu .p-submenu-list{display:none;position:absolute;top:0;width:12.5em}.p-slidemenu .p-menuitem-link{cursor:pointer;display:flex;align-items:center;text-decoration:none;overflow:hidden}.p-slidemenu .p-menuitem-icon{vertical-align:middle}.p-slidemenu .p-menuitem-text{vertical-align:middle}.p-slidemenu .p-menuitem{position:relative}.p-slidemenu .p-menuitem-link .p-submenu-icon{margin-left:auto}.p-slidemenu .p-slidemenu-wrapper{position:relative}.p-slidemenu .p-slidemenu-content{overflow-x:hidden;overflow-y:auto;position:relative;height:100%}.p-slidemenu-backward{position:absolute;bottom:0;width:100%;padding:.25em;cursor:pointer}.p-slidemenu-backward .p-slidemenu-backward-icon{vertical-align:middle}.p-slidemenu-backward span{vertical-align:middle}.p-slidemenu .p-menuitem-active{position:static}.p-slidemenu .p-menuitem-active>.p-submenu-list{display:block}.p-slider{position:relative}.p-slider .p-slider-handle{position:absolute;cursor:grab;touch-action:none;display:block;z-index:1}.p-slider .p-slider-handle.p-slider-handle-active{z-index:2}.p-slider-range{position:absolute;display:block}.p-slider-horizontal .p-slider-range{top:0;left:0;height:100%}.p-slider-horizontal .p-slider-handle{top:50%}.p-slider-vertical{height:100px}.p-slider-vertical .p-slider-handle{left:50%}.p-slider-vertical .p-slider-range{bottom:0;left:0;width:100%}.p-speeddial{position:absolute;display:flex;z-index:1}.p-speeddial-list{margin:0;padding:0;list-style:none;display:flex;align-items:center;justify-content:center;transition:top 0s linear .2s;pointer-events:none}.p-speeddial-item{transform:scale(0);opacity:0;transition:transform 200ms cubic-bezier(0.4,0,0.2,1) 0ms,opacity .8s;will-change:transform}.p-speeddial-action{display:flex;align-items:center;justify-content:center;border-radius:50%;position:relative;overflow:hidden;text-decoration:none}.p-speeddial-circle .p-speeddial-item,.p-speeddial-semi-circle .p-speeddial-item,.p-speeddial-quarter-circle .p-speeddial-item{position:absolute}.p-speeddial-rotate{transition:transform 250ms cubic-bezier(0.4,0,0.2,1) 0ms;will-change:transform}.p-speeddial-mask{position:absolute;left:0;top:0;width:100%;height:100%;opacity:0;transition:opacity 250ms cubic-bezier(0.25,0.8,0.25,1)}.p-speeddial-mask-visible{pointer-events:none;opacity:1;transition:opacity 400ms cubic-bezier(0.25,0.8,0.25,1)}.p-speeddial-opened .p-speeddial-list{pointer-events:auto}.p-speeddial-opened .p-speeddial-item{transform:scale(1);opacity:1}.p-speeddial-opened .p-speeddial-rotate{transform:rotate(45deg)}.p-speeddial-direction-up{align-items:center;flex-direction:column-reverse}.p-speeddial-direction-up .p-speeddial-list{flex-direction:column-reverse}.p-speeddial-direction-down{align-items:center;flex-direction:column}.p-speeddial-direction-down .p-speeddial-list{flex-direction:column}.p-speeddial-direction-left{justify-content:center;flex-direction:row-reverse}.p-speeddial-direction-left .p-speeddial-list{flex-direction:row-reverse}.p-speeddial-direction-right{justify-content:center;flex-direction:row}.p-speeddial-direction-right .p-speeddial-list{flex-direction:row}.p-splitbutton{display:inline-flex;position:relative}.p-splitbutton .p-splitbutton-defaultbutton{flex:1 1 auto;border-top-right-radius:0;border-bottom-right-radius:0;border-right:0 none}.p-splitbutton-menubutton{display:flex;align-items:center;justify-content:center;border-top-left-radius:0;border-bottom-left-radius:0}.p-splitbutton .p-menu{min-width:100%}.p-fluid .p-splitbutton{display:flex}.p-splitter{display:flex;flex-wrap:nowrap}.p-splitter-vertical{flex-direction:column}.p-splitter-panel{flex-grow:1}.p-splitter-panel-nested{display:flex}.p-splitter-panel .p-splitter{flex-grow:1;border:0 none}.p-splitter-gutter{flex-grow:0;flex-shrink:0;display:flex;align-items:center;justify-content:center;cursor:col-resize}.p-splitter-horizontal.p-splitter-resizing{cursor:col-resize;user-select:none}.p-splitter-horizontal>.p-splitter-gutter>.p-splitter-gutter-handle{height:24px;width:100%}.p-splitter-horizontal>.p-splitter-gutter{cursor:col-resize}.p-splitter-vertical.p-splitter-resizing{cursor:row-resize;user-select:none}.p-splitter-vertical>.p-splitter-gutter{cursor:row-resize}.p-splitter-vertical>.p-splitter-gutter>.p-splitter-gutter-handle{width:24px;height:100%}.p-steps{position:relative}.p-steps ul{padding:0;margin:0;list-style-type:none;display:flex}.p-steps-item{position:relative;display:flex;justify-content:center;flex:1 1 auto}.p-steps-item .p-menuitem-link{display:inline-flex;flex-direction:column;align-items:center;overflow:hidden;text-decoration:none}.p-steps.p-steps-readonly .p-steps-item{cursor:auto}.p-steps-item.p-steps-current .p-menuitem-link{cursor:default}.p-steps-title{white-space:nowrap}.p-steps-number{display:flex;align-items:center;justify-content:center}.p-steps-title{display:block}.p-tabmenu{overflow-x:auto}.p-tabmenu-nav{display:flex;margin:0;padding:0;list-style-type:none;flex-wrap:nowrap}.p-tabmenu-nav a{cursor:pointer;user-select:none;display:flex;align-items:center;position:relative;text-decoration:none;text-decoration:none;overflow:hidden}.p-tabmenu-nav a:focus{z-index:1}.p-tabmenu-nav .p-menuitem-text{line-height:1}.p-tabmenu-ink-bar{display:none;z-index:1}.p-tabmenu::-webkit-scrollbar{display:none}.p-tabview-nav-container{position:relative}.p-tabview-scrollable .p-tabview-nav-container{overflow:hidden}.p-tabview-nav-content{overflow-x:auto;overflow-y:hidden;scroll-behavior:smooth;scrollbar-width:none;overscroll-behavior:contain auto}.p-tabview-nav{display:flex;margin:0;padding:0;list-style-type:none;flex:1 1 auto}.p-tabview-nav-link{cursor:pointer;user-select:none;display:flex;align-items:center;position:relative;text-decoration:none;overflow:hidden}.p-tabview-ink-bar{display:none;z-index:1}.p-tabview-nav-link:focus{z-index:1}.p-tabview-title{line-height:1;white-space:nowrap}.p-tabview-nav-btn{position:absolute;top:0;z-index:2;height:100%;display:flex;align-items:center;justify-content:center}.p-tabview-nav-prev{left:0}.p-tabview-nav-next{right:0}.p-tabview-nav-content::-webkit-scrollbar{display:none}.p-tag{display:inline-flex;align-items:center;justify-content:center}.p-tag-icon,.p-tag-value,.p-tag-icon.pi{line-height:1.5}.p-tag.p-tag-rounded{border-radius:10rem}.p-terminal{height:18rem;overflow:auto}.p-terminal-prompt-container{display:flex;align-items:center}.p-terminal-input{flex:1 1 auto;border:0 none;background-color:transparent;color:inherit;padding:0;outline:0 none}.p-terminal-input::-ms-clear{display:none}.p-tieredmenu-overlay{position:absolute}.p-tieredmenu ul{margin:0;padding:0;list-style:none}.p-tieredmenu .p-submenu-list{position:absolute;min-width:100%;z-index:1;display:none}.p-tieredmenu .p-menuitem-link{cursor:pointer;display:flex;align-items:center;text-decoration:none;overflow:hidden;position:relative}.p-tieredmenu .p-menuitem-text{line-height:1}.p-tieredmenu .p-menuitem{position:relative}.p-tieredmenu .p-menuitem-link .p-submenu-icon{margin-left:auto}.p-tieredmenu .p-menuitem-active>.p-submenu-list{display:block;left:100%;top:0}.p-tieredmenu .p-menuitem-active>.p-submenu-list-flipped{left:-100%}.p-timeline{display:flex;flex-grow:1;flex-direction:column}.p-timeline-left .p-timeline-event-opposite{text-align:right}.p-timeline-left .p-timeline-event-content{text-align:left}.p-timeline-right .p-timeline-event{flex-direction:row-reverse}.p-timeline-right .p-timeline-event-opposite{text-align:left}.p-timeline-right .p-timeline-event-content{text-align:right}.p-timeline-vertical.p-timeline-alternate .p-timeline-event:nth-child(even){flex-direction:row-reverse}.p-timeline-vertical.p-timeline-alternate .p-timeline-event:nth-child(odd) .p-timeline-event-opposite{text-align:right}.p-timeline-vertical.p-timeline-alternate .p-timeline-event:nth-child(odd) .p-timeline-event-content{text-align:left}.p-timeline-vertical.p-timeline-alternate .p-timeline-event:nth-child(even) .p-timeline-event-opposite{text-align:left}.p-timeline-vertical.p-timeline-alternate .p-timeline-event:nth-child(even) .p-timeline-event-content{text-align:right}.p-timeline-event{display:flex;position:relative;min-height:70px}.p-timeline-event:last-child{min-height:0}.p-timeline-event-opposite{flex:1;padding:0 1rem}.p-timeline-event-content{flex:1;padding:0 1rem}.p-timeline-event-separator{flex:0;display:flex;align-items:center;flex-direction:column}.p-timeline-event-marker{display:flex;align-self:baseline}.p-timeline-event-connector{flex-grow:1}.p-timeline-horizontal{flex-direction:row}.p-timeline-horizontal .p-timeline-event{flex-direction:column;flex:1}.p-timeline-horizontal .p-timeline-event:last-child{flex:0}.p-timeline-horizontal .p-timeline-event-separator{flex-direction:row}.p-timeline-horizontal .p-timeline-event-connector{width:100%}.p-timeline-bottom .p-timeline-event{flex-direction:column-reverse}.p-timeline-horizontal.p-timeline-alternate .p-timeline-event:nth-child(even){flex-direction:column-reverse}.p-toast{position:fixed;width:25rem}.p-toast-message-content{display:flex;align-items:flex-start}.p-toast-message-text{flex:1 1 auto}.p-toast-top-right{top:20px;right:20px}.p-toast-top-left{top:20px;left:20px}.p-toast-bottom-left{bottom:20px;left:20px}.p-toast-bottom-right{bottom:20px;right:20px}.p-toast-top-center{top:20px;left:50%;transform:translateX(-50%)}.p-toast-bottom-center{bottom:20px;left:50%;transform:translateX(-50%)}.p-toast-center{left:50%;top:50%;min-width:20vw;transform:translate(-50%,-50%)}.p-toast-icon-close{display:flex;align-items:center;justify-content:center;overflow:hidden;position:relative}.p-toast-icon-close.p-link{cursor:pointer}.p-toast-message-enter{opacity:0;transform:translateY(50%)}.p-toast-message-enter-active{opacity:1;transform:translateY(0);transition:transform .3s,opacity .3s}.p-toast-message-enter-done{transform:none}.p-toast-message-exit{opacity:1;max-height:1000px}.p-toast-message-exit-active{opacity:0;max-height:0;margin-bottom:0;overflow:hidden;transition:max-height .45s cubic-bezier(0,1,0,1),opacity .3s,margin-bottom .3s}.p-toolbar{display:flex;align-items:center;justify-content:space-between}.p-toolbar-group-left,.p-toolbar-group-right{display:flex;align-items:center}.p-tooltip{position:absolute;padding:.25em .5rem;max-width:12.5rem}.p-tooltip.p-tooltip-right,.p-tooltip.p-tooltip-left{padding:0 .25rem}.p-tooltip.p-tooltip-top,.p-tooltip.p-tooltip-bottom{padding:.25em 0}.p-tooltip .p-tooltip-text{white-space:pre-line;word-break:break-word}.p-tooltip-arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid}.p-tooltip-right .p-tooltip-arrow{top:50%;left:0;margin-top:-.25rem;border-width:.25em .25em .25em 0}.p-tooltip-left .p-tooltip-arrow{top:50%;right:0;margin-top:-.25rem;border-width:.25em 0 .25em .25rem}.p-tooltip.p-tooltip-top{padding:.25em 0}.p-tooltip-top .p-tooltip-arrow{bottom:0;left:50%;margin-left:-.25rem;border-width:.25em .25em 0}.p-tooltip-bottom .p-tooltip-arrow{top:0;left:50%;margin-left:-.25rem;border-width:0 .25em .25rem}.p-tree-container{margin:0;padding:0;list-style-type:none;overflow:auto}.p-treenode-children{margin:0;padding:0;list-style-type:none}.p-treenode-selectable{cursor:pointer;user-select:none}.p-tree-toggler{cursor:pointer;user-select:none;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;overflow:hidden;position:relative}.p-treenode-leaf>.p-treenode-content .p-tree-toggler{visibility:hidden}.p-treenode-content{display:flex;align-items:center}.p-tree-filter{width:100%}.p-tree-filter-container{position:relative;display:block;width:100%}.p-tree-filter-icon{position:absolute;top:50%;margin-top:-.5rem}.p-tree-loading{position:relative;min-height:4rem}.p-tree .p-tree-loading-overlay{position:absolute;z-index:1;display:flex;align-items:center;justify-content:center}.p-treeselect{display:inline-flex;cursor:pointer;position:relative;user-select:none}.p-treeselect-trigger{display:flex;align-items:center;justify-content:center;flex-shrink:0}.p-treeselect-label-container{overflow:hidden;flex:1 1 auto;cursor:pointer}.p-treeselect-label{display:block;white-space:nowrap;cursor:pointer;overflow:hidden;text-overflow:ellipsis}.p-treeselect-label-empty{overflow:hidden;visibility:hidden}.p-treeselect-token{cursor:default;display:inline-flex;align-items:center;flex:0 0 auto}.p-treeselect .p-treeselect-panel{min-width:100%}.p-treeselect-panel{position:absolute;top:0;left:0}.p-treeselect-items-wrapper{overflow:auto}.p-treeselect-header{display:flex;align-items:center;justify-content:space-between}.p-treeselect-filter-container{position:relative;flex:1 1 auto}.p-treeselect-filter-icon{position:absolute;top:50%;margin-top:-.5rem}.p-treeselect-filter-container .p-inputtext{width:100%}.p-treeselect-close{display:flex;align-items:center;justify-content:center;flex-shrink:0;overflow:hidden;position:relative;margin-left:auto}.p-treeselect-clear-icon{position:absolute;top:50%;margin-top:-.5rem}.p-fluid .p-treeselect{display:flex}.p-treetable{position:relative}.p-treetable table{border-collapse:collapse;width:100%;table-layout:fixed}.p-treetable .p-sortable-column{cursor:pointer;user-select:none}.p-treetable-auto-layout>.p-treetable-wrapper{overflow-x:auto}.p-treetable-auto-layout>.p-treetable-wrapper>table{table-layout:auto}.p-treetable-hoverable-rows .p-treetable-tbody>tr{cursor:pointer}.p-treetable-toggler{cursor:pointer;user-select:none;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;vertical-align:middle;overflow:hidden;position:relative}.p-treetable-toggler+.p-checkbox{vertical-align:middle}.p-treetable-toggler+.p-checkbox+span{vertical-align:middle}.p-treetable-resizable>.p-treetable-wrapper{overflow-x:auto}.p-treetable-resizable .p-treetable-thead>tr>th,.p-treetable-resizable .p-treetable-tfoot>tr>td,.p-treetable-resizable .p-treetable-tbody>tr>td{overflow:hidden}.p-treetable-resizable .p-resizable-column{background-clip:padding-box;position:relative}.p-treetable-resizable-fit .p-resizable-column:last-child .p-column-resizer{display:none}.p-treetable .p-column-resizer{display:block;position:absolute !important;top:0;right:0;margin:0;width:.5rem;height:100%;padding:0;cursor:col-resize;border:1px solid transparent}.p-treetable .p-column-resizer-helper{width:1px;position:absolute;z-index:10;display:none}.p-treetable-scrollable-wrapper{position:relative}.p-treetable-scrollable-header,.p-treetable-scrollable-footer{overflow:hidden;border:0 none}.p-treetable-scrollable-body{overflow:auto;position:relative}.p-treetable-virtual-table{position:absolute}.p-treetable-frozen-view .p-treetable-scrollable-body{overflow:hidden}.p-treetable-unfrozen-view{position:absolute;top:0;left:0}.p-treetable-reorder-indicator-up,.p-treetable-reorder-indicator-down{position:absolute;display:none}.p-treetable .p-treetable-loading-overlay{position:absolute;display:flex;align-items:center;justify-content:center;z-index:1}.p-virtualscroller{position:relative;overflow:auto;contain:strict;transform:translateZ(0);will-change:scroll-position;outline:0 none}.p-virtualscroller-content{position:absolute;top:0;left:0;contain:content;min-height:100%;min-width:100%;will-change:transform}.p-virtualscroller-spacer{position:absolute;top:0;left:0;height:1px;width:1px;transform-origin:0 0;pointer-events:none}.p-virtualscroller-loader{position:sticky;top:0;left:0;width:100%;height:100%}.p-virtualscroller-loader.p-component-overlay{display:flex;align-items:center;justify-content:center} 6381 5597 @font-face { 6382 5598 font-family: 'primeicons'; -
input-scanner/trunk/assets/scanner.js
r2611879 r2648947 1 !function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=151)}([function(t,e,n){"use strict";t.exports=n(138)},function(t,e,n){"use strict";var r,o=n(15),i=(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.getNotFoundInstance=function(){return new e},e.kind="NotFoundException",e}(o.a);e.a=a},function(t,e,n){"use strict";var r,o=n(15),i=(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.getFormatInstance=function(){return new e},e.kind="FormatException",e}(o.a);e.a=a},function(t,e,n){"use strict";var r,o=n(15),i=(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.kind="IllegalArgumentException",e}(o.a);e.a=a},function(t,e,n){"use strict";var r=n(10),o=n(80),i=function(){function t(t,e){this.x=t,this.y=e}return t.prototype.getX=function(){return this.x},t.prototype.getY=function(){return this.y},t.prototype.equals=function(e){if(e instanceof t){var n=e;return this.x===n.x&&this.y===n.y}return!1},t.prototype.hashCode=function(){return 31*o.a.floatToIntBits(this.x)+o.a.floatToIntBits(this.y)},t.prototype.toString=function(){return"("+this.x+","+this.y+")"},t.orderBestPatterns=function(t){var e,n,r,o=this.distance(t[0],t[1]),i=this.distance(t[1],t[2]),a=this.distance(t[0],t[2]);if(i>=o&&i>=a?(n=t[0],e=t[1],r=t[2]):a>=i&&a>=o?(n=t[1],e=t[0],r=t[2]):(n=t[2],e=t[0],r=t[1]),this.crossProductZ(e,n,r)<0){var s=e;e=r,r=s}t[0]=e,t[1]=n,t[2]=r},t.distance=function(t,e){return r.a.distance(t.x,t.y,e.x,e.y)},t.crossProductZ=function(t,e,n){var r=e.x,o=e.y;return(n.x-r)*(t.y-o)-(n.y-o)*(t.x-r)},t}();e.a=i},function(t,e,n){"use strict";var r;!function(t){t[t.AZTEC=0]="AZTEC",t[t.CODABAR=1]="CODABAR",t[t.CODE_39=2]="CODE_39",t[t.CODE_93=3]="CODE_93",t[t.CODE_128=4]="CODE_128",t[t.DATA_MATRIX=5]="DATA_MATRIX",t[t.EAN_8=6]="EAN_8",t[t.EAN_13=7]="EAN_13",t[t.ITF=8]="ITF",t[t.MAXICODE=9]="MAXICODE",t[t.PDF_417=10]="PDF_417",t[t.QR_CODE=11]="QR_CODE",t[t.RSS_14=12]="RSS_14",t[t.RSS_EXPANDED=13]="RSS_EXPANDED",t[t.UPC_A=14]="UPC_A",t[t.UPC_E=15]="UPC_E",t[t.UPC_EAN_EXTENSION=16]="UPC_EAN_EXTENSION"}(r||(r={})),e.a=r},function(t,e,n){"use strict";n(109);var r=n(32);n.d(e,"ArgumentException",(function(){return r.a}));n(61);var o=n(18);n.d(e,"ChecksumException",(function(){return o.a}));n(15);var i=n(2);n.d(e,"FormatException",(function(){return i.a}));var a=n(3);n.d(e,"IllegalArgumentException",(function(){return a.a}));var s=n(29);n.d(e,"IllegalStateException",(function(){return s.a}));var u=n(1);n.d(e,"NotFoundException",(function(){return u.a}));n(77),n(57),n(48),n(17),n(5),n(84);var l=n(81);n.d(e,"BinaryBitmap",(function(){return l.a}));var c=n(12);n.d(e,"DecodeHintType",(function(){return c.a}));var f=n(42);n.d(e,"InvertedLuminanceSource",(function(){return f.a}));var p=n(38);n.d(e,"LuminanceSource",(function(){return p.a}));var d=n(90);n.d(e,"MultiFormatReader",(function(){return d.a}));n(119),n(120),n(14),n(21),n(121),n(4),n(9),n(8),n(30),n(96),n(24),n(97),n(7),n(19),n(23),n(64),n(20),n(39),n(88),n(46);var h=n(25);n.d(e,"EncodeHintType",(function(){return h.a}));n(83),n(72),n(47);var g=n(82);n.d(e,"HybridBinarizer",(function(){return g.a}));n(62),n(13),n(10),n(51),n(26),n(35),n(40),n(66);var y=n(56);n.d(e,"DataMatrixReader",(function(){return y.a}));n(89);var v=n(54);n.d(e,"PDF417Reader",(function(){return v.a}));n(93),n(92),n(103);var m=n(55);n.d(e,"QRCodeReader",(function(){return m.a}));n(95);var w=n(41);n.d(e,"QRCodeDecoderErrorCorrectionLevel",(function(){return w.a}));n(65),n(36),n(16),n(91),n(76);var E=n(67);n.d(e,"QRCodeEncoder",(function(){return E.a}));n(53),n(78),n(94),n(43);var b=n(50);n.d(e,"AztecCodeReader",(function(){return b.a}));n(122),n(87),n(69),n(10 0),n(98),n(71),n(60),n(22),n(52),n(73),n(75),n(74),n(79),n(102),n(63),n(101);var _=n(44);n.d(e,"MultiFormatOneDReader",(function(){return _.a}))},function(t,e,n){"use strict";var r=function(){function t(){}return t.numberOfTrailingZeros=function(t){var e;if(0===t)return 32;var n=31;return 0!==(e=t<<16)&&(n-=16,t=e),0!==(e=t<<8)&&(n-=8,t=e),0!==(e=t<<4)&&(n-=4,t=e),0!==(e=t<<2)&&(n-=2,t=e),n-(t<<1>>>31)},t.numberOfLeadingZeros=function(t){if(0===t)return 32;var e=1;return t>>>16==0&&(e+=16,t<<=16),t>>>24==0&&(e+=8,t<<=8),t>>>28==0&&(e+=4,t<<=4),t>>>30==0&&(e+=2,t<<=2),e-=t>>>31},t.toHexString=function(t){return t.toString(16)},t.toBinaryString=function(t){return String(parseInt(String(t),2))},t.bitCount=function(t){return t=(t=(858993459&(t-=t>>>1&1431655765))+(t>>>2&858993459))+(t>>>4)&252645135,t+=t>>>8,63&(t+=t>>>16)},t.truncDivision=function(t,e){return Math.trunc(t/e)},t.parseInt=function(t,e){return void 0===e&&(e=void 0),parseInt(t,e)},t.MIN_VALUE_32_BITS=-2147483648,t.MAX_VALUE=Number.MAX_SAFE_INTEGER,t}();e.a=r},function(t,e,n){"use strict";var r=n(13),o=function(){function t(t){void 0===t&&(t=""),this.value=t}return t.prototype.enableDecoding=function(t){return this.encoding=t,this},t.prototype.append=function(t){return"string"==typeof t?this.value+=t.toString():this.encoding?this.value+=r.a.castAsNonUtf8Char(t,this.encoding):this.value+=String.fromCharCode(t),this},t.prototype.appendChars=function(t,e,n){for(var r=e;e<e+n;r++)this.append(t[r]);return this},t.prototype.length=function(){return this.value.length},t.prototype.charAt=function(t){return this.value.charAt(t)},t.prototype.deleteCharAt=function(t){this.value=this.value.substr(0,t)+this.value.substring(t+1)},t.prototype.setCharAt=function(t,e){this.value=this.value.substr(0,t)+e+this.value.substr(t+1)},t.prototype.substring=function(t,e){return this.value.substring(t,e)},t.prototype.setLengthToZero=function(){this.value=""},t.prototype.toString=function(){return this.value},t.prototype.insert=function(t,e){this.value=this.value.substr(0,t)+e+this.value.substr(t+e.length)},t}();e.a=o},function(t,e,n){"use strict";var r=function(){function t(){}return t.arraycopy=function(t,e,n,r,o){for(;o--;)n[r++]=t[e++]},t.currentTimeMillis=function(){return Date.now()},t}();e.a=r},function(t,e,n){"use strict";var r=function(){function t(){}return t.round=function(t){return NaN===t?0:t<=Number.MIN_SAFE_INTEGER?Number.MIN_SAFE_INTEGER:t>=Number.MAX_SAFE_INTEGER?Number.MAX_SAFE_INTEGER:t+(t<0?-.5:.5)|0},t.distance=function(t,e,n,r){var o=t-n,i=e-r;return Math.sqrt(o*o+i*i)},t.sum=function(t){for(var e=0,n=0,r=t.length;n!==r;n++){e+=t[n]}return e},t}();e.a=r},function(t,e,n){"use strict";var r=n(24),o=n(10),i=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},a=function(){function t(){}return t.prototype.PDF417Common=function(){},t.getBitCountSum=function(t){return o.a.sum(t)},t.toIntArray=function(e){var n,r;if(null==e||!e.length)return t.EMPTY_INT_ARRAY;var o=new Int32Array(e.length),a=0;try{for(var s=i(e),u=s.next();!u.done;u=s.next()){var l=u.value;o[a++]=l}}catch(t){n={error:t}}finally{try{u&&!u.done&&(r=s.return)&&r.call(s)}finally{if(n)throw n.error}}return o},t.getCodeword=function(e){var n=r.a.binarySearch(t.SYMBOL_TABLE,262143&e);return n<0?-1:(t.CODEWORD_TABLE[n]-1)%t.NUMBER_OF_CODEWORDS},t.NUMBER_OF_CODEWORDS=929,t.MAX_CODEWORDS_IN_BARCODE=t.NUMBER_OF_CODEWORDS-1,t.MIN_ROWS_IN_BARCODE=3,t.MAX_ROWS_IN_BARCODE=90,t.MODULES_IN_CODEWORD=17,t.MODULES_IN_STOP_PATTERN=18,t.BARS_IN_MODULE=8,t.EMPTY_INT_ARRAY=new Int32Array([]),t.SYMBOL_TABLE=Int32Array.from([66142,66170,66206,66236,66290,66292,66350,66382,66396,66454,66470,66476,66594,66600,66614,66626,66628,66632,66640,66654,66662,66668,66682,66690,66718,66720,66748,66758,66776,66798,66802,66804,66820,66824,66832,66846,66848,66876,66880,66936,66950,66956,66968,66992,67006,67022,67036,67042,67044,67048,67062,67118,67150,67164,67214,67228,67256,67294,67322,67350,67366,67372,67398,67404,67416,67438,67474,67476,67490,67492,67496,67510,67618,67624,67650,67656,67664,67678,67686,67692,67706,67714,67716,67728,67742,67744,67772,67782,67788,67800,67822,67826,67828,67842,67848,67870,67872,67900,67904,67960,67974,67992,68016,68030,68046,68060,68066,68068,68072,68086,68104,68112,68126,68128,68156,68160,68216,68336,68358,68364,68376,68400,68414,68448,68476,68494,68508,68536,68546,68548,68552,68560,68574,68582,68588,68654,68686,68700,68706,68708,68712,68726,68750,68764,68792,68802,68804,68808,68816,68830,68838,68844,68858,68878,68892,68920,68976,68990,68994,68996,69e3,69008,69022,69024,69052,69062,69068,69080,69102,69106,69108,69142,69158,69164,69190,69208,69230,69254,69260,69272,69296,69310,69326,69340,69386,69394,69396,69410,69416,69430,69442,69444,69448,69456,69470,69478,69484,69554,69556,69666,69672,69698,69704,69712,69726,69754,69762,69764,69776,69790,69792,69820,69830,69836,69848,69870,69874,69876,69890,69918,69920,69948,69952,70008,70022,70040,70064,70078,70094,70108,70114,70116,70120,70134,70152,70174,70176,70264,70384,70412,70448,70462,70496,70524,70542,70556,70584,70594,70600,70608,70622,70630,70636,70664,70672,70686,70688,70716,70720,70776,70896,71136,71180,71192,71216,71230,71264,71292,71360,71416,71452,71480,71536,71550,71554,71556,71560,71568,71582,71584,71612,71622,71628,71640,71662,71726,71732,71758,71772,71778,71780,71784,71798,71822,71836,71864,71874,71880,71888,71902,71910,71916,71930,71950,71964,71992,72048,72062,72066,72068,72080,72094,72096,72124,72134,72140,72152,72174,72178,72180,72206,72220,72248,72304,72318,72416,72444,72456,72464,72478,72480,72508,72512,72568,72588,72600,72624,72638,72654,72668,72674,72676,72680,72694,72726,72742,72748,72774,72780,72792,72814,72838,72856,72880,72894,72910,72924,72930,72932,72936,72950,72966,72972,72984,73008,73022,73056,73084,73102,73116,73144,73156,73160,73168,73182,73190,73196,73210,73226,73234,73236,73250,73252,73256,73270,73282,73284,73296,73310,73318,73324,73346,73348,73352,73360,73374,73376,73404,73414,73420,73432,73454,73498,73518,73522,73524,73550,73564,73570,73572,73576,73590,73800,73822,73858,73860,73872,73886,73888,73916,73944,73970,73972,73992,74014,74016,74044,74048,74104,74118,74136,74160,74174,74210,74212,74216,74230,74244,74256,74270,74272,74360,74480,74502,74508,74544,74558,74592,74620,74638,74652,74680,74690,74696,74704,74726,74732,74782,74784,74812,74992,75232,75288,75326,75360,75388,75456,75512,75576,75632,75646,75650,75652,75664,75678,75680,75708,75718,75724,75736,75758,75808,75836,75840,75896,76016,76256,76736,76824,76848,76862,76896,76924,76992,77048,77296,77340,77368,77424,77438,77536,77564,77572,77576,77584,77600,77628,77632,77688,77702,77708,77720,77744,77758,77774,77788,77870,77902,77916,77922,77928,77966,77980,78008,78018,78024,78032,78046,78060,78074,78094,78136,78192,78206,78210,78212,78224,78238,78240,78268,78278,78284,78296,78322,78324,78350,78364,78448,78462,78560,78588,78600,78622,78624,78652,78656,78712,78726,78744,78768,78782,78798,78812,78818,78820,78824,78838,78862,78876,78904,78960,78974,79072,79100,79296,79352,79368,79376,79390,79392,79420,79424,79480,79600,79628,79640,79664,79678,79712,79740,79772,79800,79810,79812,79816,79824,79838,79846,79852,79894,79910,79916,79942,79948,79960,79982,79988,80006,80024,80048,80062,80078,80092,80098,80100,80104,80134,80140,80176,80190,80224,80252,80270,80284,80312,80328,80336,80350,80358,80364,80378,80390,80396,80408,80432,80446,80480,80508,80576,80632,80654,80668,80696,80752,80766,80776,80784,80798,80800,80828,80844,80856,80878,80882,80884,80914,80916,80930,80932,80936,80950,80962,80968,80976,80990,80998,81004,81026,81028,81040,81054,81056,81084,81094,81100,81112,81134,81154,81156,81160,81168,81182,81184,81212,81216,81272,81286,81292,81304,81328,81342,81358,81372,81380,81384,81398,81434,81454,81458,81460,81486,81500,81506,81508,81512,81526,81550,81564,81592,81602,81604,81608,81616,81630,81638,81644,81702,81708,81722,81734,81740,81752,81774,81778,81780,82050,82078,82080,82108,82180,82184,82192,82206,82208,82236,82240,82296,82316,82328,82352,82366,82402,82404,82408,82440,82448,82462,82464,82492,82496,82552,82672,82694,82700,82712,82736,82750,82784,82812,82830,82882,82884,82888,82896,82918,82924,82952,82960,82974,82976,83004,83008,83064,83184,83424,83468,83480,83504,83518,83552,83580,83648,83704,83740,83768,83824,83838,83842,83844,83848,83856,83872,83900,83910,83916,83928,83950,83984,84e3,84028,84032,84088,84208,84448,84928,85040,85054,85088,85116,85184,85240,85488,85560,85616,85630,85728,85756,85764,85768,85776,85790,85792,85820,85824,85880,85894,85900,85912,85936,85966,85980,86048,86080,86136,86256,86496,86976,88160,88188,88256,88312,88560,89056,89200,89214,89312,89340,89536,89592,89608,89616,89632,89664,89720,89840,89868,89880,89904,89952,89980,89998,90012,90040,90190,90204,90254,90268,90296,90306,90308,90312,90334,90382,90396,90424,90480,90494,90500,90504,90512,90526,90528,90556,90566,90572,90584,90610,90612,90638,90652,90680,90736,90750,90848,90876,90884,90888,90896,90910,90912,90940,90944,91e3,91014,91020,91032,91056,91070,91086,91100,91106,91108,91112,91126,91150,91164,91192,91248,91262,91360,91388,91584,91640,91664,91678,91680,91708,91712,91768,91888,91928,91952,91966,92e3,92028,92046,92060,92088,92098,92100,92104,92112,92126,92134,92140,92188,92216,92272,92384,92412,92608,92664,93168,93200,93214,93216,93244,93248,93304,93424,93664,93720,93744,93758,93792,93820,93888,93944,93980,94008,94064,94078,94084,94088,94096,94110,94112,94140,94150,94156,94168,94246,94252,94278,94284,94296,94318,94342,94348,94360,94384,94398,94414,94428,94440,94470,94476,94488,94512,94526,94560,94588,94606,94620,94648,94658,94660,94664,94672,94686,94694,94700,94714,94726,94732,94744,94768,94782,94816,94844,94912,94968,94990,95004,95032,95088,95102,95112,95120,95134,95136,95164,95180,95192,95214,95218,95220,95244,95256,95280,95294,95328,95356,95424,95480,95728,95758,95772,95800,95856,95870,95968,95996,96008,96016,96030,96032,96060,96064,96120,96152,96176,96190,96220,96226,96228,96232,96290,96292,96296,96310,96322,96324,96328,96336,96350,96358,96364,96386,96388,96392,96400,96414,96416,96444,96454,96460,96472,96494,96498,96500,96514,96516,96520,96528,96542,96544,96572,96576,96632,96646,96652,96664,96688,96702,96718,96732,96738,96740,96744,96758,96772,96776,96784,96798,96800,96828,96832,96888,97008,97030,97036,97048,97072,97086,97120,97148,97166,97180,97208,97220,97224,97232,97246,97254,97260,97326,97330,97332,97358,97372,97378,97380,97384,97398,97422,97436,97464,97474,97476,97480,97488,97502,97510,97516,97550,97564,97592,97648,97666,97668,97672,97680,97694,97696,97724,97734,97740,97752,97774,97830,97836,97850,97862,97868,97880,97902,97906,97908,97926,97932,97944,97968,97998,98012,98018,98020,98024,98038,98618,98674,98676,98838,98854,98874,98892,98904,98926,98930,98932,98968,99006,99042,99044,99048,99062,99166,99194,99246,99286,99350,99366,99372,99386,99398,99416,99438,99442,99444,99462,99504,99518,99534,99548,99554,99556,99560,99574,99590,99596,99608,99632,99646,99680,99708,99726,99740,99768,99778,99780,99784,99792,99806,99814,99820,99834,99858,99860,99874,99880,99894,99906,99920,99934,99962,99970,99972,99976,99984,99998,1e5,100028,100038,100044,100056,100078,100082,100084,100142,100174,100188,100246,100262,100268,100306,100308,100390,100396,100410,100422,100428,100440,100462,100466,100468,100486,100504,100528,100542,100558,100572,100578,100580,100584,100598,100620,100656,100670,100704,100732,100750,100792,100802,100808,100816,100830,100838,100844,100858,100888,100912,100926,100960,100988,101056,101112,101148,101176,101232,101246,101250,101252,101256,101264,101278,101280,101308,101318,101324,101336,101358,101362,101364,101410,101412,101416,101430,101442,101448,101456,101470,101478,101498,101506,101508,101520,101534,101536,101564,101580,101618,101620,101636,101640,101648,101662,101664,101692,101696,101752,101766,101784,101838,101858,101860,101864,101934,101938,101940,101966,101980,101986,101988,101992,102030,102044,102072,102082,102084,102088,102096,102138,102166,102182,102188,102214,102220,102232,102254,102282,102290,102292,102306,102308,102312,102326,102444,102458,102470,102476,102488,102514,102516,102534,102552,102576,102590,102606,102620,102626,102632,102646,102662,102668,102704,102718,102752,102780,102798,102812,102840,102850,102856,102864,102878,102886,102892,102906,102936,102974,103008,103036,103104,103160,103224,103280,103294,103298,103300,103312,103326,103328,103356,103366,103372,103384,103406,103410,103412,103472,103486,103520,103548,103616,103672,103920,103992,104048,104062,104160,104188,104194,104196,104200,104208,104224,104252,104256,104312,104326,104332,104344,104368,104382,104398,104412,104418,104420,104424,104482,104484,104514,104520,104528,104542,104550,104570,104578,104580,104592,104606,104608,104636,104652,104690,104692,104706,104712,104734,104736,104764,104768,104824,104838,104856,104910,104930,104932,104936,104968,104976,104990,104992,105020,105024,105080,105200,105240,105278,105312,105372,105410,105412,105416,105424,105446,105518,105524,105550,105564,105570,105572,105576,105614,105628,105656,105666,105672,105680,105702,105722,105742,105756,105784,105840,105854,105858,105860,105864,105872,105888,105932,105970,105972,106006,106022,106028,106054,106060,106072,106100,106118,106124,106136,106160,106174,106190,106210,106212,106216,106250,106258,106260,106274,106276,106280,106306,106308,106312,106320,106334,106348,106394,106414,106418,106420,106566,106572,106610,106612,106630,106636,106648,106672,106686,106722,106724,106728,106742,106758,106764,106776,106800,106814,106848,106876,106894,106908,106936,106946,106948,106952,106960,106974,106982,106988,107032,107056,107070,107104,107132,107200,107256,107292,107320,107376,107390,107394,107396,107400,107408,107422,107424,107452,107462,107468,107480,107502,107506,107508,107544,107568,107582,107616,107644,107712,107768,108016,108060,108088,108144,108158,108256,108284,108290,108292,108296,108304,108318,108320,108348,108352,108408,108422,108428,108440,108464,108478,108494,108508,108514,108516,108520,108592,108640,108668,108736,108792,109040,109536,109680,109694,109792,109820,110016,110072,110084,110088,110096,110112,110140,110144,110200,110320,110342,110348,110360,110384,110398,110432,110460,110478,110492,110520,110532,110536,110544,110558,110658,110686,110714,110722,110724,110728,110736,110750,110752,110780,110796,110834,110836,110850,110852,110856,110864,110878,110880,110908,110912,110968,110982,111e3,111054,111074,111076,111080,111108,111112,111120,111134,111136,111164,111168,111224,111344,111372,111422,111456,111516,111554,111556,111560,111568,111590,111632,111646,111648,111676,111680,111736,111856,112096,112152,112224,112252,112320,112440,112514,112516,112520,112528,112542,112544,112588,112686,112718,112732,112782,112796,112824,112834,112836,112840,112848,112870,112890,112910,112924,112952,113008,113022,113026,113028,113032,113040,113054,113056,113100,113138,113140,113166,113180,113208,113264,113278,113376,113404,113416,113424,113440,113468,113472,113560,113614,113634,113636,113640,113686,113702,113708,113734,113740,113752,113778,113780,113798,113804,113816,113840,113854,113870,113890,113892,113896,113926,113932,113944,113968,113982,114016,114044,114076,114114,114116,114120,114128,114150,114170,114194,114196,114210,114212,114216,114242,114244,114248,114256,114270,114278,114306,114308,114312,114320,114334,114336,114364,114380,114420,114458,114478,114482,114484,114510,114524,114530,114532,114536,114842,114866,114868,114970,114994,114996,115042,115044,115048,115062,115130,115226,115250,115252,115278,115292,115298,115300,115304,115318,115342,115394,115396,115400,115408,115422,115430,115436,115450,115478,115494,115514,115526,115532,115570,115572,115738,115758,115762,115764,115790,115804,115810,115812,115816,115830,115854,115868,115896,115906,115912,115920,115934,115942,115948,115962,115996,116024,116080,116094,116098,116100,116104,116112,116126,116128,116156,116166,116172,116184,116206,116210,116212,116246,116262,116268,116282,116294,116300,116312,116334,116338,116340,116358,116364,116376,116400,116414,116430,116444,116450,116452,116456,116498,116500,116514,116520,116534,116546,116548,116552,116560,116574,116582,116588,116602,116654,116694,116714,116762,116782,116786,116788,116814,116828,116834,116836,116840,116854,116878,116892,116920,116930,116936,116944,116958,116966,116972,116986,117006,117048,117104,117118,117122,117124,117136,117150,117152,117180,117190,117196,117208,117230,117234,117236,117304,117360,117374,117472,117500,117506,117508,117512,117520,117536,117564,117568,117624,117638,117644,117656,117680,117694,117710,117724,117730,117732,117736,117750,117782,117798,117804,117818,117830,117848,117874,117876,117894,117936,117950,117966,117986,117988,117992,118022,118028,118040,118064,118078,118112,118140,118172,118210,118212,118216,118224,118238,118246,118266,118306,118312,118338,118352,118366,118374,118394,118402,118404,118408,118416,118430,118432,118460,118476,118514,118516,118574,118578,118580,118606,118620,118626,118628,118632,118678,118694,118700,118730,118738,118740,118830,118834,118836,118862,118876,118882,118884,118888,118902,118926,118940,118968,118978,118980,118984,118992,119006,119014,119020,119034,119068,119096,119152,119166,119170,119172,119176,119184,119198,119200,119228,119238,119244,119256,119278,119282,119284,119324,119352,119408,119422,119520,119548,119554,119556,119560,119568,119582,119584,119612,119616,119672,119686,119692,119704,119728,119742,119758,119772,119778,119780,119784,119798,119920,119934,120032,120060,120256,120312,120324,120328,120336,120352,120384,120440,120560,120582,120588,120600,120624,120638,120672,120700,120718,120732,120760,120770,120772,120776,120784,120798,120806,120812,120870,120876,120890,120902,120908,120920,120946,120948,120966,120972,120984,121008,121022,121038,121058,121060,121064,121078,121100,121112,121136,121150,121184,121212,121244,121282,121284,121288,121296,121318,121338,121356,121368,121392,121406,121440,121468,121536,121592,121656,121730,121732,121736,121744,121758,121760,121804,121842,121844,121890,121922,121924,121928,121936,121950,121958,121978,121986,121988,121992,122e3,122014,122016,122044,122060,122098,122100,122116,122120,122128,122142,122144,122172,122176,122232,122246,122264,122318,122338,122340,122344,122414,122418,122420,122446,122460,122466,122468,122472,122510,122524,122552,122562,122564,122568,122576,122598,122618,122646,122662,122668,122694,122700,122712,122738,122740,122762,122770,122772,122786,122788,122792,123018,123026,123028,123042,123044,123048,123062,123098,123146,123154,123156,123170,123172,123176,123190,123202,123204,123208,123216,123238,123244,123258,123290,123314,123316,123402,123410,123412,123426,123428,123432,123446,123458,123464,123472,123486,123494,123500,123514,123522,123524,123528,123536,123552,123580,123590,123596,123608,123630,123634,123636,123674,123698,123700,123740,123746,123748,123752,123834,123914,123922,123924,123938,123944,123958,123970,123976,123984,123998,124006,124012,124026,124034,124036,124048,124062,124064,124092,124102,124108,124120,124142,124146,124148,124162,124164,124168,124176,124190,124192,124220,124224,124280,124294,124300,124312,124336,124350,124366,124380,124386,124388,124392,124406,124442,124462,124466,124468,124494,124508,124514,124520,124558,124572,124600,124610,124612,124616,124624,124646,124666,124694,124710,124716,124730,124742,124748,124760,124786,124788,124818,124820,124834,124836,124840,124854,124946,124948,124962,124964,124968,124982,124994,124996,125e3,125008,125022,125030,125036,125050,125058,125060,125064,125072,125086,125088,125116,125126,125132,125144,125166,125170,125172,125186,125188,125192,125200,125216,125244,125248,125304,125318,125324,125336,125360,125374,125390,125404,125410,125412,125416,125430,125444,125448,125456,125472,125504,125560,125680,125702,125708,125720,125744,125758,125792,125820,125838,125852,125880,125890,125892,125896,125904,125918,125926,125932,125978,125998,126002,126004,126030,126044,126050,126052,126056,126094,126108,126136,126146,126148,126152,126160,126182,126202,126222,126236,126264,126320,126334,126338,126340,126344,126352,126366,126368,126412,126450,126452,126486,126502,126508,126522,126534,126540,126552,126574,126578,126580,126598,126604,126616,126640,126654,126670,126684,126690,126692,126696,126738,126754,126756,126760,126774,126786,126788,126792,126800,126814,126822,126828,126842,126894,126898,126900,126934,127126,127142,127148,127162,127178,127186,127188,127254,127270,127276,127290,127302,127308,127320,127342,127346,127348,127370,127378,127380,127394,127396,127400,127450,127510,127526,127532,127546,127558,127576,127598,127602,127604,127622,127628,127640,127664,127678,127694,127708,127714,127716,127720,127734,127754,127762,127764,127778,127784,127810,127812,127816,127824,127838,127846,127866,127898,127918,127922,127924,128022,128038,128044,128058,128070,128076,128088,128110,128114,128116,128134,128140,128152,128176,128190,128206,128220,128226,128228,128232,128246,128262,128268,128280,128304,128318,128352,128380,128398,128412,128440,128450,128452,128456,128464,128478,128486,128492,128506,128522,128530,128532,128546,128548,128552,128566,128578,128580,128584,128592,128606,128614,128634,128642,128644,128648,128656,128670,128672,128700,128716,128754,128756,128794,128814,128818,128820,128846,128860,128866,128868,128872,128886,128918,128934,128940,128954,128978,128980,129178,129198,129202,129204,129238,129258,129306,129326,129330,129332,129358,129372,129378,129380,129384,129398,129430,129446,129452,129466,129482,129490,129492,129562,129582,129586,129588,129614,129628,129634,129636,129640,129654,129678,129692,129720,129730,129732,129736,129744,129758,129766,129772,129814,129830,129836,129850,129862,129868,129880,129902,129906,129908,129930,129938,129940,129954,129956,129960,129974,130010]),t.CODEWORD_TABLE=Int32Array.from([2627,1819,2622,2621,1813,1812,2729,2724,2723,2779,2774,2773,902,896,908,868,865,861,859,2511,873,871,1780,835,2493,825,2491,842,837,844,1764,1762,811,810,809,2483,807,2482,806,2480,815,814,813,812,2484,817,816,1745,1744,1742,1746,2655,2637,2635,2626,2625,2623,2628,1820,2752,2739,2737,2728,2727,2725,2730,2785,2783,2778,2777,2775,2780,787,781,747,739,736,2413,754,752,1719,692,689,681,2371,678,2369,700,697,694,703,1688,1686,642,638,2343,631,2341,627,2338,651,646,643,2345,654,652,1652,1650,1647,1654,601,599,2322,596,2321,594,2319,2317,611,610,608,606,2324,603,2323,615,614,612,1617,1616,1614,1612,616,1619,1618,2575,2538,2536,905,901,898,909,2509,2507,2504,870,867,864,860,2512,875,872,1781,2490,2489,2487,2485,1748,836,834,832,830,2494,827,2492,843,841,839,845,1765,1763,2701,2676,2674,2653,2648,2656,2634,2633,2631,2629,1821,2638,2636,2770,2763,2761,2750,2745,2753,2736,2735,2733,2731,1848,2740,2738,2786,2784,591,588,576,569,566,2296,1590,537,534,526,2276,522,2274,545,542,539,548,1572,1570,481,2245,466,2242,462,2239,492,485,482,2249,496,494,1534,1531,1528,1538,413,2196,406,2191,2188,425,419,2202,415,2199,432,430,427,1472,1467,1464,433,1476,1474,368,367,2160,365,2159,362,2157,2155,2152,378,377,375,2166,372,2165,369,2162,383,381,379,2168,1419,1418,1416,1414,385,1411,384,1423,1422,1420,1424,2461,802,2441,2439,790,786,783,794,2409,2406,2403,750,742,738,2414,756,753,1720,2367,2365,2362,2359,1663,693,691,684,2373,680,2370,702,699,696,704,1690,1687,2337,2336,2334,2332,1624,2329,1622,640,637,2344,634,2342,630,2340,650,648,645,2346,655,653,1653,1651,1649,1655,2612,2597,2595,2571,2568,2565,2576,2534,2529,2526,1787,2540,2537,907,904,900,910,2503,2502,2500,2498,1768,2495,1767,2510,2508,2506,869,866,863,2513,876,874,1782,2720,2713,2711,2697,2694,2691,2702,2672,2670,2664,1828,2678,2675,2647,2646,2644,2642,1823,2639,1822,2654,2652,2650,2657,2771,1855,2765,2762,1850,1849,2751,2749,2747,2754,353,2148,344,342,336,2142,332,2140,345,1375,1373,306,2130,299,2128,295,2125,319,314,311,2132,1354,1352,1349,1356,262,257,2101,253,2096,2093,274,273,267,2107,263,2104,280,278,275,1316,1311,1308,1320,1318,2052,202,2050,2044,2040,219,2063,212,2060,208,2055,224,221,2066,1260,1258,1252,231,1248,229,1266,1264,1261,1268,155,1998,153,1996,1994,1991,1988,165,164,2007,162,2006,159,2003,2e3,172,171,169,2012,166,2010,1186,1184,1182,1179,175,1176,173,1192,1191,1189,1187,176,1194,1193,2313,2307,2305,592,589,2294,2292,2289,578,572,568,2297,580,1591,2272,2267,2264,1547,538,536,529,2278,525,2275,547,544,541,1574,1571,2237,2235,2229,1493,2225,1489,478,2247,470,2244,465,2241,493,488,484,2250,498,495,1536,1533,1530,1539,2187,2186,2184,2182,1432,2179,1430,2176,1427,414,412,2197,409,2195,405,2193,2190,426,424,421,2203,418,2201,431,429,1473,1471,1469,1466,434,1477,1475,2478,2472,2470,2459,2457,2454,2462,803,2437,2432,2429,1726,2443,2440,792,789,785,2401,2399,2393,1702,2389,1699,2411,2408,2405,745,741,2415,758,755,1721,2358,2357,2355,2353,1661,2350,1660,2347,1657,2368,2366,2364,2361,1666,690,687,2374,683,2372,701,698,705,1691,1689,2619,2617,2610,2608,2605,2613,2593,2588,2585,1803,2599,2596,2563,2561,2555,1797,2551,1795,2573,2570,2567,2577,2525,2524,2522,2520,1786,2517,1785,2514,1783,2535,2533,2531,2528,1788,2541,2539,906,903,911,2721,1844,2715,2712,1838,1836,2699,2696,2693,2703,1827,1826,1824,2673,2671,2669,2666,1829,2679,2677,1858,1857,2772,1854,1853,1851,1856,2766,2764,143,1987,139,1986,135,133,131,1984,128,1983,125,1981,138,137,136,1985,1133,1132,1130,112,110,1974,107,1973,104,1971,1969,122,121,119,117,1977,114,1976,124,1115,1114,1112,1110,1117,1116,84,83,1953,81,1952,78,1950,1948,1945,94,93,91,1959,88,1958,85,1955,99,97,95,1961,1086,1085,1083,1081,1078,100,1090,1089,1087,1091,49,47,1917,44,1915,1913,1910,1907,59,1926,56,1925,53,1922,1919,66,64,1931,61,1929,1042,1040,1038,71,1035,70,1032,68,1048,1047,1045,1043,1050,1049,12,10,1869,1867,1864,1861,21,1880,19,1877,1874,1871,28,1888,25,1886,22,1883,982,980,977,974,32,30,991,989,987,984,34,995,994,992,2151,2150,2147,2146,2144,356,355,354,2149,2139,2138,2136,2134,1359,343,341,338,2143,335,2141,348,347,346,1376,1374,2124,2123,2121,2119,1326,2116,1324,310,308,305,2131,302,2129,298,2127,320,318,316,313,2133,322,321,1355,1353,1351,1357,2092,2091,2089,2087,1276,2084,1274,2081,1271,259,2102,256,2100,252,2098,2095,272,269,2108,266,2106,281,279,277,1317,1315,1313,1310,282,1321,1319,2039,2037,2035,2032,1203,2029,1200,1197,207,2053,205,2051,201,2049,2046,2043,220,218,2064,215,2062,211,2059,228,226,223,2069,1259,1257,1254,232,1251,230,1267,1265,1263,2316,2315,2312,2311,2309,2314,2304,2303,2301,2299,1593,2308,2306,590,2288,2287,2285,2283,1578,2280,1577,2295,2293,2291,579,577,574,571,2298,582,581,1592,2263,2262,2260,2258,1545,2255,1544,2252,1541,2273,2271,2269,2266,1550,535,532,2279,528,2277,546,543,549,1575,1573,2224,2222,2220,1486,2217,1485,2214,1482,1479,2238,2236,2234,2231,1496,2228,1492,480,477,2248,473,2246,469,2243,490,487,2251,497,1537,1535,1532,2477,2476,2474,2479,2469,2468,2466,2464,1730,2473,2471,2453,2452,2450,2448,1729,2445,1728,2460,2458,2456,2463,805,804,2428,2427,2425,2423,1725,2420,1724,2417,1722,2438,2436,2434,2431,1727,2444,2442,793,791,788,795,2388,2386,2384,1697,2381,1696,2378,1694,1692,2402,2400,2398,2395,1703,2392,1701,2412,2410,2407,751,748,744,2416,759,757,1807,2620,2618,1806,1805,2611,2609,2607,2614,1802,1801,1799,2594,2592,2590,2587,1804,2600,2598,1794,1793,1791,1789,2564,2562,2560,2557,1798,2554,1796,2574,2572,2569,2578,1847,1846,2722,1843,1842,1840,1845,2716,2714,1835,1834,1832,1830,1839,1837,2700,2698,2695,2704,1817,1811,1810,897,862,1777,829,826,838,1760,1758,808,2481,1741,1740,1738,1743,2624,1818,2726,2776,782,740,737,1715,686,679,695,1682,1680,639,628,2339,647,644,1645,1643,1640,1648,602,600,597,595,2320,593,2318,609,607,604,1611,1610,1608,1606,613,1615,1613,2328,926,924,892,886,899,857,850,2505,1778,824,823,821,819,2488,818,2486,833,831,828,840,1761,1759,2649,2632,2630,2746,2734,2732,2782,2781,570,567,1587,531,527,523,540,1566,1564,476,467,463,2240,486,483,1524,1521,1518,1529,411,403,2192,399,2189,423,416,1462,1457,1454,428,1468,1465,2210,366,363,2158,360,2156,357,2153,376,373,370,2163,1410,1409,1407,1405,382,1402,380,1417,1415,1412,1421,2175,2174,777,774,771,784,732,725,722,2404,743,1716,676,674,668,2363,665,2360,685,1684,1681,626,624,622,2335,620,2333,617,2330,641,635,649,1646,1644,1642,2566,928,925,2530,2527,894,891,888,2501,2499,2496,858,856,854,851,1779,2692,2668,2665,2645,2643,2640,2651,2768,2759,2757,2744,2743,2741,2748,352,1382,340,337,333,1371,1369,307,300,296,2126,315,312,1347,1342,1350,261,258,250,2097,246,2094,271,268,264,1306,1301,1298,276,1312,1309,2115,203,2048,195,2045,191,2041,213,209,2056,1246,1244,1238,225,1234,222,1256,1253,1249,1262,2080,2079,154,1997,150,1995,147,1992,1989,163,160,2004,156,2001,1175,1174,1172,1170,1167,170,1164,167,1185,1183,1180,1177,174,1190,1188,2025,2024,2022,587,586,564,559,556,2290,573,1588,520,518,512,2268,508,2265,530,1568,1565,461,457,2233,450,2230,446,2226,479,471,489,1526,1523,1520,397,395,2185,392,2183,389,2180,2177,410,2194,402,422,1463,1461,1459,1456,1470,2455,799,2433,2430,779,776,773,2397,2394,2390,734,728,724,746,1717,2356,2354,2351,2348,1658,677,675,673,670,667,688,1685,1683,2606,2589,2586,2559,2556,2552,927,2523,2521,2518,2515,1784,2532,895,893,890,2718,2709,2707,2689,2687,2684,2663,2662,2660,2658,1825,2667,2769,1852,2760,2758,142,141,1139,1138,134,132,129,126,1982,1129,1128,1126,1131,113,111,108,105,1972,101,1970,120,118,115,1109,1108,1106,1104,123,1113,1111,82,79,1951,75,1949,72,1946,92,89,86,1956,1077,1076,1074,1072,98,1069,96,1084,1082,1079,1088,1968,1967,48,45,1916,42,1914,39,1911,1908,60,57,54,1923,50,1920,1031,1030,1028,1026,67,1023,65,1020,62,1041,1039,1036,1033,69,1046,1044,1944,1943,1941,11,9,1868,7,1865,1862,1859,20,1878,16,1875,13,1872,970,968,966,963,29,960,26,23,983,981,978,975,33,971,31,990,988,985,1906,1904,1902,993,351,2145,1383,331,330,328,326,2137,323,2135,339,1372,1370,294,293,291,289,2122,286,2120,283,2117,309,303,317,1348,1346,1344,245,244,242,2090,239,2088,236,2085,2082,260,2099,249,270,1307,1305,1303,1300,1314,189,2038,186,2036,183,2033,2030,2026,206,198,2047,194,216,1247,1245,1243,1240,227,1237,1255,2310,2302,2300,2286,2284,2281,565,563,561,558,575,1589,2261,2259,2256,2253,1542,521,519,517,514,2270,511,533,1569,1567,2223,2221,2218,2215,1483,2211,1480,459,456,453,2232,449,474,491,1527,1525,1522,2475,2467,2465,2451,2449,2446,801,800,2426,2424,2421,2418,1723,2435,780,778,775,2387,2385,2382,2379,1695,2375,1693,2396,735,733,730,727,749,1718,2616,2615,2604,2603,2601,2584,2583,2581,2579,1800,2591,2550,2549,2547,2545,1792,2542,1790,2558,929,2719,1841,2710,2708,1833,1831,2690,2688,2686,1815,1809,1808,1774,1756,1754,1737,1736,1734,1739,1816,1711,1676,1674,633,629,1638,1636,1633,1641,598,1605,1604,1602,1600,605,1609,1607,2327,887,853,1775,822,820,1757,1755,1584,524,1560,1558,468,464,1514,1511,1508,1519,408,404,400,1452,1447,1444,417,1458,1455,2208,364,361,358,2154,1401,1400,1398,1396,374,1393,371,1408,1406,1403,1413,2173,2172,772,726,723,1712,672,669,666,682,1678,1675,625,623,621,618,2331,636,632,1639,1637,1635,920,918,884,880,889,849,848,847,846,2497,855,852,1776,2641,2742,2787,1380,334,1367,1365,301,297,1340,1338,1335,1343,255,251,247,1296,1291,1288,265,1302,1299,2113,204,196,192,2042,1232,1230,1224,214,1220,210,1242,1239,1235,1250,2077,2075,151,148,1993,144,1990,1163,1162,1160,1158,1155,161,1152,157,1173,1171,1168,1165,168,1181,1178,2021,2020,2018,2023,585,560,557,1585,516,509,1562,1559,458,447,2227,472,1516,1513,1510,398,396,393,390,2181,386,2178,407,1453,1451,1449,1446,420,1460,2209,769,764,720,712,2391,729,1713,664,663,661,659,2352,656,2349,671,1679,1677,2553,922,919,2519,2516,885,883,881,2685,2661,2659,2767,2756,2755,140,1137,1136,130,127,1125,1124,1122,1127,109,106,102,1103,1102,1100,1098,116,1107,1105,1980,80,76,73,1947,1068,1067,1065,1063,90,1060,87,1075,1073,1070,1080,1966,1965,46,43,40,1912,36,1909,1019,1018,1016,1014,58,1011,55,1008,51,1029,1027,1024,1021,63,1037,1034,1940,1939,1937,1942,8,1866,4,1863,1,1860,956,954,952,949,946,17,14,969,967,964,961,27,957,24,979,976,972,1901,1900,1898,1896,986,1905,1903,350,349,1381,329,327,324,1368,1366,292,290,287,284,2118,304,1341,1339,1337,1345,243,240,237,2086,233,2083,254,1297,1295,1293,1290,1304,2114,190,187,184,2034,180,2031,177,2027,199,1233,1231,1229,1226,217,1223,1241,2078,2076,584,555,554,552,550,2282,562,1586,507,506,504,502,2257,499,2254,515,1563,1561,445,443,441,2219,438,2216,435,2212,460,454,475,1517,1515,1512,2447,798,797,2422,2419,770,768,766,2383,2380,2376,721,719,717,714,731,1714,2602,2582,2580,2548,2546,2543,923,921,2717,2706,2705,2683,2682,2680,1771,1752,1750,1733,1732,1731,1735,1814,1707,1670,1668,1631,1629,1626,1634,1599,1598,1596,1594,1603,1601,2326,1772,1753,1751,1581,1554,1552,1504,1501,1498,1509,1442,1437,1434,401,1448,1445,2206,1392,1391,1389,1387,1384,359,1399,1397,1394,1404,2171,2170,1708,1672,1669,619,1632,1630,1628,1773,1378,1363,1361,1333,1328,1336,1286,1281,1278,248,1292,1289,2111,1218,1216,1210,197,1206,193,1228,1225,1221,1236,2073,2071,1151,1150,1148,1146,152,1143,149,1140,145,1161,1159,1156,1153,158,1169,1166,2017,2016,2014,2019,1582,510,1556,1553,452,448,1506,1500,394,391,387,1443,1441,1439,1436,1450,2207,765,716,713,1709,662,660,657,1673,1671,916,914,879,878,877,882,1135,1134,1121,1120,1118,1123,1097,1096,1094,1092,103,1101,1099,1979,1059,1058,1056,1054,77,1051,74,1066,1064,1061,1071,1964,1963,1007,1006,1004,1002,999,41,996,37,1017,1015,1012,1009,52,1025,1022,1936,1935,1933,1938,942,940,938,935,932,5,2,955,953,950,947,18,943,15,965,962,958,1895,1894,1892,1890,973,1899,1897,1379,325,1364,1362,288,285,1334,1332,1330,241,238,234,1287,1285,1283,1280,1294,2112,188,185,181,178,2028,1219,1217,1215,1212,200,1209,1227,2074,2072,583,553,551,1583,505,503,500,513,1557,1555,444,442,439,436,2213,455,451,1507,1505,1502,796,763,762,760,767,711,710,708,706,2377,718,715,1710,2544,917,915,2681,1627,1597,1595,2325,1769,1749,1747,1499,1438,1435,2204,1390,1388,1385,1395,2169,2167,1704,1665,1662,1625,1623,1620,1770,1329,1282,1279,2109,1214,1207,1222,2068,2065,1149,1147,1144,1141,146,1157,1154,2013,2011,2008,2015,1579,1549,1546,1495,1487,1433,1431,1428,1425,388,1440,2205,1705,658,1667,1664,1119,1095,1093,1978,1057,1055,1052,1062,1962,1960,1005,1003,1e3,997,38,1013,1010,1932,1930,1927,1934,941,939,936,933,6,930,3,951,948,944,1889,1887,1884,1881,959,1893,1891,35,1377,1360,1358,1327,1325,1322,1331,1277,1275,1272,1269,235,1284,2110,1205,1204,1201,1198,182,1195,179,1213,2070,2067,1580,501,1551,1548,440,437,1497,1494,1490,1503,761,709,707,1706,913,912,2198,1386,2164,2161,1621,1766,2103,1208,2058,2054,1145,1142,2005,2002,1999,2009,1488,1429,1426,2200,1698,1659,1656,1975,1053,1957,1954,1001,998,1924,1921,1918,1928,937,934,931,1879,1876,1873,1870,945,1885,1882,1323,1273,1270,2105,1202,1199,1196,1211,2061,2057,1576,1543,1540,1484,1481,1478,1491,1700]),t}();e.a=a},function(t,e,n){"use strict";var r;!function(t){t[t.OTHER=0]="OTHER",t[t.PURE_BARCODE=1]="PURE_BARCODE",t[t.POSSIBLE_FORMATS=2]="POSSIBLE_FORMATS",t[t.TRY_HARDER=3]="TRY_HARDER",t[t.CHARACTER_SET=4]="CHARACTER_SET",t[t.ALLOWED_LENGTHS=5]="ALLOWED_LENGTHS",t[t.ASSUME_CODE_39_CHECK_DIGIT=6]="ASSUME_CODE_39_CHECK_DIGIT",t[t.ASSUME_GS1=7]="ASSUME_GS1",t[t.RETURN_CODABAR_START_END=8]="RETURN_CODABAR_START_END",t[t.NEED_RESULT_POINT_CALLBACK=9]="NEED_RESULT_POINT_CALLBACK",t[t.ALLOWED_EAN_EXTENSIONS=10]="ALLOWED_EAN_EXTENSIONS"}(r||(r={})),e.a=r},function(t,e,n){"use strict";var r=n(12),o=n(20),i=n(30),a=function(){function t(){}return t.castAsNonUtf8Char=function(t,e){void 0===e&&(e=null);var n=e?e.getName():this.ISO88591;return i.a.decode(new Uint8Array([t]),n)},t.guessEncoding=function(e,n){if(null!=n&&void 0!==n.get(r.a.CHARACTER_SET))return n.get(r.a.CHARACTER_SET).toString();for(var o=e.length,i=!0,a=!0,s=!0,u=0,l=0,c=0,f=0,p=0,d=0,h=0,g=0,y=0,v=0,m=0,w=e.length>3&&239===e[0]&&187===e[1]&&191===e[2],E=0;E<o&&(i||a||s);E++){var b=255&e[E];s&&(u>0?0==(128&b)?s=!1:u--:0!=(128&b)&&(0==(64&b)?s=!1:(u++,0==(32&b)?l++:(u++,0==(16&b)?c++:(u++,0==(8&b)?f++:s=!1))))),i&&(b>127&&b<160?i=!1:b>159&&(b<192||215===b||247===b)&&m++),a&&(p>0?b<64||127===b||b>252?a=!1:p--:128===b||160===b||b>239?a=!1:b>160&&b<224?(d++,g=0,++h>y&&(y=h)):b>127?(p++,h=0,++g>v&&(v=g)):(h=0,g=0))}return s&&u>0&&(s=!1),a&&p>0&&(a=!1),s&&(w||l+c+f>0)?t.UTF8:a&&(t.ASSUME_SHIFT_JIS||y>=3||v>=3)?t.SHIFT_JIS:i&&a?2===y&&2===d||10*m>=o?t.SHIFT_JIS:t.ISO88591:i?t.ISO88591:a?t.SHIFT_JIS:s?t.UTF8:t.PLATFORM_DEFAULT_ENCODING},t.format=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];var r=-1;function o(t,n,o,i,a,s){if("%%"===t)return"%";if(void 0!==e[++r]){t=i?parseInt(i.substr(1)):void 0;var u,l=a?parseInt(a.substr(1)):void 0;switch(s){case"s":u=e[r];break;case"c":u=e[r][0];break;case"f":u=parseFloat(e[r]).toFixed(t);break;case"p":u=parseFloat(e[r]).toPrecision(t);break;case"e":u=parseFloat(e[r]).toExponential(t);break;case"x":u=parseInt(e[r]).toString(l||16);break;case"d":u=parseFloat(parseInt(e[r],l||10).toPrecision(t)).toFixed(0)}u="object"==typeof u?JSON.stringify(u):(+u).toString(l);for(var c=parseInt(o),f=o&&o[0]+""=="0"?"0":" ";u.length<c;)u=void 0!==n?u+f:f+u;return u}}var i=/%(-)?(0?[0-9]+)?([.][0-9]+)?([#][0-9]+)?([scfpexd%])/g;return t.replace(i,o)},t.getBytes=function(t,e){return i.a.encode(t,e)},t.getCharCode=function(t,e){return void 0===e&&(e=0),t.charCodeAt(e)},t.getCharAt=function(t){return String.fromCharCode(t)},t.SHIFT_JIS=o.a.SJIS.getName(),t.GB2312="GB2312",t.ISO88591=o.a.ISO8859_1.getName(),t.EUC_JP="EUC_JP",t.UTF8=o.a.UTF8.getName(),t.PLATFORM_DEFAULT_ENCODING=t.UTF8,t.ASSUME_SHIFT_JIS=!1,t}();e.a=a},function(t,e,n){"use strict";var r=n(9),o=function(){function t(t,e,n,o,i,a){void 0===n&&(n=null==e?0:8*e.length),void 0===a&&(a=r.a.currentTimeMillis()),this.text=t,this.rawBytes=e,this.numBits=n,this.resultPoints=o,this.format=i,this.timestamp=a,this.text=t,this.rawBytes=e,this.numBits=null==n?null==e?0:8*e.length:n,this.resultPoints=o,this.format=i,this.resultMetadata=null,this.timestamp=null==a?r.a.currentTimeMillis():a}return t.prototype.getText=function(){return this.text},t.prototype.getRawBytes=function(){return this.rawBytes},t.prototype.getNumBits=function(){return this.numBits},t.prototype.getResultPoints=function(){return this.resultPoints},t.prototype.getBarcodeFormat=function(){return this.format},t.prototype.getResultMetadata=function(){return this.resultMetadata},t.prototype.putMetadata=function(t,e){null===this.resultMetadata&&(this.resultMetadata=new Map),this.resultMetadata.set(t,e)},t.prototype.putAllMetadata=function(t){null!==t&&(null===this.resultMetadata?this.resultMetadata=t:this.resultMetadata=new Map(t))},t.prototype.addResultPoints=function(t){var e=this.resultPoints;if(null===e)this.resultPoints=t;else if(null!==t&&t.length>0){var n=new Array(e.length+t.length);r.a.arraycopy(e,0,n,0,e.length),r.a.arraycopy(t,0,n,e.length,t.length),this.resultPoints=n}},t.prototype.getTimestamp=function(){return this.timestamp},t.prototype.toString=function(){return this.text},t}();e.a=o},function(t,e,n){"use strict";function r(t,e){void 0===e&&(e=t.constructor);var n=Error.captureStackTrace;n&&n(t,e)}var o,i=(o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),a=function(t){function e(e){var n,o,i,a=this.constructor,s=t.call(this,e)||this;return Object.defineProperty(s,"name",{value:a.name,enumerable:!1,configurable:!0}),n=s,o=a.prototype,(i=Object.setPrototypeOf)?i(n,o):n.__proto__=o,r(s),s}return i(e,t),e}(Error);var s=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),u=function(t){function e(e){void 0===e&&(e=void 0);var n=t.call(this,e)||this;return n.message=e,n}return s(e,t),e.prototype.getKind=function(){return this.constructor.kind},e.kind="Exception",e}(a);e.a=u},function(t,e,n){"use strict";var r,o=n(3);!function(t){t[t.TERMINATOR=0]="TERMINATOR",t[t.NUMERIC=1]="NUMERIC",t[t.ALPHANUMERIC=2]="ALPHANUMERIC",t[t.STRUCTURED_APPEND=3]="STRUCTURED_APPEND",t[t.BYTE=4]="BYTE",t[t.ECI=5]="ECI",t[t.KANJI=6]="KANJI",t[t.FNC1_FIRST_POSITION=7]="FNC1_FIRST_POSITION",t[t.FNC1_SECOND_POSITION=8]="FNC1_SECOND_POSITION",t[t.HANZI=9]="HANZI"}(r||(r={}));var i=function(){function t(e,n,r,o){this.value=e,this.stringValue=n,this.characterCountBitsForVersions=r,this.bits=o,t.FOR_BITS.set(o,this),t.FOR_VALUE.set(e,this)}return t.forBits=function(e){var n=t.FOR_BITS.get(e);if(void 0===n)throw new o.a;return n},t.prototype.getCharacterCountBits=function(t){var e,n=t.getVersionNumber();return e=n<=9?0:n<=26?1:2,this.characterCountBitsForVersions[e]},t.prototype.getValue=function(){return this.value},t.prototype.getBits=function(){return this.bits},t.prototype.equals=function(e){if(!(e instanceof t))return!1;var n=e;return this.value===n.value},t.prototype.toString=function(){return this.stringValue},t.FOR_BITS=new Map,t.FOR_VALUE=new Map,t.TERMINATOR=new t(r.TERMINATOR,"TERMINATOR",Int32Array.from([0,0,0]),0),t.NUMERIC=new t(r.NUMERIC,"NUMERIC",Int32Array.from([10,12,14]),1),t.ALPHANUMERIC=new t(r.ALPHANUMERIC,"ALPHANUMERIC",Int32Array.from([9,11,13]),2),t.STRUCTURED_APPEND=new t(r.STRUCTURED_APPEND,"STRUCTURED_APPEND",Int32Array.from([0,0,0]),3),t.BYTE=new t(r.BYTE,"BYTE",Int32Array.from([8,16,16]),4),t.ECI=new t(r.ECI,"ECI",Int32Array.from([0,0,0]),7),t.KANJI=new t(r.KANJI,"KANJI",Int32Array.from([8,10,12]),8),t.FNC1_FIRST_POSITION=new t(r.FNC1_FIRST_POSITION,"FNC1_FIRST_POSITION",Int32Array.from([0,0,0]),5),t.FNC1_SECOND_POSITION=new t(r.FNC1_SECOND_POSITION,"FNC1_SECOND_POSITION",Int32Array.from([0,0,0]),9),t.HANZI=new t(r.HANZI,"HANZI",Int32Array.from([8,10,12]),13),t}();e.a=i},function(t,e,n){"use strict";var r,o=n(15),i=(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.kind="WriterException",e}(o.a);e.a=a},function(t,e,n){"use strict";var r,o=n(15),i=(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.getChecksumInstance=function(){return new e},e.kind="ChecksumException",e}(o.a);e.a=a},function(t,e,n){"use strict";var r=n(3),o=n(24),i=n(7),a=n(9),s=function(){function t(e,n){void 0===e?(this.size=0,this.bits=new Int32Array(1)):(this.size=e,this.bits=null==n?t.makeArray(e):n)}return t.prototype.getSize=function(){return this.size},t.prototype.getSizeInBytes=function(){return Math.floor((this.size+7)/8)},t.prototype.ensureCapacity=function(e){if(e>32*this.bits.length){var n=t.makeArray(e);a.a.arraycopy(this.bits,0,n,0,this.bits.length),this.bits=n}},t.prototype.get=function(t){return 0!=(this.bits[Math.floor(t/32)]&1<<(31&t))},t.prototype.set=function(t){this.bits[Math.floor(t/32)]|=1<<(31&t)},t.prototype.flip=function(t){this.bits[Math.floor(t/32)]^=1<<(31&t)},t.prototype.getNextSet=function(t){var e=this.size;if(t>=e)return e;var n=this.bits,r=Math.floor(t/32),o=n[r];o&=~((1<<(31&t))-1);for(var a=n.length;0===o;){if(++r===a)return e;o=n[r]}var s=32*r+i.a.numberOfTrailingZeros(o);return s>e?e:s},t.prototype.getNextUnset=function(t){var e=this.size;if(t>=e)return e;var n=this.bits,r=Math.floor(t/32),o=~n[r];o&=~((1<<(31&t))-1);for(var a=n.length;0===o;){if(++r===a)return e;o=~n[r]}var s=32*r+i.a.numberOfTrailingZeros(o);return s>e?e:s},t.prototype.setBulk=function(t,e){this.bits[Math.floor(t/32)]=e},t.prototype.setRange=function(t,e){if(e<t||t<0||e>this.size)throw new r.a;if(e!==t){e--;for(var n=Math.floor(t/32),o=Math.floor(e/32),i=this.bits,a=n;a<=o;a++){var s=(2<<(a<o?31:31&e))-(1<<(a>n?0:31&t));i[a]|=s}}},t.prototype.clear=function(){for(var t=this.bits.length,e=this.bits,n=0;n<t;n++)e[n]=0},t.prototype.isRange=function(t,e,n){if(e<t||t<0||e>this.size)throw new r.a;if(e===t)return!0;e--;for(var o=Math.floor(t/32),i=Math.floor(e/32),a=this.bits,s=o;s<=i;s++){var u=(2<<(s<i?31:31&e))-(1<<(s>o?0:31&t))&4294967295;if((a[s]&u)!==(n?u:0))return!1}return!0},t.prototype.appendBit=function(t){this.ensureCapacity(this.size+1),t&&(this.bits[Math.floor(this.size/32)]|=1<<(31&this.size)),this.size++},t.prototype.appendBits=function(t,e){if(e<0||e>32)throw new r.a("Num bits must be between 0 and 32");this.ensureCapacity(this.size+e);for(var n=e;n>0;n--)this.appendBit(1==(t>>n-1&1))},t.prototype.appendBitArray=function(t){var e=t.size;this.ensureCapacity(this.size+e);for(var n=0;n<e;n++)this.appendBit(t.get(n))},t.prototype.xor=function(t){if(this.size!==t.size)throw new r.a("Sizes don't match");for(var e=this.bits,n=0,o=e.length;n<o;n++)e[n]^=t.bits[n]},t.prototype.toBytes=function(t,e,n,r){for(var o=0;o<r;o++){for(var i=0,a=0;a<8;a++)this.get(t)&&(i|=1<<7-a),t++;e[n+o]=i}},t.prototype.getBitArray=function(){return this.bits},t.prototype.reverse=function(){for(var t=new Int32Array(this.bits.length),e=Math.floor((this.size-1)/32),n=e+1,r=this.bits,o=0;o<n;o++){var i=r[o];i=(i=(i=(i=(i=i>>1&1431655765|(1431655765&i)<<1)>>2&858993459|(858993459&i)<<2)>>4&252645135|(252645135&i)<<4)>>8&16711935|(16711935&i)<<8)>>16&65535|(65535&i)<<16,t[e-o]=i}if(this.size!==32*n){var a=32*n-this.size,s=t[0]>>>a;for(o=1;o<n;o++){var u=t[o];s|=u<<32-a,t[o-1]=s,s=u>>>a}t[n-1]=s}this.bits=t},t.makeArray=function(t){return new Int32Array(Math.floor((t+31)/32))},t.prototype.equals=function(e){if(!(e instanceof t))return!1;var n=e;return this.size===n.size&&o.a.equals(this.bits,n.bits)},t.prototype.hashCode=function(){return 31*this.size+o.a.hashCode(this.bits)},t.prototype.toString=function(){for(var t="",e=0,n=this.size;e<n;e++)0==(7&e)&&(t+=" "),t+=this.get(e)?"X":".";return t},t.prototype.clone=function(){return new t(this.size,this.bits.slice())},t}();e.a=s},function(t,e,n){"use strict";var r,o=n(2),i=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};!function(t){t[t.Cp437=0]="Cp437",t[t.ISO8859_1=1]="ISO8859_1",t[t.ISO8859_2=2]="ISO8859_2",t[t.ISO8859_3=3]="ISO8859_3",t[t.ISO8859_4=4]="ISO8859_4",t[t.ISO8859_5=5]="ISO8859_5",t[t.ISO8859_6=6]="ISO8859_6",t[t.ISO8859_7=7]="ISO8859_7",t[t.ISO8859_8=8]="ISO8859_8",t[t.ISO8859_9=9]="ISO8859_9",t[t.ISO8859_10=10]="ISO8859_10",t[t.ISO8859_11=11]="ISO8859_11",t[t.ISO8859_13=12]="ISO8859_13",t[t.ISO8859_14=13]="ISO8859_14",t[t.ISO8859_15=14]="ISO8859_15",t[t.ISO8859_16=15]="ISO8859_16",t[t.SJIS=16]="SJIS",t[t.Cp1250=17]="Cp1250",t[t.Cp1251=18]="Cp1251",t[t.Cp1252=19]="Cp1252",t[t.Cp1256=20]="Cp1256",t[t.UnicodeBigUnmarked=21]="UnicodeBigUnmarked",t[t.UTF8=22]="UTF8",t[t.ASCII=23]="ASCII",t[t.Big5=24]="Big5",t[t.GB18030=25]="GB18030",t[t.EUC_KR=26]="EUC_KR"}(r||(r={}));var a=function(){function t(e,n,r){for(var o,a,s=[],u=3;u<arguments.length;u++)s[u-3]=arguments[u];this.valueIdentifier=e,this.name=r,this.values="number"==typeof n?Int32Array.from([n]):n,this.otherEncodingNames=s,t.VALUE_IDENTIFIER_TO_ECI.set(e,this),t.NAME_TO_ECI.set(r,this);for(var l=this.values,c=0,f=l.length;c!==f;c++){var p=l[c];t.VALUES_TO_ECI.set(p,this)}try{for(var d=i(s),h=d.next();!h.done;h=d.next()){var g=h.value;t.NAME_TO_ECI.set(g,this)}}catch(t){o={error:t}}finally{try{h&&!h.done&&(a=d.return)&&a.call(d)}finally{if(o)throw o.error}}}return t.prototype.getValueIdentifier=function(){return this.valueIdentifier},t.prototype.getName=function(){return this.name},t.prototype.getValue=function(){return this.values[0]},t.getCharacterSetECIByValue=function(e){if(e<0||e>=900)throw new o.a("incorect value");var n=t.VALUES_TO_ECI.get(e);if(void 0===n)throw new o.a("incorect value");return n},t.getCharacterSetECIByName=function(e){var n=t.NAME_TO_ECI.get(e);if(void 0===n)throw new o.a("incorect value");return n},t.prototype.equals=function(e){if(!(e instanceof t))return!1;var n=e;return this.getName()===n.getName()},t.VALUE_IDENTIFIER_TO_ECI=new Map,t.VALUES_TO_ECI=new Map,t.NAME_TO_ECI=new Map,t.Cp437=new t(r.Cp437,Int32Array.from([0,2]),"Cp437"),t.ISO8859_1=new t(r.ISO8859_1,Int32Array.from([1,3]),"ISO-8859-1","ISO88591","ISO8859_1"),t.ISO8859_2=new t(r.ISO8859_2,4,"ISO-8859-2","ISO88592","ISO8859_2"),t.ISO8859_3=new t(r.ISO8859_3,5,"ISO-8859-3","ISO88593","ISO8859_3"),t.ISO8859_4=new t(r.ISO8859_4,6,"ISO-8859-4","ISO88594","ISO8859_4"),t.ISO8859_5=new t(r.ISO8859_5,7,"ISO-8859-5","ISO88595","ISO8859_5"),t.ISO8859_6=new t(r.ISO8859_6,8,"ISO-8859-6","ISO88596","ISO8859_6"),t.ISO8859_7=new t(r.ISO8859_7,9,"ISO-8859-7","ISO88597","ISO8859_7"),t.ISO8859_8=new t(r.ISO8859_8,10,"ISO-8859-8","ISO88598","ISO8859_8"),t.ISO8859_9=new t(r.ISO8859_9,11,"ISO-8859-9","ISO88599","ISO8859_9"),t.ISO8859_10=new t(r.ISO8859_10,12,"ISO-8859-10","ISO885910","ISO8859_10"),t.ISO8859_11=new t(r.ISO8859_11,13,"ISO-8859-11","ISO885911","ISO8859_11"),t.ISO8859_13=new t(r.ISO8859_13,15,"ISO-8859-13","ISO885913","ISO8859_13"),t.ISO8859_14=new t(r.ISO8859_14,16,"ISO-8859-14","ISO885914","ISO8859_14"),t.ISO8859_15=new t(r.ISO8859_15,17,"ISO-8859-15","ISO885915","ISO8859_15"),t.ISO8859_16=new t(r.ISO8859_16,18,"ISO-8859-16","ISO885916","ISO8859_16"),t.SJIS=new t(r.SJIS,20,"SJIS","Shift_JIS"),t.Cp1250=new t(r.Cp1250,21,"Cp1250","windows-1250"),t.Cp1251=new t(r.Cp1251,22,"Cp1251","windows-1251"),t.Cp1252=new t(r.Cp1252,23,"Cp1252","windows-1252"),t.Cp1256=new t(r.Cp1256,24,"Cp1256","windows-1256"),t.UnicodeBigUnmarked=new t(r.UnicodeBigUnmarked,25,"UnicodeBigUnmarked","UTF-16BE","UnicodeBig"),t.UTF8=new t(r.UTF8,26,"UTF8","UTF-8"),t.ASCII=new t(r.ASCII,Int32Array.from([27,170]),"ASCII","US-ASCII"),t.Big5=new t(r.Big5,28,"Big5"),t.GB18030=new t(r.GB18030,29,"GB18030","GB2312","EUC_CN","GBK"),t.EUC_KR=new t(r.EUC_KR,30,"EUC_KR","EUC-KR"),t}();e.a=a},function(t,e,n){"use strict";var r;!function(t){t[t.OTHER=0]="OTHER",t[t.ORIENTATION=1]="ORIENTATION",t[t.BYTE_SEGMENTS=2]="BYTE_SEGMENTS",t[t.ERROR_CORRECTION_LEVEL=3]="ERROR_CORRECTION_LEVEL",t[t.ISSUE_NUMBER=4]="ISSUE_NUMBER",t[t.SUGGESTED_PRICE=5]="SUGGESTED_PRICE",t[t.POSSIBLE_COUNTRY=6]="POSSIBLE_COUNTRY",t[t.UPC_EAN_EXTENSION=7]="UPC_EAN_EXTENSION",t[t.PDF417_EXTRA_METADATA=8]="PDF417_EXTRA_METADATA",t[t.STRUCTURED_APPEND_SEQUENCE=9]="STRUCTURED_APPEND_SEQUENCE",t[t.STRUCTURED_APPEND_PARITY=10]="STRUCTURED_APPEND_PARITY"}(r||(r={})),e.a=r},function(t,e,n){"use strict";var r=n(19),o=n(12),i=n(21),a=n(4),s=n(1),u=function(){function t(){}return t.prototype.decode=function(t,e){try{return this.doDecode(t,e)}catch(d){if(e&&!0===e.get(o.a.TRY_HARDER)&&t.isRotateSupported()){var n=t.rotateCounterClockwise(),r=this.doDecode(n,e),u=r.getResultMetadata(),l=270;null!==u&&!0===u.get(i.a.ORIENTATION)&&(l+=u.get(i.a.ORIENTATION)%360),r.putMetadata(i.a.ORIENTATION,l);var c=r.getResultPoints();if(null!==c)for(var f=n.getHeight(),p=0;p<c.length;p++)c[p]=new a.a(f-c[p].getY()-1,c[p].getX());return r}throw new s.a}},t.prototype.reset=function(){},t.prototype.doDecode=function(t,e){var n,u=t.getWidth(),l=t.getHeight(),c=new r.a(u),f=e&&!0===e.get(o.a.TRY_HARDER),p=Math.max(1,l>>(f?8:5));n=f?l:15;for(var d=Math.trunc(l/2),h=0;h<n;h++){var g=Math.trunc((h+1)/2),y=d+p*(0==(1&h)?g:-g);if(y<0||y>=l)break;try{c=t.getBlackRow(y,c)}catch(t){continue}for(var v=function(t){if(1===t&&(c.reverse(),e&&!0===e.get(o.a.NEED_RESULT_POINT_CALLBACK))){var n=new Map;e.forEach((function(t,e){return n.set(e,t)})),n.delete(o.a.NEED_RESULT_POINT_CALLBACK),e=n}try{var r=m.decodeRow(y,c,e);if(1===t){r.putMetadata(i.a.ORIENTATION,180);var s=r.getResultPoints();null!==s&&(s[0]=new a.a(u-s[0].getX()-1,s[0].getY()),s[1]=new a.a(u-s[1].getX()-1,s[1].getY()))}return{value:r}}catch(t){}},m=this,w=0;w<2;w++){var E=v(w);if("object"==typeof E)return E.value}}throw new s.a},t.recordPattern=function(t,e,n){for(var r=n.length,o=0;o<r;o++)n[o]=0;var i=t.getSize();if(e>=i)throw new s.a;for(var a=!t.get(e),u=0,l=e;l<i;){if(t.get(l)!==a)n[u]++;else{if(++u===r)break;n[u]=1,a=!a}l++}if(u!==r&&(u!==r-1||l!==i))throw new s.a},t.recordPatternInReverse=function(e,n,r){for(var o=r.length,i=e.get(n);n>0&&o>=0;)e.get(--n)!==i&&(o--,i=!i);if(o>=0)throw new s.a;t.recordPattern(e,n+1,r)},t.patternMatchVariance=function(t,e,n){for(var r=t.length,o=0,i=0,a=0;a<r;a++)o+=t[a],i+=e[a];if(o<i)return Number.POSITIVE_INFINITY;var s=o/i;n*=s;for(var u=0,l=0;l<r;l++){var c=t[l],f=e[l]*s,p=c>f?c-f:f-c;if(p>n)return Number.POSITIVE_INFINITY;u+=p}return u/o},t}();e.a=u},function(t,e,n){"use strict";var r=n(19),o=n(9),i=n(24),a=n(8),s=n(3),u=function(){function t(t,e,n,r){if(this.width=t,this.height=e,this.rowSize=n,this.bits=r,null==e&&(e=t),this.height=e,t<1||e<1)throw new s.a("Both dimensions must be greater than 0");null==n&&(n=Math.floor((t+31)/32)),this.rowSize=n,null==r&&(this.bits=new Int32Array(this.rowSize*this.height))}return t.parseFromBooleanArray=function(e){for(var n=e.length,r=e[0].length,o=new t(r,n),i=0;i<n;i++)for(var a=e[i],s=0;s<r;s++)a[s]&&o.set(s,i);return o},t.parseFromString=function(e,n,r){if(null===e)throw new s.a("stringRepresentation cannot be null");for(var o=new Array(e.length),i=0,a=0,u=-1,l=0,c=0;c<e.length;)if("\n"===e.charAt(c)||"\r"===e.charAt(c)){if(i>a){if(-1===u)u=i-a;else if(i-a!==u)throw new s.a("row lengths do not match");a=i,l++}c++}else if(e.substring(c,c+n.length)===n)c+=n.length,o[i]=!0,i++;else{if(e.substring(c,c+r.length)!==r)throw new s.a("illegal character encountered: "+e.substring(c));c+=r.length,o[i]=!1,i++}if(i>a){if(-1===u)u=i-a;else if(i-a!==u)throw new s.a("row lengths do not match");l++}for(var f=new t(u,l),p=0;p<i;p++)o[p]&&f.set(Math.floor(p%u),Math.floor(p/u));return f},t.prototype.get=function(t,e){var n=e*this.rowSize+Math.floor(t/32);return 0!=(this.bits[n]>>>(31&t)&1)},t.prototype.set=function(t,e){var n=e*this.rowSize+Math.floor(t/32);this.bits[n]|=1<<(31&t)&4294967295},t.prototype.unset=function(t,e){var n=e*this.rowSize+Math.floor(t/32);this.bits[n]&=~(1<<(31&t)&4294967295)},t.prototype.flip=function(t,e){var n=e*this.rowSize+Math.floor(t/32);this.bits[n]^=1<<(31&t)&4294967295},t.prototype.xor=function(t){if(this.width!==t.getWidth()||this.height!==t.getHeight()||this.rowSize!==t.getRowSize())throw new s.a("input matrix dimensions do not match");for(var e=new r.a(Math.floor(this.width/32)+1),n=this.rowSize,o=this.bits,i=0,a=this.height;i<a;i++)for(var u=i*n,l=t.getRow(i,e).getBitArray(),c=0;c<n;c++)o[u+c]^=l[c]},t.prototype.clear=function(){for(var t=this.bits,e=t.length,n=0;n<e;n++)t[n]=0},t.prototype.setRegion=function(t,e,n,r){if(e<0||t<0)throw new s.a("Left and top must be nonnegative");if(r<1||n<1)throw new s.a("Height and width must be at least 1");var o=t+n,i=e+r;if(i>this.height||o>this.width)throw new s.a("The region must fit inside the matrix");for(var a=this.rowSize,u=this.bits,l=e;l<i;l++)for(var c=l*a,f=t;f<o;f++)u[c+Math.floor(f/32)]|=1<<(31&f)&4294967295},t.prototype.getRow=function(t,e){null==e||e.getSize()<this.width?e=new r.a(this.width):e.clear();for(var n=this.rowSize,o=this.bits,i=t*n,a=0;a<n;a++)e.setBulk(32*a,o[i+a]);return e},t.prototype.setRow=function(t,e){o.a.arraycopy(e.getBitArray(),0,this.bits,t*this.rowSize,this.rowSize)},t.prototype.rotate180=function(){for(var t=this.getWidth(),e=this.getHeight(),n=new r.a(t),o=new r.a(t),i=0,a=Math.floor((e+1)/2);i<a;i++)n=this.getRow(i,n),o=this.getRow(e-1-i,o),n.reverse(),o.reverse(),this.setRow(i,o),this.setRow(e-1-i,n)},t.prototype.getEnclosingRectangle=function(){for(var t=this.width,e=this.height,n=this.rowSize,r=this.bits,o=t,i=e,a=-1,s=-1,u=0;u<e;u++)for(var l=0;l<n;l++){var c=r[u*n+l];if(0!==c){if(u<i&&(i=u),u>s&&(s=u),32*l<o){for(var f=0;0==(c<<31-f&4294967295);)f++;32*l+f<o&&(o=32*l+f)}if(32*l+31>a){for(f=31;c>>>f==0;)f--;32*l+f>a&&(a=32*l+f)}}}return a<o||s<i?null:Int32Array.from([o,i,a-o+1,s-i+1])},t.prototype.getTopLeftOnBit=function(){for(var t=this.rowSize,e=this.bits,n=0;n<e.length&&0===e[n];)n++;if(n===e.length)return null;for(var r=n/t,o=n%t*32,i=e[n],a=0;0==(i<<31-a&4294967295);)a++;return o+=a,Int32Array.from([o,r])},t.prototype.getBottomRightOnBit=function(){for(var t=this.rowSize,e=this.bits,n=e.length-1;n>=0&&0===e[n];)n--;if(n<0)return null;for(var r=Math.floor(n/t),o=32*Math.floor(n%t),i=e[n],a=31;i>>>a==0;)a--;return o+=a,Int32Array.from([o,r])},t.prototype.getWidth=function(){return this.width},t.prototype.getHeight=function(){return this.height},t.prototype.getRowSize=function(){return this.rowSize},t.prototype.equals=function(e){if(!(e instanceof t))return!1;var n=e;return this.width===n.width&&this.height===n.height&&this.rowSize===n.rowSize&&i.a.equals(this.bits,n.bits)},t.prototype.hashCode=function(){var t=this.width;return t=31*(t=31*(t=31*(t=31*t+this.width)+this.height)+this.rowSize)+i.a.hashCode(this.bits)},t.prototype.toString=function(t,e,n){return void 0===t&&(t="X "),void 0===e&&(e=" "),void 0===n&&(n="\n"),this.buildToString(t,e,n)},t.prototype.buildToString=function(t,e,n){for(var r=new a.a,o=0,i=this.height;o<i;o++){for(var s=0,u=this.width;s<u;s++)r.append(this.get(s,o)?t:e);r.append(n)}return r.toString()},t.prototype.clone=function(){return new t(this.width,this.height,this.rowSize,this.bits.slice())},t}();e.a=u},function(t,e,n){"use strict";var r,o=n(9),i=n(3),a=n(68),s=(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),u=function(t){function e(e,n){void 0===e&&(e=void 0),void 0===n&&(n=void 0);var r=t.call(this,n)||this;return r.index=e,r.message=n,r}return s(e,t),e.kind="ArrayIndexOutOfBoundsException",e}(a.a),l=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},c=function(){function t(){}return t.fill=function(t,e){for(var n=0,r=t.length;n<r;n++)t[n]=e},t.fillWithin=function(e,n,r,o){t.rangeCheck(e.length,n,r);for(var i=n;i<r;i++)e[i]=o},t.rangeCheck=function(t,e,n){if(e>n)throw new i.a("fromIndex("+e+") > toIndex("+n+")");if(e<0)throw new u(e);if(n>t)throw new u(n)},t.asList=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return t},t.create=function(t,e,n){return Array.from({length:t}).map((function(t){return Array.from({length:e}).fill(n)}))},t.createInt32Array=function(t,e,n){return Array.from({length:t}).map((function(t){return Int32Array.from({length:e}).fill(n)}))},t.equals=function(t,e){if(!t)return!1;if(!e)return!1;if(!t.length)return!1;if(!e.length)return!1;if(t.length!==e.length)return!1;for(var n=0,r=t.length;n<r;n++)if(t[n]!==e[n])return!1;return!0},t.hashCode=function(t){var e,n;if(null===t)return 0;var r=1;try{for(var o=l(t),i=o.next();!i.done;i=o.next()){r=31*r+i.value}}catch(t){e={error:t}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(e)throw e.error}}return r},t.fillUint8Array=function(t,e){for(var n=0;n!==t.length;n++)t[n]=e},t.copyOf=function(t,e){return t.slice(0,e)},t.copyOfUint8Array=function(t,e){if(t.length<=e){var n=new Uint8Array(e);return n.set(t),n}return t.slice(0,e)},t.copyOfRange=function(t,e,n){var r=n-e,i=new Int32Array(r);return o.a.arraycopy(t,e,i,0,r),i},t.binarySearch=function(e,n,r){void 0===r&&(r=t.numberComparator);for(var o=0,i=e.length-1;o<=i;){var a=i+o>>1,s=r(n,e[a]);if(s>0)o=a+1;else{if(!(s<0))return a;i=a-1}}return-o-1},t.numberComparator=function(t,e){return t-e},t}();e.a=c},function(t,e,n){"use strict";var r;!function(t){t[t.ERROR_CORRECTION=0]="ERROR_CORRECTION",t[t.CHARACTER_SET=1]="CHARACTER_SET",t[t.DATA_MATRIX_SHAPE=2]="DATA_MATRIX_SHAPE",t[t.MIN_SIZE=3]="MIN_SIZE",t[t.MAX_SIZE=4]="MAX_SIZE",t[t.MARGIN=5]="MARGIN",t[t.PDF417_COMPACT=6]="PDF417_COMPACT",t[t.PDF417_COMPACTION=7]="PDF417_COMPACTION",t[t.PDF417_DIMENSIONS=8]="PDF417_DIMENSIONS",t[t.AZTEC_LAYERS=9]="AZTEC_LAYERS",t[t.QR_VERSION=10]="QR_VERSION"}(r||(r={})),e.a=r},function(t,e,n){"use strict";var r,o=n(35),i=n(59),a=n(7),s=n(3),u=n(61),l=(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),c=function(t){function e(e,n,r){var i=t.call(this)||this;i.primitive=e,i.size=n,i.generatorBase=r;for(var a=new Int32Array(n),s=1,u=0;u<n;u++)a[u]=s,(s*=2)>=n&&(s^=e,s&=n-1);i.expTable=a;var l=new Int32Array(n);for(u=0;u<n-1;u++)l[a[u]]=u;return i.logTable=l,i.zero=new o.a(i,Int32Array.from([0])),i.one=new o.a(i,Int32Array.from([1])),i}return l(e,t),e.prototype.getZero=function(){return this.zero},e.prototype.getOne=function(){return this.one},e.prototype.buildMonomial=function(t,e){if(t<0)throw new s.a;if(0===e)return this.zero;var n=new Int32Array(t+1);return n[0]=e,new o.a(this,n)},e.prototype.inverse=function(t){if(0===t)throw new u.a;return this.expTable[this.size-this.logTable[t]-1]},e.prototype.multiply=function(t,e){return 0===t||0===e?0:this.expTable[(this.logTable[t]+this.logTable[e])%(this.size-1)]},e.prototype.getSize=function(){return this.size},e.prototype.getGeneratorBase=function(){return this.generatorBase},e.prototype.toString=function(){return"GF(0x"+a.a.toHexString(this.primitive)+","+this.size+")"},e.prototype.equals=function(t){return t===this},e.AZTEC_DATA_12=new e(4201,4096,1),e.AZTEC_DATA_10=new e(1033,1024,1),e.AZTEC_DATA_6=new e(67,64,1),e.AZTEC_PARAM=new e(19,16,1),e.QR_CODE_FIELD_256=new e(285,256,0),e.DATA_MATRIX_FIELD_256=new e(301,256,1),e.AZTEC_DATA_8=e.DATA_MATRIX_FIELD_256,e.MAXICODE_FIELD_64=e.AZTEC_DATA_6,e}(i.a);e.a=c},function(t,e,n){"use strict";t.exports=n(137)},function(t,e,n){"use strict";var r,o=n(5),i=n(12),a=n(14),s=n(21),u=n(4),l=n(22),c=n(1),f=n(2),p=(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),d=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.decodeRowStringBuffer="",e}return p(e,t),e.findStartGuardPattern=function(t){for(var n,r=!1,o=0,i=Int32Array.from([0,0,0]);!r;){i=Int32Array.from([0,0,0]);var a=(n=e.findGuardPattern(t,o,!1,this.START_END_PATTERN,i))[0],s=a-((o=n[1])-a);s>=0&&(r=t.isRange(s,a,!1))}return n},e.checkChecksum=function(t){return e.checkStandardUPCEANChecksum(t)},e.checkStandardUPCEANChecksum=function(t){var n=t.length;if(0===n)return!1;var r=parseInt(t.charAt(n-1),10);return e.getStandardUPCEANChecksum(t.substring(0,n-1))===r},e.getStandardUPCEANChecksum=function(t){for(var e=t.length,n=0,r=e-1;r>=0;r-=2){if((o=t.charAt(r).charCodeAt(0)-"0".charCodeAt(0))<0||o>9)throw new f.a;n+=o}n*=3;for(r=e-2;r>=0;r-=2){var o;if((o=t.charAt(r).charCodeAt(0)-"0".charCodeAt(0))<0||o>9)throw new f.a;n+=o}return(1e3-n)%10},e.decodeEnd=function(t,n){return e.findGuardPattern(t,n,!1,e.START_END_PATTERN,new Int32Array(e.START_END_PATTERN.length).fill(0))},e.findGuardPatternWithoutCounters=function(t,e,n,r){return this.findGuardPattern(t,e,n,r,new Int32Array(r.length))},e.findGuardPattern=function(t,n,r,o,i){for(var a=t.getSize(),s=0,u=n=r?t.getNextUnset(n):t.getNextSet(n),f=o.length,p=r,d=n;d<a;d++)if(t.get(d)!==p)i[s]++;else{if(s===f-1){if(l.a.patternMatchVariance(i,o,e.MAX_INDIVIDUAL_VARIANCE)<e.MAX_AVG_VARIANCE)return Int32Array.from([u,d]);u+=i[0]+i[1];for(var h=i.slice(2,i.length-1),g=0;g<s-1;g++)i[g]=h[g];i[s-1]=0,i[s]=0,s--}else s++;i[s]=1,p=!p}throw new c.a},e.decodeDigit=function(t,n,r,o){this.recordPattern(t,r,n);for(var i=this.MAX_AVG_VARIANCE,a=-1,s=o.length,u=0;u<s;u++){var f=o[u],p=l.a.patternMatchVariance(n,f,e.MAX_INDIVIDUAL_VARIANCE);p<i&&(i=p,a=u)}if(a>=0)return a;throw new c.a},e.MAX_AVG_VARIANCE=.48,e.MAX_INDIVIDUAL_VARIANCE=.7,e.START_END_PATTERN=Int32Array.from([1,1,1]),e.MIDDLE_PATTERN=Int32Array.from([1,1,1,1,1]),e.END_PATTERN=Int32Array.from([1,1,1,1,1,1]),e.L_PATTERNS=[Int32Array.from([3,2,1,1]),Int32Array.from([2,2,2,1]),Int32Array.from([2,1,2,2]),Int32Array.from([1,4,1,1]),Int32Array.from([1,1,3,2]),Int32Array.from([1,2,3,1]),Int32Array.from([1,1,1,4]),Int32Array.from([1,3,1,2]),Int32Array.from([1,2,1,3]),Int32Array.from([3,1,1,2])],e}(l.a),h=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},g=function(){function t(){this.CHECK_DIGIT_ENCODINGS=[24,20,18,17,12,6,3,10,9,5],this.decodeMiddleCounters=Int32Array.from([0,0,0,0]),this.decodeRowStringBuffer=""}return t.prototype.decodeRow=function(e,n,r){var i=this.decodeRowStringBuffer,s=this.decodeMiddle(n,r,i),l=i.toString(),c=t.parseExtensionString(l),f=[new u.a((r[0]+r[1])/2,e),new u.a(s,e)],p=new a.a(l,null,0,f,o.a.UPC_EAN_EXTENSION,(new Date).getTime());return null!=c&&p.putAllMetadata(c),p},t.prototype.decodeMiddle=function(e,n,r){var o,i,a=this.decodeMiddleCounters;a[0]=0,a[1]=0,a[2]=0,a[3]=0;for(var s=e.getSize(),u=n[1],l=0,f=0;f<5&&u<s;f++){var p=d.decodeDigit(e,a,u,d.L_AND_G_PATTERNS);r+=String.fromCharCode("0".charCodeAt(0)+p%10);try{for(var g=(o=void 0,h(a)),y=g.next();!y.done;y=g.next()){u+=y.value}}catch(t){o={error:t}}finally{try{y&&!y.done&&(i=g.return)&&i.call(g)}finally{if(o)throw o.error}}p>=10&&(l|=1<<4-f),4!==f&&(u=e.getNextSet(u),u=e.getNextUnset(u))}if(5!==r.length)throw new c.a;var v=this.determineCheckDigit(l);if(t.extensionChecksum(r.toString())!==v)throw new c.a;return u},t.extensionChecksum=function(t){for(var e=t.length,n=0,r=e-2;r>=0;r-=2)n+=t.charAt(r).charCodeAt(0)-"0".charCodeAt(0);n*=3;for(r=e-1;r>=0;r-=2)n+=t.charAt(r).charCodeAt(0)-"0".charCodeAt(0);return(n*=3)%10},t.prototype.determineCheckDigit=function(t){for(var e=0;e<10;e++)if(t===this.CHECK_DIGIT_ENCODINGS[e])return e;throw new c.a},t.parseExtensionString=function(e){if(5!==e.length)return null;var n=t.parseExtension5String(e);return null==n?null:new Map([[s.a.SUGGESTED_PRICE,n]])},t.parseExtension5String=function(t){var e;switch(t.charAt(0)){case"0":e="£";break;case"5":e="$";break;case"9":switch(t){case"90000":return null;case"99991":return"0.00";case"99990":return"Used"}e="";break;default:e=""}var n=parseInt(t.substring(1)),r=n%100;return e+(n/100).toString()+"."+(r<10?"0"+r:r.toString())},t}(),y=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},v=function(){function t(){this.decodeMiddleCounters=Int32Array.from([0,0,0,0]),this.decodeRowStringBuffer=""}return t.prototype.decodeRow=function(e,n,r){var i=this.decodeRowStringBuffer,s=this.decodeMiddle(n,r,i),l=i.toString(),c=t.parseExtensionString(l),f=[new u.a((r[0]+r[1])/2,e),new u.a(s,e)],p=new a.a(l,null,0,f,o.a.UPC_EAN_EXTENSION,(new Date).getTime());return null!=c&&p.putAllMetadata(c),p},t.prototype.decodeMiddle=function(t,e,n){var r,o,i=this.decodeMiddleCounters;i[0]=0,i[1]=0,i[2]=0,i[3]=0;for(var a=t.getSize(),s=e[1],u=0,l=0;l<2&&s<a;l++){var f=d.decodeDigit(t,i,s,d.L_AND_G_PATTERNS);n+=String.fromCharCode("0".charCodeAt(0)+f%10);try{for(var p=(r=void 0,y(i)),h=p.next();!h.done;h=p.next()){s+=h.value}}catch(t){r={error:t}}finally{try{h&&!h.done&&(o=p.return)&&o.call(p)}finally{if(r)throw r.error}}f>=10&&(u|=1<<1-l),1!==l&&(s=t.getNextSet(s),s=t.getNextUnset(s))}if(2!==n.length)throw new c.a;if(parseInt(n.toString())%4!==u)throw new c.a;return s},t.parseExtensionString=function(t){return 2!==t.length?null:new Map([[s.a.ISSUE_NUMBER,parseInt(t)]])},t}(),m=function(){function t(){}return t.decodeRow=function(t,e,n){var r=d.findGuardPattern(e,n,!1,this.EXTENSION_START_PATTERN,new Int32Array(this.EXTENSION_START_PATTERN.length).fill(0));try{return(new g).decodeRow(t,e,r)}catch(n){return(new v).decodeRow(t,e,r)}},t.EXTENSION_START_PATTERN=Int32Array.from([1,1,2]),t}(),w=n(18),E=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),b=function(t){function e(){var n=t.call(this)||this;n.decodeRowStringBuffer="",e.L_AND_G_PATTERNS=e.L_PATTERNS.map((function(t){return Int32Array.from(t)}));for(var r=10;r<20;r++){for(var o=e.L_PATTERNS[r-10],i=new Int32Array(o.length),a=0;a<o.length;a++)i[a]=o[o.length-a-1];e.L_AND_G_PATTERNS[r]=i}return n}return E(e,t),e.prototype.decodeRow=function(t,n,r){var l=e.findStartGuardPattern(n),p=null==r?null:r.get(i.a.NEED_RESULT_POINT_CALLBACK);if(null!=p){var d=new u.a((l[0]+l[1])/2,t);p.foundPossibleResultPoint(d)}var h=this.decodeMiddle(n,l,this.decodeRowStringBuffer),g=h.rowOffset,y=h.resultString;if(null!=p){var v=new u.a(g,t);p.foundPossibleResultPoint(v)}var E=e.decodeEnd(n,g);if(null!=p){var b=new u.a((E[0]+E[1])/2,t);p.foundPossibleResultPoint(b)}var _=E[1],C=_+(_-E[0]);if(C>=n.getSize()||!n.isRange(_,C,!1))throw new c.a;var S=y.toString();if(S.length<8)throw new f.a;if(!e.checkChecksum(S))throw new w.a;var A=(l[1]+l[0])/2,O=(E[1]+E[0])/2,I=this.getBarcodeFormat(),T=[new u.a(A,t),new u.a(O,t)],R=new a.a(S,null,0,T,I,(new Date).getTime()),N=0;try{var D=m.decodeRow(t,n,E[1]);R.putMetadata(s.a.UPC_EAN_EXTENSION,D.getText()),R.putAllMetadata(D.getResultMetadata()),R.addResultPoints(D.getResultPoints()),N=D.getText().length}catch(t){}var P=null==r?null:r.get(i.a.ALLOWED_EAN_EXTENSIONS);if(null!=P){var x=!1;for(var k in P)if(N.toString()===k){x=!0;break}if(!x)throw new c.a}return I===o.a.EAN_13||o.a.UPC_A,R},e.checkChecksum=function(t){return e.checkStandardUPCEANChecksum(t)},e.checkStandardUPCEANChecksum=function(t){var n=t.length;if(0===n)return!1;var r=parseInt(t.charAt(n-1),10);return e.getStandardUPCEANChecksum(t.substring(0,n-1))===r},e.getStandardUPCEANChecksum=function(t){for(var e=t.length,n=0,r=e-1;r>=0;r-=2){if((o=t.charAt(r).charCodeAt(0)-"0".charCodeAt(0))<0||o>9)throw new f.a;n+=o}n*=3;for(r=e-2;r>=0;r-=2){var o;if((o=t.charAt(r).charCodeAt(0)-"0".charCodeAt(0))<0||o>9)throw new f.a;n+=o}return(1e3-n)%10},e.decodeEnd=function(t,n){return e.findGuardPattern(t,n,!1,e.START_END_PATTERN,new Int32Array(e.START_END_PATTERN.length).fill(0))},e}(d);e.a=b},function(t,e,n){"use strict";var r,o=n(15),i=(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.kind="IllegalStateException",e}(o.a);e.a=a},function(t,e,n){"use strict";var r=n(48),o=n(20),i=function(){function t(){}return t.decode=function(t,e){var n=this.encodingName(e);return this.customDecoder?this.customDecoder(t,n):"undefined"==typeof TextDecoder||this.shouldDecodeOnFallback(n)?this.decodeFallback(t,n):new TextDecoder(n).decode(t)},t.shouldDecodeOnFallback=function(e){return!t.isBrowser()&&"ISO-8859-1"===e},t.encode=function(t,e){var n=this.encodingName(e);return this.customEncoder?this.customEncoder(t,n):"undefined"==typeof TextEncoder?this.encodeFallback(t):(new TextEncoder).encode(t)},t.isBrowser=function(){return"undefined"!=typeof window&&"[object Window]"==={}.toString.call(window)},t.encodingName=function(t){return"string"==typeof t?t:t.getName()},t.encodingCharacterSet=function(t){return t instanceof o.a?t:o.a.getCharacterSetECIByName(t)},t.decodeFallback=function(e,n){var i=this.encodingCharacterSet(n);if(t.isDecodeFallbackSupported(i)){for(var a="",s=0,u=e.length;s<u;s++){var l=e[s].toString(16);l.length<2&&(l="0"+l),a+="%"+l}return decodeURIComponent(a)}if(i.equals(o.a.UnicodeBigUnmarked))return String.fromCharCode.apply(null,new Uint16Array(e.buffer));throw new r.a("Encoding "+this.encodingName(n)+" not supported by fallback.")},t.isDecodeFallbackSupported=function(t){return t.equals(o.a.UTF8)||t.equals(o.a.ISO8859_1)||t.equals(o.a.ASCII)},t.encodeFallback=function(t){for(var e=btoa(unescape(encodeURIComponent(t))).split(""),n=[],r=0;r<e.length;r++)n.push(e[r].charCodeAt(0));return new Uint8Array(n)},t}();e.a=i},function(t,e,n){var r;r=function(t){return function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n={};return e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="/",e(e.s=166)}([function(t,e){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},function(t,e,n){"use strict";function r(t,e){return this._row=[],this.config=t||{},this.supplements=e,this}var o=n(3);r.prototype._nextUnset=function(t,e){var n;for(void 0===e&&(e=0),n=e;n<t.length;n++)if(!t[n])return n;return t.length},r.prototype._matchPattern=function(t,e,n){var r,o,i,a,s=0,u=0,l=0,c=0;for(n=n||this.SINGLE_CODE_ERROR||1,r=0;r<t.length;r++)l+=t[r],c+=e[r];if(l<c)return Number.MAX_VALUE;for(n*=o=l/c,r=0;r<t.length;r++){if(i=t[r],a=e[r]*o,(u=Math.abs(i-a)/a)>n)return Number.MAX_VALUE;s+=u}return s/c},r.prototype._nextSet=function(t,e){var n;for(n=e=e||0;n<t.length;n++)if(t[n])return n;return t.length},r.prototype._correctBars=function(t,e,n){for(var r=n.length,o=0;r--;)(o=t[n[r]]*(1-(1-e)/2))>1&&(t[n[r]]=o)},r.prototype._matchTrace=function(t,e){var n,r=[],o=this,i=o._nextSet(o._row),a=!o._row[i],s=0,u={error:Number.MAX_VALUE,code:-1,start:0};if(t){for(n=0;n<t.length;n++)r.push(0);for(n=i;n<o._row.length;n++)if(o._row[n]^a)r[s]++;else{if(s===r.length-1)return o._matchPattern(r,t)<e?(u.start=n-i,u.end=n,u.counter=r,u):null;r[++s]=1,a=!a}}else for(r.push(0),n=i;n<o._row.length;n++)o._row[n]^a?r[s]++:(s++,r.push(0),r[s]=1,a=!a);return u.start=i,u.end=o._row.length-1,u.counter=r,u},r.prototype.decodePattern=function(t){var e,n=this;return n._row=t,null===(e=n._decode())?(n._row.reverse(),(e=n._decode())&&(e.direction=r.DIRECTION.REVERSE,e.start=n._row.length-e.start,e.end=n._row.length-e.end)):e.direction=r.DIRECTION.FORWARD,e&&(e.format=n.FORMAT),e},r.prototype._matchRange=function(t,e,n){var r;for(r=t=t<0?0:t;r<e;r++)if(this._row[r]!==n)return!1;return!0},r.prototype._fillCounters=function(t,e,n){var r,o=this,i=0,a=[];for(n=void 0===n||n,t=void 0!==t?t:o._nextUnset(o._row),e=e||o._row.length,a[i]=0,r=t;r<e;r++)o._row[r]^n?a[i]++:(a[++i]=1,n=!n);return a},r.prototype._toCounters=function(t,e){var n,r=this,i=e.length,a=r._row.length,s=!r._row[t],u=0;for(o.a.init(e,0),n=t;n<a;n++)if(r._row[n]^s)e[u]++;else{if(++u===i)break;e[u]=1,s=!s}return e},Object.defineProperty(r.prototype,"FORMAT",{value:"unknown",writeable:!1}),r.DIRECTION={FORWARD:1,REVERSE:-1},r.Exception={StartNotFoundException:"Start-Info was not found!",CodeNotFoundException:"Code could not be found!",PatternNotFoundException:"Pattern could not be found!"},r.CONFIG_KEYS={},e.a=r},function(t,e){var n=Array.isArray;t.exports=n},function(t,e,n){"use strict";e.a={init:function(t,e){for(var n=t.length;n--;)t[n]=e},shuffle:function(t){for(var e,n,r=t.length-1;r>=0;r--)e=Math.floor(Math.random()*r),n=t[r],t[r]=t[e],t[e]=n;return t},toPointList:function(t){var e,n,r=[],o=[];for(e=0;e<t.length;e++){for(r=[],n=0;n<t[e].length;n++)r[n]=t[e][n];o[e]="["+r.join(",")+"]"}return"["+o.join(",\r\n")+"]"},threshold:function(t,e,n){var r,o=[];for(r=0;r<t.length;r++)n.apply(t,[t[r]])>=e&&o.push(t[r]);return o},maxIndex:function(t){var e,n=0;for(e=0;e<t.length;e++)t[e]>t[n]&&(n=e);return n},max:function(t){var e,n=0;for(e=0;e<t.length;e++)t[e]>n&&(n=t[e]);return n},sum:function(t){for(var e=t.length,n=0;e--;)n+=t[e];return n}}},function(t,e,n){"use strict";function r(t,e){t=i()(function(){var t={};return Object.keys(r.CONFIG_KEYS).forEach((function(e){t[e]=r.CONFIG_KEYS[e].default})),t}(),t),a.a.call(this,t,e)}var o=n(28),i=n.n(o),a=n(1),s=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t};r.prototype=Object.create(a.a.prototype,{CODE_L_START:{value:0},CODE_G_START:{value:10},START_PATTERN:{value:[1,1,1]},STOP_PATTERN:{value:[1,1,1]},MIDDLE_PATTERN:{value:[1,1,1,1,1]},EXTENSION_START_PATTERN:{value:[1,1,2]},CODE_PATTERN:{value:[[3,2,1,1],[2,2,2,1],[2,1,2,2],[1,4,1,1],[1,1,3,2],[1,2,3,1],[1,1,1,4],[1,3,1,2],[1,2,1,3],[3,1,1,2],[1,1,2,3],[1,2,2,2],[2,2,1,2],[1,1,4,1],[2,3,1,1],[1,3,2,1],[4,1,1,1],[2,1,3,1],[3,1,2,1],[2,1,1,3]]},CODE_FREQUENCY:{value:[0,11,13,14,19,25,28,21,22,26]},SINGLE_CODE_ERROR:{value:.7},AVG_CODE_ERROR:{value:.48},FORMAT:{value:"ean_13",writeable:!1}}),r.prototype.constructor=r,r.prototype._decodeCode=function(t,e){var n,r,o,i=[0,0,0,0],a=this,s=t,u=!a._row[s],l=0,c={error:Number.MAX_VALUE,code:-1,start:t,end:t};for(e||(e=a.CODE_PATTERN.length),n=s;n<a._row.length;n++)if(a._row[n]^u)i[l]++;else{if(l===i.length-1){for(r=0;r<e;r++)(o=a._matchPattern(i,a.CODE_PATTERN[r]))<c.error&&(c.code=r,c.error=o);return c.end=n,c.error>a.AVG_CODE_ERROR?null:c}i[++l]=1,u=!u}return null},r.prototype._findPattern=function(t,e,n,r,o){var i,a,s,u,l=[],c=this,f=0,p={error:Number.MAX_VALUE,code:-1,start:0,end:0};for(e||(e=c._nextSet(c._row)),void 0===n&&(n=!1),void 0===r&&(r=!0),void 0===o&&(o=c.AVG_CODE_ERROR),i=0;i<t.length;i++)l[i]=0;for(i=e;i<c._row.length;i++)if(c._row[i]^n)l[f]++;else{if(f===l.length-1){for(u=0,s=0;s<l.length;s++)u+=l[s];if((a=c._matchPattern(l,t))<o)return p.error=a,p.start=i-u,p.end=i,p;if(!r)return null;for(s=0;s<l.length-2;s++)l[s]=l[s+2];l[l.length-2]=0,l[l.length-1]=0,f--}else f++;l[f]=1,n=!n}return null},r.prototype._findStart=function(){for(var t,e,n=this,r=n._nextSet(n._row);!e;){if(!(e=n._findPattern(n.START_PATTERN,r)))return null;if((t=e.start-(e.end-e.start))>=0&&n._matchRange(t,e.start,0))return e;r=e.end,e=null}},r.prototype._verifyTrailingWhitespace=function(t){var e;return(e=t.end+(t.end-t.start))<this._row.length&&this._matchRange(t.end,e,0)?t:null},r.prototype._findEnd=function(t,e){var n=this,r=n._findPattern(n.STOP_PATTERN,t,e,!1);return null!==r?n._verifyTrailingWhitespace(r):null},r.prototype._calculateFirstDigit=function(t){var e;for(e=0;e<this.CODE_FREQUENCY.length;e++)if(t===this.CODE_FREQUENCY[e])return e;return null},r.prototype._decodePayload=function(t,e,n){var r,o,i=this,a=0;for(r=0;r<6;r++){if(!(t=i._decodeCode(t.end)))return null;t.code>=i.CODE_G_START?(t.code=t.code-i.CODE_G_START,a|=1<<5-r):a|=0<<5-r,e.push(t.code),n.push(t)}if(null===(o=i._calculateFirstDigit(a)))return null;if(e.unshift(o),null===(t=i._findPattern(i.MIDDLE_PATTERN,t.end,!0,!1)))return null;for(n.push(t),r=0;r<6;r++){if(!(t=i._decodeCode(t.end,i.CODE_G_START)))return null;n.push(t),e.push(t.code)}return t},r.prototype._decode=function(){var t,e,n=this,r=[],o=[],i={};if(!(t=n._findStart()))return null;if(e={code:t.code,start:t.start,end:t.end},o.push(e),!(e=n._decodePayload(e,r,o)))return null;if(!(e=n._findEnd(e.end,!1)))return null;if(o.push(e),!n._checksum(r))return null;if(this.supplements.length>0){var a=this._decodeExtensions(e.end);if(!a)return null;var u=a.decodedCodes[a.decodedCodes.length-1],l={start:u.start+((u.end-u.start)/2|0),end:u.end};if(!n._verifyTrailingWhitespace(l))return null;i={supplement:a,code:r.join("")+a.code}}return s({code:r.join(""),start:t.start,end:e.end,codeset:"",startInfo:t,decodedCodes:o},i)},r.prototype._decodeExtensions=function(t){var e,n,r=this._nextSet(this._row,t),o=this._findPattern(this.EXTENSION_START_PATTERN,r,!1,!1);if(null===o)return null;for(e=0;e<this.supplements.length;e++)if(null!==(n=this.supplements[e].decode(this._row,o.end)))return{code:n.code,start:r,startInfo:o,end:n.end,codeset:"",decodedCodes:n.decodedCodes};return null},r.prototype._checksum=function(t){var e,n=0;for(e=t.length-2;e>=0;e-=2)n+=t[e];for(n*=3,e=t.length-1;e>=0;e-=2)n+=t[e];return n%10==0},r.CONFIG_KEYS={supplements:{type:"arrayOf(string)",default:[],description:"Allowed extensions to be decoded (2 and/or 5)"}},e.a=r},function(t,e,n){var r=n(38),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();t.exports=i},function(t,e){t.exports=function(t){return null!=t&&"object"==typeof t}},function(t,e){t.exports=function(t){var e=new Float32Array(2);return e[0]=t[0],e[1]=t[1],e}},function(t,e,n){var r=n(11),o=n(119),i=n(146),a="[object Null]",s="[object Undefined]",u=r?r.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?s:a:u&&u in Object(t)?o(t):i(t)}},function(t,e,n){"use strict";e.a={drawRect:function(t,e,n,r){n.strokeStyle=r.color,n.fillStyle=r.color,n.lineWidth=1,n.beginPath(),n.strokeRect(t.x,t.y,e.x,e.y)},drawPath:function(t,e,n,r){n.strokeStyle=r.color,n.fillStyle=r.color,n.lineWidth=r.lineWidth,n.beginPath(),n.moveTo(t[0][e.x],t[0][e.y]);for(var o=1;o<t.length;o++)n.lineTo(t[o][e.x],t[o][e.y]);n.closePath(),n.stroke()},drawImage:function(t,e,n){var r,o=n.getImageData(0,0,e.x,e.y),i=o.data,a=t.length,s=i.length;if(s/a!=4)return!1;for(;a--;)r=t[a],i[--s]=255,i[--s]=r,i[--s]=r,i[--s]=r;return n.putImageData(o,0,0),!0}}},function(t,e,n){function r(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}var o=n(133),i=n(134),a=n(135),s=n(136),u=n(137);r.prototype.clear=o,r.prototype.delete=i,r.prototype.get=a,r.prototype.has=s,r.prototype.set=u,t.exports=r},function(t,e,n){var r=n(5).Symbol;t.exports=r},function(t,e,n){var r=n(17);t.exports=function(t,e){for(var n=t.length;n--;)if(r(t[n][0],e))return n;return-1}},function(t,e,n){var r=n(2),o=n(130),i=n(154),a=n(165);t.exports=function(t,e){return r(t)?t:o(t,e)?[t]:i(a(t))}},function(t,e,n){var r=n(131);t.exports=function(t,e){var n=t.__data__;return r(e)?n["string"==typeof e?"string":"hash"]:n.map}},function(t,e){var n=9007199254740991,r=/^(?:0|[1-9]\d*)$/;t.exports=function(t,e){return!!(e=null==e?n:e)&&("number"==typeof t||r.test(t))&&t>-1&&t%1==0&&t<e}},function(t,e,n){var r=n(22)(Object,"create");t.exports=r},function(t,e){t.exports=function(t,e){return t===e||t!=t&&e!=e}},function(t,e,n){var r=n(96),o=n(6),i=Object.prototype,a=i.hasOwnProperty,s=i.propertyIsEnumerable,u=r(function(){return arguments}())?r:function(t){return o(t)&&a.call(t,"callee")&&!s.call(t,"callee")};t.exports=u},function(t,e,n){"use strict";function r(t,e){function n(t,e){var n,r=0;for(n=t;n<=e;n++)r+=o[n];return r}function r(t,e){var n,r=0;for(n=t;n<=e;n++)r+=n*o[n];return r}e||(e=8);var o,i=8-e;return function(){var i,s,u,l,c,f=[0],p=(1<<e)-1;for(o=function(t,e){e||(e=8);for(var n=t.data,r=n.length,o=8-e,i=new Int32Array(1<<e);r--;)i[n[r]>>o]++;return i}(t,e),l=1;l<p;l++)0==(u=(i=n(0,l))*(s=n(l+1,p)))&&(u=1),c=r(0,l)*s-r(l+1,p)*i,f[l]=c*c/u;return a.a.maxIndex(f)}()<<i}function o(t){var e,n=[],r=[];for(e=1;e<Math.sqrt(t)+1;e++)t%e==0&&(r.push(e),e!==t/e&&n.unshift(Math.floor(t/e)));return r.concat(n)}var i=n(50),a=n(3);e.b=function(t,e){return{x:t,y:e,toVec2:function(){return s.clone([this.x,this.y])},toVec3:function(){return u.clone([this.x,this.y,1])},round:function(){return this.x=this.x>0?Math.floor(this.x+.5):Math.floor(this.x-.5),this.y=this.y>0?Math.floor(this.y+.5):Math.floor(this.y-.5),this}}},e.f=function(t,e){var n=r(t);return function(t,e,n){n||(n=t);for(var r=t.data,o=r.length,i=n.data;o--;)i[o]=r[o]<e?1:0}(t,n,e),n},e.g=function(t,e,n){function r(t){var e=!1;for(a=0;a<l.length;a++)(s=l[a]).fits(t)&&(s.add(t),e=!0);return e}var o,a,s,u,l=[];for(n||(n="rad"),o=0;o<t.length;o++)r(u=i.a.createPoint(t[o],o,n))||l.push(i.a.create(u,e));return l},e.h=function(t,e,n){var r,o,i,a,s=0,u=0,l=[];for(r=0;r<e;r++)l[r]={score:0,item:null};for(r=0;r<t.length;r++)if((o=n.apply(this,[t[r]]))>u)for((i=l[s]).score=o,i.item=t[r],u=Number.MAX_VALUE,a=0;a<e;a++)l[a].score<u&&(u=l[a].score,s=a);return l},e.c=function(t,e,n){for(var r,o=0,i=e.x,a=Math.floor(t.length/4),s=e.x/2,u=0,l=e.x;i<a;){for(r=0;r<s;r++)n[u]=(.299*t[4*o+0]+.587*t[4*o+1]+.114*t[4*o+2]+(.299*t[4*(o+1)+0]+.587*t[4*(o+1)+1]+.114*t[4*(o+1)+2])+(.299*t[4*i+0]+.587*t[4*i+1]+.114*t[4*i+2])+(.299*t[4*(i+1)+0]+.587*t[4*(i+1)+1]+.114*t[4*(i+1)+2]))/4,u++,o+=2,i+=2;o+=l,i+=l}},e.d=function(t,e,n){var r,o=t.length/4|0;if(n&&!0===n.singleChannel)for(r=0;r<o;r++)e[r]=t[4*r+0];else for(r=0;r<o;r++)e[r]=.299*t[4*r+0]+.587*t[4*r+1]+.114*t[4*r+2]},e.i=function(t,e){for(var n=t.data,r=t.size.x,o=e.data,i=0,a=r,s=n.length,u=r/2,l=0;a<s;){for(var c=0;c<u;c++)o[l]=Math.floor((n[i]+n[i+1]+n[a]+n[a+1])/4),l++,i+=2,a+=2;i+=r,a+=r}},e.a=function(t,e){var n=t[0],r=t[1],o=t[2],i=o*r,a=i*(1-Math.abs(n/60%2-1)),s=o-i,u=0,l=0,c=0;return n<60?(u=i,l=a):n<120?(u=a,l=i):n<180?(l=i,c=a):n<240?(l=a,c=i):n<300?(u=a,c=i):n<360&&(u=i,c=a),(e=e||[0,0,0])[0]=255*(u+s)|0,e[1]=255*(l+s)|0,e[2]=255*(c+s)|0,e},e.e=function(t,e){function n(t){for(var e=0,n=t[Math.floor(t.length/2)];e<t.length-1&&t[e]<d;)e++;return e>0&&(n=Math.abs(t[e]-d)>Math.abs(t[e-1]-d)?t[e-1]:t[e]),d/n<l[f+1]/l[f]&&d/n>l[f-1]/l[f]?{x:n,y:n}:null}var r,i=o(e.x),a=o(e.y),s=Math.max(e.x,e.y),u=function(t,e){for(var n=0,r=0,o=[];n<t.length&&r<e.length;)t[n]===e[r]?(o.push(t[n]),n++,r++):t[n]>e[r]?r++:n++;return o}(i,a),l=[8,10,15,20,32,60,80],c={"x-small":5,small:4,medium:3,large:2,"x-large":1},f=c[t]||c.medium,p=l[f],d=Math.floor(s/p);return(r=n(u))||(r=n(o(s)))||(r=n(o(d*p))),r},e.j=function(t,e,n){var r={width:t,height:e},o=Object.keys(n).reduce((function(t,e){var o=function(t){return{value:parseFloat(t),unit:(t.indexOf("%"),t.length,"%")}}(n[e]),i=l[e](o,r);return t[e]=i,t}),{});return{sx:o.left,sy:o.top,sw:o.right-o.left,sh:o.bottom-o.top}};var s={clone:n(7)},u={clone:n(83)},l={top:function(t,e){if("%"===t.unit)return Math.floor(e.height*(t.value/100))},right:function(t,e){if("%"===t.unit)return Math.floor(e.width-e.width*(t.value/100))},bottom:function(t,e){if("%"===t.unit)return Math.floor(e.height-e.height*(t.value/100))},left:function(t,e){if("%"===t.unit)return Math.floor(e.width*(t.value/100))}}},function(t,e,n){"use strict";function r(t,e,n,r){e?this.data=e:n?(this.data=new n(t.x*t.y),n===Array&&r&&a.a.init(this.data,0)):(this.data=new Uint8Array(t.x*t.y),Uint8Array===Array&&r&&a.a.init(this.data,0)),this.size=t}var o=n(53),i=n(19),a=n(3),s={clone:n(7)};r.prototype.inImageWithBorder=function(t,e){return t.x>=e&&t.y>=e&&t.x<this.size.x-e&&t.y<this.size.y-e},r.sample=function(t,e,n){var r=Math.floor(e),o=Math.floor(n),i=t.size.x,a=o*t.size.x+r,s=t.data[a+0],u=t.data[a+1],l=t.data[a+i],c=t.data[a+i+1],f=s-u;return e-=r,n-=o,Math.floor(e*(n*(f-l+c)-f)+n*(l-s)+s)},r.clearArray=function(t){for(var e=t.length;e--;)t[e]=0},r.prototype.subImage=function(t,e){return new o.a(t,e,this)},r.prototype.subImageAsCopy=function(t,e){var n,r,o=t.size.y,i=t.size.x;for(n=0;n<i;n++)for(r=0;r<o;r++)t.data[r*i+n]=this.data[(e.y+r)*this.size.x+e.x+n]},r.prototype.copyTo=function(t){for(var e=this.data.length,n=this.data,r=t.data;e--;)r[e]=n[e]},r.prototype.get=function(t,e){return this.data[e*this.size.x+t]},r.prototype.getSafe=function(t,e){var n;if(!this.indexMapping){for(this.indexMapping={x:[],y:[]},n=0;n<this.size.x;n++)this.indexMapping.x[n]=n,this.indexMapping.x[n+this.size.x]=n;for(n=0;n<this.size.y;n++)this.indexMapping.y[n]=n,this.indexMapping.y[n+this.size.y]=n}return this.data[this.indexMapping.y[e+this.size.y]*this.size.x+this.indexMapping.x[t+this.size.x]]},r.prototype.set=function(t,e,n){return this.data[e*this.size.x+t]=n,this},r.prototype.zeroBorder=function(){var t,e=this.size.x,n=this.size.y,r=this.data;for(t=0;t<e;t++)r[t]=r[(n-1)*e+t]=0;for(t=1;t<n-1;t++)r[t*e]=r[t*e+(e-1)]=0},r.prototype.invert=function(){for(var t=this.data,e=t.length;e--;)t[e]=t[e]?0:1},r.prototype.convolve=function(t){var e,n,r,o,i=t.length/2|0,a=0;for(n=0;n<this.size.y;n++)for(e=0;e<this.size.x;e++){for(a=0,o=-i;o<=i;o++)for(r=-i;r<=i;r++)a+=t[o+i][r+i]*this.getSafe(e+r,n+o);this.data[n*this.size.x+e]=a}},r.prototype.moments=function(t){var e,n,r,o,i,a,u,l,c,f,p=this.data,d=this.size.y,h=this.size.x,g=[],y=[],v=Math.PI,m=v/4;if(t<=0)return y;for(i=0;i<t;i++)g[i]={m00:0,m01:0,m10:0,m11:0,m02:0,m20:0,theta:0,rad:0};for(n=0;n<d;n++)for(o=n*n,e=0;e<h;e++)(r=p[n*h+e])>0&&((a=g[r-1]).m00+=1,a.m01+=n,a.m10+=e,a.m11+=e*n,a.m02+=o,a.m20+=e*e);for(i=0;i<t;i++)a=g[i],isNaN(a.m00)||0===a.m00||(l=a.m10/a.m00,c=a.m01/a.m00,u=a.m11/a.m00-l*c,f=(a.m02/a.m00-c*c-(a.m20/a.m00-l*l))/(2*u),f=.5*Math.atan(f)+(u>=0?m:-m)+v,a.theta=(180*f/v+90)%180-90,a.theta<0&&(a.theta+=180),a.rad=f>v?f-v:f,a.vec=s.clone([Math.cos(f),Math.sin(f)]),y.push(a));return y},r.prototype.show=function(t,e){var n,r,o,i,a,s,u;for(e||(e=1),n=t.getContext("2d"),t.width=this.size.x,t.height=this.size.y,o=(r=n.getImageData(0,0,t.width,t.height)).data,i=0,u=0;u<this.size.y;u++)for(s=0;s<this.size.x;s++)a=u*this.size.x+s,i=this.get(s,u)*e,o[4*a+0]=i,o[4*a+1]=i,o[4*a+2]=i,o[4*a+3]=255;n.putImageData(r,0,0)},r.prototype.overlay=function(t,e,r){(!e||e<0||e>360)&&(e=360);for(var o=[0,1,1],a=[0,0,0],s=[255,255,255],u=[0,0,0],l=[],c=t.getContext("2d"),f=c.getImageData(r.x,r.y,this.size.x,this.size.y),p=f.data,d=this.data.length;d--;)o[0]=this.data[d]*e,l=o[0]<=0?s:o[0]>=360?u:n.i(i.a)(o,a),p[4*d+0]=l[0],p[4*d+1]=l[1],p[4*d+2]=l[2],p[4*d+3]=255;c.putImageData(f,r.x,r.y)},e.a=r},function(t,e,n){var r=n(37);t.exports=function(t,e,n){"__proto__"==e&&r?r(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}},function(t,e,n){var r=n(97),o=n(120);t.exports=function(t,e){var n=o(t,e);return r(n)?n:void 0}},function(t,e,n){var r=n(27),o=1/0;t.exports=function(t){if("string"==typeof t||r(t))return t;var e=t+"";return"0"==e&&1/t==-o?"-0":e}},function(t,e,n){var r=n(25),o=n(26);t.exports=function(t){return null!=t&&o(t.length)&&!r(t)}},function(t,e,n){var r=n(8),o=n(0),i="[object AsyncFunction]",a="[object Function]",s="[object GeneratorFunction]",u="[object Proxy]";t.exports=function(t){if(!o(t))return!1;var e=r(t);return e==a||e==s||e==i||e==u}},function(t,e){var n=9007199254740991;t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=n}},function(t,e,n){var r=n(8),o=n(6),i="[object Symbol]";t.exports=function(t){return"symbol"==typeof t||o(t)&&r(t)==i}},function(t,e,n){var r=n(100),o=n(116)((function(t,e,n){r(t,e,n)}));t.exports=o},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,e,n){"use strict";e.a={searchDirections:[[0,1],[1,1],[1,0],[1,-1],[0,-1],[-1,-1],[-1,0],[-1,1]],create:function(t,e){function n(t,e,n,r){var o,c,f;for(o=0;o<7;o++){if(c=t.cy+u[t.dir][0],f=t.cx+u[t.dir][1],a[i=c*l+f]===e&&(0===s[i]||s[i]===n))return s[i]=n,t.cy=c,t.cx=f,!0;0===s[i]&&(s[i]=r),t.dir=(t.dir+1)%8}return!1}function r(t,e,n){return{dir:n,x:t,y:e,next:null,prev:null}}function o(t,e,o,i,a){var s,u,l,c=null,f={cx:e,cy:t,dir:0};if(n(f,i,o,a)){s=c=r(e,t,f.dir),l=f.dir,(u=r(f.cx,f.cy,0)).prev=s,s.next=u,u.next=null,s=u;do{f.dir=(f.dir+6)%8,n(f,i,o,a),l!==f.dir?(s.dir=f.dir,(u=r(f.cx,f.cy,0)).prev=s,s.next=u,u.next=null,s=u):(s.dir=l,s.x=f.cx,s.y=f.cy),l=f.dir}while(f.cx!==e||f.cy!==t);c.prev=s.prev,s.prev.next=c}return c}var i,a=t.data,s=e.data,u=this.searchDirections,l=t.size.x;return{trace:function(t,e,r,o){return n(t,e,r,o)},contourTracing:function(t,e,n,r,i){return o(t,e,n,r,i)}}}}},function(t,e,n){"use strict";function r(){o.a.call(this)}var o=n(1),i=n(3);r.prototype=Object.create(o.a.prototype,{ALPHABETH_STRING:{value:"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-. *$/+%"},ALPHABET:{value:[48,49,50,51,52,53,54,55,56,57,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,45,46,32,42,36,47,43,37]},CHARACTER_ENCODINGS:{value:[52,289,97,352,49,304,112,37,292,100,265,73,328,25,280,88,13,268,76,28,259,67,322,19,274,82,7,262,70,22,385,193,448,145,400,208,133,388,196,148,168,162,138,42]},ASTERISK:{value:148},FORMAT:{value:"code_39",writeable:!1}}),r.prototype.constructor=r,r.prototype._decode=function(){var t,e,n,r,o=this,a=[0,0,0,0,0,0,0,0,0],s=[],u=o._findStart();if(!u)return null;r=o._nextSet(o._row,u.end);do{if(a=o._toCounters(r,a),(n=o._toPattern(a))<0)return null;if((t=o._patternToChar(n))<0)return null;s.push(t),e=r,r+=i.a.sum(a),r=o._nextSet(o._row,r)}while("*"!==t);return s.pop(),s.length&&o._verifyTrailingWhitespace(e,r,a)?{code:s.join(""),start:u.start,end:r,startInfo:u,decodedCodes:s}:null},r.prototype._verifyTrailingWhitespace=function(t,e,n){var r=i.a.sum(n);return 3*(e-t-r)>=r},r.prototype._patternToChar=function(t){var e,n=this;for(e=0;e<n.CHARACTER_ENCODINGS.length;e++)if(n.CHARACTER_ENCODINGS[e]===t)return String.fromCharCode(n.ALPHABET[e]);return-1},r.prototype._findNextWidth=function(t,e){var n,r=Number.MAX_VALUE;for(n=0;n<t.length;n++)t[n]<r&&t[n]>e&&(r=t[n]);return r},r.prototype._toPattern=function(t){for(var e,n,r=t.length,o=0,i=r,a=0;i>3;){for(o=this._findNextWidth(t,o),i=0,e=0,n=0;n<r;n++)t[n]>o&&(e|=1<<r-1-n,i++,a+=t[n]);if(3===i){for(n=0;n<r&&i>0;n++)if(t[n]>o&&(i--,2*t[n]>=a))return-1;return e}}return-1},r.prototype._findStart=function(){var t,e,n,r=this,o=r._nextSet(r._row),i=o,a=[0,0,0,0,0,0,0,0,0],s=0,u=!1;for(t=o;t<r._row.length;t++)if(r._row[t]^u)a[s]++;else{if(s===a.length-1){if(r._toPattern(a)===r.ASTERISK&&(n=Math.floor(Math.max(0,i-(t-i)/4)),r._matchRange(n,i,0)))return{start:i,end:t};for(i+=a[0]+a[1],e=0;e<7;e++)a[e]=a[e+2];a[7]=0,a[8]=0,s--}else s++;a[s]=1,u=!u}return null},e.a=r},function(t,e){t.exports=function(t,e){return t[0]*e[0]+t[1]*e[1]}},function(t,e,n){var r=n(22)(n(5),"Map");t.exports=r},function(t,e,n){function r(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}var o=n(138),i=n(139),a=n(140),s=n(141),u=n(142);r.prototype.clear=o,r.prototype.delete=i,r.prototype.get=a,r.prototype.has=s,r.prototype.set=u,t.exports=r},function(t,e,n){var r=n(21),o=n(17);t.exports=function(t,e,n){(void 0===n||o(t[e],n))&&(void 0!==n||e in t)||r(t,e,n)}},function(t,e,n){var r=n(21),o=n(17),i=Object.prototype.hasOwnProperty;t.exports=function(t,e,n){var a=t[e];i.call(t,e)&&o(a,n)&&(void 0!==n||e in t)||r(t,e,n)}},function(t,e,n){var r=n(22),o=function(){try{var t=r(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=o},function(t,e,n){(function(e){var n="object"==typeof e&&e&&e.Object===Object&&e;t.exports=n}).call(e,n(47))},function(t,e,n){var r=n(147)(Object.getPrototypeOf,Object);t.exports=r},function(t,e){var n=Object.prototype;t.exports=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||n)}},function(t,e,n){var r=n(87),o=Math.max;t.exports=function(t,e,n){return e=o(void 0===e?t.length-1:e,0),function(){for(var i=arguments,a=-1,s=o(i.length-e,0),u=Array(s);++a<s;)u[a]=i[e+a];a=-1;for(var l=Array(e+1);++a<e;)l[a]=i[a];return l[e]=n(u),r(t,this,l)}}},function(t,e,n){var r=n(106),o=n(148)(r);t.exports=o},function(t,e){t.exports=function(t){return t}},function(t,e,n){(function(t){var r=n(5),o=n(163),i="object"==typeof e&&e&&!e.nodeType&&e,a=i&&"object"==typeof t&&t&&!t.nodeType&&t,s=a&&a.exports===i?r.Buffer:void 0,u=(s?s.isBuffer:void 0)||o;t.exports=u}).call(e,n(29)(t))},function(t,e,n){var r=n(98),o=n(109),i=n(145),a=i&&i.isTypedArray,s=a?o(a):r;t.exports=s},function(t,e,n){var r=n(88),o=n(99),i=n(24);t.exports=function(t){return i(t)?r(t,!0):o(t)}},function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(e,n,r){"use strict";function o(t){(function(t){E=t||new I.a({x:v.getWidth(),y:v.getHeight()}),b=[F.clone([0,0]),F.clone([0,E.size.y]),F.clone([E.size.x,E.size.y]),F.clone([E.size.x,0])],T.a.init(E,j.locator)})(t),_=R.a.create(j.decoder,E)}function i(t){var e;if("VideoStream"===j.inputStream.type)e=document.createElement("video"),v=M.a.createVideoStream(e);else if("ImageStream"===j.inputStream.type)v=M.a.createImageStream();else if("LiveStream"===j.inputStream.type){var n=a();n&&((e=n.querySelector("video"))||(e=document.createElement("video"),n.appendChild(e))),v=M.a.createLiveStream(e),D.a.request(e,j.inputStream.constraints).then((function(){v.trigger("canrecord")})).catch((function(e){return t(e)}))}v.setAttribute("preload","auto"),v.setInputStream(j.inputStream),v.addEventListener("canrecord",s.bind(void 0,t))}function a(){var t=j.inputStream.target;if(t&&t.nodeName&&1===t.nodeType)return t;var e="string"==typeof t?t:"#interactive.viewport";return document.querySelector(e)}function s(t){T.a.checkImageConstraints(v,j.locator),function(){if("undefined"!=typeof document){var t=a();if(U.dom.image=document.querySelector("canvas.imgBuffer"),U.dom.image||(U.dom.image=document.createElement("canvas"),U.dom.image.className="imgBuffer",t&&"ImageStream"===j.inputStream.type&&t.appendChild(U.dom.image)),U.ctx.image=U.dom.image.getContext("2d"),U.dom.image.width=v.getCanvasSize().x,U.dom.image.height=v.getCanvasSize().y,U.dom.overlay=document.querySelector("canvas.drawingBuffer"),!U.dom.overlay){U.dom.overlay=document.createElement("canvas"),U.dom.overlay.className="drawingBuffer",t&&t.appendChild(U.dom.overlay);var e=document.createElement("br");e.setAttribute("clear","all"),t&&t.appendChild(e)}U.ctx.overlay=U.dom.overlay.getContext("2d"),U.dom.overlay.width=v.getCanvasSize().x,U.dom.overlay.height=v.getCanvasSize().y}}(),m=L.a.create(v,U.dom.image),y(j.numOfWorkers,(function(){0===j.numOfWorkers&&o(),function(t){v.play(),t()}(t)}))}function u(t,e){var n=t;t&&V&&(function t(e){function n(t){for(var e=t.length;e--;)t[e][0]+=i,t[e][1]+=a}var r,o=v.getTopRight(),i=o.x,a=o.y;if(0!==i||0!==a){if(e.barcodes)for(r=0;r<e.barcodes.length;r++)t(e.barcodes[r]);if(e.line&&2===e.line.length&&function(t){t[0].x+=i,t[0].y+=a,t[1].x+=i,t[1].y+=a}(e.line),e.box&&n(e.box),e.boxes&&e.boxes.length>0)for(r=0;r<e.boxes.length;r++)n(e.boxes[r])}}(t),function t(e,n){n&&C&&(e.barcodes?e.barcodes.filter((function(t){return t.codeResult})).forEach((function(e){return t(e,n)})):e.codeResult&&C.addResult(n,v.getCanvasSize(),e.codeResult))}(t,e),n=t.barcodes||t),N.a.publish("processed",n),function(t){return t&&(t.barcodes?t.barcodes.some((function(t){return t.codeResult})):t.codeResult)}(t)&&N.a.publish("detected",n)}function l(){var t,e;(e=j.locate?T.a.locate():[[F.clone(b[0]),F.clone(b[1]),F.clone(b[2]),F.clone(b[3])]])?((t=(t=_.decodeFromBoundingBoxes(e))||{}).boxes=e,u(t,E.data)):u()}function c(){var t;if(V){if(z.length>0){if(!(t=z.filter((function(t){return!t.busy}))[0]))return;m.attachData(t.imageData)}else m.attachData(E.data);m.grab()&&(t?(t.busy=!0,t.worker.postMessage({cmd:"process",imageData:t.imageData},[t.imageData.buffer])):l())}else l()}function f(){V&&"LiveStream"===j.inputStream.type?function(){var t=null,e=1e3/(j.frequency||60);w=!1,function n(r){t=t||r,w||(r>=t&&(t+=e,c()),window.requestAnimFrame(n))}(performance.now())}():c()}function p(t){var e,n={worker:void 0,imageData:new Uint8Array(v.getWidth()*v.getHeight()),busy:!0};e=g(),n.worker=new Worker(e),n.worker.onmessage=function(r){if("initialized"===r.data.event)return URL.revokeObjectURL(e),n.busy=!1,n.imageData=new Uint8Array(r.data.imageData),t(n);"processed"===r.data.event?(n.imageData=new Uint8Array(r.data.imageData),n.busy=!1,u(r.data.result,n.imageData)):r.data.event},n.worker.postMessage({cmd:"init",size:{x:v.getWidth(),y:v.getHeight()},imageData:n.imageData,config:d(j)},[n.imageData.buffer])}function d(t){return B({},t,{inputStream:B({},t.inputStream,{target:null})})}function h(t){function e(t){self.postMessage({event:"processed",imageData:o.data,result:t},[o.data.buffer])}function n(){self.postMessage({event:"initialized",imageData:o.data},[o.data.buffer])}if(t){var r=t().default;if(!r)return void self.postMessage({event:"error",message:"Quagga could not be created"})}var o;self.onmessage=function(t){if("init"===t.data.cmd){var i=t.data.config;i.numOfWorkers=0,o=new r.ImageWrapper({x:t.data.size.x,y:t.data.size.y},new Uint8Array(t.data.imageData)),r.init(i,n,o),r.onProcessed(e)}else"process"===t.data.cmd?(o.data=new Uint8Array(t.data.imageData),r.start()):"setReaders"===t.data.cmd&&r.setReaders(t.data.readers)}}function g(){var e,n;return void 0!==t&&(n=t),e=new Blob(["("+h.toString()+")("+n+");"],{type:"text/javascript"}),window.URL.createObjectURL(e)}function y(t,e){var n=t-z.length;if(0===n)return e&&e();if(n<0)return z.slice(n).forEach((function(t){t.worker.terminate()})),z=z.slice(0,n),e&&e();for(var r=function(n){z.push(n),z.length>=t&&e&&e()},o=0;o<n;o++)p(r)}Object.defineProperty(n,"__esModule",{value:!0});var v,m,w,E,b,_,C,S=r(28),A=r.n(S),O=r(54),I=(r.n(O),r(20)),T=r(64),R=r(57),N=r(51),D=r(59),P=r(9),x=r(49),k=r(55),M=r(63),L=r(61),B=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},F={clone:r(7)},U={ctx:{image:null,overlay:null},dom:{image:null,overlay:null}},z=[],V=!0,j={};n.default={init:function(t,e,n){if(j=A()({},k.a,t),n)return V=!1,o(n),e();i(e)},start:function(){f()},stop:function(){w=!0,y(0),"LiveStream"===j.inputStream.type&&(D.a.release(),v.clearEventHandlers())},pause:function(){w=!0},onDetected:function(t){N.a.subscribe("detected",t)},offDetected:function(t){N.a.unsubscribe("detected",t)},onProcessed:function(t){N.a.subscribe("processed",t)},offProcessed:function(t){N.a.unsubscribe("processed",t)},setReaders:function(t){!function(t){_?_.setReaders(t):V&&z.length>0&&z.forEach((function(e){e.worker.postMessage({cmd:"setReaders",readers:t})}))}(t)},registerResultCollector:function(t){t&&"function"==typeof t.addResult&&(C=t)},canvas:U,decodeSingle:function(t,e){var n=this;t=A()({inputStream:{type:"ImageStream",sequence:!1,size:800,src:t.src},numOfWorkers:1,locator:{halfSample:!1}},t),this.init(t,(function(){N.a.once("processed",(function(t){n.stop(),e.call(null,t)}),!0),f()}))},ImageWrapper:I.a,ImageDebug:P.a,ResultCollector:x.a,CameraAccess:D.a}},function(t,e,n){"use strict";var r=n(9);e.a={create:function(t){function e(e){return a&&e&&!function(t,e){return!!e&&e.some((function(e){return Object.keys(e).every((function(n){return e[n]===t[n]}))}))}(e,t.blacklist)&&function(t,e){return"function"!=typeof e||e(t)}(e,t.filter)}var n=document.createElement("canvas"),o=n.getContext("2d"),i=[],a=t.capacity||20,s=!0===t.capture;return{addResult:function(t,u,l){var c={};e(l)&&(a--,c.codeResult=l,s&&(n.width=u.x,n.height=u.y,r.a.drawImage(t,u,o),c.frame=n.toDataURL()),i.push(c))},getResults:function(){return i}}}}},function(t,e,n){"use strict";var r={clone:n(7),dot:n(32)};e.a={create:function(t,e){function n(t){s[t.id]=t,i.push(t)}function o(){var t,e=0;for(t=0;t<i.length;t++)e+=i[t].rad;a.rad=e/i.length,a.vec=r.clone([Math.cos(a.rad),Math.sin(a.rad)])}var i=[],a={rad:0,vec:r.clone([0,0])},s={};return n(t),o(),{add:function(t){s[t.id]||(n(t),o())},fits:function(t){return Math.abs(r.dot(t.point.vec,a.vec))>e},getPoints:function(){return i},getCenter:function(){return a}}},createPoint:function(t,e,n){return{rad:t[n],point:t,id:e}}}},function(t,e,n){"use strict";e.a=function(){function t(t){return o[t]||(o[t]={subscribers:[]}),o[t]}function e(){o={}}function n(t,e){t.async?setTimeout((function(){t.callback(e)}),4):t.callback(e)}function r(e,n,r){var o;if("function"==typeof n)o={callback:n,async:r};else if(!(o=n).callback)throw"Callback was not specified on options";t(e).subscribers.push(o)}var o={};return{subscribe:function(t,e,n){return r(t,e,n)},publish:function(e,r){var o=t(e),i=o.subscribers;i.filter((function(t){return!!t.once})).forEach((function(t){n(t,r)})),o.subscribers=i.filter((function(t){return!t.once})),o.subscribers.forEach((function(t){n(t,r)}))},once:function(t,e,n){r(t,{callback:e,async:n,once:!0})},unsubscribe:function(n,r){var o;n?(o=t(n)).subscribers=o&&r?o.subscribers.filter((function(t){return t.callback!==r})):[]:e()}}}()},function(t,e,n){"use strict";e.b=function(){return navigator.mediaDevices&&"function"==typeof navigator.mediaDevices.enumerateDevices?navigator.mediaDevices.enumerateDevices():Promise.reject(new Error("enumerateDevices is not defined"))},e.a=function(t){return navigator.mediaDevices&&"function"==typeof navigator.mediaDevices.getUserMedia?navigator.mediaDevices.getUserMedia(t):Promise.reject(new Error("getUserMedia is not defined"))}},function(t,e,n){"use strict";function r(t,e,n){n||(n={data:null,size:e}),this.data=n.data,this.originalSize=n.size,this.I=n,this.from=t,this.size=e}r.prototype.show=function(t,e){var n,r,o,i,a,s,u;for(e||(e=1),n=t.getContext("2d"),t.width=this.size.x,t.height=this.size.y,o=(r=n.getImageData(0,0,t.width,t.height)).data,i=0,a=0;a<this.size.y;a++)for(s=0;s<this.size.x;s++)u=a*this.size.x+s,i=this.get(s,a)*e,o[4*u+0]=i,o[4*u+1]=i,o[4*u+2]=i,o[4*u+3]=255;r.data=o,n.putImageData(r,0,0)},r.prototype.get=function(t,e){return this.data[(this.from.y+e)*this.originalSize.x+this.from.x+t]},r.prototype.updateData=function(t){this.originalSize=t.size,this.data=t.data},r.prototype.updateFrom=function(t){return this.from=t,this},e.a=r},function(t,e){"undefined"!=typeof window&&(window.requestAnimFrame=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(t){window.setTimeout(t,1e3/60)}),Math.imul=Math.imul||function(t,e){var n=65535&t,r=65535&e;return n*r+((t>>>16&65535)*r+n*(e>>>16&65535)<<16>>>0)|0},"function"!=typeof Object.assign&&(Object.assign=function(t){"use strict";if(null===t)throw new TypeError("Cannot convert undefined or null to object");for(var e=Object(t),n=1;n<arguments.length;n++){var r=arguments[n];if(null!==r)for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e})},function(t,e,n){"use strict";var r;r=n(56),e.a=r},function(t,e){t.exports={inputStream:{name:"Live",type:"LiveStream",constraints:{width:640,height:480,facingMode:"environment"},area:{top:"0%",right:"0%",left:"0%",bottom:"0%"},singleChannel:!1},locate:!0,numOfWorkers:4,decoder:{readers:["code_128_reader"]},locator:{halfSample:!0,patchSize:"medium"}}},function(t,e,n){"use strict";var r=n(58),o=(n(9),n(69)),i=n(4),a=n(31),s=n(70),u=n(68),l=n(77),c=n(74),f=n(72),p=n(73),d=n(76),h=n(75),g=n(67),y=n(71),v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},m={code_128_reader:o.a,ean_reader:i.a,ean_5_reader:p.a,ean_2_reader:f.a,ean_8_reader:c.a,code_39_reader:a.a,code_39_vin_reader:s.a,codabar_reader:u.a,upc_reader:l.a,upc_e_reader:d.a,i2of5_reader:h.a,"2of5_reader":g.a,code_93_reader:y.a};e.a={create:function(t,e){function n(){t.readers.forEach((function(t){var e,n={},r=[];"object"===(void 0===t?"undefined":v(t))?(e=t.format,n=t.config):"string"==typeof t&&(e=t),n.supplements&&(r=n.supplements.map((function(t){return new m[t]}))),u.push(new m[e](n,r))}))}function o(t,n,r){function o(e){var r=e*Math.sin(n),o=e*Math.cos(n);t[0].y-=r,t[0].x-=o,t[1].y+=r,t[1].x+=o}for(o(r);r>1&&(!e.inImageWithBorder(t[0],0)||!e.inImageWithBorder(t[1],0));)o(-(r-=Math.ceil(r/2)));return t}function i(t){var n,o=null,i=r.a.getBarcodeLine(e,t[0],t[1]);for(r.a.toBinaryLine(i),n=0;n<u.length&&null===o;n++)o=u[n].decodePattern(i.line);return null===o?null:{codeResult:o,barcodeLine:i}}function a(t){var e,n,r,a;return s.ctx.overlay,a=function(t){return Math.sqrt(Math.pow(Math.abs(t[1].y-t[0].y),2)+Math.pow(Math.abs(t[1].x-t[0].x),2))}(e=function(t){return[{x:(t[1][0]-t[0][0])/2+t[0][0],y:(t[1][1]-t[0][1])/2+t[0][1]},{x:(t[3][0]-t[2][0])/2+t[2][0],y:(t[3][1]-t[2][1])/2+t[2][1]}]}(t)),null===(e=o(e,n=Math.atan2(e[1].y-e[0].y,e[1].x-e[0].x),Math.floor(.1*a)))?null:(null===(r=i(e))&&(r=function(t,e,n){var r,o,a,s=Math.sqrt(Math.pow(t[1][0]-t[0][0],2)+Math.pow(t[1][1]-t[0][1],2)),u=null,l=Math.sin(n),c=Math.cos(n);for(r=1;r<16&&null===u;r++)a={y:(o=s/16*r*(r%2==0?-1:1))*l,x:o*c},e[0].y+=a.x,e[0].x-=a.y,e[1].y+=a.x,e[1].x-=a.y,u=i(e);return u}(t,e,n)),null===r?null:{codeResult:r.codeResult,line:e,angle:n,pattern:r.barcodeLine.line,threshold:r.barcodeLine.threshold})}var s={ctx:{frequency:null,pattern:null,overlay:null},dom:{frequency:null,pattern:null,overlay:null}},u=[];return n(),{decodeFromBoundingBox:function(t){return a(t)},decodeFromBoundingBoxes:function(e){var n,r,o=[],i=t.multiple;for(n=0;n<e.length;n++){var s=e[n];if((r=a(s)||{}).box=s,i)o.push(r);else if(r.codeResult)return r}if(i)return{barcodes:o}},setReaders:function(e){t.readers=e,u.length=0,n()}}}}},function(t,e,n){"use strict";var r=(n(20),{}),o={UP:1,DOWN:-1};r.getBarcodeLine=function(t,e,n){function r(t,e){f=m[e*w+t],E=f<E?f:E,b=f>b?f:b,v.push(f)}var o,i,a,s,u,l,c,f,p=0|e.x,d=0|e.y,h=0|n.x,g=0|n.y,y=Math.abs(g-d)>Math.abs(h-p),v=[],m=t.data,w=t.size.x,E=255,b=0;for(y&&(l=p,p=d,d=l,l=h,h=g,g=l),p>h&&(l=p,p=h,h=l,l=d,d=g,g=l),o=h-p,i=Math.abs(g-d),a=o/2|0,u=d,s=d<g?1:-1,c=p;c<h;c++)y?r(u,c):r(c,u),(a-=i)<0&&(u+=s,a+=o);return{line:v,min:E,max:b}},r.toBinaryLine=function(t){var e,n,r,i,a,s,u=t.min,l=t.max,c=t.line,f=u+(l-u)/2,p=[],d=(l-u)/12,h=-d;for(r=c[0]>f?o.UP:o.DOWN,p.push({pos:0,val:c[0]}),a=0;a<c.length-2;a++)r!==(i=(e=c[a+1]-c[a])+(n=c[a+2]-c[a+1])<h&&c[a+1]<1.5*f?o.DOWN:e+n>d&&c[a+1]>.5*f?o.UP:r)&&(p.push({pos:a,val:c[a]}),r=i);for(p.push({pos:c.length,val:c[c.length-1]}),s=p[0].pos;s<p[1].pos;s++)c[s]=c[s]>f?0:1;for(a=1;a<p.length-1;a++)for(d=p[a+1].val>p[a].val?p[a].val+(p[a+1].val-p[a].val)/3*2|0:p[a+1].val+(p[a].val-p[a+1].val)/3|0,s=p[a].pos;s<p[a+1].pos;s++)c[s]=c[s]>d?0:1;return{line:c,threshold:d}},r.debug={printFrequency:function(t,e){var n,r=e.getContext("2d");for(e.width=t.length,e.height=256,r.beginPath(),r.strokeStyle="blue",n=0;n<t.length;n++)r.moveTo(n,255),r.lineTo(n,255-t[n]);r.stroke(),r.closePath()},printPattern:function(t,e){var n,r=e.getContext("2d");for(e.width=t.length,r.fillColor="black",n=0;n<t.length;n++)1===t[n]&&r.fillRect(n,0,1,100)}},e.a=r},function(t,e,n){"use strict";function r(t){return new Promise((function(e,n){var r=10;!function o(){r>0?t.videoWidth>10&&t.videoHeight>10?e():window.setTimeout(o,500):n("Unable to play video stream. Is webcam working?"),r--}()}))}function o(t,e){return n.i(c.a)(e).then((function(e){return new Promise((function(n){s=e,t.setAttribute("autoplay",!0),t.setAttribute("muted",!0),t.setAttribute("playsinline",!0),t.srcObject=e,t.addEventListener("loadedmetadata",(function(){t.play(),n()}))}))})).then(r.bind(null,t))}function i(t){var e=l()(t,["width","height","facingMode","aspectRatio","deviceId"]);return void 0!==t.minAspectRatio&&t.minAspectRatio>0&&(e.aspectRatio=t.minAspectRatio,console.log("WARNING: Constraint 'minAspectRatio' is deprecated; Use 'aspectRatio' instead")),void 0!==t.facing&&(e.facingMode=t.facing,console.log("WARNING: Constraint 'facing' is deprecated. Use 'facingMode' instead'")),e}function a(){if(s){var t=s.getVideoTracks();if(t&&t.length)return t[0]}}var s,u=n(162),l=n.n(u),c=n(52);e.a={request:function(t,e){return function(t){var e={audio:!1,video:i(t)};return e.video.deviceId&&e.video.facingMode&&delete e.video.facingMode,Promise.resolve(e)}(e).then(o.bind(null,t))},release:function(){var t=s&&s.getVideoTracks();t&&t.length&&t[0].stop(),s=null},enumerateVideoDevices:function(){return n.i(c.b)().then((function(t){return t.filter((function(t){return"videoinput"===t.kind}))}))},getActiveStreamLabel:function(){var t=a();return t?t.label:""},getActiveTrack:a}},function(t,e,n){"use strict";function r(t){return new Promise((function(e){var n=new FileReader;n.onload=function(t){return e(t.target.result)},n.readAsArrayBuffer(t)}))}function o(t){return new Promise((function(e,n){var r=new XMLHttpRequest;r.open("GET",t,!0),r.responseType="blob",r.onreadystatechange=function(){r.readyState!==XMLHttpRequest.DONE||200!==r.status&&0!==r.status||e(this.response)},r.onerror=n,r.send()}))}function i(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l,n=new DataView(t),r=t.byteLength,o=e.reduce((function(t,e){var n=Object.keys(u).filter((function(t){return u[t]===e}))[0];return n&&(t[n]=e),t}),{}),i=2;if(255!==n.getUint8(0)||216!==n.getUint8(1))return!1;for(;i<r;){if(255!==n.getUint8(i))return!1;if(225===n.getUint8(i+1))return a(n,i+4,o);i+=2+n.getUint16(i+2)}}function a(t,e,n){if("Exif"!==function(t,e,n){for(var r="",o=e;o<e+n;o++)r+=String.fromCharCode(t.getUint8(o));return r}(t,e,4))return!1;var r=e+6,o=void 0;if(18761===t.getUint16(r))o=!1;else{if(19789!==t.getUint16(r))return!1;o=!0}if(42!==t.getUint16(r+2,!o))return!1;var i=t.getUint32(r+4,!o);return!(i<8)&&function(t,e,n,r,o){for(var i=t.getUint16(n,!o),a={},u=0;u<i;u++){var l=n+12*u+2,c=r[t.getUint16(l,!o)];c&&(a[c]=s(t,l,0,0,o))}return a}(t,0,r+i,n,o)}function s(t,e,n,r,o){var i=t.getUint16(e+2,!o),a=t.getUint32(e+4,!o);switch(i){case 3:if(1===a)return t.getUint16(e+8,!o)}}e.a=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l;return/^blob\:/i.test(t)?o(t).then(r).then((function(t){return i(t,e)})):Promise.resolve(null)};var u={274:"orientation"},l=Object.keys(u).map((function(t){return u[t]}))},function(t,e,n){"use strict";var r=n(19),o=Math.PI/180,i={create:function(t,e){var i,a={},s=t.getConfig(),u=(n.i(r.b)(t.getRealWidth(),t.getRealHeight()),t.getCanvasSize()),l=n.i(r.b)(t.getWidth(),t.getHeight()),c=t.getTopRight(),f=c.x,p=c.y,d=null,h=null;return(i=e||document.createElement("canvas")).width=u.x,i.height=u.y,d=i.getContext("2d"),h=new Uint8Array(l.x*l.y),a.attachData=function(t){h=t},a.getData=function(){return h},a.grab=function(){var e,a=s.halfSample,c=t.getFrame(),g=c,y=0;if(g){if(function(t,e){t.width!==e.x&&(t.width=e.x),t.height!==e.y&&(t.height=e.y)}(i,u),"ImageStream"===s.type&&(g=c.img,c.tags&&c.tags.orientation))switch(c.tags.orientation){case 6:y=90*o;break;case 8:y=-90*o}return 0!==y?(d.translate(u.x/2,u.y/2),d.rotate(y),d.drawImage(g,-u.y/2,-u.x/2,u.y,u.x),d.rotate(-y),d.translate(-u.x/2,-u.y/2)):d.drawImage(g,0,0,u.x,u.y),e=d.getImageData(f,p,l.x,l.y).data,a?n.i(r.c)(e,l,h):n.i(r.d)(e,h,s),!0}return!1},a.getSize=function(){return l},a}};e.a=i},function(t,e,n){"use strict";function r(t,e){t.onload=function(){e.loaded(this)}}var o=n(60),i={load:function(t,e,i,a,s){var u,l,c,f=new Array(a),p=new Array(f.length);if(!1===s)f[0]=t;else for(u=0;u<f.length;u++)c=i+u,f[u]=t+"image-"+("00"+c).slice(-3)+".jpg";for(p.notLoaded=[],p.addImage=function(t){p.notLoaded.push(t)},p.loaded=function(r){for(var i=p.notLoaded,a=0;a<i.length;a++)if(i[a]===r){i.splice(a,1);for(var u=0;u<f.length;u++){var l=f[u].substr(f[u].lastIndexOf("/"));if(-1!==r.src.lastIndexOf(l)){p[u]={img:r};break}}break}0===i.length&&(!1===s?n.i(o.a)(t,["orientation"]).then((function(t){p[0].tags=t,e(p)})).catch((function(t){console.log(t),e(p)})):e(p))},u=0;u<f.length;u++)l=new Image,p.addImage(l),r(l,p),l.src=f[u]}};e.a=i},function(t,e,n){"use strict";var r=n(62),o={createVideoStream:function(t){function e(){var e=t.videoWidth,o=t.videoHeight;n=i.size?e/o>1?i.size:Math.floor(e/o*i.size):e,r=i.size?e/o>1?Math.floor(o/e*i.size):i.size:o,l.x=n,l.y=r}var n,r,o={},i=null,a=["canrecord","ended"],s={},u={x:0,y:0},l={x:0,y:0};return o.getRealWidth=function(){return t.videoWidth},o.getRealHeight=function(){return t.videoHeight},o.getWidth=function(){return n},o.getHeight=function(){return r},o.setWidth=function(t){n=t},o.setHeight=function(t){r=t},o.setInputStream=function(e){i=e,t.src=void 0!==e.src?e.src:""},o.ended=function(){return t.ended},o.getConfig=function(){return i},o.setAttribute=function(e,n){t.setAttribute(e,n)},o.pause=function(){t.pause()},o.play=function(){t.play()},o.setCurrentTime=function(e){"LiveStream"!==i.type&&(t.currentTime=e)},o.addEventListener=function(e,n,r){-1!==a.indexOf(e)?(s[e]||(s[e]=[]),s[e].push(n)):t.addEventListener(e,n,r)},o.clearEventHandlers=function(){a.forEach((function(e){var n=s[e];n&&n.length>0&&n.forEach((function(n){t.removeEventListener(e,n)}))}))},o.trigger=function(t,n){var r,i=s[t];if("canrecord"===t&&e(),i&&i.length>0)for(r=0;r<i.length;r++)i[r].apply(o,n)},o.setTopRight=function(t){u.x=t.x,u.y=t.y},o.getTopRight=function(){return u},o.setCanvasSize=function(t){l.x=t.x,l.y=t.y},o.getCanvasSize=function(){return l},o.getFrame=function(){return t},o},createLiveStream:function(t){t.setAttribute("autoplay",!0);var e=o.createVideoStream(t);return e.ended=function(){return!1},e},createImageStream:function(){function t(){f=!1,r.a.load(g,(function(t){if(p=t,t[0].tags&&t[0].tags.orientation)switch(t[0].tags.orientation){case 6:case 8:s=t[0].img.height,u=t[0].img.width;break;default:s=t[0].img.width,u=t[0].img.height}else s=t[0].img.width,u=t[0].img.height;n=a.size?s/u>1?a.size:Math.floor(s/u*a.size):s,o=a.size?s/u>1?Math.floor(u/s*a.size):a.size:u,E.x=n,E.y=o,f=!0,l=0,setTimeout((function(){e("canrecord",[])}),0)}),h,d,a.sequence)}function e(t,e){var n,r=m[t];if(r&&r.length>0)for(n=0;n<r.length;n++)r[n].apply(i,e)}var n,o,i={},a=null,s=0,u=0,l=0,c=!0,f=!1,p=null,d=0,h=1,g=null,y=!1,v=["canrecord","ended"],m={},w={x:0,y:0},E={x:0,y:0};return i.trigger=e,i.getWidth=function(){return n},i.getHeight=function(){return o},i.setWidth=function(t){n=t},i.setHeight=function(t){o=t},i.getRealWidth=function(){return s},i.getRealHeight=function(){return u},i.setInputStream=function(e){a=e,!1===e.sequence?(g=e.src,d=1):(g=e.src,d=e.length),t()},i.ended=function(){return y},i.setAttribute=function(){},i.getConfig=function(){return a},i.pause=function(){c=!0},i.play=function(){c=!1},i.setCurrentTime=function(t){l=t},i.addEventListener=function(t,e){-1!==v.indexOf(t)&&(m[t]||(m[t]=[]),m[t].push(e))},i.setTopRight=function(t){w.x=t.x,w.y=t.y},i.getTopRight=function(){return w},i.setCanvasSize=function(t){E.x=t.x,E.y=t.y},i.getCanvasSize=function(){return E},i.getFrame=function(){var t;return f?(c||(t=p[l],l<d-1?l++:setTimeout((function(){y=!0,e("ended",[])}),0)),t):null},i}};e.a=o},function(t,e,n){"use strict";(function(t){function r(){var e;l=u.halfSample?new E.a({x:m.size.x/2|0,y:m.size.y/2|0}):m,v=n.i(b.e)(u.patchSize,l.size),R.x=l.size.x/v.x|0,R.y=l.size.y/v.y|0,y=new E.a(l.size,void 0,Uint8Array,!1),p=new E.a(v,void 0,Array,!0),e=new ArrayBuffer(65536),f=new E.a(v,new Uint8Array(e,0,v.x*v.y)),c=new E.a(v,new Uint8Array(e,v.x*v.y*3,v.x*v.y),void 0,!0),w=n.i(A.a)("undefined"!=typeof window?window:"undefined"!=typeof self?self:t,{size:v.x},e),g=new E.a({x:l.size.x/f.size.x|0,y:l.size.y/f.size.y|0},void 0,Array,!0),d=new E.a(g.size,void 0,void 0,!0),h=new E.a(g.size,void 0,Int32Array,!0)}function o(t){var e,n,r,o,i,a,s,l=y.size.x,c=y.size.y,f=-y.size.x,p=-y.size.y;for(e=0,n=0;n<t.length;n++)e+=(o=t[n]).rad;for((e=(180*(e/=t.length)/Math.PI+90)%180-90)<0&&(e+=180),e=(180-e)*Math.PI/180,i=I.copy(I.create(),[Math.cos(e),Math.sin(e),-Math.sin(e),Math.cos(e)]),n=0;n<t.length;n++)for(o=t[n],r=0;r<4;r++)O.transformMat2(o.box[r],o.box[r],i);for(n=0;n<t.length;n++)for(o=t[n],r=0;r<4;r++)o.box[r][0]<l&&(l=o.box[r][0]),o.box[r][0]>f&&(f=o.box[r][0]),o.box[r][1]<c&&(c=o.box[r][1]),o.box[r][1]>p&&(p=o.box[r][1]);for(a=[[l,c],[f,c],[f,p],[l,p]],s=u.halfSample?2:1,i=I.invert(i,i),r=0;r<4;r++)O.transformMat2(a[r],a[r],i);for(r=0;r<4;r++)O.scale(a[r],a[r],s);return a}function i(t){var e=n.i(b.g)(t,.9),r=n.i(b.h)(e,1,(function(t){return t.getPoints().length})),o=[],i=[];if(1===r.length){o=r[0].item.getPoints();for(var a=0;a<o.length;a++)i.push(o[a].point)}return i}function a(t,e){y.subImageAsCopy(f,n.i(b.b)(t,e)),w.skeletonize()}function s(t,e,n,r){var o,a,s,u,l=[],c=[],p=Math.ceil(v.x/3);if(t.length>=2){for(o=0;o<t.length;o++)t[o].m00>p&&l.push(t[o]);if(l.length>=2){for(s=i(l),a=0,o=0;o<s.length;o++)a+=s[o].rad;s.length>1&&s.length>=l.length/4*3&&s.length>t.length/4&&(a/=s.length,u={index:e[1]*R.x+e[0],pos:{x:n,y:r},box:[O.clone([n,r]),O.clone([n+f.size.x,r]),O.clone([n+f.size.x,r+f.size.y]),O.clone([n,r+f.size.y])],moments:s,rad:a,vec:O.clone([Math.cos(a),Math.sin(a)])},c.push(u))}}return c}var u,l,c,f,p,d,h,g,y,v,m,w,E=n(20),b=n(19),_=n(3),C=(n(9),n(65)),S=n(30),A=n(66),O={clone:n(7),dot:n(32),scale:n(81),transformMat2:n(82)},I={copy:n(78),create:n(79),invert:n(80)},T={ctx:{binary:null},dom:{binary:null}},R={x:0,y:0};e.a={init:function(t,e){u=e,m=t,r(),u.useWorker||"undefined"==typeof document||(T.dom.binary=document.createElement("canvas"),T.dom.binary.className="binaryBuffer",T.ctx.binary=T.dom.binary.getContext("2d"),T.dom.binary.width=y.size.x,T.dom.binary.height=y.size.y)},locate:function(){var t,e;if(u.halfSample&&n.i(b.i)(m,l),n.i(b.f)(l,y),y.zeroBorder(),(t=function(){var t,e,n,r,o,i,u=[];for(t=0;t<R.x;t++)for(e=0;e<R.y;e++)a(n=f.size.x*t,r=f.size.y*e),c.zeroBorder(),_.a.init(p.data,0),i=C.a.create(c,p).rasterize(0),o=p.moments(i.count),u=u.concat(s(o,[t,e],n,r));return u}()).length<R.x*R.y*.05)return null;var r=function(t){function e(){var t;for(t=0;t<h.data.length;t++)if(0===h.data[t]&&1===d.data[t])return t;return h.length}function n(t){var e,r,o,s,u,l=t%h.size.x,c=t/h.size.x|0;if(t<h.data.length)for(o=g.data[t],h.data[t]=i,u=0;u<S.a.searchDirections.length;u++)r=c+S.a.searchDirections[u][0],e=l+S.a.searchDirections[u][1],s=r*h.size.x+e,0!==d.data[s]?0===h.data[s]&&Math.abs(O.dot(g.data[s].vec,o.vec))>a&&n(s):h.data[s]=Number.MAX_VALUE}var r,o,i=0,a=.95,s=0;for(_.a.init(d.data,0),_.a.init(h.data,0),_.a.init(g.data,null),r=0;r<t.length;r++)o=t[r],g.data[o.index]=o,d.data[o.index]=1;for(d.zeroBorder();(s=e())<h.data.length;)i++,n(s);return i}(t);return r<1||0===(e=function(t){var e,n,r=[];for(e=0;e<t;e++)r.push(0);for(n=h.data.length;n--;)h.data[n]>0&&r[h.data[n]-1]++;return(r=r.map((function(t,e){return{val:t,label:e+1}}))).sort((function(t,e){return e.val-t.val})),r.filter((function(t){return t.val>=5}))}(r)).length?null:function(t,e){var n,r,i,a,s=[],u=[];for(n=0;n<t.length;n++){for(r=h.data.length,s.length=0;r--;)h.data[r]===t[n].label&&(i=g.data[r],s.push(i));(a=o(s))&&u.push(a)}return u}(e)},checkImageConstraints:function(t,e){var r,o,i,a=t.getWidth(),s=t.getHeight(),u=e.halfSample?.5:1;if(t.getConfig().area&&(i=n.i(b.j)(a,s,t.getConfig().area),t.setTopRight({x:i.sx,y:i.sy}),t.setCanvasSize({x:a,y:s}),a=i.sw,s=i.sh),o={x:Math.floor(a*u),y:Math.floor(s*u)},r=n.i(b.e)(e.patchSize,o),t.setWidth(Math.floor(Math.floor(o.x/r.x)*(1/u)*r.x)),t.setHeight(Math.floor(Math.floor(o.y/r.y)*(1/u)*r.y)),t.getWidth()%r.x==0&&t.getHeight()%r.y==0)return!0;throw new Error("Image dimensions do not comply with the current settings: Width ("+a+" )and height ("+s+") must a multiple of "+r.x)}}}).call(e,n(47))},function(t,e,n){"use strict";var r=n(30),o={createContour2D:function(){return{dir:null,index:null,firstVertex:null,insideContours:null,nextpeer:null,prevpeer:null}},CONTOUR_DIR:{CW_DIR:0,CCW_DIR:1,UNKNOWN_DIR:2},DIR:{OUTSIDE_EDGE:-32767,INSIDE_EDGE:-32766},create:function(t,e){var n=t.data,i=e.data,a=t.size.x,s=t.size.y,u=r.a.create(t,e);return{rasterize:function(t){var e,r,l,c,f,p,d,h,g,y,v,m,w=[],E=0;for(m=0;m<400;m++)w[m]=0;for(w[0]=n[0],g=null,p=1;p<s-1;p++)for(c=0,r=w[0],f=1;f<a-1;f++)if(0===i[v=p*a+f])if((e=n[v])!==r){if(0===c)w[l=E+1]=e,r=e,null!==(d=u.contourTracing(p,f,l,e,o.DIR.OUTSIDE_EDGE))&&(E++,c=l,(h=o.createContour2D()).dir=o.CONTOUR_DIR.CW_DIR,h.index=c,h.firstVertex=d,h.nextpeer=g,h.insideContours=null,null!==g&&(g.prevpeer=h),g=h);else if(null!==(d=u.contourTracing(p,f,o.DIR.INSIDE_EDGE,e,c))){for((h=o.createContour2D()).firstVertex=d,h.insideContours=null,h.dir=0===t?o.CONTOUR_DIR.CCW_DIR:o.CONTOUR_DIR.CW_DIR,h.index=t,y=g;null!==y&&y.index!==c;)y=y.nextpeer;null!==y&&(h.nextpeer=y.insideContours,null!==y.insideContours&&(y.insideContours.prevpeer=h),y.insideContours=h)}}else i[v]=c;else i[v]===o.DIR.OUTSIDE_EDGE||i[v]===o.DIR.INSIDE_EDGE?(c=0,r=i[v]===o.DIR.INSIDE_EDGE?n[v]:w[0]):r=w[c=i[v]];for(y=g;null!==y;)y.index=t,y=y.nextpeer;return{cc:g,count:E}},debug:{drawContour:function(t,e){var n,r,i,a=t.getContext("2d"),s=e;for(a.strokeStyle="red",a.fillStyle="red",a.lineWidth=1,n=null!==s?s.insideContours:null;null!==s;){switch(null!==n?(r=n,n=n.nextpeer):(r=s,n=null!==(s=s.nextpeer)?s.insideContours:null),r.dir){case o.CONTOUR_DIR.CW_DIR:a.strokeStyle="red";break;case o.CONTOUR_DIR.CCW_DIR:a.strokeStyle="blue";break;case o.CONTOUR_DIR.UNKNOWN_DIR:a.strokeStyle="green"}i=r.firstVertex,a.beginPath(),a.moveTo(i.x,i.y);do{i=i.next,a.lineTo(i.x,i.y)}while(i!==r.firstVertex);a.stroke()}}}}}};e.a=o},function(t,e,n){"use strict";e.a=function(t,e,n){"use asm";var r=new t.Uint8Array(n),o=e.size|0,i=t.Math.imul;function a(t,e){t=t|0;e=e|0;var n=0,i=0,a=0,s=0,u=0,l=0,c=0,f=0;for(n=1;(n|0)<(o-1|0);n=n+1|0){f=f+o|0;for(i=1;(i|0)<(o-1|0);i=i+1|0){s=f-o|0;u=f+o|0;l=i-1|0;c=i+1|0;a=(r[t+s+l|0]|0)+(r[t+s+c|0]|0)+(r[t+f+i|0]|0)+(r[t+u+l|0]|0)+(r[t+u+c|0]|0)|0;if((a|0)==(5|0)){r[e+f+i|0]=1}else{r[e+f+i|0]=0}}}return}function s(t,e,n){t=t|0;e=e|0;n=n|0;var a=0;a=i(o,o)|0;while((a|0)>0){a=a-1|0;r[n+a|0]=(r[t+a|0]|0)-(r[e+a|0]|0)|0}}function u(t,e,n){t=t|0;e=e|0;n=n|0;var a=0;a=i(o,o)|0;while((a|0)>0){a=a-1|0;r[n+a|0]=r[t+a|0]|0|(r[e+a|0]|0)|0}}function l(t){t=t|0;var e=0,n=0;n=i(o,o)|0;while((n|0)>0){n=n-1|0;e=(e|0)+(r[t+n|0]|0)|0}return e|0}function c(t,e){t=t|0;e=e|0;var n=0;n=i(o,o)|0;while((n|0)>0){n=n-1|0;r[t+n|0]=e}}function f(t,e){t=t|0;e=e|0;var n=0,i=0,a=0,s=0,u=0,l=0,c=0,f=0;for(n=1;(n|0)<(o-1|0);n=n+1|0){f=f+o|0;for(i=1;(i|0)<(o-1|0);i=i+1|0){s=f-o|0;u=f+o|0;l=i-1|0;c=i+1|0;a=(r[t+s+l|0]|0)+(r[t+s+c|0]|0)+(r[t+f+i|0]|0)+(r[t+u+l|0]|0)+(r[t+u+c|0]|0)|0;if((a|0)>(0|0)){r[e+f+i|0]=1}else{r[e+f+i|0]=0}}}return}function p(t,e){t=t|0;e=e|0;var n=0;n=i(o,o)|0;while((n|0)>0){n=n-1|0;r[e+n|0]=r[t+n|0]|0}}function d(t){t=t|0;var e=0,n=0;for(e=0;(e|0)<(o-1|0);e=e+1|0){r[t+e|0]=0;r[t+n|0]=0;n=n+o-1|0;r[t+n|0]=0;n=n+1|0}for(e=0;(e|0)<(o|0);e=e+1|0){r[t+n|0]=0;n=n+1|0}}function h(){var t=0,e=0,n=0,r=0,h=0,g=0;e=i(o,o)|0;n=e+e|0;r=n+e|0;c(r,0);d(t);do{a(t,e);f(e,n);s(t,n,n);u(r,n,r);p(e,t);h=l(t)|0;g=(h|0)==0|0}while(!g)}return{skeletonize:h}}},function(t,e,n){"use strict";function r(t){o.a.call(this,t),this.barSpaceRatio=[1,1]}var o=n(1),i={START_PATTERN:{value:[3,1,3,1,1,1]},STOP_PATTERN:{value:[3,1,1,1,3]},CODE_PATTERN:{value:[[1,1,3,3,1],[3,1,1,1,3],[1,3,1,1,3],[3,3,1,1,1],[1,1,3,1,3],[3,1,3,1,1],[1,3,3,1,1],[1,1,1,3,3],[3,1,1,3,1],[1,3,1,3,1]]},SINGLE_CODE_ERROR:{value:.78,writable:!0},AVG_CODE_ERROR:{value:.3,writable:!0},FORMAT:{value:"2of5"}},a=i.START_PATTERN.value.reduce((function(t,e){return t+e}),0);r.prototype=Object.create(o.a.prototype,i),r.prototype.constructor=r,r.prototype._findPattern=function(t,e,n,r){var o,i,a,s,u=[],l=this,c=0,f={error:Number.MAX_VALUE,code:-1,start:0,end:0},p=l.AVG_CODE_ERROR;for(n=n||!1,r=r||!1,e||(e=l._nextSet(l._row)),o=0;o<t.length;o++)u[o]=0;for(o=e;o<l._row.length;o++)if(l._row[o]^n)u[c]++;else{if(c===u.length-1){for(s=0,a=0;a<u.length;a++)s+=u[a];if((i=l._matchPattern(u,t))<p)return f.error=i,f.start=o-s,f.end=o,f;if(!r)return null;for(a=0;a<u.length-2;a++)u[a]=u[a+2];u[u.length-2]=0,u[u.length-1]=0,c--}else c++;u[c]=1,n=!n}return null},r.prototype._findStart=function(){for(var t,e,n=this,r=n._nextSet(n._row),o=1;!e;){if(!(e=n._findPattern(n.START_PATTERN,r,!1,!0)))return null;if(o=Math.floor((e.end-e.start)/a),(t=e.start-5*o)>=0&&n._matchRange(t,e.start,0))return e;r=e.end,e=null}},r.prototype._verifyTrailingWhitespace=function(t){var e;return(e=t.end+(t.end-t.start)/2)<this._row.length&&this._matchRange(t.end,e,0)?t:null},r.prototype._findEnd=function(){var t,e,n,r=this;return r._row.reverse(),n=r._nextSet(r._row),t=r._findPattern(r.STOP_PATTERN,n,!1,!0),r._row.reverse(),null===t?null:(e=t.start,t.start=r._row.length-t.end,t.end=r._row.length-e,null!==t?r._verifyTrailingWhitespace(t):null)},r.prototype._decodeCode=function(t){var e,n,r,o=this,i=o.AVG_CODE_ERROR,a={error:Number.MAX_VALUE,code:-1,start:0,end:0};for(e=0;e<t.length;e++)t[e];for(r=0;r<o.CODE_PATTERN.length;r++)(n=o._matchPattern(t,o.CODE_PATTERN[r]))<a.error&&(a.code=r,a.error=n);if(a.error<i)return a},r.prototype._decodePayload=function(t,e,n){for(var r,o,i=0,a=t.length,s=[0,0,0,0,0];i<a;){for(r=0;r<5;r++)s[r]=t[i]*this.barSpaceRatio[0],i+=2;if(!(o=this._decodeCode(s)))return null;e.push(o.code+""),n.push(o)}return o},r.prototype._verifyCounterLength=function(t){return t.length%10==0},r.prototype._decode=function(){var t,e,n,r=this,o=[],i=[];return(t=r._findStart())?(i.push(t),(e=r._findEnd())?(n=r._fillCounters(t.end,e.start,!1),r._verifyCounterLength(n)&&r._decodePayload(n,o,i)?o.length<5?null:(i.push(e),{code:o.join(""),start:t.start,end:e.end,startInfo:t,decodedCodes:i}):null):null):null},e.a=r},function(t,e,n){"use strict";function r(){o.a.call(this),this._counters=[]}var o=n(1);r.prototype=Object.create(o.a.prototype,{ALPHABETH_STRING:{value:"0123456789-$:/.+ABCD"},ALPHABET:{value:[48,49,50,51,52,53,54,55,56,57,45,36,58,47,46,43,65,66,67,68]},CHARACTER_ENCODINGS:{value:[3,6,9,96,18,66,33,36,48,72,12,24,69,81,84,21,26,41,11,14]},START_END:{value:[26,41,11,14]},MIN_ENCODED_CHARS:{value:4},MAX_ACCEPTABLE:{value:2},PADDING:{value:1.5},FORMAT:{value:"codabar",writeable:!1}}),r.prototype.constructor=r,r.prototype._decode=function(){var t,e,n,r,o,i=this,a=[];if(this._counters=i._fillCounters(),!(t=i._findStart()))return null;r=t.startCounter;do{if((n=i._toPattern(r))<0)return null;if((e=i._patternToChar(n))<0)return null;if(a.push(e),r+=8,a.length>1&&i._isStartEnd(n))break}while(r<i._counters.length);return a.length-2<i.MIN_ENCODED_CHARS||!i._isStartEnd(n)?null:i._verifyWhitespace(t.startCounter,r-8)&&i._validateResult(a,t.startCounter)?(r=r>i._counters.length?i._counters.length:r,o=t.start+i._sumCounters(t.startCounter,r-8),{code:a.join(""),start:t.start,end:o,startInfo:t,decodedCodes:a}):null},r.prototype._verifyWhitespace=function(t,e){return(t-1<=0||this._counters[t-1]>=this._calculatePatternLength(t)/2)&&(e+8>=this._counters.length||this._counters[e+7]>=this._calculatePatternLength(e)/2)},r.prototype._calculatePatternLength=function(t){var e,n=0;for(e=t;e<t+7;e++)n+=this._counters[e];return n},r.prototype._thresholdResultPattern=function(t,e){var n,r,o,i,a,s=this,u={space:{narrow:{size:0,counts:0,min:0,max:Number.MAX_VALUE},wide:{size:0,counts:0,min:0,max:Number.MAX_VALUE}},bar:{narrow:{size:0,counts:0,min:0,max:Number.MAX_VALUE},wide:{size:0,counts:0,min:0,max:Number.MAX_VALUE}}},l=e;for(o=0;o<t.length;o++){for(a=s._charToPattern(t[o]),i=6;i>=0;i--)n=2==(1&i)?u.bar:u.space,(r=1==(1&a)?n.wide:n.narrow).size+=s._counters[l+i],r.counts++,a>>=1;l+=8}return["space","bar"].forEach((function(t){var e=u[t];e.wide.min=Math.floor((e.narrow.size/e.narrow.counts+e.wide.size/e.wide.counts)/2),e.narrow.max=Math.ceil(e.wide.min),e.wide.max=Math.ceil((e.wide.size*s.MAX_ACCEPTABLE+s.PADDING)/e.wide.counts)})),u},r.prototype._charToPattern=function(t){var e,n=this,r=t.charCodeAt(0);for(e=0;e<n.ALPHABET.length;e++)if(n.ALPHABET[e]===r)return n.CHARACTER_ENCODINGS[e];return 0},r.prototype._validateResult=function(t,e){var n,r,o,i,a,s,u=this,l=u._thresholdResultPattern(t,e),c=e;for(n=0;n<t.length;n++){for(s=u._charToPattern(t[n]),r=6;r>=0;r--){if(o=0==(1&r)?l.bar:l.space,i=1==(1&s)?o.wide:o.narrow,(a=u._counters[c+r])<i.min||a>i.max)return!1;s>>=1}c+=8}return!0},r.prototype._patternToChar=function(t){var e,n=this;for(e=0;e<n.CHARACTER_ENCODINGS.length;e++)if(n.CHARACTER_ENCODINGS[e]===t)return String.fromCharCode(n.ALPHABET[e]);return-1},r.prototype._computeAlternatingThreshold=function(t,e){var n,r,o=Number.MAX_VALUE,i=0;for(n=t;n<e;n+=2)(r=this._counters[n])>i&&(i=r),r<o&&(o=r);return(o+i)/2|0},r.prototype._toPattern=function(t){var e,n,r,o,i=t+7,a=64,s=0;if(i>this._counters.length)return-1;for(e=this._computeAlternatingThreshold(t,i),n=this._computeAlternatingThreshold(t+1,i),r=0;r<7;r++)o=0==(1&r)?e:n,this._counters[t+r]>o&&(s|=a),a>>=1;return s},r.prototype._isStartEnd=function(t){var e;for(e=0;e<this.START_END.length;e++)if(this.START_END[e]===t)return!0;return!1},r.prototype._sumCounters=function(t,e){var n,r=0;for(n=t;n<e;n++)r+=this._counters[n];return r},r.prototype._findStart=function(){var t,e,n=this,r=n._nextUnset(n._row);for(t=1;t<this._counters.length;t++)if(-1!==(e=n._toPattern(t))&&n._isStartEnd(e))return{start:r+=n._sumCounters(0,t),end:r+n._sumCounters(t,t+8),startCounter:t,endCounter:t+8}},e.a=r},function(t,e,n){"use strict";function r(){i.a.call(this)}function o(t,e,n){for(var r=n.length,o=0,i=0;r--;)i+=t[n[r]],o+=e[n[r]];return i/o}var i=n(1);r.prototype=Object.create(i.a.prototype,{CODE_SHIFT:{value:98},CODE_C:{value:99},CODE_B:{value:100},CODE_A:{value:101},START_CODE_A:{value:103},START_CODE_B:{value:104},START_CODE_C:{value:105},STOP_CODE:{value:106},CODE_PATTERN:{value:[[2,1,2,2,2,2],[2,2,2,1,2,2],[2,2,2,2,2,1],[1,2,1,2,2,3],[1,2,1,3,2,2],[1,3,1,2,2,2],[1,2,2,2,1,3],[1,2,2,3,1,2],[1,3,2,2,1,2],[2,2,1,2,1,3],[2,2,1,3,1,2],[2,3,1,2,1,2],[1,1,2,2,3,2],[1,2,2,1,3,2],[1,2,2,2,3,1],[1,1,3,2,2,2],[1,2,3,1,2,2],[1,2,3,2,2,1],[2,2,3,2,1,1],[2,2,1,1,3,2],[2,2,1,2,3,1],[2,1,3,2,1,2],[2,2,3,1,1,2],[3,1,2,1,3,1],[3,1,1,2,2,2],[3,2,1,1,2,2],[3,2,1,2,2,1],[3,1,2,2,1,2],[3,2,2,1,1,2],[3,2,2,2,1,1],[2,1,2,1,2,3],[2,1,2,3,2,1],[2,3,2,1,2,1],[1,1,1,3,2,3],[1,3,1,1,2,3],[1,3,1,3,2,1],[1,1,2,3,1,3],[1,3,2,1,1,3],[1,3,2,3,1,1],[2,1,1,3,1,3],[2,3,1,1,1,3],[2,3,1,3,1,1],[1,1,2,1,3,3],[1,1,2,3,3,1],[1,3,2,1,3,1],[1,1,3,1,2,3],[1,1,3,3,2,1],[1,3,3,1,2,1],[3,1,3,1,2,1],[2,1,1,3,3,1],[2,3,1,1,3,1],[2,1,3,1,1,3],[2,1,3,3,1,1],[2,1,3,1,3,1],[3,1,1,1,2,3],[3,1,1,3,2,1],[3,3,1,1,2,1],[3,1,2,1,1,3],[3,1,2,3,1,1],[3,3,2,1,1,1],[3,1,4,1,1,1],[2,2,1,4,1,1],[4,3,1,1,1,1],[1,1,1,2,2,4],[1,1,1,4,2,2],[1,2,1,1,2,4],[1,2,1,4,2,1],[1,4,1,1,2,2],[1,4,1,2,2,1],[1,1,2,2,1,4],[1,1,2,4,1,2],[1,2,2,1,1,4],[1,2,2,4,1,1],[1,4,2,1,1,2],[1,4,2,2,1,1],[2,4,1,2,1,1],[2,2,1,1,1,4],[4,1,3,1,1,1],[2,4,1,1,1,2],[1,3,4,1,1,1],[1,1,1,2,4,2],[1,2,1,1,4,2],[1,2,1,2,4,1],[1,1,4,2,1,2],[1,2,4,1,1,2],[1,2,4,2,1,1],[4,1,1,2,1,2],[4,2,1,1,1,2],[4,2,1,2,1,1],[2,1,2,1,4,1],[2,1,4,1,2,1],[4,1,2,1,2,1],[1,1,1,1,4,3],[1,1,1,3,4,1],[1,3,1,1,4,1],[1,1,4,1,1,3],[1,1,4,3,1,1],[4,1,1,1,1,3],[4,1,1,3,1,1],[1,1,3,1,4,1],[1,1,4,1,3,1],[3,1,1,1,4,1],[4,1,1,1,3,1],[2,1,1,4,1,2],[2,1,1,2,1,4],[2,1,1,2,3,2],[2,3,3,1,1,1,2]]},SINGLE_CODE_ERROR:{value:.64},AVG_CODE_ERROR:{value:.3},FORMAT:{value:"code_128",writeable:!1},MODULE_INDICES:{value:{bar:[0,2,4],space:[1,3,5]}}}),r.prototype.constructor=r,r.prototype._decodeCode=function(t,e){var n,r,i,a=[0,0,0,0,0,0],s=this,u=t,l=!s._row[u],c=0,f={error:Number.MAX_VALUE,code:-1,start:t,end:t,correction:{bar:1,space:1}};for(n=u;n<s._row.length;n++)if(s._row[n]^l)a[c]++;else{if(c===a.length-1){for(e&&s._correct(a,e),r=0;r<s.CODE_PATTERN.length;r++)(i=s._matchPattern(a,s.CODE_PATTERN[r]))<f.error&&(f.code=r,f.error=i);return f.end=n,-1===f.code||f.error>s.AVG_CODE_ERROR?null:(s.CODE_PATTERN[f.code]&&(f.correction.bar=o(s.CODE_PATTERN[f.code],a,this.MODULE_INDICES.bar),f.correction.space=o(s.CODE_PATTERN[f.code],a,this.MODULE_INDICES.space)),f)}a[++c]=1,l=!l}return null},r.prototype._correct=function(t,e){this._correctBars(t,e.bar,this.MODULE_INDICES.bar),this._correctBars(t,e.space,this.MODULE_INDICES.space)},r.prototype._findStart=function(){var t,e,n,r,i,a=[0,0,0,0,0,0],s=this,u=s._nextSet(s._row),l=!1,c=0,f={error:Number.MAX_VALUE,code:-1,start:0,end:0,correction:{bar:1,space:1}};for(t=u;t<s._row.length;t++)if(s._row[t]^l)a[c]++;else{if(c===a.length-1){for(i=0,r=0;r<a.length;r++)i+=a[r];for(e=s.START_CODE_A;e<=s.START_CODE_C;e++)(n=s._matchPattern(a,s.CODE_PATTERN[e]))<f.error&&(f.code=e,f.error=n);if(f.error<s.AVG_CODE_ERROR)return f.start=t-i,f.end=t,f.correction.bar=o(s.CODE_PATTERN[f.code],a,this.MODULE_INDICES.bar),f.correction.space=o(s.CODE_PATTERN[f.code],a,this.MODULE_INDICES.space),f;for(r=0;r<4;r++)a[r]=a[r+2];a[4]=0,a[5]=0,c--}else c++;a[c]=1,l=!l}return null},r.prototype._decode=function(){var t,e,n=this,r=n._findStart(),o=null,i=!1,a=[],s=0,u=0,l=[],c=[],f=!1,p=!0;if(null===r)return null;switch(o={code:r.code,start:r.start,end:r.end,correction:{bar:r.correction.bar,space:r.correction.space}},c.push(o),u=o.code,o.code){case n.START_CODE_A:t=n.CODE_A;break;case n.START_CODE_B:t=n.CODE_B;break;case n.START_CODE_C:t=n.CODE_C;break;default:return null}for(;!i;){if(e=f,f=!1,null!==(o=n._decodeCode(o.end,o.correction)))switch(o.code!==n.STOP_CODE&&(p=!0),o.code!==n.STOP_CODE&&(l.push(o.code),s++,u+=s*o.code),c.push(o),t){case n.CODE_A:if(o.code<64)a.push(String.fromCharCode(32+o.code));else if(o.code<96)a.push(String.fromCharCode(o.code-64));else switch(o.code!==n.STOP_CODE&&(p=!1),o.code){case n.CODE_SHIFT:f=!0,t=n.CODE_B;break;case n.CODE_B:t=n.CODE_B;break;case n.CODE_C:t=n.CODE_C;break;case n.STOP_CODE:i=!0}break;case n.CODE_B:if(o.code<96)a.push(String.fromCharCode(32+o.code));else switch(o.code!==n.STOP_CODE&&(p=!1),o.code){case n.CODE_SHIFT:f=!0,t=n.CODE_A;break;case n.CODE_A:t=n.CODE_A;break;case n.CODE_C:t=n.CODE_C;break;case n.STOP_CODE:i=!0}break;case n.CODE_C:if(o.code<100)a.push(o.code<10?"0"+o.code:o.code);else switch(o.code!==n.STOP_CODE&&(p=!1),o.code){case n.CODE_A:t=n.CODE_A;break;case n.CODE_B:t=n.CODE_B;break;case n.STOP_CODE:i=!0}}else i=!0;e&&(t=t===n.CODE_A?n.CODE_B:n.CODE_A)}return null===o?null:(o.end=n._nextUnset(n._row,o.end),n._verifyTrailingWhitespace(o)?(u-=s*l[l.length-1])%103!==l[l.length-1]?null:a.length?(p&&a.splice(a.length-1,1),{code:a.join(""),start:r.start,end:o.end,codeset:t,startInfo:r,decodedCodes:c,endInfo:o}):null:null)},i.a.prototype._verifyTrailingWhitespace=function(t){var e;return(e=t.end+(t.end-t.start)/2)<this._row.length&&this._matchRange(t.end,e,0)?t:null},e.a=r},function(t,e,n){"use strict";function r(){o.a.call(this)}var o=n(31),i=/[IOQ]/g,a=/[A-Z0-9]{17}/;r.prototype=Object.create(o.a.prototype),r.prototype.constructor=r,r.prototype._decode=function(){var t=o.a.prototype._decode.apply(this);if(!t)return null;var e=t.code;return e&&(e=e.replace(i,"")).match(a)&&this._checkChecksum(e)?(t.code=e,t):null},r.prototype._checkChecksum=function(t){return!!t},e.a=r},function(t,e,n){"use strict";function r(){o.a.call(this)}var o=n(1),i=n(3),a="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-. $/+%abcd*",s={ALPHABETH_STRING:{value:a},ALPHABET:{value:a.split("").map((function(t){return t.charCodeAt(0)}))},CHARACTER_ENCODINGS:{value:[276,328,324,322,296,292,290,336,274,266,424,420,418,404,402,394,360,356,354,308,282,344,332,326,300,278,436,434,428,422,406,410,364,358,310,314,302,468,466,458,366,374,430,294,474,470,306,350]},ASTERISK:{value:350},FORMAT:{value:"code_93",writeable:!1}};r.prototype=Object.create(o.a.prototype,s),r.prototype.constructor=r,r.prototype._decode=function(){var t,e,n,r,o=this,a=[0,0,0,0,0,0],s=[],u=o._findStart();if(!u)return null;r=o._nextSet(o._row,u.end);do{if(a=o._toCounters(r,a),(n=o._toPattern(a))<0)return null;if((t=o._patternToChar(n))<0)return null;s.push(t),e=r,r+=i.a.sum(a),r=o._nextSet(o._row,r)}while("*"!==t);return s.pop(),s.length&&o._verifyEnd(e,r,a)&&o._verifyChecksums(s)?(s=s.slice(0,s.length-2),null===(s=o._decodeExtended(s))?null:{code:s.join(""),start:u.start,end:r,startInfo:u,decodedCodes:s}):null},r.prototype._verifyEnd=function(t,e){return!(t===e||!this._row[e])},r.prototype._patternToChar=function(t){var e,n=this;for(e=0;e<n.CHARACTER_ENCODINGS.length;e++)if(n.CHARACTER_ENCODINGS[e]===t)return String.fromCharCode(n.ALPHABET[e]);return-1},r.prototype._toPattern=function(t){for(var e=t.length,n=0,r=0,o=0;o<e;o++)r+=t[o];for(var i=0;i<e;i++){var a=Math.round(9*t[i]/r);if(a<1||a>4)return-1;if(0==(1&i))for(var s=0;s<a;s++)n=n<<1|1;else n<<=a}return n},r.prototype._findStart=function(){var t,e,n,r=this,o=r._nextSet(r._row),i=o,a=[0,0,0,0,0,0],s=0,u=!1;for(t=o;t<r._row.length;t++)if(r._row[t]^u)a[s]++;else{if(s===a.length-1){if(r._toPattern(a)===r.ASTERISK&&(n=Math.floor(Math.max(0,i-(t-i)/4)),r._matchRange(n,i,0)))return{start:i,end:t};for(i+=a[0]+a[1],e=0;e<4;e++)a[e]=a[e+2];a[4]=0,a[5]=0,s--}else s++;a[s]=1,u=!u}return null},r.prototype._decodeExtended=function(t){for(var e=t.length,n=[],r=0;r<e;r++){var o=t[r];if(o>="a"&&o<="d"){if(r>e-2)return null;var i=t[++r],a=i.charCodeAt(0),s=void 0;switch(o){case"a":if(!(i>="A"&&i<="Z"))return null;s=String.fromCharCode(a-64);break;case"b":if(i>="A"&&i<="E")s=String.fromCharCode(a-38);else if(i>="F"&&i<="J")s=String.fromCharCode(a-11);else if(i>="K"&&i<="O")s=String.fromCharCode(a+16);else if(i>="P"&&i<="S")s=String.fromCharCode(a+43);else{if(!(i>="T"&&i<="Z"))return null;s=String.fromCharCode(127)}break;case"c":if(i>="A"&&i<="O")s=String.fromCharCode(a-32);else{if("Z"!==i)return null;s=":"}break;case"d":if(!(i>="A"&&i<="Z"))return null;s=String.fromCharCode(a+32)}n.push(s)}else n.push(o)}return n},r.prototype._verifyChecksums=function(t){return this._matchCheckChar(t,t.length-2,20)&&this._matchCheckChar(t,t.length-1,15)},r.prototype._matchCheckChar=function(t,e,n){var r=this,o=t.slice(0,e),i=o.length,a=o.reduce((function(t,e,o){return t+((-1*o+(i-1))%n+1)*r.ALPHABET.indexOf(e.charCodeAt(0))}),0);return this.ALPHABET[a%47]===t[e].charCodeAt(0)},e.a=r},function(t,e,n){"use strict";function r(){o.a.call(this)}var o=n(4);r.prototype=Object.create(o.a.prototype,{FORMAT:{value:"ean_2",writeable:!1}}),r.prototype.constructor=r,r.prototype.decode=function(t,e){this._row=t;var n,r=0,o=0,i=e,a=this._row.length,s=[],u=[];for(o=0;o<2&&i<a;o++){if(!(n=this._decodeCode(i)))return null;u.push(n),s.push(n.code%10),n.code>=this.CODE_G_START&&(r|=1<<1-o),1!=o&&(i=this._nextSet(this._row,n.end),i=this._nextUnset(this._row,i))}return 2!=s.length||parseInt(s.join(""))%4!==r?null:{code:s.join(""),decodedCodes:u,end:n.end}},e.a=r},function(t,e,n){"use strict";function r(){i.a.call(this)}function o(t){var e;for(e=0;e<10;e++)if(t===a[e])return e;return null}var i=n(4),a=[24,20,18,17,12,6,3,10,9,5];r.prototype=Object.create(i.a.prototype,{FORMAT:{value:"ean_5",writeable:!1}}),r.prototype.constructor=r,r.prototype.decode=function(t,e){this._row=t;var n,r=0,i=0,a=e,s=this._row.length,u=[],l=[];for(i=0;i<5&&a<s;i++){if(!(n=this._decodeCode(a)))return null;l.push(n),u.push(n.code%10),n.code>=this.CODE_G_START&&(r|=1<<4-i),4!=i&&(a=this._nextSet(this._row,n.end),a=this._nextUnset(this._row,a))}return 5!=u.length||function(t){var e,n=t.length,r=0;for(e=n-2;e>=0;e-=2)r+=t[e];for(r*=3,e=n-1;e>=0;e-=2)r+=t[e];return(r*=3)%10}(u)!==o(r)?null:{code:u.join(""),decodedCodes:l,end:n.end}},e.a=r},function(t,e,n){"use strict";function r(t,e){o.a.call(this,t,e)}var o=n(4);r.prototype=Object.create(o.a.prototype,{FORMAT:{value:"ean_8",writeable:!1}}),r.prototype.constructor=r,r.prototype._decodePayload=function(t,e,n){var r,o=this;for(r=0;r<4;r++){if(!(t=o._decodeCode(t.end,o.CODE_G_START)))return null;e.push(t.code),n.push(t)}if(null===(t=o._findPattern(o.MIDDLE_PATTERN,t.end,!0,!1)))return null;for(n.push(t),r=0;r<4;r++){if(!(t=o._decodeCode(t.end,o.CODE_G_START)))return null;n.push(t),e.push(t.code)}return t},e.a=r},function(t,e,n){"use strict";function r(t){t=i()(function(){var t={};return Object.keys(r.CONFIG_KEYS).forEach((function(e){t[e]=r.CONFIG_KEYS[e].default})),t}(),t),a.a.call(this,t),this.barSpaceRatio=[1,1],t.normalizeBarSpaceWidth&&(this.SINGLE_CODE_ERROR=.38,this.AVG_CODE_ERROR=.09)}var o=n(28),i=n.n(o),a=n(1),s={START_PATTERN:{value:[1,1,1,1]},STOP_PATTERN:{value:[1,1,3]},CODE_PATTERN:{value:[[1,1,3,3,1],[3,1,1,1,3],[1,3,1,1,3],[3,3,1,1,1],[1,1,3,1,3],[3,1,3,1,1],[1,3,3,1,1],[1,1,1,3,3],[3,1,1,3,1],[1,3,1,3,1]]},SINGLE_CODE_ERROR:{value:.78,writable:!0},AVG_CODE_ERROR:{value:.38,writable:!0},MAX_CORRECTION_FACTOR:{value:5},FORMAT:{value:"i2of5"}};r.prototype=Object.create(a.a.prototype,s),r.prototype.constructor=r,r.prototype._matchPattern=function(t,e){if(this.config.normalizeBarSpaceWidth){var n,r=[0,0],o=[0,0],i=[0,0],s=this.MAX_CORRECTION_FACTOR,u=1/s;for(n=0;n<t.length;n++)r[n%2]+=t[n],o[n%2]+=e[n];for(i[0]=o[0]/r[0],i[1]=o[1]/r[1],i[0]=Math.max(Math.min(i[0],s),u),i[1]=Math.max(Math.min(i[1],s),u),this.barSpaceRatio=i,n=0;n<t.length;n++)t[n]*=this.barSpaceRatio[n%2]}return a.a.prototype._matchPattern.call(this,t,e)},r.prototype._findPattern=function(t,e,n,r){var o,i,a,s,u=[],l=this,c=0,f={error:Number.MAX_VALUE,code:-1,start:0,end:0},p=l.AVG_CODE_ERROR;for(n=n||!1,r=r||!1,e||(e=l._nextSet(l._row)),o=0;o<t.length;o++)u[o]=0;for(o=e;o<l._row.length;o++)if(l._row[o]^n)u[c]++;else{if(c===u.length-1){for(s=0,a=0;a<u.length;a++)s+=u[a];if((i=l._matchPattern(u,t))<p)return f.error=i,f.start=o-s,f.end=o,f;if(!r)return null;for(a=0;a<u.length-2;a++)u[a]=u[a+2];u[u.length-2]=0,u[u.length-1]=0,c--}else c++;u[c]=1,n=!n}return null},r.prototype._findStart=function(){for(var t,e,n=this,r=n._nextSet(n._row),o=1;!e;){if(!(e=n._findPattern(n.START_PATTERN,r,!1,!0)))return null;if(o=Math.floor((e.end-e.start)/4),(t=e.start-10*o)>=0&&n._matchRange(t,e.start,0))return e;r=e.end,e=null}},r.prototype._verifyTrailingWhitespace=function(t){var e;return(e=t.end+(t.end-t.start)/2)<this._row.length&&this._matchRange(t.end,e,0)?t:null},r.prototype._findEnd=function(){var t,e,n=this;return n._row.reverse(),t=n._findPattern(n.STOP_PATTERN),n._row.reverse(),null===t?null:(e=t.start,t.start=n._row.length-t.end,t.end=n._row.length-e,null!==t?n._verifyTrailingWhitespace(t):null)},r.prototype._decodePair=function(t){var e,n,r=[];for(e=0;e<t.length;e++){if(!(n=this._decodeCode(t[e])))return null;r.push(n)}return r},r.prototype._decodeCode=function(t){var e,n,r,o=this,i=o.AVG_CODE_ERROR,a={error:Number.MAX_VALUE,code:-1,start:0,end:0};for(e=0;e<t.length;e++)t[e];for(r=0;r<o.CODE_PATTERN.length;r++)(n=o._matchPattern(t,o.CODE_PATTERN[r]))<a.error&&(a.code=r,a.error=n);if(a.error<i)return a},r.prototype._decodePayload=function(t,e,n){for(var r,o,i=0,a=t.length,s=[[0,0,0,0,0],[0,0,0,0,0]];i<a;){for(r=0;r<5;r++)s[0][r]=t[i]*this.barSpaceRatio[0],s[1][r]=t[i+1]*this.barSpaceRatio[1],i+=2;if(!(o=this._decodePair(s)))return null;for(r=0;r<o.length;r++)e.push(o[r].code+""),n.push(o[r])}return o},r.prototype._verifyCounterLength=function(t){return t.length%10==0},r.prototype._decode=function(){var t,e,n,r=this,o=[],i=[];return(t=r._findStart())?(i.push(t),(e=r._findEnd())?(n=r._fillCounters(t.end,e.start,!1),r._verifyCounterLength(n)&&r._decodePayload(n,o,i)?o.length%2!=0||o.length<6?null:(i.push(e),{code:o.join(""),start:t.start,end:e.end,startInfo:t,decodedCodes:i}):null):null):null},r.CONFIG_KEYS={normalizeBarSpaceWidth:{type:"boolean",default:!1,description:"If true, the reader tries to normalize thewidth-difference between bars and spaces"}},e.a=r},function(t,e,n){"use strict";function r(t,e){o.a.call(this,t,e)}var o=n(4);r.prototype=Object.create(o.a.prototype,{CODE_FREQUENCY:{value:[[56,52,50,49,44,38,35,42,41,37],[7,11,13,14,19,25,28,21,22,26]]},STOP_PATTERN:{value:[1/6*7,1/6*7,1/6*7,1/6*7,1/6*7,1/6*7]},FORMAT:{value:"upc_e",writeable:!1}}),r.prototype.constructor=r,r.prototype._decodePayload=function(t,e,n){var r,o=this,i=0;for(r=0;r<6;r++){if(!(t=o._decodeCode(t.end)))return null;t.code>=o.CODE_G_START&&(t.code=t.code-o.CODE_G_START,i|=1<<5-r),e.push(t.code),n.push(t)}return o._determineParity(i,e)?t:null},r.prototype._determineParity=function(t,e){var n,r;for(r=0;r<this.CODE_FREQUENCY.length;r++)for(n=0;n<this.CODE_FREQUENCY[r].length;n++)if(t===this.CODE_FREQUENCY[r][n])return e.unshift(r),e.push(n),!0;return!1},r.prototype._convertToUPCA=function(t){var e=[t[0]],n=t[t.length-2];return(e=n<=2?e.concat(t.slice(1,3)).concat([n,0,0,0,0]).concat(t.slice(3,6)):3===n?e.concat(t.slice(1,4)).concat([0,0,0,0,0]).concat(t.slice(4,6)):4===n?e.concat(t.slice(1,5)).concat([0,0,0,0,0,t[5]]):e.concat(t.slice(1,6)).concat([0,0,0,0,n])).push(t[t.length-1]),e},r.prototype._checksum=function(t){return o.a.prototype._checksum.call(this,this._convertToUPCA(t))},r.prototype._findEnd=function(t,e){return o.a.prototype._findEnd.call(this,t,!0)},r.prototype._verifyTrailingWhitespace=function(t){var e;if((e=t.end+(t.end-t.start)/2)<this._row.length&&this._matchRange(t.end,e,0))return t},e.a=r},function(t,e,n){"use strict";function r(t,e){o.a.call(this,t,e)}var o=n(4);r.prototype=Object.create(o.a.prototype,{FORMAT:{value:"upc_a",writeable:!1}}),r.prototype.constructor=r,r.prototype._decode=function(){var t=o.a.prototype._decode.call(this);return t&&t.code&&13===t.code.length&&"0"===t.code.charAt(0)?(t.code=t.code.substring(1),t):null},e.a=r},function(t,e){t.exports=function(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}},function(t,e){t.exports=function(){var t=new Float32Array(4);return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t}},function(t,e){t.exports=function(t,e){var n=e[0],r=e[1],o=e[2],i=e[3],a=n*i-o*r;return a?(a=1/a,t[0]=i*a,t[1]=-r*a,t[2]=-o*a,t[3]=n*a,t):null}},function(t,e){t.exports=function(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t}},function(t,e){t.exports=function(t,e,n){var r=e[0],o=e[1];return t[0]=n[0]*r+n[2]*o,t[1]=n[1]*r+n[3]*o,t}},function(t,e){t.exports=function(t){var e=new Float32Array(3);return e[0]=t[0],e[1]=t[1],e[2]=t[2],e}},function(t,e,n){function r(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}var o=n(122),i=n(123),a=n(124),s=n(125),u=n(126);r.prototype.clear=o,r.prototype.delete=i,r.prototype.get=a,r.prototype.has=s,r.prototype.set=u,t.exports=r},function(t,e,n){function r(t){var e=this.__data__=new o(t);this.size=e.size}var o=n(10),i=n(149),a=n(150),s=n(151),u=n(152),l=n(153);r.prototype.clear=i,r.prototype.delete=a,r.prototype.get=s,r.prototype.has=u,r.prototype.set=l,t.exports=r},function(t,e,n){var r=n(5).Uint8Array;t.exports=r},function(t,e){t.exports=function(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}},function(t,e,n){var r=n(107),o=n(18),i=n(2),a=n(44),s=n(15),u=n(45),l=Object.prototype.hasOwnProperty;t.exports=function(t,e){var n=i(t),c=!n&&o(t),f=!n&&!c&&a(t),p=!n&&!c&&!f&&u(t),d=n||c||f||p,h=d?r(t.length,String):[],g=h.length;for(var y in t)!e&&!l.call(t,y)||d&&("length"==y||f&&("offset"==y||"parent"==y)||p&&("buffer"==y||"byteLength"==y||"byteOffset"==y)||s(y,g))||h.push(y);return h}},function(t,e){t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length,o=Array(r);++n<r;)o[n]=e(t[n],n,t);return o}},function(t,e){t.exports=function(t,e){for(var n=-1,r=e.length,o=t.length;++n<r;)t[o+n]=e[n];return t}},function(t,e,n){var r=n(0),o=Object.create,i=function(){function t(){}return function(e){if(!r(e))return{};if(o)return o(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();t.exports=i},function(t,e,n){var r=n(90),o=n(128);t.exports=function t(e,n,i,a,s){var u=-1,l=e.length;for(i||(i=o),s||(s=[]);++u<l;){var c=e[u];n>0&&i(c)?n>1?t(c,n-1,i,a,s):r(s,c):a||(s[s.length]=c)}return s}},function(t,e,n){var r=n(117)();t.exports=r},function(t,e,n){var r=n(13),o=n(23);t.exports=function(t,e){for(var n=0,i=(e=r(e,t)).length;null!=t&&n<i;)t=t[o(e[n++])];return n&&n==i?t:void 0}},function(t,e){t.exports=function(t,e){return null!=t&&e in Object(t)}},function(t,e,n){var r=n(8),o=n(6),i="[object Arguments]";t.exports=function(t){return o(t)&&r(t)==i}},function(t,e,n){var r=n(25),o=n(132),i=n(0),a=n(155),s=/^\[object .+?Constructor\]$/,u=Function.prototype,l=Object.prototype,c=u.toString,f=l.hasOwnProperty,p=RegExp("^"+c.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!i(t)||o(t))&&(r(t)?p:s).test(a(t))}},function(t,e,n){var r=n(8),o=n(26),i=n(6),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,t.exports=function(t){return i(t)&&o(t.length)&&!!a[r(t)]}},function(t,e,n){var r=n(0),o=n(40),i=n(144),a=Object.prototype.hasOwnProperty;t.exports=function(t){if(!r(t))return i(t);var e=o(t),n=[];for(var s in t)("constructor"!=s||!e&&a.call(t,s))&&n.push(s);return n}},function(t,e,n){var r=n(85),o=n(35),i=n(93),a=n(101),s=n(0),u=n(46);t.exports=function t(e,n,l,c,f){e!==n&&i(n,(function(i,u){if(s(i))f||(f=new r),a(e,n,u,l,t,c,f);else{var p=c?c(e[u],i,u+"",e,n,f):void 0;void 0===p&&(p=i),o(e,u,p)}}),u)}},function(t,e,n){var r=n(35),o=n(111),i=n(112),a=n(113),s=n(127),u=n(18),l=n(2),c=n(159),f=n(44),p=n(25),d=n(0),h=n(160),g=n(45),y=n(164);t.exports=function(t,e,n,v,m,w,E){var b=t[n],_=e[n],C=E.get(_);if(C)r(t,n,C);else{var S=w?w(b,_,n+"",t,e,E):void 0,A=void 0===S;if(A){var O=l(_),I=!O&&f(_),T=!O&&!I&&g(_);S=_,O||I||T?l(b)?S=b:c(b)?S=a(b):I?(A=!1,S=o(_,!0)):T?(A=!1,S=i(_,!0)):S=[]:h(_)||u(_)?(S=b,u(b)?S=y(b):(!d(b)||v&&p(b))&&(S=s(_))):A=!1}A&&(E.set(_,S),m(S,_,v,w,E),E.delete(_)),r(t,n,S)}}},function(t,e,n){var r=n(103),o=n(158);t.exports=function(t,e){return r(t,e,(function(e,n){return o(t,n)}))}},function(t,e,n){var r=n(94),o=n(105),i=n(13);t.exports=function(t,e,n){for(var a=-1,s=e.length,u={};++a<s;){var l=e[a],c=r(t,l);n(c,l)&&o(u,i(l,t),c)}return u}},function(t,e,n){var r=n(43),o=n(41),i=n(42);t.exports=function(t,e){return i(o(t,e,r),t+"")}},function(t,e,n){var r=n(36),o=n(13),i=n(15),a=n(0),s=n(23);t.exports=function(t,e,n,u){if(!a(t))return t;for(var l=-1,c=(e=o(e,t)).length,f=c-1,p=t;null!=p&&++l<c;){var d=s(e[l]),h=n;if(l!=f){var g=p[d];void 0===(h=u?u(g,d,p):void 0)&&(h=a(g)?g:i(e[l+1])?[]:{})}r(p,d,h),p=p[d]}return t}},function(t,e,n){var r=n(156),o=n(37),i=n(43),a=o?function(t,e){return o(t,"toString",{configurable:!0,enumerable:!1,value:r(e),writable:!0})}:i;t.exports=a},function(t,e){t.exports=function(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}},function(t,e,n){var r=n(11),o=n(89),i=n(2),a=n(27),s=1/0,u=r?r.prototype:void 0,l=u?u.toString:void 0;t.exports=function t(e){if("string"==typeof e)return e;if(i(e))return o(e,t)+"";if(a(e))return l?l.call(e):"";var n=e+"";return"0"==n&&1/e==-s?"-0":n}},function(t,e){t.exports=function(t){return function(e){return t(e)}}},function(t,e,n){var r=n(86);t.exports=function(t){var e=new t.constructor(t.byteLength);return new r(e).set(new r(t)),e}},function(t,e,n){(function(t){var r=n(5),o="object"==typeof e&&e&&!e.nodeType&&e,i=o&&"object"==typeof t&&t&&!t.nodeType&&t,a=i&&i.exports===o?r.Buffer:void 0,s=a?a.allocUnsafe:void 0;t.exports=function(t,e){if(e)return t.slice();var n=t.length,r=s?s(n):new t.constructor(n);return t.copy(r),r}}).call(e,n(29)(t))},function(t,e,n){var r=n(110);t.exports=function(t,e){var n=e?r(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}},function(t,e){t.exports=function(t,e){var n=-1,r=t.length;for(e||(e=Array(r));++n<r;)e[n]=t[n];return e}},function(t,e,n){var r=n(36),o=n(21);t.exports=function(t,e,n,i){var a=!n;n||(n={});for(var s=-1,u=e.length;++s<u;){var l=e[s],c=i?i(n[l],t[l],l,n,t):void 0;void 0===c&&(c=t[l]),a?o(n,l,c):r(n,l,c)}return n}},function(t,e,n){var r=n(5)["__core-js_shared__"];t.exports=r},function(t,e,n){var r=n(104),o=n(129);t.exports=function(t){return r((function(e,n){var r=-1,i=n.length,a=i>1?n[i-1]:void 0,s=i>2?n[2]:void 0;for(a=t.length>3&&"function"==typeof a?(i--,a):void 0,s&&o(n[0],n[1],s)&&(a=i<3?void 0:a,i=1),e=Object(e);++r<i;){var u=n[r];u&&t(e,u,r,a)}return e}))}},function(t,e){t.exports=function(t){return function(e,n,r){for(var o=-1,i=Object(e),a=r(e),s=a.length;s--;){var u=a[t?s:++o];if(!1===n(i[u],u,i))break}return e}}},function(t,e,n){var r=n(157),o=n(41),i=n(42);t.exports=function(t){return i(o(t,void 0,r),t+"")}},function(t,e,n){var r=n(11),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,s=r?r.toStringTag:void 0;t.exports=function(t){var e=i.call(t,s),n=t[s];try{t[s]=void 0;var r=!0}catch(t){}var o=a.call(t);return r&&(e?t[s]=n:delete t[s]),o}},function(t,e){t.exports=function(t,e){return null==t?void 0:t[e]}},function(t,e,n){var r=n(13),o=n(18),i=n(2),a=n(15),s=n(26),u=n(23);t.exports=function(t,e,n){for(var l=-1,c=(e=r(e,t)).length,f=!1;++l<c;){var p=u(e[l]);if(!(f=null!=t&&n(t,p)))break;t=t[p]}return f||++l!=c?f:!!(c=null==t?0:t.length)&&s(c)&&a(p,c)&&(i(t)||o(t))}},function(t,e,n){var r=n(16);t.exports=function(){this.__data__=r?r(null):{},this.size=0}},function(t,e){t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},function(t,e,n){var r=n(16),o="__lodash_hash_undefined__",i=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(r){var n=e[t];return n===o?void 0:n}return i.call(e,t)?e[t]:void 0}},function(t,e,n){var r=n(16),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return r?void 0!==e[t]:o.call(e,t)}},function(t,e,n){var r=n(16),o="__lodash_hash_undefined__";t.exports=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=r&&void 0===e?o:e,this}},function(t,e,n){var r=n(91),o=n(39),i=n(40);t.exports=function(t){return"function"!=typeof t.constructor||i(t)?{}:r(o(t))}},function(t,e,n){var r=n(11),o=n(18),i=n(2),a=r?r.isConcatSpreadable:void 0;t.exports=function(t){return i(t)||o(t)||!!(a&&t&&t[a])}},function(t,e,n){var r=n(17),o=n(24),i=n(15),a=n(0);t.exports=function(t,e,n){if(!a(n))return!1;var s=typeof e;return!!("number"==s?o(n)&&i(e,n.length):"string"==s&&e in n)&&r(n[e],t)}},function(t,e,n){var r=n(2),o=n(27),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;t.exports=function(t,e){if(r(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!o(t))||a.test(t)||!i.test(t)||null!=e&&t in Object(e)}},function(t,e){t.exports=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},function(t,e,n){var r=n(115),o=function(){var t=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();t.exports=function(t){return!!o&&o in t}},function(t,e){t.exports=function(){this.__data__=[],this.size=0}},function(t,e,n){var r=n(12),o=Array.prototype.splice;t.exports=function(t){var e=this.__data__,n=r(e,t);return!(n<0||(n==e.length-1?e.pop():o.call(e,n,1),--this.size,0))}},function(t,e,n){var r=n(12);t.exports=function(t){var e=this.__data__,n=r(e,t);return n<0?void 0:e[n][1]}},function(t,e,n){var r=n(12);t.exports=function(t){return r(this.__data__,t)>-1}},function(t,e,n){var r=n(12);t.exports=function(t,e){var n=this.__data__,o=r(n,t);return o<0?(++this.size,n.push([t,e])):n[o][1]=e,this}},function(t,e,n){var r=n(84),o=n(10),i=n(33);t.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||o),string:new r}}},function(t,e,n){var r=n(14);t.exports=function(t){var e=r(this,t).delete(t);return this.size-=e?1:0,e}},function(t,e,n){var r=n(14);t.exports=function(t){return r(this,t).get(t)}},function(t,e,n){var r=n(14);t.exports=function(t){return r(this,t).has(t)}},function(t,e,n){var r=n(14);t.exports=function(t,e){var n=r(this,t),o=n.size;return n.set(t,e),this.size+=n.size==o?0:1,this}},function(t,e,n){var r=n(161),o=500;t.exports=function(t){var e=r(t,(function(t){return n.size===o&&n.clear(),t})),n=e.cache;return e}},function(t,e){t.exports=function(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}},function(t,e,n){(function(t){var r=n(38),o="object"==typeof e&&e&&!e.nodeType&&e,i=o&&"object"==typeof t&&t&&!t.nodeType&&t,a=i&&i.exports===o&&r.process,s=function(){try{return a&&a.binding&&a.binding("util")}catch(t){}}();t.exports=s}).call(e,n(29)(t))},function(t,e){var n=Object.prototype.toString;t.exports=function(t){return n.call(t)}},function(t,e){t.exports=function(t,e){return function(n){return t(e(n))}}},function(t,e){var n=800,r=16,o=Date.now;t.exports=function(t){var e=0,i=0;return function(){var a=o(),s=r-(a-i);if(i=a,s>0){if(++e>=n)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}},function(t,e,n){var r=n(10);t.exports=function(){this.__data__=new r,this.size=0}},function(t,e){t.exports=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}},function(t,e){t.exports=function(t){return this.__data__.get(t)}},function(t,e){t.exports=function(t){return this.__data__.has(t)}},function(t,e,n){var r=n(10),o=n(33),i=n(34),a=200;t.exports=function(t,e){var n=this.__data__;if(n instanceof r){var s=n.__data__;if(!o||s.length<a-1)return s.push([t,e]),this.size=++n.size,this;n=this.__data__=new i(s)}return n.set(t,e),this.size=n.size,this}},function(t,e,n){var r=n(143),o=/^\./,i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,a=/\\(\\)?/g,s=r((function(t){var e=[];return o.test(t)&&e.push(""),t.replace(i,(function(t,n,r,o){e.push(r?o.replace(a,"$1"):n||t)})),e}));t.exports=s},function(t,e){var n=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return n.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},function(t,e){t.exports=function(t){return function(){return t}}},function(t,e,n){var r=n(92);t.exports=function(t){return null!=t&&t.length?r(t,1):[]}},function(t,e,n){var r=n(95),o=n(121);t.exports=function(t,e){return null!=t&&o(t,e,r)}},function(t,e,n){var r=n(24),o=n(6);t.exports=function(t){return o(t)&&r(t)}},function(t,e,n){var r=n(8),o=n(39),i=n(6),a="[object Object]",s=Function.prototype,u=Object.prototype,l=s.toString,c=u.hasOwnProperty,f=l.call(Object);t.exports=function(t){if(!i(t)||r(t)!=a)return!1;var e=o(t);if(null===e)return!0;var n=c.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&l.call(n)==f}},function(t,e,n){function r(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError(i);var n=function(){var r=arguments,o=e?e.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=t.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(r.Cache||o),n}var o=n(34),i="Expected a function";r.Cache=o,t.exports=r},function(t,e,n){var r=n(102),o=n(118)((function(t,e){return null==t?{}:r(t,e)}));t.exports=o},function(t,e){t.exports=function(){return!1}},function(t,e,n){var r=n(114),o=n(46);t.exports=function(t){return r(t,o(t))}},function(t,e,n){var r=n(108);t.exports=function(t){return null==t?"":r(t)}},function(t,e,n){t.exports=n(48)}])},t.exports=r(r.toString()).default},function(t,e,n){"use strict";var r,o=n(15),i=(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.kind="ArgumentException",e}(o.a);e.a=a},function(t,e,n){"use strict";n.d(e,"a",(function(){return h}));var r=n(32),o=n(81),i=n(18),a=n(82),s=n(2),u=n(1),l=n(85),c=n(86),f=function(t,e,n,r){return new(n||(n=Promise))((function(o,i){function a(t){try{u(r.next(t))}catch(t){i(t)}}function s(t){try{u(r.throw(t))}catch(t){i(t)}}function u(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,s)}u((r=r.apply(t,e||[])).next())}))},p=function(t,e){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=e.call(t,a)}catch(t){i=[6,t],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},d=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},h=function(){function t(t,e,n){void 0===e&&(e=500),this.reader=t,this.timeBetweenScansMillis=e,this._hints=n,this._stopContinuousDecode=!1,this._stopAsyncDecode=!1,this._timeBetweenDecodingAttempts=0}return Object.defineProperty(t.prototype,"hasNavigator",{get:function(){return"undefined"!=typeof navigator},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isMediaDevicesSuported",{get:function(){return this.hasNavigator&&!!navigator.mediaDevices},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"canEnumerateDevices",{get:function(){return!(!this.isMediaDevicesSuported||!navigator.mediaDevices.enumerateDevices)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"timeBetweenDecodingAttempts",{get:function(){return this._timeBetweenDecodingAttempts},set:function(t){this._timeBetweenDecodingAttempts=t<0?0:t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hints",{get:function(){return this._hints},set:function(t){this._hints=t||null},enumerable:!1,configurable:!0}),t.prototype.listVideoInputDevices=function(){return f(this,void 0,void 0,(function(){var t,e,n,r,o,i,a,s,u,l,c,f;return p(this,(function(p){switch(p.label){case 0:if(!this.hasNavigator)throw new Error("Can't enumerate devices, navigator is not present.");if(!this.canEnumerateDevices)throw new Error("Can't enumerate devices, method not supported.");return[4,navigator.mediaDevices.enumerateDevices()];case 1:t=p.sent(),e=[];try{for(n=d(t),r=n.next();!r.done;r=n.next())o=r.value,"videoinput"===(i="video"===o.kind?"videoinput":o.kind)&&(a=o.deviceId||o.id,s=o.label||"Video device "+(e.length+1),u=o.groupId,l={deviceId:a,label:s,kind:i,groupId:u},e.push(l))}catch(t){c={error:t}}finally{try{r&&!r.done&&(f=n.return)&&f.call(n)}finally{if(c)throw c.error}}return[2,e]}}))}))},t.prototype.getVideoInputDevices=function(){return f(this,void 0,void 0,(function(){return p(this,(function(t){switch(t.label){case 0:return[4,this.listVideoInputDevices()];case 1:return[2,t.sent().map((function(t){return new c.a(t.deviceId,t.label)}))]}}))}))},t.prototype.findDeviceById=function(t){return f(this,void 0,void 0,(function(){var e;return p(this,(function(n){switch(n.label){case 0:return[4,this.listVideoInputDevices()];case 1:return(e=n.sent())?[2,e.find((function(e){return e.deviceId===t}))]:[2,null]}}))}))},t.prototype.decodeFromInputVideoDevice=function(t,e){return f(this,void 0,void 0,(function(){return p(this,(function(n){switch(n.label){case 0:return[4,this.decodeOnceFromVideoDevice(t,e)];case 1:return[2,n.sent()]}}))}))},t.prototype.decodeOnceFromVideoDevice=function(t,e){return f(this,void 0,void 0,(function(){var n;return p(this,(function(r){switch(r.label){case 0:return this.reset(),n={video:t?{deviceId:{exact:t}}:{facingMode:"environment"}},[4,this.decodeOnceFromConstraints(n,e)];case 1:return[2,r.sent()]}}))}))},t.prototype.decodeOnceFromConstraints=function(t,e){return f(this,void 0,void 0,(function(){var n;return p(this,(function(r){switch(r.label){case 0:return[4,navigator.mediaDevices.getUserMedia(t)];case 1:return n=r.sent(),[4,this.decodeOnceFromStream(n,e)];case 2:return[2,r.sent()]}}))}))},t.prototype.decodeOnceFromStream=function(t,e){return f(this,void 0,void 0,(function(){var n;return p(this,(function(r){switch(r.label){case 0:return this.reset(),[4,this.attachStreamToVideo(t,e)];case 1:return n=r.sent(),[4,this.decodeOnce(n)];case 2:return[2,r.sent()]}}))}))},t.prototype.decodeFromInputVideoDeviceContinuously=function(t,e,n){return f(this,void 0,void 0,(function(){return p(this,(function(r){switch(r.label){case 0:return[4,this.decodeFromVideoDevice(t,e,n)];case 1:return[2,r.sent()]}}))}))},t.prototype.decodeFromVideoDevice=function(t,e,n){return f(this,void 0,void 0,(function(){var r;return p(this,(function(o){switch(o.label){case 0:return r={video:t?{deviceId:{exact:t}}:{facingMode:"environment"}},[4,this.decodeFromConstraints(r,e,n)];case 1:return[2,o.sent()]}}))}))},t.prototype.decodeFromConstraints=function(t,e,n){return f(this,void 0,void 0,(function(){var r;return p(this,(function(o){switch(o.label){case 0:return[4,navigator.mediaDevices.getUserMedia(t)];case 1:return r=o.sent(),[4,this.decodeFromStream(r,e,n)];case 2:return[2,o.sent()]}}))}))},t.prototype.decodeFromStream=function(t,e,n){return f(this,void 0,void 0,(function(){var r;return p(this,(function(o){switch(o.label){case 0:return this.reset(),[4,this.attachStreamToVideo(t,e)];case 1:return r=o.sent(),[4,this.decodeContinuously(r,n)];case 2:return[2,o.sent()]}}))}))},t.prototype.stopAsyncDecode=function(){this._stopAsyncDecode=!0},t.prototype.stopContinuousDecode=function(){this._stopContinuousDecode=!0},t.prototype.attachStreamToVideo=function(t,e){return f(this,void 0,void 0,(function(){var n;return p(this,(function(r){switch(r.label){case 0:return n=this.prepareVideoElement(e),this.addVideoSource(n,t),this.videoElement=n,this.stream=t,[4,this.playVideoOnLoadAsync(n)];case 1:return r.sent(),[2,n]}}))}))},t.prototype.playVideoOnLoadAsync=function(t){var e=this;return new Promise((function(n,r){return e.playVideoOnLoad(t,(function(){return n()}))}))},t.prototype.playVideoOnLoad=function(t,e){var n=this;this.videoEndedListener=function(){return n.stopStreams()},this.videoCanPlayListener=function(){return n.tryPlayVideo(t)},t.addEventListener("ended",this.videoEndedListener),t.addEventListener("canplay",this.videoCanPlayListener),t.addEventListener("playing",e),this.tryPlayVideo(t)},t.prototype.isVideoPlaying=function(t){return t.currentTime>0&&!t.paused&&!t.ended&&t.readyState>2},t.prototype.tryPlayVideo=function(t){return f(this,void 0,void 0,(function(){return p(this,(function(e){switch(e.label){case 0:if(this.isVideoPlaying(t))return console.warn("Trying to play video that is already playing."),[2];e.label=1;case 1:return e.trys.push([1,3,,4]),[4,t.play()];case 2:return e.sent(),[3,4];case 3:return e.sent(),console.warn("It was not possible to play the video."),[3,4];case 4:return[2]}}))}))},t.prototype.getMediaElement=function(t,e){var n=document.getElementById(t);if(!n)throw new r.a("element with id '"+t+"' not found");if(n.nodeName.toLowerCase()!==e.toLowerCase())throw new r.a("element with id '"+t+"' must be an "+e+" element");return n},t.prototype.decodeFromImage=function(t,e){if(!t&&!e)throw new r.a("either imageElement with a src set or an url must be provided");return e&&!t?this.decodeFromImageUrl(e):this.decodeFromImageElement(t)},t.prototype.decodeFromVideo=function(t,e){if(!t&&!e)throw new r.a("Either an element with a src set or an URL must be provided");return e&&!t?this.decodeFromVideoUrl(e):this.decodeFromVideoElement(t)},t.prototype.decodeFromVideoContinuously=function(t,e,n){if(void 0===t&&void 0===e)throw new r.a("Either an element with a src set or an URL must be provided");return e&&!t?this.decodeFromVideoUrlContinuously(e,n):this.decodeFromVideoElementContinuously(t,n)},t.prototype.decodeFromImageElement=function(t){if(!t)throw new r.a("An image element must be provided.");this.reset();var e=this.prepareImageElement(t);return this.imageElement=e,this.isImageLoaded(e)?this.decodeOnce(e,!1,!0):this._decodeOnLoadImage(e)},t.prototype.decodeFromVideoElement=function(t){var e=this._decodeFromVideoElementSetup(t);return this._decodeOnLoadVideo(e)},t.prototype.decodeFromVideoElementContinuously=function(t,e){var n=this._decodeFromVideoElementSetup(t);return this._decodeOnLoadVideoContinuously(n,e)},t.prototype._decodeFromVideoElementSetup=function(t){if(!t)throw new r.a("A video element must be provided.");this.reset();var e=this.prepareVideoElement(t);return this.videoElement=e,e},t.prototype.decodeFromImageUrl=function(t){if(!t)throw new r.a("An URL must be provided.");this.reset();var e=this.prepareImageElement();this.imageElement=e;var n=this._decodeOnLoadImage(e);return e.src=t,n},t.prototype.decodeFromVideoUrl=function(t){if(!t)throw new r.a("An URL must be provided.");this.reset();var e=this.prepareVideoElement(),n=this.decodeFromVideoElement(e);return e.src=t,n},t.prototype.decodeFromVideoUrlContinuously=function(t,e){if(!t)throw new r.a("An URL must be provided.");this.reset();var n=this.prepareVideoElement(),o=this.decodeFromVideoElementContinuously(n,e);return n.src=t,o},t.prototype._decodeOnLoadImage=function(t){var e=this;return new Promise((function(n,r){e.imageLoadedListener=function(){return e.decodeOnce(t,!1,!0).then(n,r)},t.addEventListener("load",e.imageLoadedListener)}))},t.prototype._decodeOnLoadVideo=function(t){return f(this,void 0,void 0,(function(){return p(this,(function(e){switch(e.label){case 0:return[4,this.playVideoOnLoadAsync(t)];case 1:return e.sent(),[4,this.decodeOnce(t)];case 2:return[2,e.sent()]}}))}))},t.prototype._decodeOnLoadVideoContinuously=function(t,e){return f(this,void 0,void 0,(function(){return p(this,(function(n){switch(n.label){case 0:return[4,this.playVideoOnLoadAsync(t)];case 1:return n.sent(),this.decodeContinuously(t,e),[2]}}))}))},t.prototype.isImageLoaded=function(t){return!!t.complete&&0!==t.naturalWidth},t.prototype.prepareImageElement=function(t){var e;return void 0===t&&((e=document.createElement("img")).width=200,e.height=200),"string"==typeof t&&(e=this.getMediaElement(t,"img")),t instanceof HTMLImageElement&&(e=t),e},t.prototype.prepareVideoElement=function(t){var e;return t||"undefined"==typeof document||((e=document.createElement("video")).width=200,e.height=200),"string"==typeof t&&(e=this.getMediaElement(t,"video")),t instanceof HTMLVideoElement&&(e=t),e.setAttribute("autoplay","true"),e.setAttribute("muted","true"),e.setAttribute("playsinline","true"),e},t.prototype.decodeOnce=function(t,e,n){var r=this;void 0===e&&(e=!0),void 0===n&&(n=!0),this._stopAsyncDecode=!1;var o=function(a,l){if(r._stopAsyncDecode)return l(new u.a("Video stream has ended before any code could be detected.")),void(r._stopAsyncDecode=void 0);try{a(r.decode(t))}catch(t){var c=e&&t instanceof u.a,f=t instanceof i.a||t instanceof s.a;if(c||f&&n)return setTimeout(o,r._timeBetweenDecodingAttempts,a,l);l(t)}};return new Promise((function(t,e){return o(t,e)}))},t.prototype.decodeContinuously=function(t,e){var n=this;this._stopContinuousDecode=!1;var r=function(){if(n._stopContinuousDecode)n._stopContinuousDecode=void 0;else try{var o=n.decode(t);e(o,null),setTimeout(r,n.timeBetweenScansMillis)}catch(t){e(null,t);var a=t instanceof i.a||t instanceof s.a,l=t instanceof u.a;(a||l)&&setTimeout(r,n._timeBetweenDecodingAttempts)}};r()},t.prototype.decode=function(t){var e=this.createBinaryBitmap(t);return this.decodeBitmap(e)},t.prototype.createBinaryBitmap=function(t){var e=this.getCaptureCanvasContext(t);this.drawImageOnCanvas(e,t);var n=this.getCaptureCanvas(t),r=new l.a(n),i=new a.a(r);return new o.a(i)},t.prototype.getCaptureCanvasContext=function(t){if(!this.captureCanvasContext){var e=this.getCaptureCanvas(t).getContext("2d");this.captureCanvasContext=e}return this.captureCanvasContext},t.prototype.getCaptureCanvas=function(t){if(!this.captureCanvas){var e=this.createCaptureCanvas(t);this.captureCanvas=e}return this.captureCanvas},t.prototype.drawImageOnCanvas=function(t,e){t.drawImage(e,0,0)},t.prototype.decodeBitmap=function(t){return this.reader.decode(t,this._hints)},t.prototype.createCaptureCanvas=function(t){if("undefined"==typeof document)return this._destroyCaptureCanvas(),null;var e,n,r=document.createElement("canvas");return void 0!==t&&(t instanceof HTMLVideoElement?(e=t.videoWidth,n=t.videoHeight):t instanceof HTMLImageElement&&(e=t.naturalWidth||t.width,n=t.naturalHeight||t.height)),r.style.width=e+"px",r.style.height=n+"px",r.width=e,r.height=n,r},t.prototype.stopStreams=function(){this.stream&&(this.stream.getVideoTracks().forEach((function(t){return t.stop()})),this.stream=void 0),!1===this._stopAsyncDecode&&this.stopAsyncDecode(),!1===this._stopContinuousDecode&&this.stopContinuousDecode()},t.prototype.reset=function(){this.stopStreams(),this._destroyVideoElement(),this._destroyImageElement(),this._destroyCaptureCanvas()},t.prototype._destroyVideoElement=function(){this.videoElement&&(void 0!==this.videoEndedListener&&this.videoElement.removeEventListener("ended",this.videoEndedListener),void 0!==this.videoPlayingEventListener&&this.videoElement.removeEventListener("playing",this.videoPlayingEventListener),void 0!==this.videoCanPlayListener&&this.videoElement.removeEventListener("loadedmetadata",this.videoCanPlayListener),this.cleanVideoSource(this.videoElement),this.videoElement=void 0)},t.prototype._destroyImageElement=function(){this.imageElement&&(void 0!==this.imageLoadedListener&&this.imageElement.removeEventListener("load",this.imageLoadedListener),this.imageElement.src=void 0,this.imageElement.removeAttribute("src"),this.imageElement=void 0)},t.prototype._destroyCaptureCanvas=function(){this.captureCanvasContext=void 0,this.captureCanvas=void 0},t.prototype.addVideoSource=function(t,e){try{t.srcObject=e}catch(n){t.src=URL.createObjectURL(e)}},t.prototype.cleanVideoSource=function(t){try{t.srcObject=null}catch(e){t.src=""}this.videoElement.removeAttribute("src")},t}()},function(t,e,n){"use strict";n.d(e,"a",(function(){return p}));var r=n(6),o=n(99);function i(){return"undefined"!=typeof navigator}function a(){return!!(i()&&navigator.mediaDevices&&navigator.mediaDevices.enumerateDevices)}var s=function(){return(s=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},u=function(t,e,n,r){return new(n||(n=Promise))((function(o,i){function a(t){try{u(r.next(t))}catch(t){i(t)}}function s(t){try{u(r.throw(t))}catch(t){i(t)}}function u(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,s)}u((r=r.apply(t,e||[])).next())}))},l=function(t,e){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=e.call(t,a)}catch(t){i=[6,t],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},c=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},f={delayBetweenScanAttempts:500,delayBetweenScanSuccess:500,tryPlayVideoTimeout:5e3},p=function(){function t(t,e,n){void 0===e&&(e=new Map),void 0===n&&(n={}),this.reader=t,this.hints=e,this.options=s(s({},f),n)}return Object.defineProperty(t.prototype,"possibleFormats",{set:function(t){this.hints.set(r.DecodeHintType.POSSIBLE_FORMATS,t)},enumerable:!1,configurable:!0}),t.addVideoSource=function(t,e){try{t.srcObject=e}catch(n){t.src=URL.createObjectURL(e)}},t.mediaStreamSetTorch=function(t,e){return u(this,void 0,void 0,(function(){return l(this,(function(n){switch(n.label){case 0:return[4,t.applyConstraints({advanced:[{fillLightMode:e?"flash":"off",torch:!!e}]})];case 1:return n.sent(),[2]}}))}))},t.mediaStreamIsTorchCompatible=function(e){var n,r,o=e.getVideoTracks();try{for(var i=c(o),a=i.next();!a.done;a=i.next()){var s=a.value;if(t.mediaStreamIsTorchCompatibleTrack(s))return!0}}catch(t){n={error:t}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return!1},t.mediaStreamIsTorchCompatibleTrack=function(t){try{return"torch"in t.getCapabilities()}catch(t){return console.error(t),console.warn("Your browser may be not fully compatible with WebRTC and/or ImageCapture specs. Torch will not be available."),!1}},t.isVideoPlaying=function(t){return t.currentTime>0&&!t.paused&&t.readyState>2},t.getMediaElement=function(t,e){var n=document.getElementById(t);if(!n)throw new r.ArgumentException("element with id '"+t+"' not found");if(n.nodeName.toLowerCase()!==e.toLowerCase())throw new r.ArgumentException("element with id '"+t+"' must be an "+e+" element");return n},t.createVideoElement=function(e){if(e instanceof HTMLVideoElement)return e;if("string"==typeof e)return t.getMediaElement(e,"video");if(!e&&"undefined"!=typeof document){var n=document.createElement("video");return n.width=200,n.height=200,n}throw new Error("Couldn't get videoElement from videoSource!")},t.prepareImageElement=function(e){if(e instanceof HTMLImageElement)return e;if("string"==typeof e)return t.getMediaElement(e,"img");if(void 0===e){var n=document.createElement("img");return n.width=200,n.height=200,n}throw new Error("Couldn't get imageElement from imageSource!")},t.prepareVideoElement=function(e){var n=t.createVideoElement(e);return n.setAttribute("autoplay","true"),n.setAttribute("muted","true"),n.setAttribute("playsinline","true"),n},t.isImageLoaded=function(t){return!!t.complete&&0!==t.naturalWidth},t.createBinaryBitmapFromCanvas=function(t){var e=new o.a(t),n=new r.HybridBinarizer(e);return new r.BinaryBitmap(n)},t.drawImageOnCanvas=function(t,e){t.drawImage(e,0,0)},t.getMediaElementDimensions=function(t){if(t instanceof HTMLVideoElement)return{height:t.videoHeight,width:t.videoWidth};if(t instanceof HTMLImageElement)return{height:t.naturalHeight||t.height,width:t.naturalWidth||t.width};throw new Error("Couldn't find the Source's dimentions!")},t.createCaptureCanvas=function(e){if(!e)throw new r.ArgumentException("Cannot create a capture canvas without a media element.");if("undefined"==typeof document)throw new Error('The page "Document" is undefined, make sure you\'re running in a browser.');var n=document.createElement("canvas"),o=t.getMediaElementDimensions(e),i=o.width,a=o.height;return n.style.width=i+"px",n.style.height=a+"px",n.width=i,n.height=a,n},t.tryPlayVideo=function(e){return u(this,void 0,void 0,(function(){var n;return l(this,(function(r){switch(r.label){case 0:if(null==e?void 0:e.ended)return console.error("Trying to play video that has ended."),[2,!1];if(t.isVideoPlaying(e))return console.warn("Trying to play video that is already playing."),[2,!0];r.label=1;case 1:return r.trys.push([1,3,,4]),[4,e.play()];case 2:return r.sent(),[2,!0];case 3:return n=r.sent(),console.warn("It was not possible to play the video.",n),[2,!1];case 4:return[2]}}))}))},t.createCanvasFromMediaElement=function(e){var n=t.createCaptureCanvas(e),r=n.getContext("2d");if(!r)throw new Error("Couldn't find Canvas 2D Context.");return t.drawImageOnCanvas(r,e),n},t.createBinaryBitmapFromMediaElem=function(e){var n=t.createCanvasFromMediaElement(e);return t.createBinaryBitmapFromCanvas(n)},t.destroyImageElement=function(t){t.src="",t.removeAttribute("src"),t=void 0},t.listVideoInputDevices=function(){return u(this,void 0,void 0,(function(){var t,e,n,r,o,s,u,f,p,d,h,g;return l(this,(function(l){switch(l.label){case 0:if(!i())throw new Error("Can't enumerate devices, navigator is not present.");if(!a())throw new Error("Can't enumerate devices, method not supported.");return[4,navigator.mediaDevices.enumerateDevices()];case 1:t=l.sent(),e=[];try{for(n=c(t),r=n.next();!r.done;r=n.next())o=r.value,"videoinput"===(s="video"===o.kind?"videoinput":o.kind)&&(u=o.deviceId||o.id,f=o.label||"Video device "+(e.length+1),p=o.groupId,d={deviceId:u,label:f,kind:s,groupId:p},e.push(d))}catch(t){h={error:t}}finally{try{r&&!r.done&&(g=n.return)&&g.call(n)}finally{if(h)throw h.error}}return[2,e]}}))}))},t.findDeviceById=function(e){return u(this,void 0,void 0,(function(){var n;return l(this,(function(r){switch(r.label){case 0:return[4,t.listVideoInputDevices()];case 1:return(n=r.sent())?[2,n.find((function(t){return t.deviceId===e}))]:[2]}}))}))},t.cleanVideoSource=function(t){if(t){try{t.srcObject=null}catch(e){t.src=""}t&&t.removeAttribute("src")}},t.playVideoOnLoadAsync=function(e,n){return u(this,void 0,void 0,(function(){return l(this,(function(r){switch(r.label){case 0:return[4,t.tryPlayVideo(e)];case 1:return r.sent()?[2,!0]:[2,new Promise((function(r,o){var i=setTimeout((function(){t.isVideoPlaying(e)||(o(!1),e.removeEventListener("canplay",a))}),n),a=function(){t.tryPlayVideo(e).then((function(t){clearTimeout(i),e.removeEventListener("canplay",a),r(t)}))};e.addEventListener("canplay",a)}))]}}))}))},t.attachStreamToVideo=function(e,n,r){return void 0===r&&(r=5e3),u(this,void 0,void 0,(function(){var o;return l(this,(function(i){switch(i.label){case 0:return o=t.prepareVideoElement(n),t.addVideoSource(o,e),[4,t.playVideoOnLoadAsync(o,r)];case 1:return i.sent(),[2,o]}}))}))},t._waitImageLoad=function(e){return new Promise((function(n,r){var o=setTimeout((function(){t.isImageLoaded(e)||(e.removeEventListener("load",i),r())}),1e4),i=function(){clearTimeout(o),e.removeEventListener("load",i),n()};e.addEventListener("load",i)}))},t.checkCallbackFnOrThrow=function(t){if(!t)throw new r.ArgumentException("`callbackFn` is a required parameter, you cannot capture results without it.")},t.disposeMediaStream=function(t){t.getVideoTracks().forEach((function(t){return t.stop()})),t=void 0},t.prototype.decode=function(e){var n=t.createCanvasFromMediaElement(e);return this.decodeFromCanvas(n)},t.prototype.decodeBitmap=function(t){return this.reader.decode(t,this.hints)},t.prototype.decodeFromCanvas=function(e){var n=t.createBinaryBitmapFromCanvas(e);return this.decodeBitmap(n)},t.prototype.decodeFromImageElement=function(e){return u(this,void 0,void 0,(function(){var n;return l(this,(function(o){switch(o.label){case 0:if(!e)throw new r.ArgumentException("An image element must be provided.");return n=t.prepareImageElement(e),[4,this._decodeOnLoadImage(n)];case 1:return[2,o.sent()]}}))}))},t.prototype.decodeFromImageUrl=function(e){return u(this,void 0,void 0,(function(){var n;return l(this,(function(o){switch(o.label){case 0:if(!e)throw new r.ArgumentException("An URL must be provided.");(n=t.prepareImageElement()).src=e,o.label=1;case 1:return o.trys.push([1,,3,4]),[4,this.decodeFromImageElement(n)];case 2:return[2,o.sent()];case 3:return t.destroyImageElement(n),[7];case 4:return[2]}}))}))},t.prototype.decodeFromConstraints=function(e,n,r){return u(this,void 0,void 0,(function(){var o,i;return l(this,(function(a){switch(a.label){case 0:return t.checkCallbackFnOrThrow(r),[4,navigator.mediaDevices.getUserMedia(e)];case 1:o=a.sent(),a.label=2;case 2:return a.trys.push([2,4,,5]),[4,this.decodeFromStream(o,n,r)];case 3:return[2,a.sent()];case 4:throw i=a.sent(),t.disposeMediaStream(o),i;case 5:return[2]}}))}))},t.prototype.decodeFromStream=function(e,n,r){return u(this,void 0,void 0,(function(){var o,i,a,f,p,d,h,g,y,v=this;return l(this,(function(m){switch(m.label){case 0:return t.checkCallbackFnOrThrow(r),o=this.options.tryPlayVideoTimeout,[4,t.attachStreamToVideo(e,n,o)];case 1:return i=m.sent(),a=function(){t.disposeMediaStream(e),t.cleanVideoSource(i)},f=this.scan(i,r,a),p=e.getVideoTracks(),d=s(s({},f),{stop:function(){f.stop()},streamVideoConstraintsApply:function(t,e){return u(this,void 0,void 0,(function(){var n,r,o,i,a,s;return l(this,(function(u){switch(u.label){case 0:n=e?p.filter(e):p,u.label=1;case 1:u.trys.push([1,6,7,8]),r=c(n),o=r.next(),u.label=2;case 2:return o.done?[3,5]:[4,o.value.applyConstraints(t)];case 3:u.sent(),u.label=4;case 4:return o=r.next(),[3,2];case 5:return[3,8];case 6:return i=u.sent(),a={error:i},[3,8];case 7:try{o&&!o.done&&(s=r.return)&&s.call(r)}finally{if(a)throw a.error}return[7];case 8:return[2]}}))}))},streamVideoConstraintsGet:function(t){return p.find(t).getConstraints()},streamVideoSettingsGet:function(t){return p.find(t).getSettings()},streamVideoCapabilitiesGet:function(t){return p.find(t).getCapabilities()}}),t.mediaStreamIsTorchCompatible(e)&&(h=null==p?void 0:p.find((function(e){return t.mediaStreamIsTorchCompatibleTrack(e)})),g=function(e){return u(v,void 0,void 0,(function(){return l(this,(function(n){switch(n.label){case 0:return[4,t.mediaStreamSetTorch(h,e)];case 1:return n.sent(),[2]}}))}))},d.switchTorch=g,y=function(){f.stop(),g(!1)},d.stop=y),[2,d]}}))}))},t.prototype.decodeFromVideoDevice=function(e,n,r){return u(this,void 0,void 0,(function(){var o;return l(this,(function(i){switch(i.label){case 0:return t.checkCallbackFnOrThrow(r),o={video:e?{deviceId:{exact:e}}:{facingMode:"environment"}},[4,this.decodeFromConstraints(o,n,r)];case 1:return[2,i.sent()]}}))}))},t.prototype.decodeFromVideoElement=function(e,n){return u(this,void 0,void 0,(function(){var o,i;return l(this,(function(a){switch(a.label){case 0:if(t.checkCallbackFnOrThrow(n),!e)throw new r.ArgumentException("A video element must be provided.");return o=t.prepareVideoElement(e),i=this.options.tryPlayVideoTimeout,[4,t.playVideoOnLoadAsync(o,i)];case 1:return a.sent(),[2,this.scan(o,n)]}}))}))},t.prototype.decodeFromVideoUrl=function(e,n){return u(this,void 0,void 0,(function(){var o,i,a;return l(this,(function(s){switch(s.label){case 0:if(t.checkCallbackFnOrThrow(n),!e)throw new r.ArgumentException("An URL must be provided.");return(o=t.prepareVideoElement()).src=e,i=function(){t.cleanVideoSource(o)},a=this.options.tryPlayVideoTimeout,[4,t.playVideoOnLoadAsync(o,a)];case 1:return s.sent(),[2,this.scan(o,n,i)]}}))}))},t.prototype.decodeOnceFromConstraints=function(t,e){return u(this,void 0,void 0,(function(){var n;return l(this,(function(r){switch(r.label){case 0:return[4,navigator.mediaDevices.getUserMedia(t)];case 1:return n=r.sent(),[4,this.decodeOnceFromStream(n,e)];case 2:return[2,r.sent()]}}))}))},t.prototype.decodeOnceFromStream=function(e,n){return u(this,void 0,void 0,(function(){var r,o;return l(this,(function(i){switch(i.label){case 0:return r=Boolean(n),[4,t.attachStreamToVideo(e,n)];case 1:o=i.sent(),i.label=2;case 2:return i.trys.push([2,,4,5]),[4,this.scanOneResult(o)];case 3:return[2,i.sent()];case 4:return r||t.cleanVideoSource(o),[7];case 5:return[2]}}))}))},t.prototype.decodeOnceFromVideoDevice=function(t,e){return u(this,void 0,void 0,(function(){var n;return l(this,(function(r){switch(r.label){case 0:return n={video:t?{deviceId:{exact:t}}:{facingMode:"environment"}},[4,this.decodeOnceFromConstraints(n,e)];case 1:return[2,r.sent()]}}))}))},t.prototype.decodeOnceFromVideoElement=function(e){return u(this,void 0,void 0,(function(){var n,o;return l(this,(function(i){switch(i.label){case 0:if(!e)throw new r.ArgumentException("A video element must be provided.");return n=t.prepareVideoElement(e),o=this.options.tryPlayVideoTimeout,[4,t.playVideoOnLoadAsync(n,o)];case 1:return i.sent(),[4,this.scanOneResult(n)];case 2:return[2,i.sent()]}}))}))},t.prototype.decodeOnceFromVideoUrl=function(e){return u(this,void 0,void 0,(function(){var n,o;return l(this,(function(i){switch(i.label){case 0:if(!e)throw new r.ArgumentException("An URL must be provided.");(n=t.prepareVideoElement()).src=e,o=this.decodeOnceFromVideoElement(n),i.label=1;case 1:return i.trys.push([1,,3,4]),[4,o];case 2:return[2,i.sent()];case 3:return t.cleanVideoSource(n),[7];case 4:return[2]}}))}))},t.prototype.scanOneResult=function(t,e,n,o){var i=this;return void 0===e&&(e=!0),void 0===n&&(n=!0),void 0===o&&(o=!0),new Promise((function(a,s){i.scan(t,(function(t,i,u){if(t)return a(t),void u.stop();if(i){if(i instanceof r.NotFoundException&&e)return;if(i instanceof r.ChecksumException&&n)return;if(i instanceof r.FormatException&&o)return;u.stop(),s(i)}}))}))},t.prototype.scan=function(e,n,o){var i=this;t.checkCallbackFnOrThrow(n);var a=t.createCaptureCanvas(e),s=a.getContext("2d");if(!s)throw new Error("Couldn't create canvas for visual element scan.");var u,l=function(){s=void 0,a=void 0},c=!1,f={stop:function(){c=!0,clearTimeout(u),l(),o&&o()}},p=function(){if(!c)try{t.drawImageOnCanvas(s,e);var d=i.decodeFromCanvas(a);n(d,void 0,f),u=setTimeout(p,i.options.delayBetweenScanSuccess)}catch(t){n(void 0,t,f);var h=t instanceof r.ChecksumException,g=t instanceof r.FormatException,y=t instanceof r.NotFoundException;if(h||g||y)return void(u=setTimeout(p,i.options.delayBetweenScanAttempts));l(),o&&o(t)}};return p(),f},t.prototype._decodeOnLoadImage=function(e){return u(this,void 0,void 0,(function(){return l(this,(function(n){switch(n.label){case 0:return t.isImageLoaded(e)?[3,2]:[4,t._waitImageLoad(e)];case 1:n.sent(),n.label=2;case 2:return[2,this.decode(e)]}}))}))},t}()},function(t,e,n){"use strict";var r=n(59),o=n(9),i=n(3),a=function(){function t(t,e){if(0===e.length)throw new i.a;this.field=t;var n=e.length;if(n>1&&0===e[0]){for(var r=1;r<n&&0===e[r];)r++;r===n?this.coefficients=Int32Array.from([0]):(this.coefficients=new Int32Array(n-r),o.a.arraycopy(e,r,this.coefficients,0,this.coefficients.length))}else this.coefficients=e}return t.prototype.getCoefficients=function(){return this.coefficients},t.prototype.getDegree=function(){return this.coefficients.length-1},t.prototype.isZero=function(){return 0===this.coefficients[0]},t.prototype.getCoefficient=function(t){return this.coefficients[this.coefficients.length-1-t]},t.prototype.evaluateAt=function(t){if(0===t)return this.getCoefficient(0);var e,n=this.coefficients;if(1===t){e=0;for(var o=0,i=n.length;o!==i;o++){var a=n[o];e=r.a.addOrSubtract(e,a)}return e}e=n[0];var s=n.length,u=this.field;for(o=1;o<s;o++)e=r.a.addOrSubtract(u.multiply(t,e),n[o]);return e},t.prototype.addOrSubtract=function(e){if(!this.field.equals(e.field))throw new i.a("GenericGFPolys do not have same GenericGF field");if(this.isZero())return e;if(e.isZero())return this;var n=this.coefficients,a=e.coefficients;if(n.length>a.length){var s=n;n=a,a=s}var u=new Int32Array(a.length),l=a.length-n.length;o.a.arraycopy(a,0,u,0,l);for(var c=l;c<a.length;c++)u[c]=r.a.addOrSubtract(n[c-l],a[c]);return new t(this.field,u)},t.prototype.multiply=function(e){if(!this.field.equals(e.field))throw new i.a("GenericGFPolys do not have same GenericGF field");if(this.isZero()||e.isZero())return this.field.getZero();for(var n=this.coefficients,o=n.length,a=e.coefficients,s=a.length,u=new Int32Array(o+s-1),l=this.field,c=0;c<o;c++)for(var f=n[c],p=0;p<s;p++)u[c+p]=r.a.addOrSubtract(u[c+p],l.multiply(f,a[p]));return new t(l,u)},t.prototype.multiplyScalar=function(e){if(0===e)return this.field.getZero();if(1===e)return this;for(var n=this.coefficients.length,r=this.field,o=new Int32Array(n),i=this.coefficients,a=0;a<n;a++)o[a]=r.multiply(i[a],e);return new t(r,o)},t.prototype.multiplyByMonomial=function(e,n){if(e<0)throw new i.a;if(0===n)return this.field.getZero();for(var r=this.coefficients,o=r.length,a=new Int32Array(o+e),s=this.field,u=0;u<o;u++)a[u]=s.multiply(r[u],n);return new t(s,a)},t.prototype.divide=function(t){if(!this.field.equals(t.field))throw new i.a("GenericGFPolys do not have same GenericGF field");if(t.isZero())throw new i.a("Divide by 0");for(var e=this.field,n=e.getZero(),r=this,o=t.getCoefficient(t.getDegree()),a=e.inverse(o);r.getDegree()>=t.getDegree()&&!r.isZero();){var s=r.getDegree()-t.getDegree(),u=e.multiply(r.getCoefficient(r.getDegree()),a),l=t.multiplyByMonomial(s,u),c=e.buildMonomial(s,u);n=n.addOrSubtract(c),r=r.addOrSubtract(l)}return[n,r]},t.prototype.toString=function(){for(var t="",e=this.getDegree();e>=0;e--){var n=this.getCoefficient(e);if(0!==n){if(n<0?(t+=" - ",n=-n):t.length>0&&(t+=" + "),0===e||1!==n){var r=this.field.log(n);0===r?t+="1":1===r?t+="a":(t+="a^",t+=r)}0!==e&&(1===e?t+="x":(t+="x^",t+=e))}}return t},t}();e.a=a},function(t,e,n){"use strict";var r=n(23),o=n(65),i=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},a=function(){function t(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];this.ecCodewordsPerBlock=t,this.ecBlocks=e}return t.prototype.getECCodewordsPerBlock=function(){return this.ecCodewordsPerBlock},t.prototype.getNumBlocks=function(){var t,e,n=0,r=this.ecBlocks;try{for(var o=i(r),a=o.next();!a.done;a=o.next()){n+=a.value.getCount()}}catch(e){t={error:e}}finally{try{a&&!a.done&&(e=o.return)&&e.call(o)}finally{if(t)throw t.error}}return n},t.prototype.getTotalECCodewords=function(){return this.ecCodewordsPerBlock*this.getNumBlocks()},t.prototype.getECBlocks=function(){return this.ecBlocks},t}(),s=function(){function t(t,e){this.count=t,this.dataCodewords=e}return t.prototype.getCount=function(){return this.count},t.prototype.getDataCodewords=function(){return this.dataCodewords},t}(),u=n(2),l=n(3),c=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},f=function(){function t(t,e){for(var n,r,o=[],i=2;i<arguments.length;i++)o[i-2]=arguments[i];this.versionNumber=t,this.alignmentPatternCenters=e,this.ecBlocks=o;var a=0,s=o[0].getECCodewordsPerBlock(),u=o[0].getECBlocks();try{for(var l=c(u),f=l.next();!f.done;f=l.next()){var p=f.value;a+=p.getCount()*(p.getDataCodewords()+s)}}catch(t){n={error:t}}finally{try{f&&!f.done&&(r=l.return)&&r.call(l)}finally{if(n)throw n.error}}this.totalCodewords=a}return t.prototype.getVersionNumber=function(){return this.versionNumber},t.prototype.getAlignmentPatternCenters=function(){return this.alignmentPatternCenters},t.prototype.getTotalCodewords=function(){return this.totalCodewords},t.prototype.getDimensionForVersion=function(){return 17+4*this.versionNumber},t.prototype.getECBlocksForLevel=function(t){return this.ecBlocks[t.getValue()]},t.getProvisionalVersionForDimension=function(t){if(t%4!=1)throw new u.a;try{return this.getVersionForNumber((t-17)/4)}catch(t){throw new u.a}},t.getVersionForNumber=function(e){if(e<1||e>40)throw new l.a;return t.VERSIONS[e-1]},t.decodeVersionInformation=function(e){for(var n=Number.MAX_SAFE_INTEGER,r=0,i=0;i<t.VERSION_DECODE_INFO.length;i++){var a=t.VERSION_DECODE_INFO[i];if(a===e)return t.getVersionForNumber(i+7);var s=o.a.numBitsDiffering(e,a);s<n&&(r=i+7,n=s)}return n<=3?t.getVersionForNumber(r):null},t.prototype.buildFunctionPattern=function(){var t=this.getDimensionForVersion(),e=new r.a(t);e.setRegion(0,0,9,9),e.setRegion(t-8,0,8,9),e.setRegion(0,t-8,9,8);for(var n=this.alignmentPatternCenters.length,o=0;o<n;o++)for(var i=this.alignmentPatternCenters[o]-2,a=0;a<n;a++)0===o&&(0===a||a===n-1)||o===n-1&&0===a||e.setRegion(this.alignmentPatternCenters[a]-2,i,5,5);return e.setRegion(6,9,1,t-17),e.setRegion(9,6,t-17,1),this.versionNumber>6&&(e.setRegion(t-11,0,3,6),e.setRegion(0,t-11,6,3)),e},t.prototype.toString=function(){return""+this.versionNumber},t.VERSION_DECODE_INFO=Int32Array.from([31892,34236,39577,42195,48118,51042,55367,58893,63784,68472,70749,76311,79154,84390,87683,92361,96236,102084,102881,110507,110734,117786,119615,126325,127568,133589,136944,141498,145311,150283,152622,158308,161089,167017]),t.VERSIONS=[new t(1,new Int32Array(0),new a(7,new s(1,19)),new a(10,new s(1,16)),new a(13,new s(1,13)),new a(17,new s(1,9))),new t(2,Int32Array.from([6,18]),new a(10,new s(1,34)),new a(16,new s(1,28)),new a(22,new s(1,22)),new a(28,new s(1,16))),new t(3,Int32Array.from([6,22]),new a(15,new s(1,55)),new a(26,new s(1,44)),new a(18,new s(2,17)),new a(22,new s(2,13))),new t(4,Int32Array.from([6,26]),new a(20,new s(1,80)),new a(18,new s(2,32)),new a(26,new s(2,24)),new a(16,new s(4,9))),new t(5,Int32Array.from([6,30]),new a(26,new s(1,108)),new a(24,new s(2,43)),new a(18,new s(2,15),new s(2,16)),new a(22,new s(2,11),new s(2,12))),new t(6,Int32Array.from([6,34]),new a(18,new s(2,68)),new a(16,new s(4,27)),new a(24,new s(4,19)),new a(28,new s(4,15))),new t(7,Int32Array.from([6,22,38]),new a(20,new s(2,78)),new a(18,new s(4,31)),new a(18,new s(2,14),new s(4,15)),new a(26,new s(4,13),new s(1,14))),new t(8,Int32Array.from([6,24,42]),new a(24,new s(2,97)),new a(22,new s(2,38),new s(2,39)),new a(22,new s(4,18),new s(2,19)),new a(26,new s(4,14),new s(2,15))),new t(9,Int32Array.from([6,26,46]),new a(30,new s(2,116)),new a(22,new s(3,36),new s(2,37)),new a(20,new s(4,16),new s(4,17)),new a(24,new s(4,12),new s(4,13))),new t(10,Int32Array.from([6,28,50]),new a(18,new s(2,68),new s(2,69)),new a(26,new s(4,43),new s(1,44)),new a(24,new s(6,19),new s(2,20)),new a(28,new s(6,15),new s(2,16))),new t(11,Int32Array.from([6,30,54]),new a(20,new s(4,81)),new a(30,new s(1,50),new s(4,51)),new a(28,new s(4,22),new s(4,23)),new a(24,new s(3,12),new s(8,13))),new t(12,Int32Array.from([6,32,58]),new a(24,new s(2,92),new s(2,93)),new a(22,new s(6,36),new s(2,37)),new a(26,new s(4,20),new s(6,21)),new a(28,new s(7,14),new s(4,15))),new t(13,Int32Array.from([6,34,62]),new a(26,new s(4,107)),new a(22,new s(8,37),new s(1,38)),new a(24,new s(8,20),new s(4,21)),new a(22,new s(12,11),new s(4,12))),new t(14,Int32Array.from([6,26,46,66]),new a(30,new s(3,115),new s(1,116)),new a(24,new s(4,40),new s(5,41)),new a(20,new s(11,16),new s(5,17)),new a(24,new s(11,12),new s(5,13))),new t(15,Int32Array.from([6,26,48,70]),new a(22,new s(5,87),new s(1,88)),new a(24,new s(5,41),new s(5,42)),new a(30,new s(5,24),new s(7,25)),new a(24,new s(11,12),new s(7,13))),new t(16,Int32Array.from([6,26,50,74]),new a(24,new s(5,98),new s(1,99)),new a(28,new s(7,45),new s(3,46)),new a(24,new s(15,19),new s(2,20)),new a(30,new s(3,15),new s(13,16))),new t(17,Int32Array.from([6,30,54,78]),new a(28,new s(1,107),new s(5,108)),new a(28,new s(10,46),new s(1,47)),new a(28,new s(1,22),new s(15,23)),new a(28,new s(2,14),new s(17,15))),new t(18,Int32Array.from([6,30,56,82]),new a(30,new s(5,120),new s(1,121)),new a(26,new s(9,43),new s(4,44)),new a(28,new s(17,22),new s(1,23)),new a(28,new s(2,14),new s(19,15))),new t(19,Int32Array.from([6,30,58,86]),new a(28,new s(3,113),new s(4,114)),new a(26,new s(3,44),new s(11,45)),new a(26,new s(17,21),new s(4,22)),new a(26,new s(9,13),new s(16,14))),new t(20,Int32Array.from([6,34,62,90]),new a(28,new s(3,107),new s(5,108)),new a(26,new s(3,41),new s(13,42)),new a(30,new s(15,24),new s(5,25)),new a(28,new s(15,15),new s(10,16))),new t(21,Int32Array.from([6,28,50,72,94]),new a(28,new s(4,116),new s(4,117)),new a(26,new s(17,42)),new a(28,new s(17,22),new s(6,23)),new a(30,new s(19,16),new s(6,17))),new t(22,Int32Array.from([6,26,50,74,98]),new a(28,new s(2,111),new s(7,112)),new a(28,new s(17,46)),new a(30,new s(7,24),new s(16,25)),new a(24,new s(34,13))),new t(23,Int32Array.from([6,30,54,78,102]),new a(30,new s(4,121),new s(5,122)),new a(28,new s(4,47),new s(14,48)),new a(30,new s(11,24),new s(14,25)),new a(30,new s(16,15),new s(14,16))),new t(24,Int32Array.from([6,28,54,80,106]),new a(30,new s(6,117),new s(4,118)),new a(28,new s(6,45),new s(14,46)),new a(30,new s(11,24),new s(16,25)),new a(30,new s(30,16),new s(2,17))),new t(25,Int32Array.from([6,32,58,84,110]),new a(26,new s(8,106),new s(4,107)),new a(28,new s(8,47),new s(13,48)),new a(30,new s(7,24),new s(22,25)),new a(30,new s(22,15),new s(13,16))),new t(26,Int32Array.from([6,30,58,86,114]),new a(28,new s(10,114),new s(2,115)),new a(28,new s(19,46),new s(4,47)),new a(28,new s(28,22),new s(6,23)),new a(30,new s(33,16),new s(4,17))),new t(27,Int32Array.from([6,34,62,90,118]),new a(30,new s(8,122),new s(4,123)),new a(28,new s(22,45),new s(3,46)),new a(30,new s(8,23),new s(26,24)),new a(30,new s(12,15),new s(28,16))),new t(28,Int32Array.from([6,26,50,74,98,122]),new a(30,new s(3,117),new s(10,118)),new a(28,new s(3,45),new s(23,46)),new a(30,new s(4,24),new s(31,25)),new a(30,new s(11,15),new s(31,16))),new t(29,Int32Array.from([6,30,54,78,102,126]),new a(30,new s(7,116),new s(7,117)),new a(28,new s(21,45),new s(7,46)),new a(30,new s(1,23),new s(37,24)),new a(30,new s(19,15),new s(26,16))),new t(30,Int32Array.from([6,26,52,78,104,130]),new a(30,new s(5,115),new s(10,116)),new a(28,new s(19,47),new s(10,48)),new a(30,new s(15,24),new s(25,25)),new a(30,new s(23,15),new s(25,16))),new t(31,Int32Array.from([6,30,56,82,108,134]),new a(30,new s(13,115),new s(3,116)),new a(28,new s(2,46),new s(29,47)),new a(30,new s(42,24),new s(1,25)),new a(30,new s(23,15),new s(28,16))),new t(32,Int32Array.from([6,34,60,86,112,138]),new a(30,new s(17,115)),new a(28,new s(10,46),new s(23,47)),new a(30,new s(10,24),new s(35,25)),new a(30,new s(19,15),new s(35,16))),new t(33,Int32Array.from([6,30,58,86,114,142]),new a(30,new s(17,115),new s(1,116)),new a(28,new s(14,46),new s(21,47)),new a(30,new s(29,24),new s(19,25)),new a(30,new s(11,15),new s(46,16))),new t(34,Int32Array.from([6,34,62,90,118,146]),new a(30,new s(13,115),new s(6,116)),new a(28,new s(14,46),new s(23,47)),new a(30,new s(44,24),new s(7,25)),new a(30,new s(59,16),new s(1,17))),new t(35,Int32Array.from([6,30,54,78,102,126,150]),new a(30,new s(12,121),new s(7,122)),new a(28,new s(12,47),new s(26,48)),new a(30,new s(39,24),new s(14,25)),new a(30,new s(22,15),new s(41,16))),new t(36,Int32Array.from([6,24,50,76,102,128,154]),new a(30,new s(6,121),new s(14,122)),new a(28,new s(6,47),new s(34,48)),new a(30,new s(46,24),new s(10,25)),new a(30,new s(2,15),new s(64,16))),new t(37,Int32Array.from([6,28,54,80,106,132,158]),new a(30,new s(17,122),new s(4,123)),new a(28,new s(29,46),new s(14,47)),new a(30,new s(49,24),new s(10,25)),new a(30,new s(24,15),new s(46,16))),new t(38,Int32Array.from([6,32,58,84,110,136,162]),new a(30,new s(4,122),new s(18,123)),new a(28,new s(13,46),new s(32,47)),new a(30,new s(48,24),new s(14,25)),new a(30,new s(42,15),new s(32,16))),new t(39,Int32Array.from([6,26,54,82,110,138,166]),new a(30,new s(20,117),new s(4,118)),new a(28,new s(40,47),new s(7,48)),new a(30,new s(43,24),new s(22,25)),new a(30,new s(10,15),new s(67,16))),new t(40,Int32Array.from([6,30,58,86,114,142,170]),new a(30,new s(19,118),new s(6,119)),new a(28,new s(18,47),new s(31,48)),new a(30,new s(34,24),new s(34,25)),new a(30,new s(20,15),new s(61,16)))],t}();e.a=f},function(t,e,n){"use strict";!function t(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE){0;try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(t){console.error(t)}}}(),t.exports=n(139)},function(t,e,n){"use strict";var r=n(8),o=n(48),i=function(){function t(t,e){this.width=t,this.height=e}return t.prototype.getWidth=function(){return this.width},t.prototype.getHeight=function(){return this.height},t.prototype.isCropSupported=function(){return!1},t.prototype.crop=function(t,e,n,r){throw new o.a("This luminance source does not support cropping.")},t.prototype.isRotateSupported=function(){return!1},t.prototype.rotateCounterClockwise=function(){throw new o.a("This luminance source does not support rotation by 90 degrees.")},t.prototype.rotateCounterClockwise45=function(){throw new o.a("This luminance source does not support rotation by 45 degrees.")},t.prototype.toString=function(){for(var t=new Uint8ClampedArray(this.width),e=new r.a,n=0;n<this.height;n++){for(var o=this.getRow(n,t),i=0;i<this.width;i++){var a=255&o[i],s=void 0;s=a<64?"#":a<128?"+":a<192?".":" ",e.append(s)}e.append("\n")}return e.toString()},t}();e.a=i},function(t,e,n){"use strict";var r=function(){function t(t,e,n,r,o,i){void 0===o&&(o=-1),void 0===i&&(i=-1),this.rawBytes=t,this.text=e,this.byteSegments=n,this.ecLevel=r,this.structuredAppendSequenceNumber=o,this.structuredAppendParity=i,this.numBits=null==t?0:8*t.length}return t.prototype.getRawBytes=function(){return this.rawBytes},t.prototype.getNumBits=function(){return this.numBits},t.prototype.setNumBits=function(t){this.numBits=t},t.prototype.getText=function(){return this.text},t.prototype.getByteSegments=function(){return this.byteSegments},t.prototype.getECLevel=function(){return this.ecLevel},t.prototype.getErrorsCorrected=function(){return this.errorsCorrected},t.prototype.setErrorsCorrected=function(t){this.errorsCorrected=t},t.prototype.getErasures=function(){return this.erasures},t.prototype.setErasures=function(t){this.erasures=t},t.prototype.getOther=function(){return this.other},t.prototype.setOther=function(t){this.other=t},t.prototype.hasStructuredAppend=function(){return this.structuredAppendParity>=0&&this.structuredAppendSequenceNumber>=0},t.prototype.getStructuredAppendParity=function(){return this.structuredAppendParity},t.prototype.getStructuredAppendSequenceNumber=function(){return this.structuredAppendSequenceNumber},t}();e.a=r},function(t,e,n){"use strict";var r=n(26),o=n(35),i=n(57),a=n(29),s=function(){function t(t){this.field=t}return t.prototype.decode=function(t,e){for(var n=this.field,a=new o.a(n,t),s=new Int32Array(e),u=!0,l=0;l<e;l++){var c=a.evaluateAt(n.exp(l+n.getGeneratorBase()));s[s.length-1-l]=c,0!==c&&(u=!1)}if(!u){var f=new o.a(n,s),p=this.runEuclideanAlgorithm(n.buildMonomial(e,1),f,e),d=p[0],h=p[1],g=this.findErrorLocations(d),y=this.findErrorMagnitudes(h,g);for(l=0;l<g.length;l++){var v=t.length-1-n.log(g[l]);if(v<0)throw new i.a("Bad error location");t[v]=r.a.addOrSubtract(t[v],y[l])}}},t.prototype.runEuclideanAlgorithm=function(t,e,n){if(t.getDegree()<e.getDegree()){var r=t;t=e,e=r}for(var o=this.field,s=t,u=e,l=o.getZero(),c=o.getOne();u.getDegree()>=(n/2|0);){var f=s,p=l;if(l=c,(s=u).isZero())throw new i.a("r_{i-1} was zero");u=f;for(var d=o.getZero(),h=s.getCoefficient(s.getDegree()),g=o.inverse(h);u.getDegree()>=s.getDegree()&&!u.isZero();){var y=u.getDegree()-s.getDegree(),v=o.multiply(u.getCoefficient(u.getDegree()),g);d=d.addOrSubtract(o.buildMonomial(y,v)),u=u.addOrSubtract(s.multiplyByMonomial(y,v))}if(c=d.multiply(l).addOrSubtract(p),u.getDegree()>=s.getDegree())throw new a.a("Division algorithm failed to reduce polynomial?")}var m=c.getCoefficient(0);if(0===m)throw new i.a("sigmaTilde(0) was zero");var w=o.inverse(m);return[c.multiplyScalar(w),u.multiplyScalar(w)]},t.prototype.findErrorLocations=function(t){var e=t.getDegree();if(1===e)return Int32Array.from([t.getCoefficient(1)]);for(var n=new Int32Array(e),r=0,o=this.field,a=1;a<o.getSize()&&r<e;a++)0===t.evaluateAt(a)&&(n[r]=o.inverse(a),r++);if(r!==e)throw new i.a("Error locator degree does not match number of roots");return n},t.prototype.findErrorMagnitudes=function(t,e){for(var n=e.length,r=new Int32Array(n),o=this.field,i=0;i<n;i++){for(var a=o.inverse(e[i]),s=1,u=0;u<n;u++)if(i!==u){var l=o.multiply(e[u],a),c=0==(1&l)?1|l:-2&l;s=o.multiply(s,c)}r[i]=o.multiply(t.evaluateAt(a),o.inverse(s)),0!==o.getGeneratorBase()&&(r[i]=o.multiply(r[i],a))}return r},t}();e.a=s},function(t,e,n){"use strict";var r,o=n(32),i=n(3);!function(t){t[t.L=0]="L",t[t.M=1]="M",t[t.Q=2]="Q",t[t.H=3]="H"}(r||(r={}));var a=function(){function t(e,n,r){this.value=e,this.stringValue=n,this.bits=r,t.FOR_BITS.set(r,this),t.FOR_VALUE.set(e,this)}return t.prototype.getValue=function(){return this.value},t.prototype.getBits=function(){return this.bits},t.fromString=function(e){switch(e){case"L":return t.L;case"M":return t.M;case"Q":return t.Q;case"H":return t.H;default:throw new o.a(e+"not available")}},t.prototype.toString=function(){return this.stringValue},t.prototype.equals=function(e){if(!(e instanceof t))return!1;var n=e;return this.value===n.value},t.forBits=function(e){if(e<0||e>=t.FOR_BITS.size)throw new i.a;return t.FOR_BITS.get(e)},t.FOR_BITS=new Map,t.FOR_VALUE=new Map,t.L=new t(r.L,"L",1),t.M=new t(r.M,"M",0),t.Q=new t(r.Q,"Q",3),t.H=new t(r.H,"H",2),t}();e.a=a},function(t,e,n){"use strict";var r,o=n(38),i=(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),a=function(t){function e(e){var n=t.call(this,e.getWidth(),e.getHeight())||this;return n.delegate=e,n}return i(e,t),e.prototype.getRow=function(t,e){for(var n=this.delegate.getRow(t,e),r=this.getWidth(),o=0;o<r;o++)n[o]=255-(255&n[o]);return n},e.prototype.getMatrix=function(){for(var t=this.delegate.getMatrix(),e=this.getWidth()*this.getHeight(),n=new Uint8ClampedArray(e),r=0;r<e;r++)n[r]=255-(255&t[r]);return n},e.prototype.isCropSupported=function(){return this.delegate.isCropSupported()},e.prototype.crop=function(t,n,r,o){return new e(this.delegate.crop(t,n,r,o))},e.prototype.isRotateSupported=function(){return this.delegate.isRotateSupported()},e.prototype.invert=function(){return this.delegate},e.prototype.rotateCounterClockwise=function(){return new e(this.delegate.rotateCounterClockwise())},e.prototype.rotateCounterClockwise45=function(){return new e(this.delegate.rotateCounterClockwise45())},e}(o.a);e.a=a},function(t,e,n){"use strict";var r=n(3),o=function(){function t(){}return t.applyMaskPenaltyRule1=function(e){return t.applyMaskPenaltyRule1Internal(e,!0)+t.applyMaskPenaltyRule1Internal(e,!1)},t.applyMaskPenaltyRule2=function(e){for(var n=0,r=e.getArray(),o=e.getWidth(),i=e.getHeight(),a=0;a<i-1;a++)for(var s=r[a],u=0;u<o-1;u++){var l=s[u];l===s[u+1]&&l===r[a+1][u]&&l===r[a+1][u+1]&&n++}return t.N2*n},t.applyMaskPenaltyRule3=function(e){for(var n=0,r=e.getArray(),o=e.getWidth(),i=e.getHeight(),a=0;a<i;a++)for(var s=0;s<o;s++){var u=r[a];s+6<o&&1===u[s]&&0===u[s+1]&&1===u[s+2]&&1===u[s+3]&&1===u[s+4]&&0===u[s+5]&&1===u[s+6]&&(t.isWhiteHorizontal(u,s-4,s)||t.isWhiteHorizontal(u,s+7,s+11))&&n++,a+6<i&&1===r[a][s]&&0===r[a+1][s]&&1===r[a+2][s]&&1===r[a+3][s]&&1===r[a+4][s]&&0===r[a+5][s]&&1===r[a+6][s]&&(t.isWhiteVertical(r,s,a-4,a)||t.isWhiteVertical(r,s,a+7,a+11))&&n++}return n*t.N3},t.isWhiteHorizontal=function(t,e,n){e=Math.max(e,0),n=Math.min(n,t.length);for(var r=e;r<n;r++)if(1===t[r])return!1;return!0},t.isWhiteVertical=function(t,e,n,r){n=Math.max(n,0),r=Math.min(r,t.length);for(var o=n;o<r;o++)if(1===t[o][e])return!1;return!0},t.applyMaskPenaltyRule4=function(e){for(var n=0,r=e.getArray(),o=e.getWidth(),i=e.getHeight(),a=0;a<i;a++)for(var s=r[a],u=0;u<o;u++)1===s[u]&&n++;var l=e.getHeight()*e.getWidth();return Math.floor(10*Math.abs(2*n-l)/l)*t.N4},t.getDataMaskBit=function(t,e,n){var o,i;switch(t){case 0:o=n+e&1;break;case 1:o=1&n;break;case 2:o=e%3;break;case 3:o=(n+e)%3;break;case 4:o=Math.floor(n/2)+Math.floor(e/3)&1;break;case 5:o=(1&(i=n*e))+i%3;break;case 6:o=(1&(i=n*e))+i%3&1;break;case 7:o=(i=n*e)%3+(n+e&1)&1;break;default:throw new r.a("Invalid mask pattern: "+t)}return 0===o},t.applyMaskPenaltyRule1Internal=function(e,n){for(var r=0,o=n?e.getHeight():e.getWidth(),i=n?e.getWidth():e.getHeight(),a=e.getArray(),s=0;s<o;s++){for(var u=0,l=-1,c=0;c<i;c++){var f=n?a[s][c]:a[c][s];f===l?u++:(u>=5&&(r+=t.N1+(u-5)),u=1,l=f)}u>=5&&(r+=t.N1+(u-5))}return r},t.N1=3,t.N2=3,t.N3=40,t.N4=10,t}();e.a=o},function(t,e,n){"use strict";var r,o=n(5),i=n(12),a=n(1),s=n(73),u=n(74),l=n(75),c=n(14),f=n(22),p=n(52),d=n(28),h=(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),g=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},y=function(t){function e(){var e=t.call(this)||this;return e.decodeMiddleCounters=Int32Array.from([0,0,0,0]),e}return h(e,t),e.prototype.decodeMiddle=function(t,e,n){var r,o,i,a,s=this.decodeMiddleCounters;s[0]=0,s[1]=0,s[2]=0,s[3]=0;for(var u=t.getSize(),l=e[1],c=0;c<4&&l<u;c++){var f=d.a.decodeDigit(t,s,l,d.a.L_PATTERNS);n+=String.fromCharCode("0".charCodeAt(0)+f);try{for(var p=(r=void 0,g(s)),h=p.next();!h.done;h=p.next()){l+=h.value}}catch(t){r={error:t}}finally{try{h&&!h.done&&(o=p.return)&&o.call(p)}finally{if(r)throw r.error}}}l=d.a.findGuardPattern(t,l,!0,d.a.MIDDLE_PATTERN,new Int32Array(d.a.MIDDLE_PATTERN.length).fill(0))[1];for(c=0;c<4&&l<u;c++){f=d.a.decodeDigit(t,s,l,d.a.L_PATTERNS);n+=String.fromCharCode("0".charCodeAt(0)+f);try{for(var y=(i=void 0,g(s)),v=y.next();!v.done;v=y.next()){l+=v.value}}catch(t){i={error:t}}finally{try{v&&!v.done&&(a=y.return)&&a.call(y)}finally{if(i)throw i.error}}}return{rowOffset:l,resultString:n}},e.prototype.getBarcodeFormat=function(){return o.a.EAN_8},e}(d.a),v=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),m=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.ean13Reader=new p.a,e}return v(e,t),e.prototype.getBarcodeFormat=function(){return o.a.UPC_A},e.prototype.decode=function(t,e){return this.maybeReturnResult(this.ean13Reader.decode(t))},e.prototype.decodeRow=function(t,e,n){return this.maybeReturnResult(this.ean13Reader.decodeRow(t,e,n))},e.prototype.decodeMiddle=function(t,e,n){return this.ean13Reader.decodeMiddle(t,e,n)},e.prototype.maybeReturnResult=function(t){var e=t.getText();if("0"===e.charAt(0)){var n=new c.a(e.substring(1),null,null,t.getResultPoints(),o.a.UPC_A);return null!=t.getResultMetadata()&&n.putAllMetadata(t.getResultMetadata()),n}throw new a.a},e.prototype.reset=function(){this.ean13Reader.reset()},e}(d.a),w=n(8),E=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),b=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},_=function(t){function e(){var e=t.call(this)||this;return e.decodeMiddleCounters=new Int32Array(4),e}return E(e,t),e.prototype.decodeMiddle=function(t,n,r){var o,i,a=this.decodeMiddleCounters.map((function(t){return t}));a[0]=0,a[1]=0,a[2]=0,a[3]=0;for(var s=t.getSize(),u=n[1],l=0,c=0;c<6&&u<s;c++){var f=e.decodeDigit(t,a,u,e.L_AND_G_PATTERNS);r+=String.fromCharCode("0".charCodeAt(0)+f%10);try{for(var p=(o=void 0,b(a)),d=p.next();!d.done;d=p.next()){u+=d.value}}catch(t){o={error:t}}finally{try{d&&!d.done&&(i=p.return)&&i.call(p)}finally{if(o)throw o.error}}f>=10&&(l|=1<<5-c)}return e.determineNumSysAndCheckDigit(new w.a(r),l),u},e.prototype.decodeEnd=function(t,n){return e.findGuardPatternWithoutCounters(t,n,!0,e.MIDDLE_END_PATTERN)},e.prototype.checkChecksum=function(t){return d.a.checkChecksum(e.convertUPCEtoUPCA(t))},e.determineNumSysAndCheckDigit=function(t,e){for(var n=0;n<=1;n++)for(var r=0;r<10;r++)if(e===this.NUMSYS_AND_CHECK_DIGIT_PATTERNS[n][r])return t.insert(0,"0"+n),void t.append("0"+r);throw a.a.getNotFoundInstance()},e.prototype.getBarcodeFormat=function(){return o.a.UPC_E},e.convertUPCEtoUPCA=function(t){var e=t.slice(1,7).split("").map((function(t){return t.charCodeAt(0)})),n=new w.a;n.append(t.charAt(0));var r=e[5];switch(r){case 0:case 1:case 2:n.appendChars(e,0,2),n.append(r),n.append("0000"),n.appendChars(e,2,3);break;case 3:n.appendChars(e,0,3),n.append("00000"),n.appendChars(e,3,2);break;case 4:n.appendChars(e,0,4),n.append("00000"),n.append(e[4]);break;default:n.appendChars(e,0,5),n.append("0000"),n.append(r)}return t.length>=8&&n.append(t.charAt(7)),n.toString()},e.MIDDLE_END_PATTERN=Int32Array.from([1,1,1,1,1,1]),e.NUMSYS_AND_CHECK_DIGIT_PATTERNS=[Int32Array.from([56,52,50,49,44,38,35,42,41,37]),Int32Array.from([7,11,13,14,19,25,28,21,22,1])],e}(d.a),C=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),S=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},A=function(t){function e(e){var n=t.call(this)||this,r=null==e?null:e.get(i.a.POSSIBLE_FORMATS),a=[];return null!=r&&(r.indexOf(o.a.EAN_13)>-1?a.push(new p.a):r.indexOf(o.a.UPC_A)>-1&&a.push(new m),r.indexOf(o.a.EAN_8)>-1&&a.push(new y),r.indexOf(o.a.UPC_E)>-1&&a.push(new _)),0===a.length&&(a.push(new p.a),a.push(new y),a.push(new _)),n.readers=a,n}return C(e,t),e.prototype.decodeRow=function(t,e,n){var r,s;try{for(var u=S(this.readers),l=u.next();!l.done;l=u.next()){var f=l.value;try{var p=f.decodeRow(t,e,n),d=p.getBarcodeFormat()===o.a.EAN_13&&"0"===p.getText().charAt(0),h=null==n?null:n.get(i.a.POSSIBLE_FORMATS),g=null==h||h.includes(o.a.UPC_A);if(d&&g){var y=p.getRawBytes(),v=new c.a(p.getText().substring(1),y,y.length,p.getResultPoints(),o.a.UPC_A);return v.putAllMetadata(p.getResultMetadata()),v}return p}catch(t){}}}catch(t){r={error:t}}finally{try{l&&!l.done&&(s=u.return)&&s.call(u)}finally{if(r)throw r.error}}throw new a.a},e.prototype.reset=function(){var t,e;try{for(var n=S(this.readers),r=n.next();!r.done;r=n.next()){r.value.reset()}}catch(e){t={error:e}}finally{try{r&&!r.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}},e}(f.a),O=n(102),I=n(79),T=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),R=function(t){function e(e){var n=t.call(this)||this;n.readers=[];var r=e?e.get(i.a.POSSIBLE_FORMATS):null,a=e&&void 0!==e.get(i.a.ASSUME_CODE_39_CHECK_DIGIT);return r&&((r.includes(o.a.EAN_13)||r.includes(o.a.UPC_A)||r.includes(o.a.EAN_8)||r.includes(o.a.UPC_E))&&n.readers.push(new A(e)),r.includes(o.a.CODE_39)&&n.readers.push(new u.a(a)),r.includes(o.a.CODE_128)&&n.readers.push(new s.a),r.includes(o.a.ITF)&&n.readers.push(new l.a),r.includes(o.a.RSS_14)&&n.readers.push(new I.a),r.includes(o.a.RSS_EXPANDED)&&(console.warn("RSS Expanded reader IS NOT ready for production yet! use at your own risk."),n.readers.push(new O.a))),0===n.readers.length&&(n.readers.push(new A(e)),n.readers.push(new u.a),n.readers.push(new A(e)),n.readers.push(new s.a),n.readers.push(new l.a),n.readers.push(new I.a)),n}return T(e,t),e.prototype.decodeRow=function(t,e,n){for(var r=0;r<this.readers.length;r++)try{return this.readers[r].decodeRow(t,e,n)}catch(t){}throw new a.a},e.prototype.reset=function(){this.readers.forEach((function(t){return t.reset()}))},e}(f.a);e.a=R},function(t,e,n){"use strict";var r,o=n(10),i=n(1),a=n(22),s=(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),u=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},l=function(t){function e(){var e=t.call(this)||this;return e.decodeFinderCounters=new Int32Array(4),e.dataCharacterCounters=new Int32Array(8),e.oddRoundingErrors=new Array(4),e.evenRoundingErrors=new Array(4),e.oddCounts=new Array(e.dataCharacterCounters.length/2),e.evenCounts=new Array(e.dataCharacterCounters.length/2),e}return s(e,t),e.prototype.getDecodeFinderCounters=function(){return this.decodeFinderCounters},e.prototype.getDataCharacterCounters=function(){return this.dataCharacterCounters},e.prototype.getOddRoundingErrors=function(){return this.oddRoundingErrors},e.prototype.getEvenRoundingErrors=function(){return this.evenRoundingErrors},e.prototype.getOddCounts=function(){return this.oddCounts},e.prototype.getEvenCounts=function(){return this.evenCounts},e.prototype.parseFinderValue=function(t,n){for(var r=0;r<n.length;r++)if(a.a.patternMatchVariance(t,n[r],e.MAX_INDIVIDUAL_VARIANCE)<e.MAX_AVG_VARIANCE)return r;throw new i.a},e.count=function(t){return o.a.sum(new Int32Array(t))},e.increment=function(t,e){for(var n=0,r=e[0],o=1;o<t.length;o++)e[o]>r&&(r=e[o],n=o);t[n]++},e.decrement=function(t,e){for(var n=0,r=e[0],o=1;o<t.length;o++)e[o]<r&&(r=e[o],n=o);t[n]--},e.isFinderPattern=function(t){var n,r,o=t[0]+t[1],i=o/(o+t[2]+t[3]);if(i>=e.MIN_FINDER_PATTERN_RATIO&&i<=e.MAX_FINDER_PATTERN_RATIO){var a=Number.MAX_SAFE_INTEGER,s=Number.MIN_SAFE_INTEGER;try{for(var l=u(t),c=l.next();!c.done;c=l.next()){var f=c.value;f>s&&(s=f),f<a&&(a=f)}}catch(t){n={error:t}}finally{try{c&&!c.done&&(r=l.return)&&r.call(l)}finally{if(n)throw n.error}}return s<10*a}return!1},e.MAX_AVG_VARIANCE=.2,e.MAX_INDIVIDUAL_VARIANCE=.45,e.MIN_FINDER_PATTERN_RATIO=9.5/12,e.MAX_FINDER_PATTERN_RATIO=12.5/14,e}(a.a);e.a=l},function(t,e,n){"use strict";var r=function(){function t(t,e){this.bits=t,this.points=e}return t.prototype.getBits=function(){return this.bits},t.prototype.getPoints=function(){return this.points},t}();e.a=r},function(t,e,n){"use strict";var r=n(88),o=function(){function t(){}return t.setGridSampler=function(e){t.gridSampler=e},t.getInstance=function(){return t.gridSampler},t.gridSampler=new r.a,t}();e.a=o},function(t,e,n){"use strict";var r,o=n(15),i=(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.kind="UnsupportedOperationException",e}(o.a);e.a=a},function(t,e,n){"use strict";var r=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},o=function(){function t(){}return t.getRSSvalue=function(e,n,o){var i,a,s=0;try{for(var u=r(e),l=u.next();!l.done;l=u.next()){s+=l.value}}catch(t){i={error:t}}finally{try{l&&!l.done&&(a=u.return)&&a.call(u)}finally{if(i)throw i.error}}for(var c=0,f=0,p=e.length,d=0;d<p-1;d++){var h=void 0;for(h=1,f|=1<<d;h<e[d];h++,f&=~(1<<d)){var g=t.combins(s-h-1,p-d-2);if(o&&0===f&&s-h-(p-d-1)>=p-d-1&&(g-=t.combins(s-h-(p-d),p-d-2)),p-d-1>1){for(var y=0,v=s-h-(p-d-2);v>n;v--)y+=t.combins(s-h-v-1,p-d-3);g-=y*(p-1-d)}else s-h>n&&g--;c+=g}s-=h}return c},t.combins=function(t,e){var n,r;t-e>e?(r=e,n=t-e):(r=t-e,n=e);for(var o=1,i=1,a=t;a>n;a--)o*=a,i<=r&&(o/=i,i++);for(;i<=r;)o/=i,i++;return o},t}();e.a=o},function(t,e,n){"use strict";var r=n(14),o=n(5),i=n(12),a=n(21),s=n(9),u=n(71),l=n(60),c=function(){function t(){}return t.prototype.decode=function(t,e){void 0===e&&(e=null);var n=null,i=new l.a(t.getBlackMatrix()),c=null,f=null;try{c=(p=i.detectMirror(!1)).getPoints(),this.reportFoundResultPoints(e,c),f=(new u.a).decode(p)}catch(t){n=t}if(null==f)try{var p;c=(p=i.detectMirror(!0)).getPoints(),this.reportFoundResultPoints(e,c),f=(new u.a).decode(p)}catch(t){if(null!=n)throw n;throw t}var d=new r.a(f.getText(),f.getRawBytes(),f.getNumBits(),c,o.a.AZTEC,s.a.currentTimeMillis()),h=f.getByteSegments();null!=h&&d.putMetadata(a.a.BYTE_SEGMENTS,h);var g=f.getECLevel();return null!=g&&d.putMetadata(a.a.ERROR_CORRECTION_LEVEL,g),d},t.prototype.reportFoundResultPoints=function(t,e){if(null!=t){var n=t.get(i.a.NEED_RESULT_POINT_CALLBACK);null!=n&&e.forEach((function(t,e,r){n.foundPossibleResultPoint(t)}))}},t.prototype.reset=function(){},t}();e.a=c},function(t,e,n){"use strict";var r=n(4),o=n(10),i=n(1),a=function(){function t(e,n,r,o){this.image=e,this.height=e.getHeight(),this.width=e.getWidth(),null==n&&(n=t.INIT_SIZE),null==r&&(r=e.getWidth()/2|0),null==o&&(o=e.getHeight()/2|0);var a=n/2|0;if(this.leftInit=r-a,this.rightInit=r+a,this.upInit=o-a,this.downInit=o+a,this.upInit<0||this.leftInit<0||this.downInit>=this.height||this.rightInit>=this.width)throw new i.a}return t.prototype.detect=function(){for(var t=this.leftInit,e=this.rightInit,n=this.upInit,r=this.downInit,o=!1,a=!0,s=!1,u=!1,l=!1,c=!1,f=!1,p=this.width,d=this.height;a;){a=!1;for(var h=!0;(h||!u)&&e<p;)(h=this.containsBlackPoint(n,r,e,!1))?(e++,a=!0,u=!0):u||e++;if(e>=p){o=!0;break}for(var g=!0;(g||!l)&&r<d;)(g=this.containsBlackPoint(t,e,r,!0))?(r++,a=!0,l=!0):l||r++;if(r>=d){o=!0;break}for(var y=!0;(y||!c)&&t>=0;)(y=this.containsBlackPoint(n,r,t,!1))?(t--,a=!0,c=!0):c||t--;if(t<0){o=!0;break}for(var v=!0;(v||!f)&&n>=0;)(v=this.containsBlackPoint(t,e,n,!0))?(n--,a=!0,f=!0):f||n--;if(n<0){o=!0;break}a&&(s=!0)}if(!o&&s){for(var m=e-t,w=null,E=1;null===w&&E<m;E++)w=this.getBlackPointOnSegment(t,r-E,t+E,r);if(null==w)throw new i.a;var b=null;for(E=1;null===b&&E<m;E++)b=this.getBlackPointOnSegment(t,n+E,t+E,n);if(null==b)throw new i.a;var _=null;for(E=1;null===_&&E<m;E++)_=this.getBlackPointOnSegment(e,n+E,e-E,n);if(null==_)throw new i.a;var C=null;for(E=1;null===C&&E<m;E++)C=this.getBlackPointOnSegment(e,r-E,e-E,r);if(null==C)throw new i.a;return this.centerEdges(C,w,_,b)}throw new i.a},t.prototype.getBlackPointOnSegment=function(t,e,n,i){for(var a=o.a.round(o.a.distance(t,e,n,i)),s=(n-t)/a,u=(i-e)/a,l=this.image,c=0;c<a;c++){var f=o.a.round(t+c*s),p=o.a.round(e+c*u);if(l.get(f,p))return new r.a(f,p)}return null},t.prototype.centerEdges=function(e,n,o,i){var a=e.getX(),s=e.getY(),u=n.getX(),l=n.getY(),c=o.getX(),f=o.getY(),p=i.getX(),d=i.getY(),h=t.CORR;return a<this.width/2?[new r.a(p-h,d+h),new r.a(u+h,l+h),new r.a(c-h,f-h),new r.a(a+h,s-h)]:[new r.a(p+h,d+h),new r.a(u+h,l-h),new r.a(c-h,f+h),new r.a(a-h,s-h)]},t.prototype.containsBlackPoint=function(t,e,n,r){var o=this.image;if(r){for(var i=t;i<=e;i++)if(o.get(i,n))return!0}else for(var a=t;a<=e;a++)if(o.get(n,a))return!0;return!1},t.INIT_SIZE=10,t.CORR=1,t}();e.a=a},function(t,e,n){"use strict";var r,o=n(5),i=n(28),a=n(1),s=(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),u=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},l=function(t){function e(){var e=t.call(this)||this;return e.decodeMiddleCounters=Int32Array.from([0,0,0,0]),e}return s(e,t),e.prototype.decodeMiddle=function(t,n,r){var o,a,s,l,c=this.decodeMiddleCounters;c[0]=0,c[1]=0,c[2]=0,c[3]=0;for(var f=t.getSize(),p=n[1],d=0,h=0;h<6&&p<f;h++){var g=i.a.decodeDigit(t,c,p,i.a.L_AND_G_PATTERNS);r+=String.fromCharCode("0".charCodeAt(0)+g%10);try{for(var y=(o=void 0,u(c)),v=y.next();!v.done;v=y.next()){p+=v.value}}catch(t){o={error:t}}finally{try{v&&!v.done&&(a=y.return)&&a.call(y)}finally{if(o)throw o.error}}g>=10&&(d|=1<<5-h)}r=e.determineFirstDigit(r,d),p=i.a.findGuardPattern(t,p,!0,i.a.MIDDLE_PATTERN,new Int32Array(i.a.MIDDLE_PATTERN.length).fill(0))[1];for(h=0;h<6&&p<f;h++){g=i.a.decodeDigit(t,c,p,i.a.L_PATTERNS);r+=String.fromCharCode("0".charCodeAt(0)+g);try{for(var m=(s=void 0,u(c)),w=m.next();!w.done;w=m.next()){p+=w.value}}catch(t){s={error:t}}finally{try{w&&!w.done&&(l=m.return)&&l.call(m)}finally{if(s)throw s.error}}}return{rowOffset:p,resultString:r}},e.prototype.getBarcodeFormat=function(){return o.a.EAN_13},e.determineFirstDigit=function(t,e){for(var n=0;n<10;n++)if(e===this.FIRST_DIGIT_ENCODINGS[n])return t=String.fromCharCode("0".charCodeAt(0)+n)+t;throw new a.a},e.FIRST_DIGIT_ENCODINGS=[0,11,13,14,19,25,28,21,22,26],e}(i.a);e.a=l},function(t,e,n){"use strict";var r=n(8),o=function(){function t(){this.maskPattern=-1}return t.prototype.getMode=function(){return this.mode},t.prototype.getECLevel=function(){return this.ecLevel},t.prototype.getVersion=function(){return this.version},t.prototype.getMaskPattern=function(){return this.maskPattern},t.prototype.getMatrix=function(){return this.matrix},t.prototype.toString=function(){var t=new r.a;return t.append("<<\n"),t.append(" mode: "),t.append(this.mode?this.mode.toString():"null"),t.append("\n ecLevel: "),t.append(this.ecLevel?this.ecLevel.toString():"null"),t.append("\n version: "),t.append(this.version?this.version.toString():"null"),t.append("\n maskPattern: "),t.append(this.maskPattern.toString()),this.matrix?(t.append("\n matrix:\n"),t.append(this.matrix.toString())):t.append("\n matrix: null\n"),t.append(">>\n"),t.toString()},t.prototype.setMode=function(t){this.mode=t},t.prototype.setECLevel=function(t){this.ecLevel=t},t.prototype.setVersion=function(t){this.version=t},t.prototype.setMaskPattern=function(t){this.maskPattern=t},t.prototype.setMatrix=function(t){this.matrix=t},t.isValidMaskPattern=function(e){return e>=0&&e<t.NUM_MASK_PATTERNS},t.NUM_MASK_PATTERNS=8,t}();e.a=o},function(t,e,n){"use strict";var r,o=n(5),i=n(18),a=n(2),s=n(1),u=n(14),l=n(11),c=n(7),f=n(21),p=n(4),d=n(9),h=n(24),g=function(){function t(t,e){this.bits=t,this.points=e}return t.prototype.getBits=function(){return this.bits},t.prototype.getPoints=function(){return this.points},t}(),y=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},v=function(){function t(){}return t.detectMultiple=function(e,n,r){var o=e.getBlackMatrix(),i=t.detect(r,o);return i.length||((o=o.clone()).rotate180(),i=t.detect(r,o)),new g(o,i)},t.detect=function(e,n){for(var r,o,i=new Array,a=0,s=0,u=!1;a<n.getHeight();){var l=t.findVertices(n,a,s);if(null!=l[0]||null!=l[3]){if(u=!0,i.push(l),!e)break;null!=l[2]?(s=Math.trunc(l[2].getX()),a=Math.trunc(l[2].getY())):(s=Math.trunc(l[4].getX()),a=Math.trunc(l[4].getY()))}else{if(!u)break;u=!1,s=0;try{for(var c=(r=void 0,y(i)),f=c.next();!f.done;f=c.next()){var p=f.value;null!=p[1]&&(a=Math.trunc(Math.max(a,p[1].getY()))),null!=p[3]&&(a=Math.max(a,Math.trunc(p[3].getY())))}}catch(t){r={error:t}}finally{try{f&&!f.done&&(o=c.return)&&o.call(c)}finally{if(r)throw r.error}}a+=t.ROW_STEP}}return i},t.findVertices=function(e,n,r){var o=e.getHeight(),i=e.getWidth(),a=new Array(8);return t.copyToResult(a,t.findRowsWithPattern(e,o,i,n,r,t.START_PATTERN),t.INDEXES_START_PATTERN),null!=a[4]&&(r=Math.trunc(a[4].getX()),n=Math.trunc(a[4].getY())),t.copyToResult(a,t.findRowsWithPattern(e,o,i,n,r,t.STOP_PATTERN),t.INDEXES_STOP_PATTERN),a},t.copyToResult=function(t,e,n){for(var r=0;r<n.length;r++)t[n[r]]=e[r]},t.findRowsWithPattern=function(e,n,r,o,i,a){for(var s=new Array(4),u=!1,l=new Int32Array(a.length);o<n;o+=t.ROW_STEP){if(null!=(g=t.findGuardPattern(e,i,o,r,!1,a,l))){for(;o>0;){if(null==(d=t.findGuardPattern(e,i,--o,r,!1,a,l))){o++;break}g=d}s[0]=new p.a(g[0],o),s[1]=new p.a(g[1],o),u=!0;break}}var c=o+1;if(u){for(var f=0,d=Int32Array.from([Math.trunc(s[0].getX()),Math.trunc(s[1].getX())]);c<n;c++){var g;if(null!=(g=t.findGuardPattern(e,d[0],c,r,!1,a,l))&&Math.abs(d[0]-g[0])<t.MAX_PATTERN_DRIFT&&Math.abs(d[1]-g[1])<t.MAX_PATTERN_DRIFT)d=g,f=0;else{if(f>t.SKIPPED_ROW_COUNT_MAX)break;f++}}c-=f+1,s[2]=new p.a(d[0],c),s[3]=new p.a(d[1],c)}return c-o<t.BARCODE_MIN_HEIGHT&&h.a.fill(s,null),s},t.findGuardPattern=function(e,n,r,o,i,a,s){h.a.fillWithin(s,0,s.length,0);for(var u=n,l=0;e.get(u,r)&&u>0&&l++<t.MAX_PIXEL_DRIFT;)u--;for(var c=u,f=0,p=a.length,g=i;c<o;c++){if(e.get(c,r)!==g)s[f]++;else{if(f===p-1){if(t.patternMatchVariance(s,a,t.MAX_INDIVIDUAL_VARIANCE)<t.MAX_AVG_VARIANCE)return new Int32Array([u,c]);u+=s[0]+s[1],d.a.arraycopy(s,2,s,0,f-1),s[f-1]=0,s[f]=0,f--}else f++;s[f]=1,g=!g}}return f===p-1&&t.patternMatchVariance(s,a,t.MAX_INDIVIDUAL_VARIANCE)<t.MAX_AVG_VARIANCE?new Int32Array([u,c-1]):null},t.patternMatchVariance=function(t,e,n){for(var r=t.length,o=0,i=0,a=0;a<r;a++)o+=t[a],i+=e[a];if(o<i)return 1/0;var s=o/i;n*=s;for(var u=0,l=0;l<r;l++){var c=t[l],f=e[l]*s,p=c>f?c-f:f-c;if(p>n)return 1/0;u+=p}return u/o},t.INDEXES_START_PATTERN=Int32Array.from([0,4,1,5]),t.INDEXES_STOP_PATTERN=Int32Array.from([6,2,7,3]),t.MAX_AVG_VARIANCE=.42,t.MAX_INDIVIDUAL_VARIANCE=.8,t.START_PATTERN=Int32Array.from([8,1,1,1,1,1,1,3]),t.STOP_PATTERN=Int32Array.from([7,1,1,3,1,1,1,2,1]),t.MAX_PIXEL_DRIFT=3,t.MAX_PATTERN_DRIFT=5,t.SKIPPED_ROW_COUNT_MAX=25,t.ROW_STEP=5,t.BARCODE_MIN_HEIGHT=10,t}(),m=n(10),w=n(103),E=function(){function t(e,n,r,o,i){e instanceof t?this.constructor_2(e):this.constructor_1(e,n,r,o,i)}return t.prototype.constructor_1=function(t,e,n,r,o){var i=null==e||null==n,a=null==r||null==o;if(i&&a)throw new s.a;i?(e=new p.a(0,r.getY()),n=new p.a(0,o.getY())):a&&(r=new p.a(t.getWidth()-1,e.getY()),o=new p.a(t.getWidth()-1,n.getY())),this.image=t,this.topLeft=e,this.bottomLeft=n,this.topRight=r,this.bottomRight=o,this.minX=Math.trunc(Math.min(e.getX(),n.getX())),this.maxX=Math.trunc(Math.max(r.getX(),o.getX())),this.minY=Math.trunc(Math.min(e.getY(),r.getY())),this.maxY=Math.trunc(Math.max(n.getY(),o.getY()))},t.prototype.constructor_2=function(t){this.image=t.image,this.topLeft=t.getTopLeft(),this.bottomLeft=t.getBottomLeft(),this.topRight=t.getTopRight(),this.bottomRight=t.getBottomRight(),this.minX=t.getMinX(),this.maxX=t.getMaxX(),this.minY=t.getMinY(),this.maxY=t.getMaxY()},t.merge=function(e,n){return null==e?n:null==n?e:new t(e.image,e.topLeft,e.bottomLeft,n.topRight,n.bottomRight)},t.prototype.addMissingRows=function(e,n,r){var o=this.topLeft,i=this.bottomLeft,a=this.topRight,s=this.bottomRight;if(e>0){var u=r?this.topLeft:this.topRight,l=Math.trunc(u.getY()-e);l<0&&(l=0);var c=new p.a(u.getX(),l);r?o=c:a=c}if(n>0){var f=r?this.bottomLeft:this.bottomRight,d=Math.trunc(f.getY()+n);d>=this.image.getHeight()&&(d=this.image.getHeight()-1);var h=new p.a(f.getX(),d);r?i=h:s=h}return new t(this.image,o,i,a,s)},t.prototype.getMinX=function(){return this.minX},t.prototype.getMaxX=function(){return this.maxX},t.prototype.getMinY=function(){return this.minY},t.prototype.getMaxY=function(){return this.maxY},t.prototype.getTopLeft=function(){return this.topLeft},t.prototype.getTopRight=function(){return this.topRight},t.prototype.getBottomLeft=function(){return this.bottomLeft},t.prototype.getBottomRight=function(){return this.bottomRight},t}(),b=function(){function t(t,e,n,r){this.columnCount=t,this.errorCorrectionLevel=r,this.rowCountUpperPart=e,this.rowCountLowerPart=n,this.rowCount=e+n}return t.prototype.getColumnCount=function(){return this.columnCount},t.prototype.getErrorCorrectionLevel=function(){return this.errorCorrectionLevel},t.prototype.getRowCount=function(){return this.rowCount},t.prototype.getRowCountUpperPart=function(){return this.rowCountUpperPart},t.prototype.getRowCountLowerPart=function(){return this.rowCountLowerPart},t}(),_=function(){function t(){this.buffer=""}return t.form=function(t,e){var n=-1;return t.replace(/%(-)?(0?[0-9]+)?([.][0-9]+)?([#][0-9]+)?([scfpexd%])/g,(function(t,r,o,i,a,s){if("%%"===t)return"%";if(void 0!==e[++n]){t=i?parseInt(i.substr(1)):void 0;var u,l=a?parseInt(a.substr(1)):void 0;switch(s){case"s":u=e[n];break;case"c":u=e[n][0];break;case"f":u=parseFloat(e[n]).toFixed(t);break;case"p":u=parseFloat(e[n]).toPrecision(t);break;case"e":u=parseFloat(e[n]).toExponential(t);break;case"x":u=parseInt(e[n]).toString(l||16);break;case"d":u=parseFloat(parseInt(e[n],l||10).toPrecision(t)).toFixed(0)}u="object"==typeof u?JSON.stringify(u):(+u).toString(l);for(var c=parseInt(o),f=o&&o[0]+""=="0"?"0":" ";u.length<c;)u=void 0!==r?u+f:f+u;return u}}))},t.prototype.format=function(e){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];this.buffer+=t.form(e,n)},t.prototype.toString=function(){return this.buffer},t}(),C=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},S=function(){function t(t){this.boundingBox=new E(t),this.codewords=new Array(t.getMaxY()-t.getMinY()+1)}return t.prototype.getCodewordNearby=function(e){var n=this.getCodeword(e);if(null!=n)return n;for(var r=1;r<t.MAX_NEARBY_DISTANCE;r++){var o=this.imageRowToCodewordIndex(e)-r;if(o>=0&&null!=(n=this.codewords[o]))return n;if((o=this.imageRowToCodewordIndex(e)+r)<this.codewords.length&&null!=(n=this.codewords[o]))return n}return null},t.prototype.imageRowToCodewordIndex=function(t){return t-this.boundingBox.getMinY()},t.prototype.setCodeword=function(t,e){this.codewords[this.imageRowToCodewordIndex(t)]=e},t.prototype.getCodeword=function(t){return this.codewords[this.imageRowToCodewordIndex(t)]},t.prototype.getBoundingBox=function(){return this.boundingBox},t.prototype.getCodewords=function(){return this.codewords},t.prototype.toString=function(){var t,e,n=new _,r=0;try{for(var o=C(this.codewords),i=o.next();!i.done;i=o.next()){var a=i.value;null!=a?n.format("%3d: %3d|%3d%n",r++,a.getRowNumber(),a.getValue()):n.format("%3d: | %n",r++)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=o.return)&&e.call(o)}finally{if(t)throw t.error}}return n.toString()},t.MAX_NEARBY_DISTANCE=5,t}(),A=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},O=function(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,o,i=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},I=function(){function t(){this.values=new Map}return t.prototype.setValue=function(t){t=Math.trunc(t);var e=this.values.get(t);null==e&&(e=0),e++,this.values.set(t,e)},t.prototype.getValue=function(){var t,e,n=-1,r=new Array,o=function(t,e){var o=function(){return t},i=function(){return e};i()>n?(n=i(),(r=[]).push(o())):i()===n&&r.push(o())};try{for(var i=A(this.values.entries()),a=i.next();!a.done;a=i.next()){var s=O(a.value,2);o(s[0],s[1])}}catch(e){t={error:e}}finally{try{a&&!a.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}return l.a.toIntArray(r)},t.prototype.getConfidence=function(t){return this.values.get(t)},t}(),T=(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),R=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},N=function(t){function e(e,n){var r=t.call(this,e)||this;return r._isLeft=n,r}return T(e,t),e.prototype.setRowNumbers=function(){var t,e;try{for(var n=R(this.getCodewords()),r=n.next();!r.done;r=n.next()){var o=r.value;null!=o&&o.setRowNumberAsRowIndicatorColumn()}}catch(e){t={error:e}}finally{try{r&&!r.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}},e.prototype.adjustCompleteIndicatorColumnRowNumbers=function(t){var e=this.getCodewords();this.setRowNumbers(),this.removeIncorrectCodewords(e,t);for(var n=this.getBoundingBox(),r=this._isLeft?n.getTopLeft():n.getTopRight(),o=this._isLeft?n.getBottomLeft():n.getBottomRight(),i=this.imageRowToCodewordIndex(Math.trunc(r.getY())),a=this.imageRowToCodewordIndex(Math.trunc(o.getY())),s=-1,u=1,l=0,c=i;c<a;c++)if(null!=e[c]){var f=e[c],p=f.getRowNumber()-s;if(0===p)l++;else if(1===p)u=Math.max(u,l),l=1,s=f.getRowNumber();else if(p<0||f.getRowNumber()>=t.getRowCount()||p>c)e[c]=null;else{for(var d=void 0,h=(d=u>2?(u-2)*p:p)>=c,g=1;g<=d&&!h;g++)h=null!=e[c-g];h?e[c]=null:(s=f.getRowNumber(),l=1)}}},e.prototype.getRowHeights=function(){var t,e,n=this.getBarcodeMetadata();if(null==n)return null;this.adjustIncompleteIndicatorColumnRowNumbers(n);var r=new Int32Array(n.getRowCount());try{for(var o=R(this.getCodewords()),i=o.next();!i.done;i=o.next()){var a=i.value;if(null!=a){var s=a.getRowNumber();if(s>=r.length)continue;r[s]++}}}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=o.return)&&e.call(o)}finally{if(t)throw t.error}}return r},e.prototype.adjustIncompleteIndicatorColumnRowNumbers=function(t){for(var e=this.getBoundingBox(),n=this._isLeft?e.getTopLeft():e.getTopRight(),r=this._isLeft?e.getBottomLeft():e.getBottomRight(),o=this.imageRowToCodewordIndex(Math.trunc(n.getY())),i=this.imageRowToCodewordIndex(Math.trunc(r.getY())),a=this.getCodewords(),s=-1,u=1,l=0,c=o;c<i;c++)if(null!=a[c]){var f=a[c];f.setRowNumberAsRowIndicatorColumn();var p=f.getRowNumber()-s;0===p?l++:1===p?(u=Math.max(u,l),l=1,s=f.getRowNumber()):f.getRowNumber()>=t.getRowCount()?a[c]=null:(s=f.getRowNumber(),l=1)}},e.prototype.getBarcodeMetadata=function(){var t,e,n=this.getCodewords(),r=new I,o=new I,i=new I,a=new I;try{for(var s=R(n),u=s.next();!u.done;u=s.next()){var c=u.value;if(null!=c){c.setRowNumberAsRowIndicatorColumn();var f=c.getValue()%30,p=c.getRowNumber();switch(this._isLeft||(p+=2),p%3){case 0:o.setValue(3*f+1);break;case 1:a.setValue(f/3),i.setValue(f%3);break;case 2:r.setValue(f+1)}}}}catch(e){t={error:e}}finally{try{u&&!u.done&&(e=s.return)&&e.call(s)}finally{if(t)throw t.error}}if(0===r.getValue().length||0===o.getValue().length||0===i.getValue().length||0===a.getValue().length||r.getValue()[0]<1||o.getValue()[0]+i.getValue()[0]<l.a.MIN_ROWS_IN_BARCODE||o.getValue()[0]+i.getValue()[0]>l.a.MAX_ROWS_IN_BARCODE)return null;var d=new b(r.getValue()[0],o.getValue()[0],i.getValue()[0],a.getValue()[0]);return this.removeIncorrectCodewords(n,d),d},e.prototype.removeIncorrectCodewords=function(t,e){for(var n=0;n<t.length;n++){var r=t[n];if(null!=t[n]){var o=r.getValue()%30,i=r.getRowNumber();if(i>e.getRowCount())t[n]=null;else switch(this._isLeft||(i+=2),i%3){case 0:3*o+1!==e.getRowCountUpperPart()&&(t[n]=null);break;case 1:Math.trunc(o/3)===e.getErrorCorrectionLevel()&&o%3===e.getRowCountLowerPart()||(t[n]=null);break;case 2:o+1!==e.getColumnCount()&&(t[n]=null)}}}},e.prototype.isLeft=function(){return this._isLeft},e.prototype.toString=function(){return"IsLeft: "+this._isLeft+"\n"+t.prototype.toString.call(this)},e}(S),D=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},P=function(){function t(t,e){this.ADJUST_ROW_NUMBER_SKIP=2,this.barcodeMetadata=t,this.barcodeColumnCount=t.getColumnCount(),this.boundingBox=e,this.detectionResultColumns=new Array(this.barcodeColumnCount+2)}return t.prototype.getDetectionResultColumns=function(){this.adjustIndicatorColumnRowNumbers(this.detectionResultColumns[0]),this.adjustIndicatorColumnRowNumbers(this.detectionResultColumns[this.barcodeColumnCount+1]);var t,e=l.a.MAX_CODEWORDS_IN_BARCODE;do{t=e,e=this.adjustRowNumbersAndGetCount()}while(e>0&&e<t);return this.detectionResultColumns},t.prototype.adjustIndicatorColumnRowNumbers=function(t){null!=t&&t.adjustCompleteIndicatorColumnRowNumbers(this.barcodeMetadata)},t.prototype.adjustRowNumbersAndGetCount=function(){var t=this.adjustRowNumbersByRow();if(0===t)return 0;for(var e=1;e<this.barcodeColumnCount+1;e++)for(var n=this.detectionResultColumns[e].getCodewords(),r=0;r<n.length;r++)null!=n[r]&&(n[r].hasValidRowNumber()||this.adjustRowNumbers(e,r,n));return t},t.prototype.adjustRowNumbersByRow=function(){return this.adjustRowNumbersFromBothRI(),this.adjustRowNumbersFromLRI()+this.adjustRowNumbersFromRRI()},t.prototype.adjustRowNumbersFromBothRI=function(){if(null!=this.detectionResultColumns[0]&&null!=this.detectionResultColumns[this.barcodeColumnCount+1])for(var t=this.detectionResultColumns[0].getCodewords(),e=this.detectionResultColumns[this.barcodeColumnCount+1].getCodewords(),n=0;n<t.length;n++)if(null!=t[n]&&null!=e[n]&&t[n].getRowNumber()===e[n].getRowNumber())for(var r=1;r<=this.barcodeColumnCount;r++){var o=this.detectionResultColumns[r].getCodewords()[n];null!=o&&(o.setRowNumber(t[n].getRowNumber()),o.hasValidRowNumber()||(this.detectionResultColumns[r].getCodewords()[n]=null))}},t.prototype.adjustRowNumbersFromRRI=function(){if(null==this.detectionResultColumns[this.barcodeColumnCount+1])return 0;for(var e=0,n=this.detectionResultColumns[this.barcodeColumnCount+1].getCodewords(),r=0;r<n.length;r++)if(null!=n[r])for(var o=n[r].getRowNumber(),i=0,a=this.barcodeColumnCount+1;a>0&&i<this.ADJUST_ROW_NUMBER_SKIP;a--){var s=this.detectionResultColumns[a].getCodewords()[r];null!=s&&(i=t.adjustRowNumberIfValid(o,i,s),s.hasValidRowNumber()||e++)}return e},t.prototype.adjustRowNumbersFromLRI=function(){if(null==this.detectionResultColumns[0])return 0;for(var e=0,n=this.detectionResultColumns[0].getCodewords(),r=0;r<n.length;r++)if(null!=n[r])for(var o=n[r].getRowNumber(),i=0,a=1;a<this.barcodeColumnCount+1&&i<this.ADJUST_ROW_NUMBER_SKIP;a++){var s=this.detectionResultColumns[a].getCodewords()[r];null!=s&&(i=t.adjustRowNumberIfValid(o,i,s),s.hasValidRowNumber()||e++)}return e},t.adjustRowNumberIfValid=function(t,e,n){return null==n||n.hasValidRowNumber()||(n.isValidRowNumber(t)?(n.setRowNumber(t),e=0):++e),e},t.prototype.adjustRowNumbers=function(e,n,r){var o,i,a=r[n],s=this.detectionResultColumns[e-1].getCodewords(),u=s;null!=this.detectionResultColumns[e+1]&&(u=this.detectionResultColumns[e+1].getCodewords());var l=new Array(14);l[2]=s[n],l[3]=u[n],n>0&&(l[0]=r[n-1],l[4]=s[n-1],l[5]=u[n-1]),n>1&&(l[8]=r[n-2],l[10]=s[n-2],l[11]=u[n-2]),n<r.length-1&&(l[1]=r[n+1],l[6]=s[n+1],l[7]=u[n+1]),n<r.length-2&&(l[9]=r[n+2],l[12]=s[n+2],l[13]=u[n+2]);try{for(var c=D(l),f=c.next();!f.done;f=c.next()){var p=f.value;if(t.adjustRowNumber(a,p))return}}catch(t){o={error:t}}finally{try{f&&!f.done&&(i=c.return)&&i.call(c)}finally{if(o)throw o.error}}},t.adjustRowNumber=function(t,e){return null!=e&&(!(!e.hasValidRowNumber()||e.getBucket()!==t.getBucket())&&(t.setRowNumber(e.getRowNumber()),!0))},t.prototype.getBarcodeColumnCount=function(){return this.barcodeColumnCount},t.prototype.getBarcodeRowCount=function(){return this.barcodeMetadata.getRowCount()},t.prototype.getBarcodeECLevel=function(){return this.barcodeMetadata.getErrorCorrectionLevel()},t.prototype.setBoundingBox=function(t){this.boundingBox=t},t.prototype.getBoundingBox=function(){return this.boundingBox},t.prototype.setDetectionResultColumn=function(t,e){this.detectionResultColumns[t]=e},t.prototype.getDetectionResultColumn=function(t){return this.detectionResultColumns[t]},t.prototype.toString=function(){var t=this.detectionResultColumns[0];null==t&&(t=this.detectionResultColumns[this.barcodeColumnCount+1]);for(var e=new _,n=0;n<t.getCodewords().length;n++){e.format("CW %3d:",n);for(var r=0;r<this.barcodeColumnCount+2;r++)if(null!=this.detectionResultColumns[r]){var o=this.detectionResultColumns[r].getCodewords()[n];null!=o?e.format(" %3d|%3d",o.getRowNumber(),o.getValue()):e.format(" | ")}else e.format(" | ");e.format("%n")}return e.toString()},t}(),x=function(){function t(e,n,r,o){this.rowNumber=t.BARCODE_ROW_UNKNOWN,this.startX=Math.trunc(e),this.endX=Math.trunc(n),this.bucket=Math.trunc(r),this.value=Math.trunc(o)}return t.prototype.hasValidRowNumber=function(){return this.isValidRowNumber(this.rowNumber)},t.prototype.isValidRowNumber=function(e){return e!==t.BARCODE_ROW_UNKNOWN&&this.bucket===e%3*3},t.prototype.setRowNumberAsRowIndicatorColumn=function(){this.rowNumber=Math.trunc(3*Math.trunc(this.value/30)+Math.trunc(this.bucket/3))},t.prototype.getWidth=function(){return this.endX-this.startX},t.prototype.getStartX=function(){return this.startX},t.prototype.getEndX=function(){return this.endX},t.prototype.getBucket=function(){return this.bucket},t.prototype.getValue=function(){return this.value},t.prototype.getRowNumber=function(){return this.rowNumber},t.prototype.setRowNumber=function(t){this.rowNumber=t},t.prototype.toString=function(){return this.rowNumber+"|"+this.value},t.BARCODE_ROW_UNKNOWN=-1,t}(),k=n(80),M=function(){function t(){}return t.initialize=function(){for(var e=0;e<l.a.SYMBOL_TABLE.length;e++)for(var n=l.a.SYMBOL_TABLE[e],r=1&n,o=0;o<l.a.BARS_IN_MODULE;o++){for(var i=0;(1&n)===r;)i+=1,n>>=1;r=1&n,t.RATIOS_TABLE[e]||(t.RATIOS_TABLE[e]=new Array(l.a.BARS_IN_MODULE)),t.RATIOS_TABLE[e][l.a.BARS_IN_MODULE-o-1]=Math.fround(i/l.a.MODULES_IN_CODEWORD)}this.bSymbolTableReady=!0},t.getDecodedValue=function(e){var n=t.getDecodedCodewordValue(t.sampleBitCounts(e));return-1!==n?n:t.getClosestDecodedValue(e)},t.sampleBitCounts=function(t){for(var e=m.a.sum(t),n=new Int32Array(l.a.BARS_IN_MODULE),r=0,o=0,i=0;i<l.a.MODULES_IN_CODEWORD;i++){var a=e/(2*l.a.MODULES_IN_CODEWORD)+i*e/l.a.MODULES_IN_CODEWORD;o+t[r]<=a&&(o+=t[r],r++),n[r]++}return n},t.getDecodedCodewordValue=function(e){var n=t.getBitValue(e);return-1===l.a.getCodeword(n)?-1:n},t.getBitValue=function(t){for(var e=0,n=0;n<t.length;n++)for(var r=0;r<t[n];r++)e=e<<1|(n%2==0?1:0);return Math.trunc(e)},t.getClosestDecodedValue=function(e){var n=m.a.sum(e),r=new Array(l.a.BARS_IN_MODULE);if(n>1)for(var o=0;o<r.length;o++)r[o]=Math.fround(e[o]/n);var i=k.a.MAX_VALUE,a=-1;this.bSymbolTableReady||t.initialize();for(var s=0;s<t.RATIOS_TABLE.length;s++){for(var u=0,c=t.RATIOS_TABLE[s],f=0;f<l.a.BARS_IN_MODULE;f++){var p=Math.fround(c[f]-r[f]);if((u+=Math.fround(p*p))>=i)break}u<i&&(i=u,a=l.a.SYMBOL_TABLE[s])}return a},t.bSymbolTableReady=!1,t.RATIOS_TABLE=new Array(l.a.SYMBOL_TABLE.length).map((function(t){return new Array(l.a.BARS_IN_MODULE)})),t}(),L=n(92),B=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},F=function(){function t(){}return t.decode=function(e,n,r,o,i,a,u){for(var l,c=new E(e,n,r,o,i),f=null,p=null,d=!0;;d=!1){if(null!=n&&(f=t.getRowIndicatorColumn(e,c,n,!0,a,u)),null!=o&&(p=t.getRowIndicatorColumn(e,c,o,!1,a,u)),null==(l=t.merge(f,p)))throw s.a.getNotFoundInstance();var h=l.getBoundingBox();if(!d||null==h||!(h.getMinY()<c.getMinY()||h.getMaxY()>c.getMaxY()))break;c=h}l.setBoundingBox(c);var g=l.getBarcodeColumnCount()+1;l.setDetectionResultColumn(0,f),l.setDetectionResultColumn(g,p);for(var y=null!=f,v=1;v<=g;v++){var m=y?v:g-v;if(void 0===l.getDetectionResultColumn(m)){var w=void 0;w=0===m||m===g?new N(c,0===m):new S(c),l.setDetectionResultColumn(m,w);for(var b=-1,_=b,C=c.getMinY();C<=c.getMaxY();C++){if((b=t.getStartColumn(l,m,C,y))<0||b>c.getMaxX()){if(-1===_)continue;b=_}var A=t.detectCodeword(e,c.getMinX(),c.getMaxX(),y,b,C,a,u);null!=A&&(w.setCodeword(C,A),_=b,a=Math.min(a,A.getWidth()),u=Math.max(u,A.getWidth()))}}}return t.createDecoderResult(l)},t.merge=function(e,n){if(null==e&&null==n)return null;var r=t.getBarcodeMetadata(e,n);if(null==r)return null;var o=E.merge(t.adjustBoundingBox(e),t.adjustBoundingBox(n));return new P(r,o)},t.adjustBoundingBox=function(e){var n,r;if(null==e)return null;var o=e.getRowHeights();if(null==o)return null;var i=t.getMax(o),a=0;try{for(var s=B(o),u=s.next();!u.done;u=s.next()){var l=u.value;if(a+=i-l,l>0)break}}catch(t){n={error:t}}finally{try{u&&!u.done&&(r=s.return)&&r.call(s)}finally{if(n)throw n.error}}for(var c=e.getCodewords(),f=0;a>0&&null==c[f];f++)a--;var p=0;for(f=o.length-1;f>=0&&(p+=i-o[f],!(o[f]>0));f--);for(f=c.length-1;p>0&&null==c[f];f--)p--;return e.getBoundingBox().addMissingRows(a,p,e.isLeft())},t.getMax=function(t){var e,n,r=-1;try{for(var o=B(t),i=o.next();!i.done;i=o.next()){var a=i.value;r=Math.max(r,a)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(e)throw e.error}}return r},t.getBarcodeMetadata=function(t,e){var n,r;return null==t||null==(n=t.getBarcodeMetadata())?null==e?null:e.getBarcodeMetadata():null==e||null==(r=e.getBarcodeMetadata())?n:n.getColumnCount()!==r.getColumnCount()&&n.getErrorCorrectionLevel()!==r.getErrorCorrectionLevel()&&n.getRowCount()!==r.getRowCount()?null:n},t.getRowIndicatorColumn=function(e,n,r,o,i,a){for(var s=new N(n,o),u=0;u<2;u++)for(var l=0===u?1:-1,c=Math.trunc(Math.trunc(r.getX())),f=Math.trunc(Math.trunc(r.getY()));f<=n.getMaxY()&&f>=n.getMinY();f+=l){var p=t.detectCodeword(e,0,e.getWidth(),o,c,f,i,a);null!=p&&(s.setCodeword(f,p),c=o?p.getStartX():p.getEndX())}return s},t.adjustCodewordCount=function(e,n){var r=n[0][1],o=r.getValue(),i=e.getBarcodeColumnCount()*e.getBarcodeRowCount()-t.getNumberOfECCodeWords(e.getBarcodeECLevel());if(0===o.length){if(i<1||i>l.a.MAX_CODEWORDS_IN_BARCODE)throw s.a.getNotFoundInstance();r.setValue(i)}else o[0]!==i&&r.setValue(i)},t.createDecoderResult=function(e){var n=t.createBarcodeMatrix(e);t.adjustCodewordCount(e,n);for(var r=new Array,o=new Int32Array(e.getBarcodeRowCount()*e.getBarcodeColumnCount()),i=[],a=new Array,s=0;s<e.getBarcodeRowCount();s++)for(var u=0;u<e.getBarcodeColumnCount();u++){var c=n[s][u+1].getValue(),f=s*e.getBarcodeColumnCount()+u;0===c.length?r.push(f):1===c.length?o[f]=c[0]:(a.push(f),i.push(c))}for(var p=new Array(i.length),d=0;d<p.length;d++)p[d]=i[d];return t.createDecoderResultFromAmbiguousValues(e.getBarcodeECLevel(),o,l.a.toIntArray(r),l.a.toIntArray(a),p)},t.createDecoderResultFromAmbiguousValues=function(e,n,r,o,a){for(var s=new Int32Array(o.length),u=100;u-- >0;){for(var l=0;l<s.length;l++)n[o[l]]=a[l][s[l]];try{return t.decodeCodewords(n,e,r)}catch(t){if(!(t instanceof i.a))throw t}if(0===s.length)throw i.a.getChecksumInstance();for(l=0;l<s.length;l++){if(s[l]<a[l].length-1){s[l]++;break}if(s[l]=0,l===s.length-1)throw i.a.getChecksumInstance()}}throw i.a.getChecksumInstance()},t.createBarcodeMatrix=function(t){for(var e,n,r,o,i=Array.from({length:t.getBarcodeRowCount()},(function(){return new Array(t.getBarcodeColumnCount()+2)})),a=0;a<i.length;a++)for(var s=0;s<i[a].length;s++)i[a][s]=new I;var u=0;try{for(var l=B(t.getDetectionResultColumns()),c=l.next();!c.done;c=l.next()){var f=c.value;if(null!=f)try{for(var p=(r=void 0,B(f.getCodewords())),d=p.next();!d.done;d=p.next()){var h=d.value;if(null!=h){var g=h.getRowNumber();if(g>=0){if(g>=i.length)continue;i[g][u].setValue(h.getValue())}}}}catch(t){r={error:t}}finally{try{d&&!d.done&&(o=p.return)&&o.call(p)}finally{if(r)throw r.error}}u++}}catch(t){e={error:t}}finally{try{c&&!c.done&&(n=l.return)&&n.call(l)}finally{if(e)throw e.error}}return i},t.isValidBarcodeColumn=function(t,e){return e>=0&&e<=t.getBarcodeColumnCount()+1},t.getStartColumn=function(e,n,r,o){var i,a,s=o?1:-1,u=null;if(t.isValidBarcodeColumn(e,n-s)&&(u=e.getDetectionResultColumn(n-s).getCodeword(r)),null!=u)return o?u.getEndX():u.getStartX();if(null!=(u=e.getDetectionResultColumn(n).getCodewordNearby(r)))return o?u.getStartX():u.getEndX();if(t.isValidBarcodeColumn(e,n-s)&&(u=e.getDetectionResultColumn(n-s).getCodewordNearby(r)),null!=u)return o?u.getEndX():u.getStartX();for(var l=0;t.isValidBarcodeColumn(e,n-s);){n-=s;try{for(var c=(i=void 0,B(e.getDetectionResultColumn(n).getCodewords())),f=c.next();!f.done;f=c.next()){var p=f.value;if(null!=p)return(o?p.getEndX():p.getStartX())+s*l*(p.getEndX()-p.getStartX())}}catch(t){i={error:t}}finally{try{f&&!f.done&&(a=c.return)&&a.call(c)}finally{if(i)throw i.error}}l++}return o?e.getBoundingBox().getMinX():e.getBoundingBox().getMaxX()},t.detectCodeword=function(e,n,r,o,i,a,s,u){i=t.adjustCodewordStartColumn(e,n,r,o,i,a);var c,f=t.getModuleBitCount(e,n,r,o,i,a);if(null==f)return null;var p=m.a.sum(f);if(o)c=i+p;else{for(var d=0;d<f.length/2;d++){var h=f[d];f[d]=f[f.length-1-d],f[f.length-1-d]=h}i=(c=i)-p}if(!t.checkCodewordSkew(p,s,u))return null;var g=M.getDecodedValue(f),y=l.a.getCodeword(g);return-1===y?null:new x(i,c,t.getCodewordBucketNumber(g),y)},t.getModuleBitCount=function(t,e,n,r,o,i){for(var a=o,s=new Int32Array(8),u=0,l=r?1:-1,c=r;(r?a<n:a>=e)&&u<s.length;)t.get(a,i)===c?(s[u]++,a+=l):(u++,c=!c);return u===s.length||a===(r?n:e)&&u===s.length-1?s:null},t.getNumberOfECCodeWords=function(t){return 2<<t},t.adjustCodewordStartColumn=function(e,n,r,o,i,a){for(var s=i,u=o?-1:1,l=0;l<2;l++){for(;(o?s>=n:s<r)&&o===e.get(s,a);){if(Math.abs(i-s)>t.CODEWORD_SKEW_SIZE)return i;s+=u}u=-u,o=!o}return s},t.checkCodewordSkew=function(e,n,r){return n-t.CODEWORD_SKEW_SIZE<=e&&e<=r+t.CODEWORD_SKEW_SIZE},t.decodeCodewords=function(e,n,r){if(0===e.length)throw a.a.getFormatInstance();var o=1<<n+1,i=t.correctErrors(e,r,o);t.verifyCodewordCount(e,o);var s=L.a.decode(e,""+n);return s.setErrorsCorrected(i),s.setErasures(r.length),s},t.correctErrors=function(e,n,r){if(null!=n&&n.length>r/2+t.MAX_ERRORS||r<0||r>t.MAX_EC_CODEWORDS)throw i.a.getChecksumInstance();return t.errorCorrection.decode(e,r,n)},t.verifyCodewordCount=function(t,e){if(t.length<4)throw a.a.getFormatInstance();var n=t[0];if(n>t.length)throw a.a.getFormatInstance();if(0===n){if(!(e<t.length))throw a.a.getFormatInstance();t[0]=t.length-e}},t.getBitCountForCodeword=function(t){for(var e=new Int32Array(8),n=0,r=e.length-1;!((1&t)!==n&&(n=1&t,--r<0));)e[r]++,t>>=1;return e},t.getCodewordBucketNumber=function(t){return t instanceof Int32Array?this.getCodewordBucketNumber_Int32Array(t):this.getCodewordBucketNumber_number(t)},t.getCodewordBucketNumber_number=function(e){return t.getCodewordBucketNumber(t.getBitCountForCodeword(e))},t.getCodewordBucketNumber_Int32Array=function(t){return(t[0]-t[2]+t[4]-t[6]+9)%9},t.toString=function(t){for(var e=new _,n=0;n<t.length;n++){e.format("Row %2d: ",n);for(var r=0;r<t[n].length;r++){var o=t[n][r];0===o.getValue().length?e.format(" ",null):e.format("%4d(%2d)",o.getValue()[0],o.getConfidence(o.getValue()[0]))}e.format("%n")}return e.toString()},t.CODEWORD_SKEW_SIZE=2,t.MAX_ERRORS=3,t.MAX_EC_CODEWORDS=512,t.errorCorrection=new w.a,t}(),U=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},z=function(){function t(){}return t.prototype.decode=function(e,n){void 0===n&&(n=null);var r=t.decode(e,n,!1);if(null==r||0===r.length||null==r[0])throw s.a.getNotFoundInstance();return r[0]},t.prototype.decodeMultiple=function(e,n){void 0===n&&(n=null);try{return t.decode(e,n,!0)}catch(t){if(t instanceof a.a||t instanceof i.a)throw s.a.getNotFoundInstance();throw t}},t.decode=function(e,n,r){var i,a,s=new Array,l=v.detectMultiple(e,n,r);try{for(var c=U(l.getPoints()),p=c.next();!p.done;p=c.next()){var d=p.value,h=F.decode(l.getBits(),d[4],d[5],d[6],d[7],t.getMinCodewordWidth(d),t.getMaxCodewordWidth(d)),g=new u.a(h.getText(),h.getRawBytes(),void 0,d,o.a.PDF_417);g.putMetadata(f.a.ERROR_CORRECTION_LEVEL,h.getECLevel());var y=h.getOther();null!=y&&g.putMetadata(f.a.PDF417_EXTRA_METADATA,y),s.push(g)}}catch(t){i={error:t}}finally{try{p&&!p.done&&(a=c.return)&&a.call(c)}finally{if(i)throw i.error}}return s.map((function(t){return t}))},t.getMaxWidth=function(t,e){return null==t||null==e?0:Math.trunc(Math.abs(t.getX()-e.getX()))},t.getMinWidth=function(t,e){return null==t||null==e?c.a.MAX_VALUE:Math.trunc(Math.abs(t.getX()-e.getX()))},t.getMaxCodewordWidth=function(e){return Math.floor(Math.max(Math.max(t.getMaxWidth(e[0],e[4]),t.getMaxWidth(e[6],e[2])*l.a.MODULES_IN_CODEWORD/l.a.MODULES_IN_STOP_PATTERN),Math.max(t.getMaxWidth(e[1],e[5]),t.getMaxWidth(e[7],e[3])*l.a.MODULES_IN_CODEWORD/l.a.MODULES_IN_STOP_PATTERN)))},t.getMinCodewordWidth=function(e){return Math.floor(Math.min(Math.min(t.getMinWidth(e[0],e[4]),t.getMinWidth(e[6],e[2])*l.a.MODULES_IN_CODEWORD/l.a.MODULES_IN_STOP_PATTERN),Math.min(t.getMinWidth(e[1],e[5]),t.getMinWidth(e[7],e[3])*l.a.MODULES_IN_CODEWORD/l.a.MODULES_IN_STOP_PATTERN)))},t.prototype.reset=function(){},t}();e.a=z},function(t,e,n){"use strict";var r,o=n(5),i=n(23),a=n(12),s=n(1),u=n(14),l=n(21),c=n(18),f=n(26),p=n(40),d=n(36),h=n(65),g=n(76),y=n(2),v=function(){function t(t){var e=t.getHeight();if(e<21||1!=(3&e))throw new y.a;this.bitMatrix=t}return t.prototype.readFormatInformation=function(){if(null!==this.parsedFormatInfo&&void 0!==this.parsedFormatInfo)return this.parsedFormatInfo;for(var t=0,e=0;e<6;e++)t=this.copyBit(e,8,t);t=this.copyBit(7,8,t),t=this.copyBit(8,8,t),t=this.copyBit(8,7,t);for(var n=5;n>=0;n--)t=this.copyBit(8,n,t);var r=this.bitMatrix.getHeight(),o=0,i=r-7;for(n=r-1;n>=i;n--)o=this.copyBit(8,n,o);for(e=r-8;e<r;e++)o=this.copyBit(e,8,o);if(this.parsedFormatInfo=h.a.decodeFormatInformation(t,o),null!==this.parsedFormatInfo)return this.parsedFormatInfo;throw new y.a},t.prototype.readVersion=function(){if(null!==this.parsedVersion&&void 0!==this.parsedVersion)return this.parsedVersion;var t=this.bitMatrix.getHeight(),e=Math.floor((t-17)/4);if(e<=6)return d.a.getVersionForNumber(e);for(var n=0,r=t-11,o=5;o>=0;o--)for(var i=t-9;i>=r;i--)n=this.copyBit(i,o,n);var a=d.a.decodeVersionInformation(n);if(null!==a&&a.getDimensionForVersion()===t)return this.parsedVersion=a,a;n=0;for(i=5;i>=0;i--)for(o=t-9;o>=r;o--)n=this.copyBit(i,o,n);if(null!==(a=d.a.decodeVersionInformation(n))&&a.getDimensionForVersion()===t)return this.parsedVersion=a,a;throw new y.a},t.prototype.copyBit=function(t,e,n){return(this.isMirror?this.bitMatrix.get(e,t):this.bitMatrix.get(t,e))?n<<1|1:n<<1},t.prototype.readCodewords=function(){var t=this.readFormatInformation(),e=this.readVersion(),n=g.a.values.get(t.getDataMask()),r=this.bitMatrix.getHeight();n.unmaskBitMatrix(this.bitMatrix,r);for(var o=e.buildFunctionPattern(),i=!0,a=new Uint8Array(e.getTotalCodewords()),s=0,u=0,l=0,c=r-1;c>0;c-=2){6===c&&c--;for(var f=0;f<r;f++)for(var p=i?r-1-f:f,d=0;d<2;d++)o.get(c-d,p)||(l++,u<<=1,this.bitMatrix.get(c-d,p)&&(u|=1),8===l&&(a[s++]=u,l=0,u=0));i=!i}if(s!==e.getTotalCodewords())throw new y.a;return a},t.prototype.remask=function(){if(null!==this.parsedFormatInfo){var t=g.a.values[this.parsedFormatInfo.getDataMask()],e=this.bitMatrix.getHeight();t.unmaskBitMatrix(this.bitMatrix,e)}},t.prototype.setMirror=function(t){this.parsedVersion=null,this.parsedFormatInfo=null,this.isMirror=t},t.prototype.mirror=function(){for(var t=this.bitMatrix,e=0,n=t.getWidth();e<n;e++)for(var r=e+1,o=t.getHeight();r<o;r++)t.get(e,r)!==t.get(r,e)&&(t.flip(r,e),t.flip(e,r))},t}(),m=n(3),w=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},E=function(){function t(t,e){this.numDataCodewords=t,this.codewords=e}return t.getDataBlocks=function(e,n,r){var o,i,a,s;if(e.length!==n.getTotalCodewords())throw new m.a;var u=n.getECBlocksForLevel(r),l=0,c=u.getECBlocks();try{for(var f=w(c),p=f.next();!p.done;p=f.next()){l+=(v=p.value).getCount()}}catch(t){o={error:t}}finally{try{p&&!p.done&&(i=f.return)&&i.call(f)}finally{if(o)throw o.error}}var d=new Array(l),h=0;try{for(var g=w(c),y=g.next();!y.done;y=g.next())for(var v=y.value,E=0;E<v.getCount();E++){var b=v.getDataCodewords(),_=u.getECCodewordsPerBlock()+b;d[h++]=new t(b,new Uint8Array(_))}}catch(t){a={error:t}}finally{try{y&&!y.done&&(s=g.return)&&s.call(g)}finally{if(a)throw a.error}}for(var C=d[0].codewords.length,S=d.length-1;S>=0;){if(d[S].codewords.length===C)break;S--}S++;var A=C-u.getECCodewordsPerBlock(),O=0;for(E=0;E<A;E++)for(var I=0;I<h;I++)d[I].codewords[E]=e[O++];for(I=S;I<h;I++)d[I].codewords[A]=e[O++];var T=d[0].codewords.length;for(E=A;E<T;E++)for(I=0;I<h;I++){var R=I<S?E:E+1;d[I].codewords[R]=e[O++]}return d},t.prototype.getNumDataCodewords=function(){return this.numDataCodewords},t.prototype.getCodewords=function(){return this.codewords},t}(),b=n(91),_=function(){function t(t){this.mirrored=t}return t.prototype.isMirrored=function(){return this.mirrored},t.prototype.applyMirroredCorrection=function(t){if(this.mirrored&&null!==t&&!(t.length<3)){var e=t[0];t[0]=t[2],t[2]=e}},t}(),C=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},S=function(){function t(){this.rsDecoder=new p.a(f.a.QR_CODE_FIELD_256)}return t.prototype.decodeBooleanArray=function(t,e){return this.decodeBitMatrix(i.a.parseFromBooleanArray(t),e)},t.prototype.decodeBitMatrix=function(t,e){var n=new v(t),r=null;try{return this.decodeBitMatrixParser(n,e)}catch(t){r=t}try{n.remask(),n.setMirror(!0),n.readVersion(),n.readFormatInformation(),n.mirror();var o=this.decodeBitMatrixParser(n,e);return o.setOther(new _(!0)),o}catch(t){if(null!==r)throw r;throw t}},t.prototype.decodeBitMatrixParser=function(t,e){var n,r,o,i,a=t.readVersion(),s=t.readFormatInformation().getErrorCorrectionLevel(),u=t.readCodewords(),l=E.getDataBlocks(u,a,s),c=0;try{for(var f=C(l),p=f.next();!p.done;p=f.next()){c+=(v=p.value).getNumDataCodewords()}}catch(t){n={error:t}}finally{try{p&&!p.done&&(r=f.return)&&r.call(f)}finally{if(n)throw n.error}}var d=new Uint8Array(c),h=0;try{for(var g=C(l),y=g.next();!y.done;y=g.next()){var v,m=(v=y.value).getCodewords(),w=v.getNumDataCodewords();this.correctErrors(m,w);for(var _=0;_<w;_++)d[h++]=m[_]}}catch(t){o={error:t}}finally{try{y&&!y.done&&(i=g.return)&&i.call(g)}finally{if(o)throw o.error}}return b.a.decode(d,a,s,e)},t.prototype.correctErrors=function(t,e){var n=new Int32Array(t);try{this.rsDecoder.decode(n,t.length-e)}catch(t){throw new c.a}for(var r=0;r<e;r++)t[r]=n[r]},t}(),A=n(10),O=n(46),I=n(47),T=n(62),R=n(4),N=(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),D=function(t){function e(e,n,r){var o=t.call(this,e,n)||this;return o.estimatedModuleSize=r,o}return N(e,t),e.prototype.aboutEquals=function(t,e,n){if(Math.abs(e-this.getY())<=t&&Math.abs(n-this.getX())<=t){var r=Math.abs(t-this.estimatedModuleSize);return r<=1||r<=this.estimatedModuleSize}return!1},e.prototype.combineEstimate=function(t,n,r){return new e((this.getX()+n)/2,(this.getY()+t)/2,(this.estimatedModuleSize+r)/2)},e}(R.a),P=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},x=function(){function t(t,e,n,r,o,i,a){this.image=t,this.startX=e,this.startY=n,this.width=r,this.height=o,this.moduleSize=i,this.resultPointCallback=a,this.possibleCenters=[],this.crossCheckStateCount=new Int32Array(3)}return t.prototype.find=function(){for(var t=this.startX,e=this.height,n=t+this.width,r=this.startY+e/2,o=new Int32Array(3),i=this.image,a=0;a<e;a++){var u=r+(0==(1&a)?Math.floor((a+1)/2):-Math.floor((a+1)/2));o[0]=0,o[1]=0,o[2]=0;for(var l=t;l<n&&!i.get(l,u);)l++;for(var c=0;l<n;){if(i.get(l,u))if(1===c)o[1]++;else if(2===c){var f;if(this.foundPatternCross(o))if(null!==(f=this.handlePossibleCenter(o,u,l)))return f;o[0]=o[2],o[1]=1,o[2]=0,c=1}else o[++c]++;else 1===c&&c++,o[c]++;l++}if(this.foundPatternCross(o))if(null!==(f=this.handlePossibleCenter(o,u,n)))return f}if(0!==this.possibleCenters.length)return this.possibleCenters[0];throw new s.a},t.centerFromEnd=function(t,e){return e-t[2]-t[1]/2},t.prototype.foundPatternCross=function(t){for(var e=this.moduleSize,n=e/2,r=0;r<3;r++)if(Math.abs(e-t[r])>=n)return!1;return!0},t.prototype.crossCheckVertical=function(e,n,r,o){var i=this.image,a=i.getHeight(),s=this.crossCheckStateCount;s[0]=0,s[1]=0,s[2]=0;for(var u=e;u>=0&&i.get(n,u)&&s[1]<=r;)s[1]++,u--;if(u<0||s[1]>r)return NaN;for(;u>=0&&!i.get(n,u)&&s[0]<=r;)s[0]++,u--;if(s[0]>r)return NaN;for(u=e+1;u<a&&i.get(n,u)&&s[1]<=r;)s[1]++,u++;if(u===a||s[1]>r)return NaN;for(;u<a&&!i.get(n,u)&&s[2]<=r;)s[2]++,u++;if(s[2]>r)return NaN;var l=s[0]+s[1]+s[2];return 5*Math.abs(l-o)>=2*o?NaN:this.foundPatternCross(s)?t.centerFromEnd(s,u):NaN},t.prototype.handlePossibleCenter=function(e,n,r){var o,i,a=e[0]+e[1]+e[2],s=t.centerFromEnd(e,r),u=this.crossCheckVertical(n,s,2*e[1],a);if(!isNaN(u)){var l=(e[0]+e[1]+e[2])/3;try{for(var c=P(this.possibleCenters),f=c.next();!f.done;f=c.next()){var p=f.value;if(p.aboutEquals(l,u,s))return p.combineEstimate(u,s,l)}}catch(t){o={error:t}}finally{try{f&&!f.done&&(i=c.return)&&i.call(c)}finally{if(o)throw o.error}}var d=new D(s,u,l);this.possibleCenters.push(d),null!==this.resultPointCallback&&void 0!==this.resultPointCallback&&this.resultPointCallback.foundPossibleResultPoint(d)}return null},t}(),k=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),M=function(t){function e(e,n,r,o){var i=t.call(this,e,n)||this;return i.estimatedModuleSize=r,i.count=o,void 0===o&&(i.count=1),i}return k(e,t),e.prototype.getEstimatedModuleSize=function(){return this.estimatedModuleSize},e.prototype.getCount=function(){return this.count},e.prototype.aboutEquals=function(t,e,n){if(Math.abs(e-this.getY())<=t&&Math.abs(n-this.getX())<=t){var r=Math.abs(t-this.estimatedModuleSize);return r<=1||r<=this.estimatedModuleSize}return!1},e.prototype.combineEstimate=function(t,n,r){var o=this.count+1;return new e((this.count*this.getX()+n)/o,(this.count*this.getY()+t)/o,(this.count*this.estimatedModuleSize+r)/o,o)},e}(R.a),L=function(){function t(t){this.bottomLeft=t[0],this.topLeft=t[1],this.topRight=t[2]}return t.prototype.getBottomLeft=function(){return this.bottomLeft},t.prototype.getTopLeft=function(){return this.topLeft},t.prototype.getTopRight=function(){return this.topRight},t}(),B=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},F=function(){function t(t,e){this.image=t,this.resultPointCallback=e,this.possibleCenters=[],this.crossCheckStateCount=new Int32Array(5),this.resultPointCallback=e}return t.prototype.getImage=function(){return this.image},t.prototype.getPossibleCenters=function(){return this.possibleCenters},t.prototype.find=function(e){var n=null!=e&&void 0!==e.get(a.a.TRY_HARDER),r=null!=e&&void 0!==e.get(a.a.PURE_BARCODE),o=this.image,i=o.getHeight(),s=o.getWidth(),u=Math.floor(3*i/(4*t.MAX_MODULES));(u<t.MIN_SKIP||n)&&(u=t.MIN_SKIP);for(var l=!1,c=new Int32Array(5),f=u-1;f<i&&!l;f+=u){c[0]=0,c[1]=0,c[2]=0,c[3]=0,c[4]=0;for(var p=0,d=0;d<s;d++)if(o.get(d,f))1==(1&p)&&p++,c[p]++;else if(0==(1&p))if(4===p)if(t.foundPatternCross(c)){if(!0!==this.handlePossibleCenter(c,f,d,r)){c[0]=c[2],c[1]=c[3],c[2]=c[4],c[3]=1,c[4]=0,p=3;continue}if(u=2,!0===this.hasSkipped)l=this.haveMultiplyConfirmedCenters();else{var h=this.findRowSkip();h>c[2]&&(f+=h-c[2]-u,d=s-1)}p=0,c[0]=0,c[1]=0,c[2]=0,c[3]=0,c[4]=0}else c[0]=c[2],c[1]=c[3],c[2]=c[4],c[3]=1,c[4]=0,p=3;else c[++p]++;else c[p]++;if(t.foundPatternCross(c))!0===this.handlePossibleCenter(c,f,s,r)&&(u=c[0],this.hasSkipped&&(l=this.haveMultiplyConfirmedCenters()))}var g=this.selectBestPatterns();return R.a.orderBestPatterns(g),new L(g)},t.centerFromEnd=function(t,e){return e-t[4]-t[3]-t[2]/2},t.foundPatternCross=function(t){for(var e=0,n=0;n<5;n++){var r=t[n];if(0===r)return!1;e+=r}if(e<7)return!1;var o=e/7,i=o/2;return Math.abs(o-t[0])<i&&Math.abs(o-t[1])<i&&Math.abs(3*o-t[2])<3*i&&Math.abs(o-t[3])<i&&Math.abs(o-t[4])<i},t.prototype.getCrossCheckStateCount=function(){var t=this.crossCheckStateCount;return t[0]=0,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t},t.prototype.crossCheckDiagonal=function(e,n,r,o){for(var i=this.getCrossCheckStateCount(),a=0,s=this.image;e>=a&&n>=a&&s.get(n-a,e-a);)i[2]++,a++;if(e<a||n<a)return!1;for(;e>=a&&n>=a&&!s.get(n-a,e-a)&&i[1]<=r;)i[1]++,a++;if(e<a||n<a||i[1]>r)return!1;for(;e>=a&&n>=a&&s.get(n-a,e-a)&&i[0]<=r;)i[0]++,a++;if(i[0]>r)return!1;var u=s.getHeight(),l=s.getWidth();for(a=1;e+a<u&&n+a<l&&s.get(n+a,e+a);)i[2]++,a++;if(e+a>=u||n+a>=l)return!1;for(;e+a<u&&n+a<l&&!s.get(n+a,e+a)&&i[3]<r;)i[3]++,a++;if(e+a>=u||n+a>=l||i[3]>=r)return!1;for(;e+a<u&&n+a<l&&s.get(n+a,e+a)&&i[4]<r;)i[4]++,a++;if(i[4]>=r)return!1;var c=i[0]+i[1]+i[2]+i[3]+i[4];return Math.abs(c-o)<2*o&&t.foundPatternCross(i)},t.prototype.crossCheckVertical=function(e,n,r,o){for(var i=this.image,a=i.getHeight(),s=this.getCrossCheckStateCount(),u=e;u>=0&&i.get(n,u);)s[2]++,u--;if(u<0)return NaN;for(;u>=0&&!i.get(n,u)&&s[1]<=r;)s[1]++,u--;if(u<0||s[1]>r)return NaN;for(;u>=0&&i.get(n,u)&&s[0]<=r;)s[0]++,u--;if(s[0]>r)return NaN;for(u=e+1;u<a&&i.get(n,u);)s[2]++,u++;if(u===a)return NaN;for(;u<a&&!i.get(n,u)&&s[3]<r;)s[3]++,u++;if(u===a||s[3]>=r)return NaN;for(;u<a&&i.get(n,u)&&s[4]<r;)s[4]++,u++;if(s[4]>=r)return NaN;var l=s[0]+s[1]+s[2]+s[3]+s[4];return 5*Math.abs(l-o)>=2*o?NaN:t.foundPatternCross(s)?t.centerFromEnd(s,u):NaN},t.prototype.crossCheckHorizontal=function(e,n,r,o){for(var i=this.image,a=i.getWidth(),s=this.getCrossCheckStateCount(),u=e;u>=0&&i.get(u,n);)s[2]++,u--;if(u<0)return NaN;for(;u>=0&&!i.get(u,n)&&s[1]<=r;)s[1]++,u--;if(u<0||s[1]>r)return NaN;for(;u>=0&&i.get(u,n)&&s[0]<=r;)s[0]++,u--;if(s[0]>r)return NaN;for(u=e+1;u<a&&i.get(u,n);)s[2]++,u++;if(u===a)return NaN;for(;u<a&&!i.get(u,n)&&s[3]<r;)s[3]++,u++;if(u===a||s[3]>=r)return NaN;for(;u<a&&i.get(u,n)&&s[4]<r;)s[4]++,u++;if(s[4]>=r)return NaN;var l=s[0]+s[1]+s[2]+s[3]+s[4];return 5*Math.abs(l-o)>=o?NaN:t.foundPatternCross(s)?t.centerFromEnd(s,u):NaN},t.prototype.handlePossibleCenter=function(e,n,r,o){var i=e[0]+e[1]+e[2]+e[3]+e[4],a=t.centerFromEnd(e,r),s=this.crossCheckVertical(n,Math.floor(a),e[2],i);if(!isNaN(s)&&(a=this.crossCheckHorizontal(Math.floor(a),Math.floor(s),e[2],i),!isNaN(a)&&(!o||this.crossCheckDiagonal(Math.floor(s),Math.floor(a),e[2],i)))){for(var u=i/7,l=!1,c=this.possibleCenters,f=0,p=c.length;f<p;f++){var d=c[f];if(d.aboutEquals(u,s,a)){c[f]=d.combineEstimate(s,a,u),l=!0;break}}if(!l){var h=new M(a,s,u);c.push(h),null!==this.resultPointCallback&&void 0!==this.resultPointCallback&&this.resultPointCallback.foundPossibleResultPoint(h)}return!0}return!1},t.prototype.findRowSkip=function(){var e,n;if(this.possibleCenters.length<=1)return 0;var r=null;try{for(var o=B(this.possibleCenters),i=o.next();!i.done;i=o.next()){var a=i.value;if(a.getCount()>=t.CENTER_QUORUM){if(null!=r)return this.hasSkipped=!0,Math.floor((Math.abs(r.getX()-a.getX())-Math.abs(r.getY()-a.getY()))/2);r=a}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(e)throw e.error}}return 0},t.prototype.haveMultiplyConfirmedCenters=function(){var e,n,r,o,i=0,a=0,s=this.possibleCenters.length;try{for(var u=B(this.possibleCenters),l=u.next();!l.done;l=u.next()){(h=l.value).getCount()>=t.CENTER_QUORUM&&(i++,a+=h.getEstimatedModuleSize())}}catch(t){e={error:t}}finally{try{l&&!l.done&&(n=u.return)&&n.call(u)}finally{if(e)throw e.error}}if(i<3)return!1;var c=a/s,f=0;try{for(var p=B(this.possibleCenters),d=p.next();!d.done;d=p.next()){var h=d.value;f+=Math.abs(h.getEstimatedModuleSize()-c)}}catch(t){r={error:t}}finally{try{d&&!d.done&&(o=p.return)&&o.call(p)}finally{if(r)throw r.error}}return f<=.05*a},t.prototype.selectBestPatterns=function(){var t,e,n,r,o=this.possibleCenters.length;if(o<3)throw new s.a;var i,a=this.possibleCenters;if(o>3){var u=0,l=0;try{for(var c=B(this.possibleCenters),f=c.next();!f.done;f=c.next()){var p=f.value.getEstimatedModuleSize();u+=p,l+=p*p}}catch(e){t={error:e}}finally{try{f&&!f.done&&(e=c.return)&&e.call(c)}finally{if(t)throw t.error}}i=u/o;var d=Math.sqrt(l/o-i*i);a.sort((function(t,e){var n=Math.abs(e.getEstimatedModuleSize()-i),r=Math.abs(t.getEstimatedModuleSize()-i);return n<r?-1:n>r?1:0}));for(var h=Math.max(.2*i,d),g=0;g<a.length&&a.length>3;g++){var y=a[g];Math.abs(y.getEstimatedModuleSize()-i)>h&&(a.splice(g,1),g--)}}if(a.length>3){u=0;try{for(var v=B(a),m=v.next();!m.done;m=v.next()){u+=m.value.getEstimatedModuleSize()}}catch(t){n={error:t}}finally{try{m&&!m.done&&(r=v.return)&&r.call(v)}finally{if(n)throw n.error}}i=u/a.length,a.sort((function(t,e){if(e.getCount()===t.getCount()){var n=Math.abs(e.getEstimatedModuleSize()-i),r=Math.abs(t.getEstimatedModuleSize()-i);return n<r?1:n>r?-1:0}return e.getCount()-t.getCount()})),a.splice(3)}return[a[0],a[1],a[2]]},t.CENTER_QUORUM=2,t.MIN_SKIP=3,t.MAX_MODULES=57,t}(),U=function(){function t(t){this.image=t}return t.prototype.getImage=function(){return this.image},t.prototype.getResultPointCallback=function(){return this.resultPointCallback},t.prototype.detect=function(t){this.resultPointCallback=null==t?null:t.get(a.a.NEED_RESULT_POINT_CALLBACK);var e=new F(this.image,this.resultPointCallback).find(t);return this.processFinderPatternInfo(e)},t.prototype.processFinderPatternInfo=function(e){var n=e.getTopLeft(),r=e.getTopRight(),o=e.getBottomLeft(),i=this.calculateModuleSize(n,r,o);if(i<1)throw new s.a("No pattern found in proccess finder.");var a=t.computeDimension(n,r,o,i),u=d.a.getProvisionalVersionForDimension(a),l=u.getDimensionForVersion()-7,c=null;if(u.getAlignmentPatternCenters().length>0)for(var f=r.getX()-n.getX()+o.getX(),p=r.getY()-n.getY()+o.getY(),h=1-3/l,g=Math.floor(n.getX()+h*(f-n.getX())),y=Math.floor(n.getY()+h*(p-n.getY())),v=4;v<=16;v<<=1)try{c=this.findAlignmentInRegion(i,g,y,v);break}catch(t){if(!(t instanceof s.a))throw t}var m,w=t.createTransform(n,r,o,c,a),E=t.sampleGrid(this.image,w,a);return m=null===c?[o,n,r]:[o,n,r,c],new O.a(E,m)},t.createTransform=function(t,e,n,r,o){var i,a,s,u,l=o-3.5;return null!==r?(i=r.getX(),a=r.getY(),u=s=l-3):(i=e.getX()-t.getX()+n.getX(),a=e.getY()-t.getY()+n.getY(),s=l,u=l),T.a.quadrilateralToQuadrilateral(3.5,3.5,l,3.5,s,u,3.5,l,t.getX(),t.getY(),e.getX(),e.getY(),i,a,n.getX(),n.getY())},t.sampleGrid=function(t,e,n){return I.a.getInstance().sampleGridWithTransform(t,n,n,e)},t.computeDimension=function(t,e,n,r){var o=A.a.round(R.a.distance(t,e)/r),i=A.a.round(R.a.distance(t,n)/r),a=Math.floor((o+i)/2)+7;switch(3&a){case 0:a++;break;case 2:a--;break;case 3:throw new s.a("Dimensions could be not found.")}return a},t.prototype.calculateModuleSize=function(t,e,n){return(this.calculateModuleSizeOneWay(t,e)+this.calculateModuleSizeOneWay(t,n))/2},t.prototype.calculateModuleSizeOneWay=function(t,e){var n=this.sizeOfBlackWhiteBlackRunBothWays(Math.floor(t.getX()),Math.floor(t.getY()),Math.floor(e.getX()),Math.floor(e.getY())),r=this.sizeOfBlackWhiteBlackRunBothWays(Math.floor(e.getX()),Math.floor(e.getY()),Math.floor(t.getX()),Math.floor(t.getY()));return isNaN(n)?r/7:isNaN(r)?n/7:(n+r)/14},t.prototype.sizeOfBlackWhiteBlackRunBothWays=function(t,e,n,r){var o=this.sizeOfBlackWhiteBlackRun(t,e,n,r),i=1,a=t-(n-t);a<0?(i=t/(t-a),a=0):a>=this.image.getWidth()&&(i=(this.image.getWidth()-1-t)/(a-t),a=this.image.getWidth()-1);var s=Math.floor(e-(r-e)*i);return i=1,s<0?(i=e/(e-s),s=0):s>=this.image.getHeight()&&(i=(this.image.getHeight()-1-e)/(s-e),s=this.image.getHeight()-1),a=Math.floor(t+(a-t)*i),(o+=this.sizeOfBlackWhiteBlackRun(t,e,a,s))-1},t.prototype.sizeOfBlackWhiteBlackRun=function(t,e,n,r){var o=Math.abs(r-e)>Math.abs(n-t);if(o){var i=t;t=e,e=i,i=n,n=r,r=i}for(var a=Math.abs(n-t),s=Math.abs(r-e),u=-a/2,l=t<n?1:-1,c=e<r?1:-1,f=0,p=n+l,d=t,h=e;d!==p;d+=l){var g=o?h:d,y=o?d:h;if(1===f===this.image.get(g,y)){if(2===f)return A.a.distance(d,h,t,e);f++}if((u+=s)>0){if(h===r)break;h+=c,u-=a}}return 2===f?A.a.distance(n+l,r,t,e):NaN},t.prototype.findAlignmentInRegion=function(t,e,n,r){var o=Math.floor(r*t),i=Math.max(0,e-o),a=Math.min(this.image.getWidth()-1,e+o);if(a-i<3*t)throw new s.a("Alignment top exceeds estimated module size.");var u=Math.max(0,n-o),l=Math.min(this.image.getHeight()-1,n+o);if(l-u<3*t)throw new s.a("Alignment bottom exceeds estimated module size.");return new x(this.image,i,u,a-i,l-u,t,this.resultPointCallback).find()},t}(),z=function(){function t(){this.decoder=new S}return t.prototype.getDecoder=function(){return this.decoder},t.prototype.decode=function(e,n){var r,i;if(null!=n&&void 0!==n.get(a.a.PURE_BARCODE)){var s=t.extractPureBits(e.getBlackMatrix());r=this.decoder.decodeBitMatrix(s,n),i=t.NO_POINTS}else{var c=new U(e.getBlackMatrix()).detect(n);r=this.decoder.decodeBitMatrix(c.getBits(),n),i=c.getPoints()}r.getOther()instanceof _&&r.getOther().applyMirroredCorrection(i);var f=new u.a(r.getText(),r.getRawBytes(),void 0,i,o.a.QR_CODE,void 0),p=r.getByteSegments();null!==p&&f.putMetadata(l.a.BYTE_SEGMENTS,p);var d=r.getECLevel();return null!==d&&f.putMetadata(l.a.ERROR_CORRECTION_LEVEL,d),r.hasStructuredAppend()&&(f.putMetadata(l.a.STRUCTURED_APPEND_SEQUENCE,r.getStructuredAppendSequenceNumber()),f.putMetadata(l.a.STRUCTURED_APPEND_PARITY,r.getStructuredAppendParity())),f},t.prototype.reset=function(){},t.extractPureBits=function(t){var e=t.getTopLeftOnBit(),n=t.getBottomRightOnBit();if(null===e||null===n)throw new s.a;var r=this.moduleSize(e,t),o=e[1],a=n[1],u=e[0],l=n[0];if(u>=l||o>=a)throw new s.a;if(a-o!=l-u&&(l=u+(a-o))>=t.getWidth())throw new s.a;var c=Math.round((l-u+1)/r),f=Math.round((a-o+1)/r);if(c<=0||f<=0)throw new s.a;if(f!==c)throw new s.a;var p=Math.floor(r/2);o+=p;var d=(u+=p)+Math.floor((c-1)*r)-l;if(d>0){if(d>p)throw new s.a;u-=d}var h=o+Math.floor((f-1)*r)-a;if(h>0){if(h>p)throw new s.a;o-=h}for(var g=new i.a(c,f),y=0;y<f;y++)for(var v=o+Math.floor(y*r),m=0;m<c;m++)t.get(u+Math.floor(m*r),v)&&g.set(m,y);return g},t.moduleSize=function(t,e){for(var n=e.getHeight(),r=e.getWidth(),o=t[0],i=t[1],a=!0,u=0;o<r&&i<n;){if(a!==e.get(o,i)){if(5==++u)break;a=!a}o++,i++}if(o===r||i===n)throw new s.a;return(o-t[0])/7},t.NO_POINTS=new Array,t}();e.a=z},function(t,e,n){"use strict";var r=n(5),o=n(23),i=n(12),a=n(1),s=n(14),u=n(21),l=n(9),c=n(18),f=n(26),p=n(40),d=n(2),h=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},g=function(){function t(t,e,n){this.ecCodewords=t,this.ecBlocks=[e],n&&this.ecBlocks.push(n)}return t.prototype.getECCodewords=function(){return this.ecCodewords},t.prototype.getECBlocks=function(){return this.ecBlocks},t}(),y=function(){function t(t,e){this.count=t,this.dataCodewords=e}return t.prototype.getCount=function(){return this.count},t.prototype.getDataCodewords=function(){return this.dataCodewords},t}(),v=function(){function t(t,e,n,r,o,i){var a,s;this.versionNumber=t,this.symbolSizeRows=e,this.symbolSizeColumns=n,this.dataRegionSizeRows=r,this.dataRegionSizeColumns=o,this.ecBlocks=i;var u=0,l=i.getECCodewords(),c=i.getECBlocks();try{for(var f=h(c),p=f.next();!p.done;p=f.next()){var d=p.value;u+=d.getCount()*(d.getDataCodewords()+l)}}catch(t){a={error:t}}finally{try{p&&!p.done&&(s=f.return)&&s.call(f)}finally{if(a)throw a.error}}this.totalCodewords=u}return t.prototype.getVersionNumber=function(){return this.versionNumber},t.prototype.getSymbolSizeRows=function(){return this.symbolSizeRows},t.prototype.getSymbolSizeColumns=function(){return this.symbolSizeColumns},t.prototype.getDataRegionSizeRows=function(){return this.dataRegionSizeRows},t.prototype.getDataRegionSizeColumns=function(){return this.dataRegionSizeColumns},t.prototype.getTotalCodewords=function(){return this.totalCodewords},t.prototype.getECBlocks=function(){return this.ecBlocks},t.getVersionForDimensions=function(e,n){var r,o;if(0!=(1&e)||0!=(1&n))throw new d.a;try{for(var i=h(t.VERSIONS),a=i.next();!a.done;a=i.next()){var s=a.value;if(s.symbolSizeRows===e&&s.symbolSizeColumns===n)return s}}catch(t){r={error:t}}finally{try{a&&!a.done&&(o=i.return)&&o.call(i)}finally{if(r)throw r.error}}throw new d.a},t.prototype.toString=function(){return""+this.versionNumber},t.buildVersions=function(){return[new t(1,10,10,8,8,new g(5,new y(1,3))),new t(2,12,12,10,10,new g(7,new y(1,5))),new t(3,14,14,12,12,new g(10,new y(1,8))),new t(4,16,16,14,14,new g(12,new y(1,12))),new t(5,18,18,16,16,new g(14,new y(1,18))),new t(6,20,20,18,18,new g(18,new y(1,22))),new t(7,22,22,20,20,new g(20,new y(1,30))),new t(8,24,24,22,22,new g(24,new y(1,36))),new t(9,26,26,24,24,new g(28,new y(1,44))),new t(10,32,32,14,14,new g(36,new y(1,62))),new t(11,36,36,16,16,new g(42,new y(1,86))),new t(12,40,40,18,18,new g(48,new y(1,114))),new t(13,44,44,20,20,new g(56,new y(1,144))),new t(14,48,48,22,22,new g(68,new y(1,174))),new t(15,52,52,24,24,new g(42,new y(2,102))),new t(16,64,64,14,14,new g(56,new y(2,140))),new t(17,72,72,16,16,new g(36,new y(4,92))),new t(18,80,80,18,18,new g(48,new y(4,114))),new t(19,88,88,20,20,new g(56,new y(4,144))),new t(20,96,96,22,22,new g(68,new y(4,174))),new t(21,104,104,24,24,new g(56,new y(6,136))),new t(22,120,120,18,18,new g(68,new y(6,175))),new t(23,132,132,20,20,new g(62,new y(8,163))),new t(24,144,144,22,22,new g(62,new y(8,156),new y(2,155))),new t(25,8,18,6,16,new g(7,new y(1,5))),new t(26,8,32,6,14,new g(11,new y(1,10))),new t(27,12,26,10,24,new g(14,new y(1,16))),new t(28,12,36,10,16,new g(18,new y(1,22))),new t(29,16,36,14,16,new g(24,new y(1,32))),new t(30,16,48,14,22,new g(28,new y(1,49)))]},t.VERSIONS=t.buildVersions(),t}(),m=n(3),w=function(){function t(e){var n=e.getHeight();if(n<8||n>144||0!=(1&n))throw new d.a;this.version=t.readVersion(e),this.mappingBitMatrix=this.extractDataRegion(e),this.readMappingMatrix=new o.a(this.mappingBitMatrix.getWidth(),this.mappingBitMatrix.getHeight())}return t.prototype.getVersion=function(){return this.version},t.readVersion=function(t){var e=t.getHeight(),n=t.getWidth();return v.getVersionForDimensions(e,n)},t.prototype.readCodewords=function(){var t=new Int8Array(this.version.getTotalCodewords()),e=0,n=4,r=0,o=this.mappingBitMatrix.getHeight(),i=this.mappingBitMatrix.getWidth(),a=!1,s=!1,u=!1,l=!1;do{if(n!==o||0!==r||a)if(n!==o-2||0!==r||0==(3&i)||s)if(n!==o+4||2!==r||0!=(7&i)||u)if(n!==o-2||0!==r||4!=(7&i)||l){do{n<o&&r>=0&&!this.readMappingMatrix.get(r,n)&&(t[e++]=255&this.readUtah(n,r,o,i)),n-=2,r+=2}while(n>=0&&r<i);n+=1,r+=3;do{n>=0&&r<i&&!this.readMappingMatrix.get(r,n)&&(t[e++]=255&this.readUtah(n,r,o,i)),n+=2,r-=2}while(n<o&&r>=0);n+=3,r+=1}else t[e++]=255&this.readCorner4(o,i),n-=2,r+=2,l=!0;else t[e++]=255&this.readCorner3(o,i),n-=2,r+=2,u=!0;else t[e++]=255&this.readCorner2(o,i),n-=2,r+=2,s=!0;else t[e++]=255&this.readCorner1(o,i),n-=2,r+=2,a=!0}while(n<o||r<i);if(e!==this.version.getTotalCodewords())throw new d.a;return t},t.prototype.readModule=function(t,e,n,r){return t<0&&(t+=n,e+=4-(n+4&7)),e<0&&(e+=r,t+=4-(r+4&7)),this.readMappingMatrix.set(e,t),this.mappingBitMatrix.get(e,t)},t.prototype.readUtah=function(t,e,n,r){var o=0;return this.readModule(t-2,e-2,n,r)&&(o|=1),o<<=1,this.readModule(t-2,e-1,n,r)&&(o|=1),o<<=1,this.readModule(t-1,e-2,n,r)&&(o|=1),o<<=1,this.readModule(t-1,e-1,n,r)&&(o|=1),o<<=1,this.readModule(t-1,e,n,r)&&(o|=1),o<<=1,this.readModule(t,e-2,n,r)&&(o|=1),o<<=1,this.readModule(t,e-1,n,r)&&(o|=1),o<<=1,this.readModule(t,e,n,r)&&(o|=1),o},t.prototype.readCorner1=function(t,e){var n=0;return this.readModule(t-1,0,t,e)&&(n|=1),n<<=1,this.readModule(t-1,1,t,e)&&(n|=1),n<<=1,this.readModule(t-1,2,t,e)&&(n|=1),n<<=1,this.readModule(0,e-2,t,e)&&(n|=1),n<<=1,this.readModule(0,e-1,t,e)&&(n|=1),n<<=1,this.readModule(1,e-1,t,e)&&(n|=1),n<<=1,this.readModule(2,e-1,t,e)&&(n|=1),n<<=1,this.readModule(3,e-1,t,e)&&(n|=1),n},t.prototype.readCorner2=function(t,e){var n=0;return this.readModule(t-3,0,t,e)&&(n|=1),n<<=1,this.readModule(t-2,0,t,e)&&(n|=1),n<<=1,this.readModule(t-1,0,t,e)&&(n|=1),n<<=1,this.readModule(0,e-4,t,e)&&(n|=1),n<<=1,this.readModule(0,e-3,t,e)&&(n|=1),n<<=1,this.readModule(0,e-2,t,e)&&(n|=1),n<<=1,this.readModule(0,e-1,t,e)&&(n|=1),n<<=1,this.readModule(1,e-1,t,e)&&(n|=1),n},t.prototype.readCorner3=function(t,e){var n=0;return this.readModule(t-1,0,t,e)&&(n|=1),n<<=1,this.readModule(t-1,e-1,t,e)&&(n|=1),n<<=1,this.readModule(0,e-3,t,e)&&(n|=1),n<<=1,this.readModule(0,e-2,t,e)&&(n|=1),n<<=1,this.readModule(0,e-1,t,e)&&(n|=1),n<<=1,this.readModule(1,e-3,t,e)&&(n|=1),n<<=1,this.readModule(1,e-2,t,e)&&(n|=1),n<<=1,this.readModule(1,e-1,t,e)&&(n|=1),n},t.prototype.readCorner4=function(t,e){var n=0;return this.readModule(t-3,0,t,e)&&(n|=1),n<<=1,this.readModule(t-2,0,t,e)&&(n|=1),n<<=1,this.readModule(t-1,0,t,e)&&(n|=1),n<<=1,this.readModule(0,e-2,t,e)&&(n|=1),n<<=1,this.readModule(0,e-1,t,e)&&(n|=1),n<<=1,this.readModule(1,e-1,t,e)&&(n|=1),n<<=1,this.readModule(2,e-1,t,e)&&(n|=1),n<<=1,this.readModule(3,e-1,t,e)&&(n|=1),n},t.prototype.extractDataRegion=function(t){var e=this.version.getSymbolSizeRows(),n=this.version.getSymbolSizeColumns();if(t.getHeight()!==e)throw new m.a("Dimension of bitMatrix must match the version size");for(var r=this.version.getDataRegionSizeRows(),i=this.version.getDataRegionSizeColumns(),a=e/r|0,s=n/i|0,u=a*r,l=s*i,c=new o.a(l,u),f=0;f<a;++f)for(var p=f*r,d=0;d<s;++d)for(var h=d*i,g=0;g<r;++g)for(var y=f*(r+2)+1+g,v=p+g,w=0;w<i;++w){var E=d*(i+2)+1+w;if(t.get(E,y)){var b=h+w;c.set(b,v)}}return c},t}(),E=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},b=function(){function t(t,e){this.numDataCodewords=t,this.codewords=e}return t.getDataBlocks=function(e,n){var r,o,i,a,s=n.getECBlocks(),u=0,l=s.getECBlocks();try{for(var c=E(l),f=c.next();!f.done;f=c.next()){u+=(y=f.value).getCount()}}catch(t){r={error:t}}finally{try{f&&!f.done&&(o=c.return)&&o.call(c)}finally{if(r)throw r.error}}var p=new Array(u),d=0;try{for(var h=E(l),g=h.next();!g.done;g=h.next())for(var y=g.value,v=0;v<y.getCount();v++){var w=y.getDataCodewords(),b=s.getECCodewords()+w;p[d++]=new t(w,new Uint8Array(b))}}catch(t){i={error:t}}finally{try{g&&!g.done&&(a=h.return)&&a.call(h)}finally{if(i)throw i.error}}var _=p[0].codewords.length-s.getECCodewords(),C=_-1,S=0;for(v=0;v<C;v++)for(var A=0;A<d;A++)p[A].codewords[v]=e[S++];var O=24===n.getVersionNumber(),I=O?8:d;for(A=0;A<I;A++)p[A].codewords[_-1]=e[S++];var T=p[0].codewords.length;for(v=_;v<T;v++)for(A=0;A<d;A++){var R=O?(A+8)%d:A,N=O&&R>7?v-1:v;p[R].codewords[N]=e[S++]}if(S!==e.length)throw new m.a;return p},t.prototype.getNumDataCodewords=function(){return this.numDataCodewords},t.prototype.getCodewords=function(){return this.codewords},t}(),_=n(89),C=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},S=function(){function t(){this.rsDecoder=new p.a(f.a.DATA_MATRIX_FIELD_256)}return t.prototype.decode=function(t){var e,n,r=new w(t),o=r.getVersion(),i=r.readCodewords(),a=b.getDataBlocks(i,o),s=0;try{for(var u=C(a),l=u.next();!l.done;l=u.next()){s+=l.value.getNumDataCodewords()}}catch(t){e={error:t}}finally{try{l&&!l.done&&(n=u.return)&&n.call(u)}finally{if(e)throw e.error}}for(var c=new Uint8Array(s),f=a.length,p=0;p<f;p++){var d=a[p],h=d.getCodewords(),g=d.getNumDataCodewords();this.correctErrors(h,g);for(var y=0;y<g;y++)c[y*f+p]=h[y]}return _.a.decode(c)},t.prototype.correctErrors=function(t,e){var n=new Int32Array(t);try{this.rsDecoder.decode(n,t.length-e)}catch(t){throw new c.a}for(var r=0;r<e;r++)t[r]=n[r]},t}(),A=n(51),O=n(46),I=n(47),T=n(4),R=function(){function t(t){this.image=t,this.rectangleDetector=new A.a(this.image)}return t.prototype.detect=function(){var e=this.rectangleDetector.detect(),n=this.detectSolid1(e);if((n=this.detectSolid2(n))[3]=this.correctTopRight(n),!n[3])throw new a.a;var r=(n=this.shiftToModuleCenter(n))[0],o=n[1],i=n[2],s=n[3],u=this.transitionsBetween(r,s)+1,l=this.transitionsBetween(i,s)+1;1==(1&u)&&(u+=1),1==(1&l)&&(l+=1),4*u<7*l&&4*l<7*u&&(u=l=Math.max(u,l));var c=t.sampleGrid(this.image,r,o,i,s,u,l);return new O.a(c,[r,o,i,s])},t.shiftPoint=function(t,e,n){var r=(e.getX()-t.getX())/(n+1),o=(e.getY()-t.getY())/(n+1);return new T.a(t.getX()+r,t.getY()+o)},t.moveAway=function(t,e,n){var r=t.getX(),o=t.getY();return r<e?r-=1:r+=1,o<n?o-=1:o+=1,new T.a(r,o)},t.prototype.detectSolid1=function(t){var e=t[0],n=t[1],r=t[3],o=t[2],i=this.transitionsBetween(e,n),a=this.transitionsBetween(n,r),s=this.transitionsBetween(r,o),u=this.transitionsBetween(o,e),l=i,c=[o,e,n,r];return l>a&&(l=a,c[0]=e,c[1]=n,c[2]=r,c[3]=o),l>s&&(l=s,c[0]=n,c[1]=r,c[2]=o,c[3]=e),l>u&&(c[0]=r,c[1]=o,c[2]=e,c[3]=n),c},t.prototype.detectSolid2=function(e){var n=e[0],r=e[1],o=e[2],i=e[3],a=this.transitionsBetween(n,i),s=t.shiftPoint(r,o,4*(a+1)),u=t.shiftPoint(o,r,4*(a+1));return this.transitionsBetween(s,n)<this.transitionsBetween(u,i)?(e[0]=n,e[1]=r,e[2]=o,e[3]=i):(e[0]=r,e[1]=o,e[2]=i,e[3]=n),e},t.prototype.correctTopRight=function(e){var n=e[0],r=e[1],o=e[2],i=e[3],a=this.transitionsBetween(n,i),s=this.transitionsBetween(r,i),u=t.shiftPoint(n,r,4*(s+1)),l=t.shiftPoint(o,r,4*(a+1));a=this.transitionsBetween(u,i),s=this.transitionsBetween(l,i);var c=new T.a(i.getX()+(o.getX()-r.getX())/(a+1),i.getY()+(o.getY()-r.getY())/(a+1)),f=new T.a(i.getX()+(n.getX()-r.getX())/(s+1),i.getY()+(n.getY()-r.getY())/(s+1));return this.isValid(c)?this.isValid(f)?this.transitionsBetween(u,c)+this.transitionsBetween(l,c)>this.transitionsBetween(u,f)+this.transitionsBetween(l,f)?c:f:c:this.isValid(f)?f:null},t.prototype.shiftToModuleCenter=function(e){var n=e[0],r=e[1],o=e[2],i=e[3],a=this.transitionsBetween(n,i)+1,s=this.transitionsBetween(o,i)+1,u=t.shiftPoint(n,r,4*s),l=t.shiftPoint(o,r,4*a);1==(1&(a=this.transitionsBetween(u,i)+1))&&(a+=1),1==(1&(s=this.transitionsBetween(l,i)+1))&&(s+=1);var c,f,p=(n.getX()+r.getX()+o.getX()+i.getX())/4,d=(n.getY()+r.getY()+o.getY()+i.getY())/4;return n=t.moveAway(n,p,d),r=t.moveAway(r,p,d),o=t.moveAway(o,p,d),i=t.moveAway(i,p,d),u=t.shiftPoint(n,r,4*s),u=t.shiftPoint(u,i,4*a),c=t.shiftPoint(r,n,4*s),c=t.shiftPoint(c,o,4*a),l=t.shiftPoint(o,i,4*s),l=t.shiftPoint(l,r,4*a),f=t.shiftPoint(i,o,4*s),[u,c,l,f=t.shiftPoint(f,n,4*a)]},t.prototype.isValid=function(t){return t.getX()>=0&&t.getX()<this.image.getWidth()&&t.getY()>0&&t.getY()<this.image.getHeight()},t.sampleGrid=function(t,e,n,r,o,i,a){return I.a.getInstance().sampleGrid(t,i,a,.5,.5,i-.5,.5,i-.5,a-.5,.5,a-.5,e.getX(),e.getY(),o.getX(),o.getY(),r.getX(),r.getY(),n.getX(),n.getY())},t.prototype.transitionsBetween=function(t,e){var n=Math.trunc(t.getX()),r=Math.trunc(t.getY()),o=Math.trunc(e.getX()),i=Math.trunc(e.getY()),a=Math.abs(i-r)>Math.abs(o-n);if(a){var s=n;n=r,r=s,s=o,o=i,i=s}for(var u=Math.abs(o-n),l=Math.abs(i-r),c=-u/2,f=r<i?1:-1,p=n<o?1:-1,d=0,h=this.image.get(a?r:n,a?n:r),g=n,y=r;g!==o;g+=p){var v=this.image.get(a?y:g,a?g:y);if(v!==h&&(d++,h=v),(c+=l)>0){if(y===i)break;y+=f,c-=u}}return d},t}(),N=function(){function t(){this.decoder=new S}return t.prototype.decode=function(e,n){var o,a;if(void 0===n&&(n=null),null!=n&&n.has(i.a.PURE_BARCODE)){var c=t.extractPureBits(e.getBlackMatrix());o=this.decoder.decode(c),a=t.NO_POINTS}else{var f=new R(e.getBlackMatrix()).detect();o=this.decoder.decode(f.getBits()),a=f.getPoints()}var p=o.getRawBytes(),d=new s.a(o.getText(),p,8*p.length,a,r.a.DATA_MATRIX,l.a.currentTimeMillis()),h=o.getByteSegments();null!=h&&d.putMetadata(u.a.BYTE_SEGMENTS,h);var g=o.getECLevel();return null!=g&&d.putMetadata(u.a.ERROR_CORRECTION_LEVEL,g),d},t.prototype.reset=function(){},t.extractPureBits=function(t){var e=t.getTopLeftOnBit(),n=t.getBottomRightOnBit();if(null==e||null==n)throw new a.a;var r=this.moduleSize(e,t),i=e[1],s=n[1],u=e[0],l=(n[0]-u+1)/r,c=(s-i+1)/r;if(l<=0||c<=0)throw new a.a;var f=r/2;i+=f,u+=f;for(var p=new o.a(l,c),d=0;d<c;d++)for(var h=i+d*r,g=0;g<l;g++)t.get(u+g*r,h)&&p.set(g,d);return p},t.moduleSize=function(t,e){for(var n=e.getWidth(),r=t[0],o=t[1];r<n&&e.get(r,o);)r++;if(r===n)throw new a.a;var i=r-t[0];if(0===i)throw new a.a;return i},t.NO_POINTS=[],t}();e.a=N},function(t,e,n){"use strict";var r,o=n(15),i=(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.kind="ReedSolomonException",e}(o.a);e.a=a},function(t,e,n){"use strict";var r=function(){function t(t,e){this.value=t,this.checksumPortion=e}return t.prototype.getValue=function(){return this.value},t.prototype.getChecksumPortion=function(){return this.checksumPortion},t.prototype.toString=function(){return this.value+"("+this.checksumPortion+")"},t.prototype.equals=function(e){if(!(e instanceof t))return!1;var n=e;return this.value===n.value&&this.checksumPortion===n.checksumPortion},t.prototype.hashCode=function(){return this.value^this.checksumPortion},t}();e.a=r},function(t,e,n){"use strict";var r=n(3),o=function(){function t(){}return t.prototype.exp=function(t){return this.expTable[t]},t.prototype.log=function(t){if(0===t)throw new r.a;return this.logTable[t]},t.addOrSubtract=function(t,e){return t^e},t}();e.a=o},function(t,e,n){"use strict";var r=n(4),o=n(87),i=n(10),a=n(51),s=n(26),u=n(40),l=n(1),c=n(47),f=n(7),p=function(){function t(t,e){this.x=t,this.y=e}return t.prototype.toResultPoint=function(){return new r.a(this.getX(),this.getY())},t.prototype.getX=function(){return this.x},t.prototype.getY=function(){return this.y},t}(),d=function(){function t(t){this.EXPECTED_CORNER_BITS=new Int32Array([3808,476,2107,1799]),this.image=t}return t.prototype.detect=function(){return this.detectMirror(!1)},t.prototype.detectMirror=function(t){var e=this.getMatrixCenter(),n=this.getBullsEyeCorners(e);if(t){var r=n[0];n[0]=n[2],n[2]=r}this.extractParameters(n);var i=this.sampleGrid(this.image,n[this.shift%4],n[(this.shift+1)%4],n[(this.shift+2)%4],n[(this.shift+3)%4]),a=this.getMatrixCornerPoints(n);return new o.a(i,a,this.compact,this.nbDataBlocks,this.nbLayers)},t.prototype.extractParameters=function(t){if(!(this.isValidPoint(t[0])&&this.isValidPoint(t[1])&&this.isValidPoint(t[2])&&this.isValidPoint(t[3])))throw new l.a;var e=2*this.nbCenterLayers,n=new Int32Array([this.sampleLine(t[0],t[1],e),this.sampleLine(t[1],t[2],e),this.sampleLine(t[2],t[3],e),this.sampleLine(t[3],t[0],e)]);this.shift=this.getRotation(n,e);for(var r=0,o=0;o<4;o++){var i=n[(this.shift+o)%4];this.compact?(r<<=7,r+=i>>1&127):(r<<=10,r+=(i>>2&992)+(i>>1&31))}var a=this.getCorrectedParameterData(r,this.compact);this.compact?(this.nbLayers=1+(a>>6),this.nbDataBlocks=1+(63&a)):(this.nbLayers=1+(a>>11),this.nbDataBlocks=1+(2047&a))},t.prototype.getRotation=function(t,e){var n=0;t.forEach((function(t,r,o){n=(n<<3)+((t>>e-2<<1)+(1&t))})),n=((1&n)<<11)+(n>>1);for(var r=0;r<4;r++)if(f.a.bitCount(n^this.EXPECTED_CORNER_BITS[r])<=2)return r;throw new l.a},t.prototype.getCorrectedParameterData=function(t,e){var n,r;e?(n=7,r=2):(n=10,r=4);for(var o=n-r,i=new Int32Array(n),a=n-1;a>=0;--a)i[a]=15&t,t>>=4;try{new u.a(s.a.AZTEC_PARAM).decode(i,o)}catch(t){throw new l.a}var c=0;for(a=0;a<r;a++)c=(c<<4)+i[a];return c},t.prototype.getBullsEyeCorners=function(t){var e=t,n=t,o=t,i=t,a=!0;for(this.nbCenterLayers=1;this.nbCenterLayers<9;this.nbCenterLayers++){var s=this.getFirstDifferent(e,a,1,-1),u=this.getFirstDifferent(n,a,1,1),c=this.getFirstDifferent(o,a,-1,1),f=this.getFirstDifferent(i,a,-1,-1);if(this.nbCenterLayers>2){var p=this.distancePoint(f,s)*this.nbCenterLayers/(this.distancePoint(i,e)*(this.nbCenterLayers+2));if(p<.75||p>1.25||!this.isWhiteOrBlackRectangle(s,u,c,f))break}e=s,n=u,o=c,i=f,a=!a}if(5!==this.nbCenterLayers&&7!==this.nbCenterLayers)throw new l.a;this.compact=5===this.nbCenterLayers;var d=new r.a(e.getX()+.5,e.getY()-.5),h=new r.a(n.getX()+.5,n.getY()+.5),g=new r.a(o.getX()-.5,o.getY()+.5),y=new r.a(i.getX()-.5,i.getY()-.5);return this.expandSquare([d,h,g,y],2*this.nbCenterLayers-3,2*this.nbCenterLayers)},t.prototype.getMatrixCenter=function(){var t,e,n,r;try{t=(c=new a.a(this.image).detect())[0],e=c[1],n=c[2],r=c[3]}catch(i){var o=this.image.getWidth()/2,s=this.image.getHeight()/2;t=this.getFirstDifferent(new p(o+7,s-7),!1,1,-1).toResultPoint(),e=this.getFirstDifferent(new p(o+7,s+7),!1,1,1).toResultPoint(),n=this.getFirstDifferent(new p(o-7,s+7),!1,-1,1).toResultPoint(),r=this.getFirstDifferent(new p(o-7,s-7),!1,-1,-1).toResultPoint()}var u=i.a.round((t.getX()+r.getX()+e.getX()+n.getX())/4),l=i.a.round((t.getY()+r.getY()+e.getY()+n.getY())/4);try{var c;t=(c=new a.a(this.image,15,u,l).detect())[0],e=c[1],n=c[2],r=c[3]}catch(o){t=this.getFirstDifferent(new p(u+7,l-7),!1,1,-1).toResultPoint(),e=this.getFirstDifferent(new p(u+7,l+7),!1,1,1).toResultPoint(),n=this.getFirstDifferent(new p(u-7,l+7),!1,-1,1).toResultPoint(),r=this.getFirstDifferent(new p(u-7,l-7),!1,-1,-1).toResultPoint()}return u=i.a.round((t.getX()+r.getX()+e.getX()+n.getX())/4),l=i.a.round((t.getY()+r.getY()+e.getY()+n.getY())/4),new p(u,l)},t.prototype.getMatrixCornerPoints=function(t){return this.expandSquare(t,2*this.nbCenterLayers,this.getDimension())},t.prototype.sampleGrid=function(t,e,n,r,o){var i=c.a.getInstance(),a=this.getDimension(),s=a/2-this.nbCenterLayers,u=a/2+this.nbCenterLayers;return i.sampleGrid(t,a,a,s,s,u,s,u,u,s,u,e.getX(),e.getY(),n.getX(),n.getY(),r.getX(),r.getY(),o.getX(),o.getY())},t.prototype.sampleLine=function(t,e,n){for(var r=0,o=this.distanceResultPoint(t,e),a=o/n,s=t.getX(),u=t.getY(),l=a*(e.getX()-t.getX())/o,c=a*(e.getY()-t.getY())/o,f=0;f<n;f++)this.image.get(i.a.round(s+f*l),i.a.round(u+f*c))&&(r|=1<<n-f-1);return r},t.prototype.isWhiteOrBlackRectangle=function(t,e,n,r){t=new p(t.getX()-3,t.getY()+3),e=new p(e.getX()-3,e.getY()-3),n=new p(n.getX()+3,n.getY()-3),r=new p(r.getX()+3,r.getY()+3);var o=this.getColor(r,t);if(0===o)return!1;var i=this.getColor(t,e);return i===o&&((i=this.getColor(e,n))===o&&(i=this.getColor(n,r))===o)},t.prototype.getColor=function(t,e){for(var n=this.distancePoint(t,e),r=(e.getX()-t.getX())/n,o=(e.getY()-t.getY())/n,a=0,s=t.getX(),u=t.getY(),l=this.image.get(t.getX(),t.getY()),c=Math.ceil(n),f=0;f<c;f++)s+=r,u+=o,this.image.get(i.a.round(s),i.a.round(u))!==l&&a++;var p=a/n;return p>.1&&p<.9?0:p<=.1===l?1:-1},t.prototype.getFirstDifferent=function(t,e,n,r){for(var o=t.getX()+n,i=t.getY()+r;this.isValid(o,i)&&this.image.get(o,i)===e;)o+=n,i+=r;for(o-=n,i-=r;this.isValid(o,i)&&this.image.get(o,i)===e;)o+=n;for(o-=n;this.isValid(o,i)&&this.image.get(o,i)===e;)i+=r;return new p(o,i-=r)},t.prototype.expandSquare=function(t,e,n){var o=n/(2*e),i=t[0].getX()-t[2].getX(),a=t[0].getY()-t[2].getY(),s=(t[0].getX()+t[2].getX())/2,u=(t[0].getY()+t[2].getY())/2,l=new r.a(s+o*i,u+o*a),c=new r.a(s-o*i,u-o*a);return i=t[1].getX()-t[3].getX(),a=t[1].getY()-t[3].getY(),s=(t[1].getX()+t[3].getX())/2,u=(t[1].getY()+t[3].getY())/2,[l,new r.a(s+o*i,u+o*a),c,new r.a(s-o*i,u-o*a)]},t.prototype.isValid=function(t,e){return t>=0&&t<this.image.getWidth()&&e>0&&e<this.image.getHeight()},t.prototype.isValidPoint=function(t){var e=i.a.round(t.getX()),n=i.a.round(t.getY());return this.isValid(e,n)},t.prototype.distancePoint=function(t,e){return i.a.distance(t.getX(),t.getY(),e.getX(),e.getY())},t.prototype.distanceResultPoint=function(t,e){return i.a.distance(t.getX(),t.getY(),e.getX(),e.getY())},t.prototype.getDimension=function(){return this.compact?4*this.nbLayers+11:this.nbLayers<=4?4*this.nbLayers+15:4*this.nbLayers+2*(f.a.truncDivision(this.nbLayers-4,8)+1)+15},t}();e.a=d},function(t,e,n){"use strict";var r,o=n(15),i=(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.kind="ArithmeticException",e}(o.a);e.a=a},function(t,e,n){"use strict";var r=function(){function t(t,e,n,r,o,i,a,s,u){this.a11=t,this.a21=e,this.a31=n,this.a12=r,this.a22=o,this.a32=i,this.a13=a,this.a23=s,this.a33=u}return t.quadrilateralToQuadrilateral=function(e,n,r,o,i,a,s,u,l,c,f,p,d,h,g,y){var v=t.quadrilateralToSquare(e,n,r,o,i,a,s,u);return t.squareToQuadrilateral(l,c,f,p,d,h,g,y).times(v)},t.prototype.transformPoints=function(t){for(var e=t.length,n=this.a11,r=this.a12,o=this.a13,i=this.a21,a=this.a22,s=this.a23,u=this.a31,l=this.a32,c=this.a33,f=0;f<e;f+=2){var p=t[f],d=t[f+1],h=o*p+s*d+c;t[f]=(n*p+i*d+u)/h,t[f+1]=(r*p+a*d+l)/h}},t.prototype.transformPointsWithValues=function(t,e){for(var n=this.a11,r=this.a12,o=this.a13,i=this.a21,a=this.a22,s=this.a23,u=this.a31,l=this.a32,c=this.a33,f=t.length,p=0;p<f;p++){var d=t[p],h=e[p],g=o*d+s*h+c;t[p]=(n*d+i*h+u)/g,e[p]=(r*d+a*h+l)/g}},t.squareToQuadrilateral=function(e,n,r,o,i,a,s,u){var l=e-r+i-s,c=n-o+a-u;if(0===l&&0===c)return new t(r-e,i-r,e,o-n,a-o,n,0,0,1);var f=r-i,p=s-i,d=o-a,h=u-a,g=f*h-p*d,y=(l*h-p*c)/g,v=(f*c-l*d)/g;return new t(r-e+y*r,s-e+v*s,e,o-n+y*o,u-n+v*u,n,y,v,1)},t.quadrilateralToSquare=function(e,n,r,o,i,a,s,u){return t.squareToQuadrilateral(e,n,r,o,i,a,s,u).buildAdjoint()},t.prototype.buildAdjoint=function(){return new t(this.a22*this.a33-this.a23*this.a32,this.a23*this.a31-this.a21*this.a33,this.a21*this.a32-this.a22*this.a31,this.a13*this.a32-this.a12*this.a33,this.a11*this.a33-this.a13*this.a31,this.a12*this.a31-this.a11*this.a32,this.a12*this.a23-this.a13*this.a22,this.a13*this.a21-this.a11*this.a23,this.a11*this.a22-this.a12*this.a21)},t.prototype.times=function(e){return new t(this.a11*e.a11+this.a21*e.a12+this.a31*e.a13,this.a11*e.a21+this.a21*e.a22+this.a31*e.a23,this.a11*e.a31+this.a21*e.a32+this.a31*e.a33,this.a12*e.a11+this.a22*e.a12+this.a32*e.a13,this.a12*e.a21+this.a22*e.a22+this.a32*e.a23,this.a12*e.a31+this.a22*e.a32+this.a32*e.a33,this.a13*e.a11+this.a23*e.a12+this.a33*e.a13,this.a13*e.a21+this.a23*e.a22+this.a33*e.a23,this.a13*e.a31+this.a23*e.a32+this.a33*e.a33)},t}();e.a=r},function(t,e,n){"use strict";var r=n(70),o=function(){function t(t){this.information=t,this.generalDecoder=new r.a(t)}return t.prototype.getInformation=function(){return this.information},t.prototype.getGeneralDecoder=function(){return this.generalDecoder},t}();e.a=o},function(t,e,n){"use strict";var r=n(3),o=function(){function t(t){this.bytes=t,this.byteOffset=0,this.bitOffset=0}return t.prototype.getBitOffset=function(){return this.bitOffset},t.prototype.getByteOffset=function(){return this.byteOffset},t.prototype.readBits=function(t){if(t<1||t>32||t>this.available())throw new r.a(""+t);var e=0,n=this.bitOffset,o=this.byteOffset,i=this.bytes;if(n>0){var a=8-n,s=t<a?t:a,u=255>>8-s<<(l=a-s);e=(i[o]&u)>>l,t-=s,8===(n+=s)&&(n=0,o++)}if(t>0){for(;t>=8;)e=e<<8|255&i[o],o++,t-=8;if(t>0){var l;u=255>>(l=8-t)<<l;e=e<<t|(i[o]&u)>>l,n+=t}}return this.bitOffset=n,this.byteOffset=o,e},t.prototype.available=function(){return 8*(this.bytes.length-this.byteOffset)-this.bitOffset},t}();e.a=o},function(t,e,n){"use strict";var r=n(41),o=n(7),i=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},a=function(){function t(t){this.errorCorrectionLevel=r.a.forBits(t>>3&3),this.dataMask=7&t}return t.numBitsDiffering=function(t,e){return o.a.bitCount(t^e)},t.decodeFormatInformation=function(e,n){var r=t.doDecodeFormatInformation(e,n);return null!==r?r:t.doDecodeFormatInformation(e^t.FORMAT_INFO_MASK_QR,n^t.FORMAT_INFO_MASK_QR)},t.doDecodeFormatInformation=function(e,n){var r,o,a=Number.MAX_SAFE_INTEGER,s=0;try{for(var u=i(t.FORMAT_INFO_DECODE_LOOKUP),l=u.next();!l.done;l=u.next()){var c=l.value,f=c[0];if(f===e||f===n)return new t(c[1]);var p=t.numBitsDiffering(e,f);p<a&&(s=c[1],a=p),e!==n&&(p=t.numBitsDiffering(n,f))<a&&(s=c[1],a=p)}}catch(t){r={error:t}}finally{try{l&&!l.done&&(o=u.return)&&o.call(u)}finally{if(r)throw r.error}}return a<=3?new t(s):null},t.prototype.getErrorCorrectionLevel=function(){return this.errorCorrectionLevel},t.prototype.getDataMask=function(){return this.dataMask},t.prototype.hashCode=function(){return this.errorCorrectionLevel.getBits()<<3|this.dataMask},t.prototype.equals=function(e){if(!(e instanceof t))return!1;var n=e;return this.errorCorrectionLevel===n.errorCorrectionLevel&&this.dataMask===n.dataMask},t.FORMAT_INFO_MASK_QR=21522,t.FORMAT_INFO_DECODE_LOOKUP=[Int32Array.from([21522,0]),Int32Array.from([20773,1]),Int32Array.from([24188,2]),Int32Array.from([23371,3]),Int32Array.from([17913,4]),Int32Array.from([16590,5]),Int32Array.from([20375,6]),Int32Array.from([19104,7]),Int32Array.from([30660,8]),Int32Array.from([29427,9]),Int32Array.from([32170,10]),Int32Array.from([30877,11]),Int32Array.from([26159,12]),Int32Array.from([25368,13]),Int32Array.from([27713,14]),Int32Array.from([26998,15]),Int32Array.from([5769,16]),Int32Array.from([5054,17]),Int32Array.from([7399,18]),Int32Array.from([6608,19]),Int32Array.from([1890,20]),Int32Array.from([597,21]),Int32Array.from([3340,22]),Int32Array.from([2107,23]),Int32Array.from([13663,24]),Int32Array.from([12392,25]),Int32Array.from([16177,26]),Int32Array.from([14854,27]),Int32Array.from([9396,28]),Int32Array.from([8579,29]),Int32Array.from([11994,30]),Int32Array.from([11245,31])],t}();e.a=a},function(t,e,n){"use strict";var r=n(35),o=n(9),i=n(3),a=function(){function t(t){this.field=t,this.cachedGenerators=[],this.cachedGenerators.push(new r.a(t,Int32Array.from([1])))}return t.prototype.buildGenerator=function(t){var e=this.cachedGenerators;if(t>=e.length)for(var n=e[e.length-1],o=this.field,i=e.length;i<=t;i++){var a=n.multiply(new r.a(o,Int32Array.from([1,o.exp(i-1+o.getGeneratorBase())])));e.push(a),n=a}return e[t]},t.prototype.encode=function(t,e){if(0===e)throw new i.a("No error correction bytes");var n=t.length-e;if(n<=0)throw new i.a("No data bytes provided");var a=this.buildGenerator(e),s=new Int32Array(n);o.a.arraycopy(t,0,s,0,n);for(var u=new r.a(this.field,s),l=(u=u.multiplyByMonomial(e,1)).divide(a)[1].getCoefficients(),c=e-l.length,f=0;f<c;f++)t[n+f]=0;o.a.arraycopy(l,0,t,n+c,l.length)},t}();e.a=a},function(t,e,n){"use strict";var r=n(25),o=n(19),i=n(20),a=n(26),s=n(66),u=n(16),l=n(36),c=n(43),f=n(94),p=n(53),d=n(78),h=n(30),g=function(){function t(t,e){this.dataBytes=t,this.errorCorrectionBytes=e}return t.prototype.getDataBytes=function(){return this.dataBytes},t.prototype.getErrorCorrectionBytes=function(){return this.errorCorrectionBytes},t}(),y=n(17),v=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},m=function(){function t(){}return t.calculateMaskPenalty=function(t){return c.a.applyMaskPenaltyRule1(t)+c.a.applyMaskPenaltyRule2(t)+c.a.applyMaskPenaltyRule3(t)+c.a.applyMaskPenaltyRule4(t)},t.encode=function(e,n,a){void 0===a&&(a=null);var s=t.DEFAULT_BYTE_MODE_ENCODING,c=null!==a&&void 0!==a.get(r.a.CHARACTER_SET);c&&(s=a.get(r.a.CHARACTER_SET).toString());var h=this.chooseMode(e,s),g=new o.a;if(h===u.a.BYTE&&(c||t.DEFAULT_BYTE_MODE_ENCODING!==s)){var v=i.a.getCharacterSetECIByName(s);void 0!==v&&this.appendECI(v,g)}this.appendModeInfo(h,g);var m,w=new o.a;if(this.appendBytes(e,h,w,s),null!==a&&void 0!==a.get(r.a.QR_VERSION)){var E=Number.parseInt(a.get(r.a.QR_VERSION).toString(),10);m=l.a.getVersionForNumber(E);var b=this.calculateBitsNeeded(h,g,w,m);if(!this.willFit(b,m,n))throw new y.a("Data too big for requested version")}else m=this.recommendVersion(n,h,g,w);var _=new o.a;_.appendBitArray(g);var C=h===u.a.BYTE?w.getSizeInBytes():e.length;this.appendLengthInfo(C,m,h,_),_.appendBitArray(w);var S=m.getECBlocksForLevel(n),A=m.getTotalCodewords()-S.getTotalECCodewords();this.terminateBits(A,_);var O=this.interleaveWithECBytes(_,m.getTotalCodewords(),A,S.getNumBlocks()),I=new p.a;I.setECLevel(n),I.setMode(h),I.setVersion(m);var T=m.getDimensionForVersion(),R=new f.a(T,T),N=this.chooseMaskPattern(O,n,m,R);return I.setMaskPattern(N),d.a.buildMatrix(O,n,m,N,R),I.setMatrix(R),I},t.recommendVersion=function(t,e,n,r){var o=this.calculateBitsNeeded(e,n,r,l.a.getVersionForNumber(1)),i=this.chooseVersion(o,t),a=this.calculateBitsNeeded(e,n,r,i);return this.chooseVersion(a,t)},t.calculateBitsNeeded=function(t,e,n,r){return e.getSize()+t.getCharacterCountBits(r)+n.getSize()},t.getAlphanumericCode=function(e){return e<t.ALPHANUMERIC_TABLE.length?t.ALPHANUMERIC_TABLE[e]:-1},t.chooseMode=function(e,n){if(void 0===n&&(n=null),i.a.SJIS.getName()===n&&this.isOnlyDoubleByteKanji(e))return u.a.KANJI;for(var r=!1,o=!1,a=0,s=e.length;a<s;++a){var l=e.charAt(a);if(t.isDigit(l))r=!0;else{if(-1===this.getAlphanumericCode(l.charCodeAt(0)))return u.a.BYTE;o=!0}}return o?u.a.ALPHANUMERIC:r?u.a.NUMERIC:u.a.BYTE},t.isOnlyDoubleByteKanji=function(t){var e;try{e=h.a.encode(t,i.a.SJIS)}catch(t){return!1}var n=e.length;if(n%2!=0)return!1;for(var r=0;r<n;r+=2){var o=255&e[r];if((o<129||o>159)&&(o<224||o>235))return!1}return!0},t.chooseMaskPattern=function(t,e,n,r){for(var o=Number.MAX_SAFE_INTEGER,i=-1,a=0;a<p.a.NUM_MASK_PATTERNS;a++){d.a.buildMatrix(t,e,n,a,r);var s=this.calculateMaskPenalty(r);s<o&&(o=s,i=a)}return i},t.chooseVersion=function(e,n){for(var r=1;r<=40;r++){var o=l.a.getVersionForNumber(r);if(t.willFit(e,o,n))return o}throw new y.a("Data too big")},t.willFit=function(t,e,n){return e.getTotalCodewords()-e.getECBlocksForLevel(n).getTotalECCodewords()>=(t+7)/8},t.terminateBits=function(t,e){var n=8*t;if(e.getSize()>n)throw new y.a("data bits cannot fit in the QR Code"+e.getSize()+" > "+n);for(var r=0;r<4&&e.getSize()<n;++r)e.appendBit(!1);var o=7&e.getSize();if(o>0)for(r=o;r<8;r++)e.appendBit(!1);var i=t-e.getSizeInBytes();for(r=0;r<i;++r)e.appendBits(0==(1&r)?236:17,8);if(e.getSize()!==n)throw new y.a("Bits size does not equal capacity")},t.getNumDataBytesAndNumECBytesForBlockID=function(t,e,n,r,o,i){if(r>=n)throw new y.a("Block ID too large");var a=t%n,s=n-a,u=Math.floor(t/n),l=u+1,c=Math.floor(e/n),f=c+1,p=u-c,d=l-f;if(p!==d)throw new y.a("EC bytes mismatch");if(n!==s+a)throw new y.a("RS blocks mismatch");if(t!==(c+p)*s+(f+d)*a)throw new y.a("Total bytes mismatch");r<s?(o[0]=c,i[0]=p):(o[0]=f,i[0]=d)},t.interleaveWithECBytes=function(e,n,r,i){var a,s,u,l;if(e.getSizeInBytes()!==r)throw new y.a("Number of bits and data bytes does not match");for(var c=0,f=0,p=0,d=new Array,h=0;h<i;++h){var m=new Int32Array(1),w=new Int32Array(1);t.getNumDataBytesAndNumECBytesForBlockID(n,r,i,h,m,w);var E=m[0],b=new Uint8Array(E);e.toBytes(8*c,b,0,E);var _=t.generateECBytes(b,w[0]);d.push(new g(b,_)),f=Math.max(f,E),p=Math.max(p,_.length),c+=m[0]}if(r!==c)throw new y.a("Data bytes does not match offset");var C=new o.a;for(h=0;h<f;++h)try{for(var S=(a=void 0,v(d)),A=S.next();!A.done;A=S.next()){h<(b=A.value.getDataBytes()).length&&C.appendBits(b[h],8)}}catch(t){a={error:t}}finally{try{A&&!A.done&&(s=S.return)&&s.call(S)}finally{if(a)throw a.error}}for(h=0;h<p;++h)try{for(var O=(u=void 0,v(d)),I=O.next();!I.done;I=O.next()){h<(_=I.value.getErrorCorrectionBytes()).length&&C.appendBits(_[h],8)}}catch(t){u={error:t}}finally{try{I&&!I.done&&(l=O.return)&&l.call(O)}finally{if(u)throw u.error}}if(n!==C.getSizeInBytes())throw new y.a("Interleaving error: "+n+" and "+C.getSizeInBytes()+" differ.");return C},t.generateECBytes=function(t,e){for(var n=t.length,r=new Int32Array(n+e),o=0;o<n;o++)r[o]=255&t[o];new s.a(a.a.QR_CODE_FIELD_256).encode(r,e);var i=new Uint8Array(e);for(o=0;o<e;o++)i[o]=r[n+o];return i},t.appendModeInfo=function(t,e){e.appendBits(t.getBits(),4)},t.appendLengthInfo=function(t,e,n,r){var o=n.getCharacterCountBits(e);if(t>=1<<o)throw new y.a(t+" is bigger than "+((1<<o)-1));r.appendBits(t,o)},t.appendBytes=function(e,n,r,o){switch(n){case u.a.NUMERIC:t.appendNumericBytes(e,r);break;case u.a.ALPHANUMERIC:t.appendAlphanumericBytes(e,r);break;case u.a.BYTE:t.append8BitBytes(e,r,o);break;case u.a.KANJI:t.appendKanjiBytes(e,r);break;default:throw new y.a("Invalid mode: "+n)}},t.getDigit=function(t){return t.charCodeAt(0)-48},t.isDigit=function(e){var n=t.getDigit(e);return n>=0&&n<=9},t.appendNumericBytes=function(e,n){for(var r=e.length,o=0;o<r;){var i=t.getDigit(e.charAt(o));if(o+2<r){var a=t.getDigit(e.charAt(o+1)),s=t.getDigit(e.charAt(o+2));n.appendBits(100*i+10*a+s,10),o+=3}else if(o+1<r){a=t.getDigit(e.charAt(o+1));n.appendBits(10*i+a,7),o+=2}else n.appendBits(i,4),o++}},t.appendAlphanumericBytes=function(e,n){for(var r=e.length,o=0;o<r;){var i=t.getAlphanumericCode(e.charCodeAt(o));if(-1===i)throw new y.a;if(o+1<r){var a=t.getAlphanumericCode(e.charCodeAt(o+1));if(-1===a)throw new y.a;n.appendBits(45*i+a,11),o+=2}else n.appendBits(i,6),o++}},t.append8BitBytes=function(t,e,n){var r;try{r=h.a.encode(t,n)}catch(t){throw new y.a(t)}for(var o=0,i=r.length;o!==i;o++){var a=r[o];e.appendBits(a,8)}},t.appendKanjiBytes=function(t,e){var n;try{n=h.a.encode(t,i.a.SJIS)}catch(t){throw new y.a(t)}for(var r=n.length,o=0;o<r;o+=2){var a=(255&n[o])<<8&4294967295|255&n[o+1],s=-1;if(a>=33088&&a<=40956?s=a-33088:a>=57408&&a<=60351&&(s=a-49472),-1===s)throw new y.a("Invalid byte sequence");var u=192*(s>>8)+(255&s);e.appendBits(u,13)}},t.appendECI=function(t,e){e.appendBits(u.a.ECI.getBits(),4),e.appendBits(t.getValue(),8)},t.ALPHANUMERIC_TABLE=Int32Array.from([-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,36,-1,-1,-1,37,38,-1,-1,-1,-1,39,40,-1,41,42,43,0,1,2,3,4,5,6,7,8,9,44,-1,-1,-1,-1,-1,-1,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,-1,-1,-1,-1,-1]),t.DEFAULT_BYTE_MODE_ENCODING=i.a.UTF8.getName(),t}();e.a=m},function(t,e,n){"use strict";var r,o=n(15),i=(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.kind="IndexOutOfBoundsException",e}(o.a);e.a=a},function(t,e,n){"use strict";var r=n(19),o=n(3),i=n(13),a=n(23),s=n(98),u=n(66),l=n(26),c=n(100),f=n(7),p=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},d=function(){function t(){}return t.encodeBytes=function(e){return t.encode(e,t.DEFAULT_EC_PERCENT,t.DEFAULT_AZTEC_LAYERS)},t.encode=function(e,n,r){var u,l,p,d,h,g=new c.a(e).encode(),y=f.a.truncDivision(g.getSize()*n,100)+11,v=g.getSize()+y;if(r!==t.DEFAULT_AZTEC_LAYERS){if(u=r<0,(l=Math.abs(r))>(u?t.MAX_NB_BITS_COMPACT:t.MAX_NB_BITS))throw new o.a(i.a.format("Illegal value %s for layers",r));var m=(p=t.totalBitsInLayer(l,u))-p%(d=t.WORD_SIZE[l]);if((h=t.stuffBits(g,d)).getSize()+y>m)throw new o.a("Data to large for user specified layer");if(u&&h.getSize()>64*d)throw new o.a("Data to large for user specified layer")}else{d=0,h=null;for(var w=0;;w++){if(w>t.MAX_NB_BITS)throw new o.a("Data too large for an Aztec code");if(l=(u=w<=3)?w+1:w,!(v>(p=t.totalBitsInLayer(l,u)))){null!=h&&d===t.WORD_SIZE[l]||(d=t.WORD_SIZE[l],h=t.stuffBits(g,d));m=p-p%d;if(!(u&&h.getSize()>64*d)&&h.getSize()+y<=m)break}}}var E,b=t.generateCheckWords(h,p,d),_=h.getSize()/d,C=t.generateModeMessage(u,l,_),S=(u?11:14)+4*l,A=new Int32Array(S);if(u){E=S;for(w=0;w<A.length;w++)A[w]=w}else{E=S+1+2*f.a.truncDivision(f.a.truncDivision(S,2)-1,15);var O=f.a.truncDivision(S,2),I=f.a.truncDivision(E,2);for(w=0;w<O;w++){var T=w+f.a.truncDivision(w,15);A[O-w-1]=I-T-1,A[O+w]=I+T+1}}for(var R=new a.a(E),N=(w=0,0);w<l;w++){for(var D=4*(l-w)+(u?9:12),P=0;P<D;P++)for(var x=2*P,k=0;k<2;k++)b.get(N+x+k)&&R.set(A[2*w+k],A[2*w+P]),b.get(N+2*D+x+k)&&R.set(A[2*w+P],A[S-1-2*w-k]),b.get(N+4*D+x+k)&&R.set(A[S-1-2*w-k],A[S-1-2*w-P]),b.get(N+6*D+x+k)&&R.set(A[S-1-2*w-P],A[2*w+k]);N+=8*D}if(t.drawModeMessage(R,u,E,C),u)t.drawBullsEye(R,f.a.truncDivision(E,2),5);else{t.drawBullsEye(R,f.a.truncDivision(E,2),7);for(w=0,P=0;w<f.a.truncDivision(S,2)-1;w+=15,P+=16)for(k=1&f.a.truncDivision(E,2);k<E;k+=2)R.set(f.a.truncDivision(E,2)-P,k),R.set(f.a.truncDivision(E,2)+P,k),R.set(k,f.a.truncDivision(E,2)-P),R.set(k,f.a.truncDivision(E,2)+P)}var M=new s.a;return M.setCompact(u),M.setSize(E),M.setLayers(l),M.setCodeWords(_),M.setMatrix(R),M},t.drawBullsEye=function(t,e,n){for(var r=0;r<n;r+=2)for(var o=e-r;o<=e+r;o++)t.set(o,e-r),t.set(o,e+r),t.set(e-r,o),t.set(e+r,o);t.set(e-n,e-n),t.set(e-n+1,e-n),t.set(e-n,e-n+1),t.set(e+n,e-n),t.set(e+n,e-n+1),t.set(e+n,e+n-1)},t.generateModeMessage=function(e,n,o){var i=new r.a;return e?(i.appendBits(n-1,2),i.appendBits(o-1,6),i=t.generateCheckWords(i,28,4)):(i.appendBits(n-1,5),i.appendBits(o-1,11),i=t.generateCheckWords(i,40,4)),i},t.drawModeMessage=function(t,e,n,r){var o=f.a.truncDivision(n,2);if(e)for(var i=0;i<7;i++){var a=o-3+i;r.get(i)&&t.set(a,o-5),r.get(i+7)&&t.set(o+5,a),r.get(20-i)&&t.set(a,o+5),r.get(27-i)&&t.set(o-5,a)}else for(i=0;i<10;i++){a=o-5+i+f.a.truncDivision(i,5);r.get(i)&&t.set(a,o-7),r.get(i+10)&&t.set(o+7,a),r.get(29-i)&&t.set(a,o+7),r.get(39-i)&&t.set(o-7,a)}},t.generateCheckWords=function(e,n,o){var i,a,s=e.getSize()/o,l=new u.a(t.getGF(o)),c=f.a.truncDivision(n,o),d=t.bitsToWords(e,o,c);l.encode(d,c-s);var h=n%o,g=new r.a;g.appendBits(0,h);try{for(var y=p(Array.from(d)),v=y.next();!v.done;v=y.next()){var m=v.value;g.appendBits(m,o)}}catch(t){i={error:t}}finally{try{v&&!v.done&&(a=y.return)&&a.call(y)}finally{if(i)throw i.error}}return g},t.bitsToWords=function(t,e,n){var r,o,i=new Int32Array(n);for(r=0,o=t.getSize()/e;r<o;r++){for(var a=0,s=0;s<e;s++)a|=t.get(r*e+s)?1<<e-s-1:0;i[r]=a}return i},t.getGF=function(t){switch(t){case 4:return l.a.AZTEC_PARAM;case 6:return l.a.AZTEC_DATA_6;case 8:return l.a.AZTEC_DATA_8;case 10:return l.a.AZTEC_DATA_10;case 12:return l.a.AZTEC_DATA_12;default:throw new o.a("Unsupported word size "+t)}},t.stuffBits=function(t,e){for(var n=new r.a,o=t.getSize(),i=(1<<e)-2,a=0;a<o;a+=e){for(var s=0,u=0;u<e;u++)(a+u>=o||t.get(a+u))&&(s|=1<<e-1-u);(s&i)===i?(n.appendBits(s&i,e),a--):0==(s&i)?(n.appendBits(1|s,e),a--):n.appendBits(s,e)}return n},t.totalBitsInLayer=function(t,e){return((e?88:112)+16*t)*t},t.DEFAULT_EC_PERCENT=33,t.DEFAULT_AZTEC_LAYERS=0,t.MAX_NB_BITS=32,t.MAX_NB_BITS_COMPACT=4,t.WORD_SIZE=Int32Array.from([4,6,6,8,8,8,8,8,8,10,10,10,10,10,10,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,12,12]),t}();e.a=d},function(t,e,n){"use strict";var r,o=n(2),i=n(29),a=n(8),s=function(){function t(t,e){e?this.decodedInformation=null:(this.finished=t,this.decodedInformation=e)}return t.prototype.getDecodedInformation=function(){return this.decodedInformation},t.prototype.isFinished=function(){return this.finished},t}(),u=function(){function t(t){this.newPosition=t}return t.prototype.getNewPosition=function(){return this.newPosition},t}(),l=(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),c=function(t){function e(e,n){var r=t.call(this,e)||this;return r.value=n,r}return l(e,t),e.prototype.getValue=function(){return this.value},e.prototype.isFNC1=function(){return this.value===e.FNC1},e.FNC1="$",e}(u),f=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),p=function(t){function e(e,n,r){var o=t.call(this,e)||this;return r?(o.remaining=!0,o.remainingValue=o.remainingValue):(o.remaining=!1,o.remainingValue=0),o.newString=n,o}return f(e,t),e.prototype.getNewString=function(){return this.newString},e.prototype.isRemaining=function(){return this.remaining},e.prototype.getRemainingValue=function(){return this.remainingValue},e}(u),d=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),h=function(t){function e(e,n,r){var i=t.call(this,e)||this;if(n<0||n>10||r<0||r>10)throw new o.a;return i.firstDigit=n,i.secondDigit=r,i}return d(e,t),e.prototype.getFirstDigit=function(){return this.firstDigit},e.prototype.getSecondDigit=function(){return this.secondDigit},e.prototype.getValue=function(){return 10*this.firstDigit+this.secondDigit},e.prototype.isFirstDigitFNC1=function(){return this.firstDigit===e.FNC1},e.prototype.isSecondDigitFNC1=function(){return this.secondDigit===e.FNC1},e.prototype.isAnyFNC1=function(){return this.firstDigit===e.FNC1||this.secondDigit===e.FNC1},e.FNC1=10,e}(u),g=n(1),y=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},v=function(){function t(){}return t.parseFieldsInGeneralPurpose=function(e){var n,r,o,i,a,s,u,l;if(!e)return null;if(e.length<2)throw new g.a;var c=e.substring(0,2);try{for(var f=y(t.TWO_DIGIT_DATA_LENGTH),p=f.next();!p.done;p=f.next()){if((C=p.value)[0]===c)return C[1]===t.VARIABLE_LENGTH?t.processVariableAI(2,C[2],e):t.processFixedAI(2,C[1],e)}}catch(t){n={error:t}}finally{try{p&&!p.done&&(r=f.return)&&r.call(f)}finally{if(n)throw n.error}}if(e.length<3)throw new g.a;var d=e.substring(0,3);try{for(var h=y(t.THREE_DIGIT_DATA_LENGTH),v=h.next();!v.done;v=h.next()){if((C=v.value)[0]===d)return C[1]===t.VARIABLE_LENGTH?t.processVariableAI(3,C[2],e):t.processFixedAI(3,C[1],e)}}catch(t){o={error:t}}finally{try{v&&!v.done&&(i=h.return)&&i.call(h)}finally{if(o)throw o.error}}try{for(var m=y(t.THREE_DIGIT_PLUS_DIGIT_DATA_LENGTH),w=m.next();!w.done;w=m.next()){if((C=w.value)[0]===d)return C[1]===t.VARIABLE_LENGTH?t.processVariableAI(4,C[2],e):t.processFixedAI(4,C[1],e)}}catch(t){a={error:t}}finally{try{w&&!w.done&&(s=m.return)&&s.call(m)}finally{if(a)throw a.error}}if(e.length<4)throw new g.a;var E=e.substring(0,4);try{for(var b=y(t.FOUR_DIGIT_DATA_LENGTH),_=b.next();!_.done;_=b.next()){var C;if((C=_.value)[0]===E)return C[1]===t.VARIABLE_LENGTH?t.processVariableAI(4,C[2],e):t.processFixedAI(4,C[1],e)}}catch(t){u={error:t}}finally{try{_&&!_.done&&(l=b.return)&&l.call(b)}finally{if(u)throw u.error}}throw new g.a},t.processFixedAI=function(e,n,r){if(r.length<e)throw new g.a;var o=r.substring(0,e);if(r.length<e+n)throw new g.a;var i=r.substring(e,e+n),a=r.substring(e+n),s="("+o+")"+i,u=t.parseFieldsInGeneralPurpose(a);return null==u?s:s+u},t.processVariableAI=function(e,n,r){var o,i=r.substring(0,e);o=r.length<e+n?r.length:e+n;var a=r.substring(e,o),s=r.substring(o),u="("+i+")"+a,l=t.parseFieldsInGeneralPurpose(s);return null==l?u:u+l},t.VARIABLE_LENGTH=[],t.TWO_DIGIT_DATA_LENGTH=[["00",18],["01",14],["02",14],["10",t.VARIABLE_LENGTH,20],["11",6],["12",6],["13",6],["15",6],["17",6],["20",2],["21",t.VARIABLE_LENGTH,20],["22",t.VARIABLE_LENGTH,29],["30",t.VARIABLE_LENGTH,8],["37",t.VARIABLE_LENGTH,8],["90",t.VARIABLE_LENGTH,30],["91",t.VARIABLE_LENGTH,30],["92",t.VARIABLE_LENGTH,30],["93",t.VARIABLE_LENGTH,30],["94",t.VARIABLE_LENGTH,30],["95",t.VARIABLE_LENGTH,30],["96",t.VARIABLE_LENGTH,30],["97",t.VARIABLE_LENGTH,3],["98",t.VARIABLE_LENGTH,30],["99",t.VARIABLE_LENGTH,30]],t.THREE_DIGIT_DATA_LENGTH=[["240",t.VARIABLE_LENGTH,30],["241",t.VARIABLE_LENGTH,30],["242",t.VARIABLE_LENGTH,6],["250",t.VARIABLE_LENGTH,30],["251",t.VARIABLE_LENGTH,30],["253",t.VARIABLE_LENGTH,17],["254",t.VARIABLE_LENGTH,20],["400",t.VARIABLE_LENGTH,30],["401",t.VARIABLE_LENGTH,30],["402",17],["403",t.VARIABLE_LENGTH,30],["410",13],["411",13],["412",13],["413",13],["414",13],["420",t.VARIABLE_LENGTH,20],["421",t.VARIABLE_LENGTH,15],["422",3],["423",t.VARIABLE_LENGTH,15],["424",3],["425",3],["426",3]],t.THREE_DIGIT_PLUS_DIGIT_DATA_LENGTH=[["310",6],["311",6],["312",6],["313",6],["314",6],["315",6],["316",6],["320",6],["321",6],["322",6],["323",6],["324",6],["325",6],["326",6],["327",6],["328",6],["329",6],["330",6],["331",6],["332",6],["333",6],["334",6],["335",6],["336",6],["340",6],["341",6],["342",6],["343",6],["344",6],["345",6],["346",6],["347",6],["348",6],["349",6],["350",6],["351",6],["352",6],["353",6],["354",6],["355",6],["356",6],["357",6],["360",6],["361",6],["362",6],["363",6],["364",6],["365",6],["366",6],["367",6],["368",6],["369",6],["390",t.VARIABLE_LENGTH,15],["391",t.VARIABLE_LENGTH,18],["392",t.VARIABLE_LENGTH,15],["393",t.VARIABLE_LENGTH,18],["703",t.VARIABLE_LENGTH,30]],t.FOUR_DIGIT_DATA_LENGTH=[["7001",13],["7002",t.VARIABLE_LENGTH,30],["7003",10],["8001",14],["8002",t.VARIABLE_LENGTH,20],["8003",t.VARIABLE_LENGTH,30],["8004",t.VARIABLE_LENGTH,30],["8005",6],["8006",18],["8007",t.VARIABLE_LENGTH,30],["8008",t.VARIABLE_LENGTH,12],["8018",18],["8020",t.VARIABLE_LENGTH,25],["8100",6],["8101",10],["8102",2],["8110",t.VARIABLE_LENGTH,70],["8200",t.VARIABLE_LENGTH,70]],t}(),m=function(){function t(t){this.buffer=new a.a,this.information=t}return t.prototype.decodeAllCodes=function(t,e){for(var n=e,r=null;;){var o=this.decodeGeneralPurposeField(n,r),i=v.parseFieldsInGeneralPurpose(o.getNewString());if(null!=i&&t.append(i),r=o.isRemaining()?""+o.getRemainingValue():null,n===o.getNewPosition())break;n=o.getNewPosition()}return t.toString()},t.prototype.isStillNumeric=function(t){if(t+7>this.information.getSize())return t+4<=this.information.getSize();for(var e=t;e<t+3;++e)if(this.information.get(e))return!0;return this.information.get(t+3)},t.prototype.decodeNumeric=function(t){if(t+7>this.information.getSize()){var e=this.extractNumericValueFromBitArray(t,4);return new h(this.information.getSize(),0===e?h.FNC1:e-1,h.FNC1)}var n=this.extractNumericValueFromBitArray(t,7);return new h(t+7,(n-8)/11,(n-8)%11)},t.prototype.extractNumericValueFromBitArray=function(e,n){return t.extractNumericValueFromBitArray(this.information,e,n)},t.extractNumericValueFromBitArray=function(t,e,n){for(var r=0,o=0;o<n;++o)t.get(e+o)&&(r|=1<<n-o-1);return r},t.prototype.decodeGeneralPurposeField=function(t,e){this.buffer.setLengthToZero(),null!=e&&this.buffer.append(e),this.current.setPosition(t);var n=this.parseBlocks();return null!=n&&n.isRemaining()?new p(this.current.getPosition(),this.buffer.toString(),n.getRemainingValue()):new p(this.current.getPosition(),this.buffer.toString())},t.prototype.parseBlocks=function(){var t,e;do{var n=this.current.getPosition();if(t=this.current.isAlpha()?(e=this.parseAlphaBlock()).isFinished():this.current.isIsoIec646()?(e=this.parseIsoIec646Block()).isFinished():(e=this.parseNumericBlock()).isFinished(),!(n!==this.current.getPosition())&&!t)break}while(!t);return e.getDecodedInformation()},t.prototype.parseNumericBlock=function(){for(;this.isStillNumeric(this.current.getPosition());){var t=this.decodeNumeric(this.current.getPosition());if(this.current.setPosition(t.getNewPosition()),t.isFirstDigitFNC1()){var e=void 0;return e=t.isSecondDigitFNC1()?new p(this.current.getPosition(),this.buffer.toString()):new p(this.current.getPosition(),this.buffer.toString(),t.getSecondDigit()),new s(!0,e)}if(this.buffer.append(t.getFirstDigit()),t.isSecondDigitFNC1()){e=new p(this.current.getPosition(),this.buffer.toString());return new s(!0,e)}this.buffer.append(t.getSecondDigit())}return this.isNumericToAlphaNumericLatch(this.current.getPosition())&&(this.current.setAlpha(),this.current.incrementPosition(4)),new s(!1)},t.prototype.parseIsoIec646Block=function(){for(;this.isStillIsoIec646(this.current.getPosition());){var t=this.decodeIsoIec646(this.current.getPosition());if(this.current.setPosition(t.getNewPosition()),t.isFNC1()){var e=new p(this.current.getPosition(),this.buffer.toString());return new s(!0,e)}this.buffer.append(t.getValue())}return this.isAlphaOr646ToNumericLatch(this.current.getPosition())?(this.current.incrementPosition(3),this.current.setNumeric()):this.isAlphaTo646ToAlphaLatch(this.current.getPosition())&&(this.current.getPosition()+5<this.information.getSize()?this.current.incrementPosition(5):this.current.setPosition(this.information.getSize()),this.current.setAlpha()),new s(!1)},t.prototype.parseAlphaBlock=function(){for(;this.isStillAlpha(this.current.getPosition());){var t=this.decodeAlphanumeric(this.current.getPosition());if(this.current.setPosition(t.getNewPosition()),t.isFNC1()){var e=new p(this.current.getPosition(),this.buffer.toString());return new s(!0,e)}this.buffer.append(t.getValue())}return this.isAlphaOr646ToNumericLatch(this.current.getPosition())?(this.current.incrementPosition(3),this.current.setNumeric()):this.isAlphaTo646ToAlphaLatch(this.current.getPosition())&&(this.current.getPosition()+5<this.information.getSize()?this.current.incrementPosition(5):this.current.setPosition(this.information.getSize()),this.current.setIsoIec646()),new s(!1)},t.prototype.isStillIsoIec646=function(t){if(t+5>this.information.getSize())return!1;var e=this.extractNumericValueFromBitArray(t,5);if(e>=5&&e<16)return!0;if(t+7>this.information.getSize())return!1;var n=this.extractNumericValueFromBitArray(t,7);if(n>=64&&n<116)return!0;if(t+8>this.information.getSize())return!1;var r=this.extractNumericValueFromBitArray(t,8);return r>=232&&r<253},t.prototype.decodeIsoIec646=function(t){var e=this.extractNumericValueFromBitArray(t,5);if(15===e)return new c(t+5,c.FNC1);if(e>=5&&e<15)return new c(t+5,"0"+(e-5));var n,r=this.extractNumericValueFromBitArray(t,7);if(r>=64&&r<90)return new c(t+7,""+(r+1));if(r>=90&&r<116)return new c(t+7,""+(r+7));switch(this.extractNumericValueFromBitArray(t,8)){case 232:n="!";break;case 233:n='"';break;case 234:n="%";break;case 235:n="&";break;case 236:n="'";break;case 237:n="(";break;case 238:n=")";break;case 239:n="*";break;case 240:n="+";break;case 241:n=",";break;case 242:n="-";break;case 243:n=".";break;case 244:n="/";break;case 245:n=":";break;case 246:n=";";break;case 247:n="<";break;case 248:n="=";break;case 249:n=">";break;case 250:n="?";break;case 251:n="_";break;case 252:n=" ";break;default:throw new o.a}return new c(t+8,n)},t.prototype.isStillAlpha=function(t){if(t+5>this.information.getSize())return!1;var e=this.extractNumericValueFromBitArray(t,5);if(e>=5&&e<16)return!0;if(t+6>this.information.getSize())return!1;var n=this.extractNumericValueFromBitArray(t,6);return n>=16&&n<63},t.prototype.decodeAlphanumeric=function(t){var e=this.extractNumericValueFromBitArray(t,5);if(15===e)return new c(t+5,c.FNC1);if(e>=5&&e<15)return new c(t+5,"0"+(e-5));var n,r=this.extractNumericValueFromBitArray(t,6);if(r>=32&&r<58)return new c(t+6,""+(r+33));switch(r){case 58:n="*";break;case 59:n=",";break;case 60:n="-";break;case 61:n=".";break;case 62:n="/";break;default:throw new i.a("Decoding invalid alphanumeric value: "+r)}return new c(t+6,n)},t.prototype.isAlphaTo646ToAlphaLatch=function(t){if(t+1>this.information.getSize())return!1;for(var e=0;e<5&&e+t<this.information.getSize();++e)if(2===e){if(!this.information.get(t+2))return!1}else if(this.information.get(t+e))return!1;return!0},t.prototype.isAlphaOr646ToNumericLatch=function(t){if(t+3>this.information.getSize())return!1;for(var e=t;e<t+3;++e)if(this.information.get(e))return!1;return!0},t.prototype.isNumericToAlphaNumericLatch=function(t){if(t+1>this.information.getSize())return!1;for(var e=0;e<4&&e+t<this.information.getSize();++e)if(this.information.get(t+e))return!1;return!0},t}();e.a=m},function(t,e,n){"use strict";var r,o=n(39),i=n(26),a=n(40),s=n(29),u=n(2),l=n(13),c=n(7);!function(t){t[t.UPPER=0]="UPPER",t[t.LOWER=1]="LOWER",t[t.MIXED=2]="MIXED",t[t.DIGIT=3]="DIGIT",t[t.PUNCT=4]="PUNCT",t[t.BINARY=5]="BINARY"}(r||(r={}));var f=function(){function t(){}return t.prototype.decode=function(e){this.ddata=e;var n=e.getBits(),r=this.extractBits(n),i=this.correctBits(r),a=t.convertBoolArrayToByteArray(i),s=t.getEncodedData(i),u=new o.a(a,s,null,null);return u.setNumBits(i.length),u},t.highLevelDecode=function(t){return this.getEncodedData(t)},t.getEncodedData=function(e){for(var n=e.length,o=r.UPPER,i=r.UPPER,a="",s=0;s<n;)if(i===r.BINARY){if(n-s<5)break;var u=t.readCode(e,s,5);if(s+=5,0===u){if(n-s<11)break;u=t.readCode(e,s,11)+31,s+=11}for(var c=0;c<u;c++){if(n-s<8){s=n;break}var f=t.readCode(e,s,8);a+=l.a.castAsNonUtf8Char(f),s+=8}i=o}else{var p=i===r.DIGIT?4:5;if(n-s<p)break;f=t.readCode(e,s,p);s+=p;var d=t.getCharacter(i,f);d.startsWith("CTRL_")?(o=i,i=t.getTable(d.charAt(5)),"L"===d.charAt(6)&&(o=i)):(a+=d,i=o)}return a},t.getTable=function(t){switch(t){case"L":return r.LOWER;case"P":return r.PUNCT;case"M":return r.MIXED;case"D":return r.DIGIT;case"B":return r.BINARY;case"U":default:return r.UPPER}},t.getCharacter=function(e,n){switch(e){case r.UPPER:return t.UPPER_TABLE[n];case r.LOWER:return t.LOWER_TABLE[n];case r.MIXED:return t.MIXED_TABLE[n];case r.PUNCT:return t.PUNCT_TABLE[n];case r.DIGIT:return t.DIGIT_TABLE[n];default:throw new s.a("Bad table")}},t.prototype.correctBits=function(e){var n,r;this.ddata.getNbLayers()<=2?(r=6,n=i.a.AZTEC_DATA_6):this.ddata.getNbLayers()<=8?(r=8,n=i.a.AZTEC_DATA_8):this.ddata.getNbLayers()<=22?(r=10,n=i.a.AZTEC_DATA_10):(r=12,n=i.a.AZTEC_DATA_12);var o=this.ddata.getNbDatablocks(),s=e.length/r;if(s<o)throw new u.a;for(var l=e.length%r,c=new Int32Array(s),f=0;f<s;f++,l+=r)c[f]=t.readCode(e,l,r);try{new a.a(n).decode(c,s-o)}catch(t){throw new u.a(t)}var p=(1<<r)-1,d=0;for(f=0;f<o;f++){if(0===(y=c[f])||y===p)throw new u.a;1!==y&&y!==p-1||d++}var h=new Array(o*r-d),g=0;for(f=0;f<o;f++){var y;if(1===(y=c[f])||y===p-1)h.fill(y>1,g,g+r-1),g+=r-1;else for(var v=r-1;v>=0;--v)h[g++]=0!=(y&1<<v)}return h},t.prototype.extractBits=function(t){var e=this.ddata.isCompact(),n=this.ddata.getNbLayers(),r=(e?11:14)+4*n,o=new Int32Array(r),i=new Array(this.totalBitsInLayer(n,e));if(e)for(var a=0;a<o.length;a++)o[a]=a;else{var s=r+1+2*c.a.truncDivision(c.a.truncDivision(r,2)-1,15),u=r/2,l=c.a.truncDivision(s,2);for(a=0;a<u;a++){var f=a+c.a.truncDivision(a,15);o[u-a-1]=l-f-1,o[u+a]=l+f+1}}a=0;for(var p=0;a<n;a++){for(var d=4*(n-a)+(e?9:12),h=2*a,g=r-1-h,y=0;y<d;y++)for(var v=2*y,m=0;m<2;m++)i[p+v+m]=t.get(o[h+m],o[h+y]),i[p+2*d+v+m]=t.get(o[h+y],o[g-m]),i[p+4*d+v+m]=t.get(o[g-m],o[g-y]),i[p+6*d+v+m]=t.get(o[g-y],o[h+m]);p+=8*d}return i},t.readCode=function(t,e,n){for(var r=0,o=e;o<e+n;o++)r<<=1,t[o]&&(r|=1);return r},t.readByte=function(e,n){var r=e.length-n;return r>=8?t.readCode(e,n,8):t.readCode(e,n,r)<<8-r},t.convertBoolArrayToByteArray=function(e){for(var n=new Uint8Array((e.length+7)/8),r=0;r<n.length;r++)n[r]=t.readByte(e,8*r);return n},t.prototype.totalBitsInLayer=function(t,e){return((e?88:112)+16*t)*t},t.UPPER_TABLE=["CTRL_PS"," ","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","CTRL_LL","CTRL_ML","CTRL_DL","CTRL_BS"],t.LOWER_TABLE=["CTRL_PS"," ","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","CTRL_US","CTRL_ML","CTRL_DL","CTRL_BS"],t.MIXED_TABLE=["CTRL_PS"," ","\\1","\\2","\\3","\\4","\\5","\\6","\\7","\b","\t","\n","\\13","\f","\r","\\33","\\34","\\35","\\36","\\37","@","\\","^","_","`","|","~","\\177","CTRL_LL","CTRL_UL","CTRL_PL","CTRL_BS"],t.PUNCT_TABLE=["","\r","\r\n",". ",", ",": ","!",'"',"#","$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","?","[","]","{","}","CTRL_UL"],t.DIGIT_TABLE=["CTRL_PS"," ","0","1","2","3","4","5","6","7","8","9",",",".","CTRL_UL","CTRL_US"],t}();e.a=f},function(t,e,n){"use strict";var r=n(1),o=function(){function t(){}return t.checkAndNudgePoints=function(t,e){for(var n=t.getWidth(),o=t.getHeight(),i=!0,a=0;a<e.length&&i;a+=2){var s=Math.floor(e[a]),u=Math.floor(e[a+1]);if(s<-1||s>n||u<-1||u>o)throw new r.a;i=!1,-1===s?(e[a]=0,i=!0):s===n&&(e[a]=n-1,i=!0),-1===u?(e[a+1]=0,i=!0):u===o&&(e[a+1]=o-1,i=!0)}i=!0;for(a=e.length-2;a>=0&&i;a-=2){s=Math.floor(e[a]),u=Math.floor(e[a+1]);if(s<-1||s>n||u<-1||u>o)throw new r.a;i=!1,-1===s?(e[a]=0,i=!0):s===n&&(e[a]=n-1,i=!0),-1===u?(e[a+1]=0,i=!0):u===o&&(e[a+1]=o-1,i=!0)}},t}();e.a=o},function(t,e,n){"use strict";var r,o=n(5),i=n(18),a=n(12),s=n(2),u=n(1),l=n(14),c=n(4),f=n(22),p=(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),d=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return p(e,t),e.findStartPattern=function(t){for(var n=t.getSize(),r=t.getNextSet(0),o=0,i=Int32Array.from([0,0,0,0,0,0]),a=r,s=!1,l=r;l<n;l++)if(t.get(l)!==s)i[o]++;else{if(5===o){for(var c=e.MAX_AVG_VARIANCE,p=-1,d=e.CODE_START_A;d<=e.CODE_START_C;d++){var h=f.a.patternMatchVariance(i,e.CODE_PATTERNS[d],e.MAX_INDIVIDUAL_VARIANCE);h<c&&(c=h,p=d)}if(p>=0&&t.isRange(Math.max(0,a-(l-a)/2),a,!1))return Int32Array.from([a,l,p]);a+=i[0]+i[1],(i=i.slice(2,i.length-1))[o-1]=0,i[o]=0,o--}else o++;i[o]=1,s=!s}throw new u.a},e.decodeCode=function(t,n,r){f.a.recordPattern(t,r,n);for(var o=e.MAX_AVG_VARIANCE,i=-1,a=0;a<e.CODE_PATTERNS.length;a++){var s=e.CODE_PATTERNS[a],l=this.patternMatchVariance(n,s,e.MAX_INDIVIDUAL_VARIANCE);l<o&&(o=l,i=a)}if(i>=0)return i;throw new u.a},e.prototype.decodeRow=function(t,n,r){var f,p=r&&!0===r.get(a.a.ASSUME_GS1),d=e.findStartPattern(n),h=d[2],g=0,y=new Uint8Array(20);switch(y[g++]=h,h){case e.CODE_START_A:f=e.CODE_CODE_A;break;case e.CODE_START_B:f=e.CODE_CODE_B;break;case e.CODE_START_C:f=e.CODE_CODE_C;break;default:throw new s.a}for(var v=!1,m=!1,w="",E=d[0],b=d[1],_=Int32Array.from([0,0,0,0,0,0]),C=0,S=0,A=h,O=0,I=!0,T=!1,R=!1;!v;){var N=m;switch(m=!1,C=S,S=e.decodeCode(n,_,b),y[g++]=S,S!==e.CODE_STOP&&(I=!0),S!==e.CODE_STOP&&(A+=++O*S),E=b,b+=_.reduce((function(t,e){return t+e}),0),S){case e.CODE_START_A:case e.CODE_START_B:case e.CODE_START_C:throw new s.a}switch(f){case e.CODE_CODE_A:if(S<64)w+=R===T?String.fromCharCode(" ".charCodeAt(0)+S):String.fromCharCode(" ".charCodeAt(0)+S+128),R=!1;else if(S<96)w+=R===T?String.fromCharCode(S-64):String.fromCharCode(S+64),R=!1;else switch(S!==e.CODE_STOP&&(I=!1),S){case e.CODE_FNC_1:p&&(0===w.length?w+="]C1":w+=String.fromCharCode(29));break;case e.CODE_FNC_2:case e.CODE_FNC_3:break;case e.CODE_FNC_4_A:!T&&R?(T=!0,R=!1):T&&R?(T=!1,R=!1):R=!0;break;case e.CODE_SHIFT:m=!0,f=e.CODE_CODE_B;break;case e.CODE_CODE_B:f=e.CODE_CODE_B;break;case e.CODE_CODE_C:f=e.CODE_CODE_C;break;case e.CODE_STOP:v=!0}break;case e.CODE_CODE_B:if(S<96)w+=R===T?String.fromCharCode(" ".charCodeAt(0)+S):String.fromCharCode(" ".charCodeAt(0)+S+128),R=!1;else switch(S!==e.CODE_STOP&&(I=!1),S){case e.CODE_FNC_1:p&&(0===w.length?w+="]C1":w+=String.fromCharCode(29));break;case e.CODE_FNC_2:case e.CODE_FNC_3:break;case e.CODE_FNC_4_B:!T&&R?(T=!0,R=!1):T&&R?(T=!1,R=!1):R=!0;break;case e.CODE_SHIFT:m=!0,f=e.CODE_CODE_A;break;case e.CODE_CODE_A:f=e.CODE_CODE_A;break;case e.CODE_CODE_C:f=e.CODE_CODE_C;break;case e.CODE_STOP:v=!0}break;case e.CODE_CODE_C:if(S<100)S<10&&(w+="0"),w+=S;else switch(S!==e.CODE_STOP&&(I=!1),S){case e.CODE_FNC_1:p&&(0===w.length?w+="]C1":w+=String.fromCharCode(29));break;case e.CODE_CODE_A:f=e.CODE_CODE_A;break;case e.CODE_CODE_B:f=e.CODE_CODE_B;break;case e.CODE_STOP:v=!0}}N&&(f=f===e.CODE_CODE_A?e.CODE_CODE_B:e.CODE_CODE_A)}var D=b-E;if(b=n.getNextUnset(b),!n.isRange(b,Math.min(n.getSize(),b+(b-E)/2),!1))throw new u.a;if((A-=O*C)%103!==C)throw new i.a;var P=w.length;if(0===P)throw new u.a;P>0&&I&&(w=f===e.CODE_CODE_C?w.substring(0,P-2):w.substring(0,P-1));for(var x=(d[1]+d[0])/2,k=E+D/2,M=y.length,L=new Uint8Array(M),B=0;B<M;B++)L[B]=y[B];var F=[new c.a(x,t),new c.a(k,t)];return new l.a(w,L,0,F,o.a.CODE_128,(new Date).getTime())},e.CODE_PATTERNS=[Int32Array.from([2,1,2,2,2,2]),Int32Array.from([2,2,2,1,2,2]),Int32Array.from([2,2,2,2,2,1]),Int32Array.from([1,2,1,2,2,3]),Int32Array.from([1,2,1,3,2,2]),Int32Array.from([1,3,1,2,2,2]),Int32Array.from([1,2,2,2,1,3]),Int32Array.from([1,2,2,3,1,2]),Int32Array.from([1,3,2,2,1,2]),Int32Array.from([2,2,1,2,1,3]),Int32Array.from([2,2,1,3,1,2]),Int32Array.from([2,3,1,2,1,2]),Int32Array.from([1,1,2,2,3,2]),Int32Array.from([1,2,2,1,3,2]),Int32Array.from([1,2,2,2,3,1]),Int32Array.from([1,1,3,2,2,2]),Int32Array.from([1,2,3,1,2,2]),Int32Array.from([1,2,3,2,2,1]),Int32Array.from([2,2,3,2,1,1]),Int32Array.from([2,2,1,1,3,2]),Int32Array.from([2,2,1,2,3,1]),Int32Array.from([2,1,3,2,1,2]),Int32Array.from([2,2,3,1,1,2]),Int32Array.from([3,1,2,1,3,1]),Int32Array.from([3,1,1,2,2,2]),Int32Array.from([3,2,1,1,2,2]),Int32Array.from([3,2,1,2,2,1]),Int32Array.from([3,1,2,2,1,2]),Int32Array.from([3,2,2,1,1,2]),Int32Array.from([3,2,2,2,1,1]),Int32Array.from([2,1,2,1,2,3]),Int32Array.from([2,1,2,3,2,1]),Int32Array.from([2,3,2,1,2,1]),Int32Array.from([1,1,1,3,2,3]),Int32Array.from([1,3,1,1,2,3]),Int32Array.from([1,3,1,3,2,1]),Int32Array.from([1,1,2,3,1,3]),Int32Array.from([1,3,2,1,1,3]),Int32Array.from([1,3,2,3,1,1]),Int32Array.from([2,1,1,3,1,3]),Int32Array.from([2,3,1,1,1,3]),Int32Array.from([2,3,1,3,1,1]),Int32Array.from([1,1,2,1,3,3]),Int32Array.from([1,1,2,3,3,1]),Int32Array.from([1,3,2,1,3,1]),Int32Array.from([1,1,3,1,2,3]),Int32Array.from([1,1,3,3,2,1]),Int32Array.from([1,3,3,1,2,1]),Int32Array.from([3,1,3,1,2,1]),Int32Array.from([2,1,1,3,3,1]),Int32Array.from([2,3,1,1,3,1]),Int32Array.from([2,1,3,1,1,3]),Int32Array.from([2,1,3,3,1,1]),Int32Array.from([2,1,3,1,3,1]),Int32Array.from([3,1,1,1,2,3]),Int32Array.from([3,1,1,3,2,1]),Int32Array.from([3,3,1,1,2,1]),Int32Array.from([3,1,2,1,1,3]),Int32Array.from([3,1,2,3,1,1]),Int32Array.from([3,3,2,1,1,1]),Int32Array.from([3,1,4,1,1,1]),Int32Array.from([2,2,1,4,1,1]),Int32Array.from([4,3,1,1,1,1]),Int32Array.from([1,1,1,2,2,4]),Int32Array.from([1,1,1,4,2,2]),Int32Array.from([1,2,1,1,2,4]),Int32Array.from([1,2,1,4,2,1]),Int32Array.from([1,4,1,1,2,2]),Int32Array.from([1,4,1,2,2,1]),Int32Array.from([1,1,2,2,1,4]),Int32Array.from([1,1,2,4,1,2]),Int32Array.from([1,2,2,1,1,4]),Int32Array.from([1,2,2,4,1,1]),Int32Array.from([1,4,2,1,1,2]),Int32Array.from([1,4,2,2,1,1]),Int32Array.from([2,4,1,2,1,1]),Int32Array.from([2,2,1,1,1,4]),Int32Array.from([4,1,3,1,1,1]),Int32Array.from([2,4,1,1,1,2]),Int32Array.from([1,3,4,1,1,1]),Int32Array.from([1,1,1,2,4,2]),Int32Array.from([1,2,1,1,4,2]),Int32Array.from([1,2,1,2,4,1]),Int32Array.from([1,1,4,2,1,2]),Int32Array.from([1,2,4,1,1,2]),Int32Array.from([1,2,4,2,1,1]),Int32Array.from([4,1,1,2,1,2]),Int32Array.from([4,2,1,1,1,2]),Int32Array.from([4,2,1,2,1,1]),Int32Array.from([2,1,2,1,4,1]),Int32Array.from([2,1,4,1,2,1]),Int32Array.from([4,1,2,1,2,1]),Int32Array.from([1,1,1,1,4,3]),Int32Array.from([1,1,1,3,4,1]),Int32Array.from([1,3,1,1,4,1]),Int32Array.from([1,1,4,1,1,3]),Int32Array.from([1,1,4,3,1,1]),Int32Array.from([4,1,1,1,1,3]),Int32Array.from([4,1,1,3,1,1]),Int32Array.from([1,1,3,1,4,1]),Int32Array.from([1,1,4,1,3,1]),Int32Array.from([3,1,1,1,4,1]),Int32Array.from([4,1,1,1,3,1]),Int32Array.from([2,1,1,4,1,2]),Int32Array.from([2,1,1,2,1,4]),Int32Array.from([2,1,1,2,3,2]),Int32Array.from([2,3,3,1,1,1,2])],e.MAX_AVG_VARIANCE=.25,e.MAX_INDIVIDUAL_VARIANCE=.7,e.CODE_SHIFT=98,e.CODE_CODE_C=99,e.CODE_CODE_B=100,e.CODE_CODE_A=101,e.CODE_FNC_1=102,e.CODE_FNC_2=97,e.CODE_FNC_3=96,e.CODE_FNC_4_A=101,e.CODE_FNC_4_B=100,e.CODE_START_A=103,e.CODE_START_B=104,e.CODE_START_C=105,e.CODE_STOP=106,e}(f.a);e.a=d},function(t,e,n){"use strict";var r,o=n(5),i=n(18),a=n(2),s=n(1),u=n(22),l=n(14),c=n(4),f=(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),p=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},d=function(t){function e(e,n){void 0===e&&(e=!1),void 0===n&&(n=!1);var r=t.call(this)||this;return r.usingCheckDigit=e,r.extendedMode=n,r.decodeRowResult="",r.counters=new Int32Array(9),r}return f(e,t),e.prototype.decodeRow=function(t,n,r){var a,u,f,d,h=this.counters;h.fill(0),this.decodeRowResult="";var g,y,v=e.findAsteriskPattern(n,h),m=n.getNextSet(v[1]),w=n.getSize();do{e.recordPattern(n,m,h);var E=e.toNarrowWidePattern(h);if(E<0)throw new s.a;g=e.patternToChar(E),this.decodeRowResult+=g,y=m;try{for(var b=(a=void 0,p(h)),_=b.next();!_.done;_=b.next()){m+=_.value}}catch(t){a={error:t}}finally{try{_&&!_.done&&(u=b.return)&&u.call(b)}finally{if(a)throw a.error}}m=n.getNextSet(m)}while("*"!==g);this.decodeRowResult=this.decodeRowResult.substring(0,this.decodeRowResult.length-1);var C,S=0;try{for(var A=p(h),O=A.next();!O.done;O=A.next()){S+=O.value}}catch(t){f={error:t}}finally{try{O&&!O.done&&(d=A.return)&&d.call(A)}finally{if(f)throw f.error}}if(m!==w&&2*(m-y-S)<S)throw new s.a;if(this.usingCheckDigit){for(var I=this.decodeRowResult.length-1,T=0,R=0;R<I;R++)T+=e.ALPHABET_STRING.indexOf(this.decodeRowResult.charAt(R));if(this.decodeRowResult.charAt(I)!==e.ALPHABET_STRING.charAt(T%43))throw new i.a;this.decodeRowResult=this.decodeRowResult.substring(0,I)}if(0===this.decodeRowResult.length)throw new s.a;C=this.extendedMode?e.decodeExtended(this.decodeRowResult):this.decodeRowResult;var N=(v[1]+v[0])/2,D=y+S/2;return new l.a(C,null,0,[new c.a(N,t),new c.a(D,t)],o.a.CODE_39,(new Date).getTime())},e.findAsteriskPattern=function(t,n){for(var r=t.getSize(),o=t.getNextSet(0),i=0,a=o,u=!1,l=n.length,c=o;c<r;c++)if(t.get(c)!==u)n[i]++;else{if(i===l-1){if(this.toNarrowWidePattern(n)===e.ASTERISK_ENCODING&&t.isRange(Math.max(0,a-Math.floor((c-a)/2)),a,!1))return[a,c];a+=n[0]+n[1],n.copyWithin(0,2,2+i-1),n[i-1]=0,n[i]=0,i--}else i++;n[i]=1,u=!u}throw new s.a},e.toNarrowWidePattern=function(t){var e,n,r,o=t.length,i=0;do{var a=2147483647;try{for(var s=(e=void 0,p(t)),u=s.next();!u.done;u=s.next()){(d=u.value)<a&&d>i&&(a=d)}}catch(t){e={error:t}}finally{try{u&&!u.done&&(n=s.return)&&n.call(s)}finally{if(e)throw e.error}}i=a,r=0;for(var l=0,c=0,f=0;f<o;f++){(d=t[f])>i&&(c|=1<<o-1-f,r++,l+=d)}if(3===r){for(f=0;f<o&&r>0;f++){var d;if((d=t[f])>i&&(r--,2*d>=l))return-1}return c}}while(r>3);return-1},e.patternToChar=function(t){for(var n=0;n<e.CHARACTER_ENCODINGS.length;n++)if(e.CHARACTER_ENCODINGS[n]===t)return e.ALPHABET_STRING.charAt(n);if(t===e.ASTERISK_ENCODING)return"*";throw new s.a},e.decodeExtended=function(t){for(var e=t.length,n="",r=0;r<e;r++){var o=t.charAt(r);if("+"===o||"$"===o||"%"===o||"/"===o){var i=t.charAt(r+1),s="\0";switch(o){case"+":if(!(i>="A"&&i<="Z"))throw new a.a;s=String.fromCharCode(i.charCodeAt(0)+32);break;case"$":if(!(i>="A"&&i<="Z"))throw new a.a;s=String.fromCharCode(i.charCodeAt(0)-64);break;case"%":if(i>="A"&&i<="E")s=String.fromCharCode(i.charCodeAt(0)-38);else if(i>="F"&&i<="J")s=String.fromCharCode(i.charCodeAt(0)-11);else if(i>="K"&&i<="O")s=String.fromCharCode(i.charCodeAt(0)+16);else if(i>="P"&&i<="T")s=String.fromCharCode(i.charCodeAt(0)+43);else if("U"===i)s="\0";else if("V"===i)s="@";else if("W"===i)s="`";else{if("X"!==i&&"Y"!==i&&"Z"!==i)throw new a.a;s=""}break;case"/":if(i>="A"&&i<="O")s=String.fromCharCode(i.charCodeAt(0)-32);else{if("Z"!==i)throw new a.a;s=":"}}n+=s,r++}else n+=o}return n},e.ALPHABET_STRING="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-. $/+%",e.CHARACTER_ENCODINGS=[52,289,97,352,49,304,112,37,292,100,265,73,328,25,280,88,13,268,76,28,259,67,322,19,274,82,7,262,70,22,385,193,448,145,400,208,133,388,196,168,162,138,42],e.ASTERISK_ENCODING=148,e}(u.a);e.a=d},function(t,e,n){"use strict";var r,o=n(5),i=n(12),a=n(2),s=n(1),u=n(14),l=n(4),c=n(8),f=n(9),p=n(22),d=(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),h=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},g=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.narrowLineWidth=-1,e}return d(e,t),e.prototype.decodeRow=function(t,n,r){var s,f,p=this.decodeStart(n),d=this.decodeEnd(n),g=new c.a;e.decodeMiddle(n,p[1],d[0],g);var y=g.toString(),v=null;null!=r&&(v=r.get(i.a.ALLOWED_LENGTHS)),null==v&&(v=e.DEFAULT_ALLOWED_LENGTHS);var m=y.length,w=!1,E=0;try{for(var b=h(v),_=b.next();!_.done;_=b.next()){var C=_.value;if(m===C){w=!0;break}C>E&&(E=C)}}catch(t){s={error:t}}finally{try{_&&!_.done&&(f=b.return)&&f.call(b)}finally{if(s)throw s.error}}if(!w&&m>E&&(w=!0),!w)throw new a.a;var S=[new l.a(p[1],t),new l.a(d[0],t)];return new u.a(y,null,0,S,o.a.ITF,(new Date).getTime())},e.decodeMiddle=function(t,n,r,o){var i=new Int32Array(10),a=new Int32Array(5),s=new Int32Array(5);for(i.fill(0),a.fill(0),s.fill(0);n<r;){p.a.recordPattern(t,n,i);for(var u=0;u<5;u++){var l=2*u;a[u]=i[l],s[u]=i[l+1]}var c=e.decodeDigit(a);o.append(c.toString()),c=this.decodeDigit(s),o.append(c.toString()),i.forEach((function(t){n+=t}))}},e.prototype.decodeStart=function(t){var n=e.skipWhiteSpace(t),r=e.findGuardPattern(t,n,e.START_PATTERN);return this.narrowLineWidth=(r[1]-r[0])/4,this.validateQuietZone(t,r[0]),r},e.prototype.validateQuietZone=function(t,e){var n=10*this.narrowLineWidth;n=n<e?n:e;for(var r=e-1;n>0&&r>=0&&!t.get(r);r--)n--;if(0!==n)throw new s.a},e.skipWhiteSpace=function(t){var e=t.getSize(),n=t.getNextSet(0);if(n===e)throw new s.a;return n},e.prototype.decodeEnd=function(t){t.reverse();try{var n=e.skipWhiteSpace(t),r=void 0;try{r=e.findGuardPattern(t,n,e.END_PATTERN_REVERSED[0])}catch(o){o instanceof s.a&&(r=e.findGuardPattern(t,n,e.END_PATTERN_REVERSED[1]))}this.validateQuietZone(t,r[0]);var o=r[0];return r[0]=t.getSize()-r[1],r[1]=t.getSize()-o,r}finally{t.reverse()}},e.findGuardPattern=function(t,n,r){var o=r.length,i=new Int32Array(o),a=t.getSize(),u=!1,l=0,c=n;i.fill(0);for(var d=n;d<a;d++)if(t.get(d)!==u)i[l]++;else{if(l===o-1){if(p.a.patternMatchVariance(i,r,e.MAX_INDIVIDUAL_VARIANCE)<e.MAX_AVG_VARIANCE)return[c,d];c+=i[0]+i[1],f.a.arraycopy(i,2,i,0,l-1),i[l-1]=0,i[l]=0,l--}else l++;i[l]=1,u=!u}throw new s.a},e.decodeDigit=function(t){for(var n=e.MAX_AVG_VARIANCE,r=-1,o=e.PATTERNS.length,i=0;i<o;i++){var a=e.PATTERNS[i],u=p.a.patternMatchVariance(t,a,e.MAX_INDIVIDUAL_VARIANCE);u<n?(n=u,r=i):u===n&&(r=-1)}if(r>=0)return r%10;throw new s.a},e.PATTERNS=[Int32Array.from([1,1,2,2,1]),Int32Array.from([2,1,1,1,2]),Int32Array.from([1,2,1,1,2]),Int32Array.from([2,2,1,1,1]),Int32Array.from([1,1,2,1,2]),Int32Array.from([2,1,2,1,1]),Int32Array.from([1,2,2,1,1]),Int32Array.from([1,1,1,2,2]),Int32Array.from([2,1,1,2,1]),Int32Array.from([1,2,1,2,1]),Int32Array.from([1,1,3,3,1]),Int32Array.from([3,1,1,1,3]),Int32Array.from([1,3,1,1,3]),Int32Array.from([3,3,1,1,1]),Int32Array.from([1,1,3,1,3]),Int32Array.from([3,1,3,1,1]),Int32Array.from([1,3,3,1,1]),Int32Array.from([1,1,1,3,3]),Int32Array.from([3,1,1,3,1]),Int32Array.from([1,3,1,3,1])],e.MAX_AVG_VARIANCE=.38,e.MAX_INDIVIDUAL_VARIANCE=.5,e.DEFAULT_ALLOWED_LENGTHS=[6,8,10,12,14],e.START_PATTERN=Int32Array.from([1,1,1,1]),e.END_PATTERN_REVERSED=[Int32Array.from([1,1,2]),Int32Array.from([1,1,3])],e}(p.a);e.a=g},function(t,e,n){"use strict";var r;!function(t){t[t.DATA_MASK_000=0]="DATA_MASK_000",t[t.DATA_MASK_001=1]="DATA_MASK_001",t[t.DATA_MASK_010=2]="DATA_MASK_010",t[t.DATA_MASK_011=3]="DATA_MASK_011",t[t.DATA_MASK_100=4]="DATA_MASK_100",t[t.DATA_MASK_101=5]="DATA_MASK_101",t[t.DATA_MASK_110=6]="DATA_MASK_110",t[t.DATA_MASK_111=7]="DATA_MASK_111"}(r||(r={}));var o=function(){function t(t,e){this.value=t,this.isMasked=e}return t.prototype.unmaskBitMatrix=function(t,e){for(var n=0;n<e;n++)for(var r=0;r<e;r++)this.isMasked(n,r)&&t.flip(r,n)},t.values=new Map([[r.DATA_MASK_000,new t(r.DATA_MASK_000,(function(t,e){return 0==(t+e&1)}))],[r.DATA_MASK_001,new t(r.DATA_MASK_001,(function(t,e){return 0==(1&t)}))],[r.DATA_MASK_010,new t(r.DATA_MASK_010,(function(t,e){return e%3==0}))],[r.DATA_MASK_011,new t(r.DATA_MASK_011,(function(t,e){return(t+e)%3==0}))],[r.DATA_MASK_100,new t(r.DATA_MASK_100,(function(t,e){return 0==(Math.floor(t/2)+Math.floor(e/3)&1)}))],[r.DATA_MASK_101,new t(r.DATA_MASK_101,(function(t,e){return t*e%6==0}))],[r.DATA_MASK_110,new t(r.DATA_MASK_110,(function(t,e){return t*e%6<3}))],[r.DATA_MASK_111,new t(r.DATA_MASK_111,(function(t,e){return 0==(t+e+t*e%3&1)}))]]),t}();e.a=o},function(t,e,n){"use strict";var r,o=n(15),i=(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.kind="ReaderException",e}(o.a);e.a=a},function(t,e,n){"use strict";var r=n(19),o=n(7),i=n(53),a=n(43),s=n(17),u=n(3),l=function(){function t(){}return t.clearMatrix=function(t){t.clear(255)},t.buildMatrix=function(e,n,r,o,i){t.clearMatrix(i),t.embedBasicPatterns(r,i),t.embedTypeInfo(n,o,i),t.maybeEmbedVersionInfo(r,i),t.embedDataBits(e,o,i)},t.embedBasicPatterns=function(e,n){t.embedPositionDetectionPatternsAndSeparators(n),t.embedDarkDotAtLeftBottomCorner(n),t.maybeEmbedPositionAdjustmentPatterns(e,n),t.embedTimingPatterns(n)},t.embedTypeInfo=function(e,n,o){var i=new r.a;t.makeTypeInfoBits(e,n,i);for(var a=0,s=i.getSize();a<s;++a){var u=i.get(i.getSize()-1-a),l=t.TYPE_INFO_COORDINATES[a],c=l[0],f=l[1];if(o.setBoolean(c,f,u),a<8){var p=o.getWidth()-a-1,d=8;o.setBoolean(p,d,u)}else{p=8,d=o.getHeight()-7+(a-8);o.setBoolean(p,d,u)}}},t.maybeEmbedVersionInfo=function(e,n){if(!(e.getVersionNumber()<7)){var o=new r.a;t.makeVersionInfoBits(e,o);for(var i=17,a=0;a<6;++a)for(var s=0;s<3;++s){var u=o.get(i);i--,n.setBoolean(a,n.getHeight()-11+s,u),n.setBoolean(n.getHeight()-11+s,a,u)}}},t.embedDataBits=function(e,n,r){for(var o=0,i=-1,u=r.getWidth()-1,l=r.getHeight()-1;u>0;){for(6===u&&(u-=1);l>=0&&l<r.getHeight();){for(var c=0;c<2;++c){var f=u-c;if(t.isEmpty(r.get(f,l))){var p=void 0;o<e.getSize()?(p=e.get(o),++o):p=!1,255!==n&&a.a.getDataMaskBit(n,f,l)&&(p=!p),r.setBoolean(f,l,p)}}l+=i}l+=i=-i,u-=2}if(o!==e.getSize())throw new s.a("Not all bits consumed: "+o+"/"+e.getSize())},t.findMSBSet=function(t){return 32-o.a.numberOfLeadingZeros(t)},t.calculateBCHCode=function(e,n){if(0===n)throw new u.a("0 polynomial");var r=t.findMSBSet(n);for(e<<=r-1;t.findMSBSet(e)>=r;)e^=n<<t.findMSBSet(e)-r;return e},t.makeTypeInfoBits=function(e,n,o){if(!i.a.isValidMaskPattern(n))throw new s.a("Invalid mask pattern");var a=e.getBits()<<3|n;o.appendBits(a,5);var u=t.calculateBCHCode(a,t.TYPE_INFO_POLY);o.appendBits(u,10);var l=new r.a;if(l.appendBits(t.TYPE_INFO_MASK_PATTERN,15),o.xor(l),15!==o.getSize())throw new s.a("should not happen but we got: "+o.getSize())},t.makeVersionInfoBits=function(e,n){n.appendBits(e.getVersionNumber(),6);var r=t.calculateBCHCode(e.getVersionNumber(),t.VERSION_INFO_POLY);if(n.appendBits(r,12),18!==n.getSize())throw new s.a("should not happen but we got: "+n.getSize())},t.isEmpty=function(t){return 255===t},t.embedTimingPatterns=function(e){for(var n=8;n<e.getWidth()-8;++n){var r=(n+1)%2;t.isEmpty(e.get(n,6))&&e.setNumber(n,6,r),t.isEmpty(e.get(6,n))&&e.setNumber(6,n,r)}},t.embedDarkDotAtLeftBottomCorner=function(t){if(0===t.get(8,t.getHeight()-8))throw new s.a;t.setNumber(8,t.getHeight()-8,1)},t.embedHorizontalSeparationPattern=function(e,n,r){for(var o=0;o<8;++o){if(!t.isEmpty(r.get(e+o,n)))throw new s.a;r.setNumber(e+o,n,0)}},t.embedVerticalSeparationPattern=function(e,n,r){for(var o=0;o<7;++o){if(!t.isEmpty(r.get(e,n+o)))throw new s.a;r.setNumber(e,n+o,0)}},t.embedPositionAdjustmentPattern=function(e,n,r){for(var o=0;o<5;++o)for(var i=t.POSITION_ADJUSTMENT_PATTERN[o],a=0;a<5;++a)r.setNumber(e+a,n+o,i[a])},t.embedPositionDetectionPattern=function(e,n,r){for(var o=0;o<7;++o)for(var i=t.POSITION_DETECTION_PATTERN[o],a=0;a<7;++a)r.setNumber(e+a,n+o,i[a])},t.embedPositionDetectionPatternsAndSeparators=function(e){var n=t.POSITION_DETECTION_PATTERN[0].length;t.embedPositionDetectionPattern(0,0,e),t.embedPositionDetectionPattern(e.getWidth()-n,0,e),t.embedPositionDetectionPattern(0,e.getWidth()-n,e);t.embedHorizontalSeparationPattern(0,7,e),t.embedHorizontalSeparationPattern(e.getWidth()-8,7,e),t.embedHorizontalSeparationPattern(0,e.getWidth()-8,e);t.embedVerticalSeparationPattern(7,0,e),t.embedVerticalSeparationPattern(e.getHeight()-7-1,0,e),t.embedVerticalSeparationPattern(7,e.getHeight()-7,e)},t.maybeEmbedPositionAdjustmentPatterns=function(e,n){if(!(e.getVersionNumber()<2))for(var r=e.getVersionNumber()-1,o=t.POSITION_ADJUSTMENT_PATTERN_COORDINATE_TABLE[r],i=0,a=o.length;i!==a;i++){var s=o[i];if(s>=0)for(var u=0;u!==a;u++){var l=o[u];l>=0&&t.isEmpty(n.get(l,s))&&t.embedPositionAdjustmentPattern(l-2,s-2,n)}}},t.POSITION_DETECTION_PATTERN=Array.from([Int32Array.from([1,1,1,1,1,1,1]),Int32Array.from([1,0,0,0,0,0,1]),Int32Array.from([1,0,1,1,1,0,1]),Int32Array.from([1,0,1,1,1,0,1]),Int32Array.from([1,0,1,1,1,0,1]),Int32Array.from([1,0,0,0,0,0,1]),Int32Array.from([1,1,1,1,1,1,1])]),t.POSITION_ADJUSTMENT_PATTERN=Array.from([Int32Array.from([1,1,1,1,1]),Int32Array.from([1,0,0,0,1]),Int32Array.from([1,0,1,0,1]),Int32Array.from([1,0,0,0,1]),Int32Array.from([1,1,1,1,1])]),t.POSITION_ADJUSTMENT_PATTERN_COORDINATE_TABLE=Array.from([Int32Array.from([-1,-1,-1,-1,-1,-1,-1]),Int32Array.from([6,18,-1,-1,-1,-1,-1]),Int32Array.from([6,22,-1,-1,-1,-1,-1]),Int32Array.from([6,26,-1,-1,-1,-1,-1]),Int32Array.from([6,30,-1,-1,-1,-1,-1]),Int32Array.from([6,34,-1,-1,-1,-1,-1]),Int32Array.from([6,22,38,-1,-1,-1,-1]),Int32Array.from([6,24,42,-1,-1,-1,-1]),Int32Array.from([6,26,46,-1,-1,-1,-1]),Int32Array.from([6,28,50,-1,-1,-1,-1]),Int32Array.from([6,30,54,-1,-1,-1,-1]),Int32Array.from([6,32,58,-1,-1,-1,-1]),Int32Array.from([6,34,62,-1,-1,-1,-1]),Int32Array.from([6,26,46,66,-1,-1,-1]),Int32Array.from([6,26,48,70,-1,-1,-1]),Int32Array.from([6,26,50,74,-1,-1,-1]),Int32Array.from([6,30,54,78,-1,-1,-1]),Int32Array.from([6,30,56,82,-1,-1,-1]),Int32Array.from([6,30,58,86,-1,-1,-1]),Int32Array.from([6,34,62,90,-1,-1,-1]),Int32Array.from([6,28,50,72,94,-1,-1]),Int32Array.from([6,26,50,74,98,-1,-1]),Int32Array.from([6,30,54,78,102,-1,-1]),Int32Array.from([6,28,54,80,106,-1,-1]),Int32Array.from([6,32,58,84,110,-1,-1]),Int32Array.from([6,30,58,86,114,-1,-1]),Int32Array.from([6,34,62,90,118,-1,-1]),Int32Array.from([6,26,50,74,98,122,-1]),Int32Array.from([6,30,54,78,102,126,-1]),Int32Array.from([6,26,52,78,104,130,-1]),Int32Array.from([6,30,56,82,108,134,-1]),Int32Array.from([6,34,60,86,112,138,-1]),Int32Array.from([6,30,58,86,114,142,-1]),Int32Array.from([6,34,62,90,118,146,-1]),Int32Array.from([6,30,54,78,102,126,150]),Int32Array.from([6,24,50,76,102,128,154]),Int32Array.from([6,28,54,80,106,132,158]),Int32Array.from([6,32,58,84,110,136,162]),Int32Array.from([6,26,54,82,110,138,166]),Int32Array.from([6,30,58,86,114,142,170])]),t.TYPE_INFO_COORDINATES=Array.from([Int32Array.from([8,0]),Int32Array.from([8,1]),Int32Array.from([8,2]),Int32Array.from([8,3]),Int32Array.from([8,4]),Int32Array.from([8,5]),Int32Array.from([8,7]),Int32Array.from([8,8]),Int32Array.from([7,8]),Int32Array.from([5,8]),Int32Array.from([4,8]),Int32Array.from([3,8]),Int32Array.from([2,8]),Int32Array.from([1,8]),Int32Array.from([0,8])]),t.VERSION_INFO_POLY=7973,t.TYPE_INFO_POLY=1335,t.TYPE_INFO_MASK_PATTERN=21522,t}();e.a=l},function(t,e,n){"use strict";var r,o=n(45),i=n(58),a=(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),s=function(t){function e(e,n,r){var o=t.call(this,e,n)||this;return o.count=0,o.finderPattern=r,o}return a(e,t),e.prototype.getFinderPattern=function(){return this.finderPattern},e.prototype.getCount=function(){return this.count},e.prototype.incrementCount=function(){this.count++},e}(i.a),u=n(14),l=n(12),c=n(1),f=n(8),p=n(5),d=n(4),h=n(104),g=n(10),y=n(49),v=n(9),m=n(22),w=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),E=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},b=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.possibleLeftPairs=[],e.possibleRightPairs=[],e}return w(e,t),e.prototype.decodeRow=function(t,n,r){var o,i,a,s,u=this.decodePair(n,!1,t,r);e.addOrTally(this.possibleLeftPairs,u),n.reverse();var l=this.decodePair(n,!0,t,r);e.addOrTally(this.possibleRightPairs,l),n.reverse();try{for(var f=E(this.possibleLeftPairs),p=f.next();!p.done;p=f.next()){var d=p.value;if(d.getCount()>1)try{for(var h=(a=void 0,E(this.possibleRightPairs)),g=h.next();!g.done;g=h.next()){var y=g.value;if(y.getCount()>1&&e.checkChecksum(d,y))return e.constructResult(d,y)}}catch(t){a={error:t}}finally{try{g&&!g.done&&(s=h.return)&&s.call(h)}finally{if(a)throw a.error}}}}catch(t){o={error:t}}finally{try{p&&!p.done&&(i=f.return)&&i.call(f)}finally{if(o)throw o.error}}throw new c.a},e.addOrTally=function(t,e){var n,r;if(null!=e){var o=!1;try{for(var i=E(t),a=i.next();!a.done;a=i.next()){var s=a.value;if(s.getValue()===e.getValue()){s.incrementCount(),o=!0;break}}}catch(t){n={error:t}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}o||t.push(e)}},e.prototype.reset=function(){this.possibleLeftPairs.length=0,this.possibleRightPairs.length=0},e.constructResult=function(t,e){for(var n=4537077*t.getValue()+e.getValue(),r=new String(n).toString(),o=new f.a,i=13-r.length;i>0;i--)o.append("0");o.append(r);var a=0;for(i=0;i<13;i++){var s=o.charAt(i).charCodeAt(0)-"0".charCodeAt(0);a+=0==(1&i)?3*s:s}10===(a=10-a%10)&&(a=0),o.append(a.toString());var l=t.getFinderPattern().getResultPoints(),c=e.getFinderPattern().getResultPoints();return new u.a(o.toString(),null,0,[l[0],l[1],c[0],c[1]],p.a.RSS_14,(new Date).getTime())},e.checkChecksum=function(t,e){var n=(t.getChecksumPortion()+16*e.getChecksumPortion())%79,r=9*t.getFinderPattern().getValue()+e.getFinderPattern().getValue();return r>72&&r--,r>8&&r--,n===r},e.prototype.decodePair=function(t,e,n,r){try{var o=this.findFinderPattern(t,e),i=this.parseFoundFinderPattern(t,n,e,o),a=null==r?null:r.get(l.a.NEED_RESULT_POINT_CALLBACK);if(null!=a){var u=(o[0]+o[1])/2;e&&(u=t.getSize()-1-u),a.foundPossibleResultPoint(new d.a(u,n))}var c=this.decodeDataCharacter(t,i,!0),f=this.decodeDataCharacter(t,i,!1);return new s(1597*c.getValue()+f.getValue(),c.getChecksumPortion()+4*f.getChecksumPortion(),i)}catch(t){return null}},e.prototype.decodeDataCharacter=function(t,n,r){for(var o=this.getDataCharacterCounters(),a=0;a<o.length;a++)o[a]=0;if(r)m.a.recordPatternInReverse(t,n.getStartEnd()[0],o);else{m.a.recordPattern(t,n.getStartEnd()[1]+1,o);for(var s=0,u=o.length-1;s<u;s++,u--){var l=o[s];o[s]=o[u],o[u]=l}}var f=r?16:15,p=g.a.sum(new Int32Array(o))/f,d=this.getOddCounts(),h=this.getEvenCounts(),v=this.getOddRoundingErrors(),w=this.getEvenRoundingErrors();for(s=0;s<o.length;s++){var E=o[s]/p,b=Math.floor(E+.5);b<1?b=1:b>8&&(b=8);var _=Math.floor(s/2);0==(1&s)?(d[_]=b,v[_]=E-b):(h[_]=b,w[_]=E-b)}this.adjustOddEvenCounts(r,f);var C=0,S=0;for(s=d.length-1;s>=0;s--)S*=9,S+=d[s],C+=d[s];var A=0,O=0;for(s=h.length-1;s>=0;s--)A*=9,A+=h[s],O+=h[s];var I=S+3*A;if(r){if(0!=(1&C)||C>12||C<4)throw new c.a;var T=(12-C)/2,R=9-(k=e.OUTSIDE_ODD_WIDEST[T]),N=y.a.getRSSvalue(d,k,!1),D=y.a.getRSSvalue(h,R,!0),P=e.OUTSIDE_EVEN_TOTAL_SUBSET[T],x=e.OUTSIDE_GSUM[T];return new i.a(N*P+D+x,I)}if(0!=(1&O)||O>10||O<4)throw new c.a;T=(10-O)/2,R=9-(k=e.INSIDE_ODD_WIDEST[T]),N=y.a.getRSSvalue(d,k,!0),D=y.a.getRSSvalue(h,R,!1);var k,M=e.INSIDE_ODD_TOTAL_SUBSET[T];x=e.INSIDE_GSUM[T];return new i.a(D*M+N+x,I)},e.prototype.findFinderPattern=function(t,e){var n=this.getDecodeFinderCounters();n[0]=0,n[1]=0,n[2]=0,n[3]=0;for(var r=t.getSize(),i=!1,a=0;a<r&&e!==(i=!t.get(a));)a++;for(var s=0,u=a,l=a;l<r;l++)if(t.get(l)!==i)n[s]++;else{if(3===s){if(o.a.isFinderPattern(n))return[u,l];u+=n[0]+n[1],n[0]=n[2],n[1]=n[3],n[2]=0,n[3]=0,s--}else s++;n[s]=1,i=!i}throw new c.a},e.prototype.parseFoundFinderPattern=function(t,n,r,o){for(var i=t.get(o[0]),a=o[0]-1;a>=0&&i!==t.get(a);)a--;a++;var s=o[0]-a,u=this.getDecodeFinderCounters(),l=new Int32Array(u.length);v.a.arraycopy(u,0,l,1,u.length-1),l[0]=s;var c=this.parseFinderValue(l,e.FINDER_PATTERNS),f=a,p=o[1];return r&&(f=t.getSize()-1-f,p=t.getSize()-1-p),new h.a(c,[a,o[1]],f,p,n)},e.prototype.adjustOddEvenCounts=function(t,e){var n=g.a.sum(new Int32Array(this.getOddCounts())),r=g.a.sum(new Int32Array(this.getEvenCounts())),i=!1,a=!1,s=!1,u=!1;t?(n>12?a=!0:n<4&&(i=!0),r>12?u=!0:r<4&&(s=!0)):(n>11?a=!0:n<5&&(i=!0),r>10?u=!0:r<4&&(s=!0));var l=n+r-e,f=(1&n)==(t?1:0),p=1==(1&r);if(1===l)if(f){if(p)throw new c.a;a=!0}else{if(!p)throw new c.a;u=!0}else if(-1===l)if(f){if(p)throw new c.a;i=!0}else{if(!p)throw new c.a;s=!0}else{if(0!==l)throw new c.a;if(f){if(!p)throw new c.a;n<r?(i=!0,u=!0):(a=!0,s=!0)}else if(p)throw new c.a}if(i){if(a)throw new c.a;o.a.increment(this.getOddCounts(),this.getOddRoundingErrors())}if(a&&o.a.decrement(this.getOddCounts(),this.getOddRoundingErrors()),s){if(u)throw new c.a;o.a.increment(this.getEvenCounts(),this.getOddRoundingErrors())}u&&o.a.decrement(this.getEvenCounts(),this.getEvenRoundingErrors())},e.OUTSIDE_EVEN_TOTAL_SUBSET=[1,10,34,70,126],e.INSIDE_ODD_TOTAL_SUBSET=[4,20,48,81],e.OUTSIDE_GSUM=[0,161,961,2015,2715],e.INSIDE_GSUM=[0,336,1036,1516],e.OUTSIDE_ODD_WIDEST=[8,6,4,3,1],e.INSIDE_ODD_WIDEST=[2,4,6,8],e.FINDER_PATTERNS=[Int32Array.from([3,8,2,1]),Int32Array.from([3,5,5,1]),Int32Array.from([3,3,7,1]),Int32Array.from([3,1,9,1]),Int32Array.from([2,7,4,1]),Int32Array.from([2,5,6,1]),Int32Array.from([2,3,8,1]),Int32Array.from([1,5,7,1]),Int32Array.from([1,3,9,1])],e}(o.a);e.a=b},function(t,e,n){"use strict";var r=function(){function t(){}return t.floatToIntBits=function(t){return t},t.MAX_VALUE=Number.MAX_SAFE_INTEGER,t}();e.a=r},function(t,e,n){"use strict";var r=n(3),o=function(){function t(t){if(this.binarizer=t,null===t)throw new r.a("Binarizer must be non-null.")}return t.prototype.getWidth=function(){return this.binarizer.getWidth()},t.prototype.getHeight=function(){return this.binarizer.getHeight()},t.prototype.getBlackRow=function(t,e){return this.binarizer.getBlackRow(t,e)},t.prototype.getBlackMatrix=function(){return null!==this.matrix&&void 0!==this.matrix||(this.matrix=this.binarizer.getBlackMatrix()),this.matrix},t.prototype.isCropSupported=function(){return this.binarizer.getLuminanceSource().isCropSupported()},t.prototype.crop=function(e,n,r,o){var i=this.binarizer.getLuminanceSource().crop(e,n,r,o);return new t(this.binarizer.createBinarizer(i))},t.prototype.isRotateSupported=function(){return this.binarizer.getLuminanceSource().isRotateSupported()},t.prototype.rotateCounterClockwise=function(){var e=this.binarizer.getLuminanceSource().rotateCounterClockwise();return new t(this.binarizer.createBinarizer(e))},t.prototype.rotateCounterClockwise45=function(){var e=this.binarizer.getLuminanceSource().rotateCounterClockwise45();return new t(this.binarizer.createBinarizer(e))},t.prototype.toString=function(){try{return this.getBlackMatrix().toString()}catch(t){return""}},t}();e.a=o},function(t,e,n){"use strict";var r,o=n(83),i=n(23),a=(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),s=function(t){function e(e){var n=t.call(this,e)||this;return n.matrix=null,n}return a(e,t),e.prototype.getBlackMatrix=function(){if(null!==this.matrix)return this.matrix;var n=this.getLuminanceSource(),r=n.getWidth(),o=n.getHeight();if(r>=e.MINIMUM_DIMENSION&&o>=e.MINIMUM_DIMENSION){var a=n.getMatrix(),s=r>>e.BLOCK_SIZE_POWER;0!=(r&e.BLOCK_SIZE_MASK)&&s++;var u=o>>e.BLOCK_SIZE_POWER;0!=(o&e.BLOCK_SIZE_MASK)&&u++;var l=e.calculateBlackPoints(a,s,u,r,o),c=new i.a(r,o);e.calculateThresholdForBlock(a,s,u,r,o,l,c),this.matrix=c}else this.matrix=t.prototype.getBlackMatrix.call(this);return this.matrix},e.prototype.createBinarizer=function(t){return new e(t)},e.calculateThresholdForBlock=function(t,n,r,o,i,a,s){for(var u=i-e.BLOCK_SIZE,l=o-e.BLOCK_SIZE,c=0;c<r;c++){var f=c<<e.BLOCK_SIZE_POWER;f>u&&(f=u);for(var p=e.cap(c,2,r-3),d=0;d<n;d++){var h=d<<e.BLOCK_SIZE_POWER;h>l&&(h=l);for(var g=e.cap(d,2,n-3),y=0,v=-2;v<=2;v++){var m=a[p+v];y+=m[g-2]+m[g-1]+m[g]+m[g+1]+m[g+2]}var w=y/25;e.thresholdBlock(t,h,f,w,o,s)}}},e.cap=function(t,e,n){return t<e?e:t>n?n:t},e.thresholdBlock=function(t,n,r,o,i,a){for(var s=0,u=r*i+n;s<e.BLOCK_SIZE;s++,u+=i)for(var l=0;l<e.BLOCK_SIZE;l++)(255&t[u+l])<=o&&a.set(n+l,r+s)},e.calculateBlackPoints=function(t,n,r,o,i){for(var a=i-e.BLOCK_SIZE,s=o-e.BLOCK_SIZE,u=new Array(r),l=0;l<r;l++){u[l]=new Int32Array(n);var c=l<<e.BLOCK_SIZE_POWER;c>a&&(c=a);for(var f=0;f<n;f++){var p=f<<e.BLOCK_SIZE_POWER;p>s&&(p=s);for(var d=0,h=255,g=0,y=0,v=c*o+p;y<e.BLOCK_SIZE;y++,v+=o){for(var m=0;m<e.BLOCK_SIZE;m++){var w=255&t[v+m];d+=w,w<h&&(h=w),w>g&&(g=w)}if(g-h>e.MIN_DYNAMIC_RANGE)for(y++,v+=o;y<e.BLOCK_SIZE;y++,v+=o)for(m=0;m<e.BLOCK_SIZE;m++)d+=255&t[v+m]}var E=d>>2*e.BLOCK_SIZE_POWER;if(g-h<=e.MIN_DYNAMIC_RANGE&&(E=h/2,l>0&&f>0)){var b=(u[l-1][f]+2*u[l][f-1]+u[l-1][f-1])/4;h<b&&(E=b)}u[l][f]=E}}return u},e.BLOCK_SIZE_POWER=3,e.BLOCK_SIZE=1<<e.BLOCK_SIZE_POWER,e.BLOCK_SIZE_MASK=e.BLOCK_SIZE-1,e.MINIMUM_DIMENSION=5*e.BLOCK_SIZE,e.MIN_DYNAMIC_RANGE=24,e}(o.a);e.a=s},function(t,e,n){"use strict";var r,o=n(84),i=n(19),a=n(23),s=n(1),u=(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),l=function(t){function e(n){var r=t.call(this,n)||this;return r.luminances=e.EMPTY,r.buckets=new Int32Array(e.LUMINANCE_BUCKETS),r}return u(e,t),e.prototype.getBlackRow=function(t,n){var r=this.getLuminanceSource(),o=r.getWidth();null==n||n.getSize()<o?n=new i.a(o):n.clear(),this.initArrays(o);for(var a=r.getRow(t,this.luminances),s=this.buckets,u=0;u<o;u++)s[(255&a[u])>>e.LUMINANCE_SHIFT]++;var l=e.estimateBlackPoint(s);if(o<3)for(u=0;u<o;u++)(255&a[u])<l&&n.set(u);else{var c=255&a[0],f=255&a[1];for(u=1;u<o-1;u++){var p=255&a[u+1];(4*f-c-p)/2<l&&n.set(u),c=f,f=p}}return n},e.prototype.getBlackMatrix=function(){var t=this.getLuminanceSource(),n=t.getWidth(),r=t.getHeight(),o=new a.a(n,r);this.initArrays(n);for(var i=this.buckets,s=1;s<5;s++)for(var u=Math.floor(r*s/5),l=t.getRow(u,this.luminances),c=Math.floor(4*n/5),f=Math.floor(n/5);f<c;f++){i[(255&l[f])>>e.LUMINANCE_SHIFT]++}var p=e.estimateBlackPoint(i),d=t.getMatrix();for(s=0;s<r;s++){var h=s*n;for(f=0;f<n;f++){(255&d[h+f])<p&&o.set(f,s)}}return o},e.prototype.createBinarizer=function(t){return new e(t)},e.prototype.initArrays=function(t){this.luminances.length<t&&(this.luminances=new Uint8ClampedArray(t));for(var n=this.buckets,r=0;r<e.LUMINANCE_BUCKETS;r++)n[r]=0},e.estimateBlackPoint=function(t){for(var n=t.length,r=0,o=0,i=0,a=0;a<n;a++)t[a]>i&&(o=a,i=t[a]),t[a]>r&&(r=t[a]);var u=0,l=0;for(a=0;a<n;a++){var c=a-o;(h=t[a]*c*c)>l&&(u=a,l=h)}if(o>u){var f=o;o=u,u=f}if(u-o<=n/16)throw new s.a;var p=u-1,d=-1;for(a=u-1;a>o;a--){var h,g=a-o;(h=g*g*(u-a)*(r-t[a]))>d&&(p=a,d=h)}return p<<e.LUMINANCE_SHIFT},e.LUMINANCE_BITS=5,e.LUMINANCE_SHIFT=8-e.LUMINANCE_BITS,e.LUMINANCE_BUCKETS=1<<e.LUMINANCE_BITS,e.EMPTY=Uint8ClampedArray.from([0]),e}(o.a);e.a=l},function(t,e,n){"use strict";var r=function(){function t(t){this.source=t}return t.prototype.getLuminanceSource=function(){return this.source},t.prototype.getWidth=function(){return this.source.getWidth()},t.prototype.getHeight=function(){return this.source.getHeight()},t}();e.a=r},function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var r,o=n(42),i=n(38),a=n(3),s=(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),u=function(t){function e(n){var r=t.call(this,n.width,n.height)||this;return r.canvas=n,r.tempCanvasElement=null,r.buffer=e.makeBufferFromCanvasImageData(n),r}return s(e,t),e.makeBufferFromCanvasImageData=function(t){var n=t.getContext("2d").getImageData(0,0,t.width,t.height);return e.toGrayscaleBuffer(n.data,t.width,t.height)},e.toGrayscaleBuffer=function(t,e,n){for(var r=new Uint8ClampedArray(e*n),o=0,i=0,a=t.length;o<a;o+=4,i++){var s=void 0;if(0===t[o+3])s=255;else s=306*t[o]+601*t[o+1]+117*t[o+2]+512>>10;r[i]=s}return r},e.prototype.getRow=function(t,e){if(t<0||t>=this.getHeight())throw new a.a("Requested row is outside the image: "+t);var n=this.getWidth(),r=t*n;return null===e?e=this.buffer.slice(r,r+n):(e.length<n&&(e=new Uint8ClampedArray(n)),e.set(this.buffer.slice(r,r+n))),e},e.prototype.getMatrix=function(){return this.buffer},e.prototype.isCropSupported=function(){return!0},e.prototype.crop=function(e,n,r,o){return t.prototype.crop.call(this,e,n,r,o),this},e.prototype.isRotateSupported=function(){return!0},e.prototype.rotateCounterClockwise=function(){return this.rotate(-90),this},e.prototype.rotateCounterClockwise45=function(){return this.rotate(-45),this},e.prototype.getTempCanvasElement=function(){if(null===this.tempCanvasElement){var t=this.canvas.ownerDocument.createElement("canvas");t.width=this.canvas.width,t.height=this.canvas.height,this.tempCanvasElement=t}return this.tempCanvasElement},e.prototype.rotate=function(t){var n=this.getTempCanvasElement(),r=n.getContext("2d"),o=t*e.DEGREE_TO_RADIANS,i=this.canvas.width,a=this.canvas.height,s=Math.ceil(Math.abs(Math.cos(o))*i+Math.abs(Math.sin(o))*a),u=Math.ceil(Math.abs(Math.sin(o))*i+Math.abs(Math.cos(o))*a);return n.width=s,n.height=u,r.translate(s/2,u/2),r.rotate(o),r.drawImage(this.canvas,i/-2,a/-2),this.buffer=e.makeBufferFromCanvasImageData(n),this},e.prototype.invert=function(){return new o.a(this)},e.DEGREE_TO_RADIANS=Math.PI/180,e}(i.a)},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r=function(){function t(t,e,n){this.deviceId=t,this.label=e,this.kind="videoinput",this.groupId=n||void 0}return t.prototype.toJSON=function(){return{kind:this.kind,groupId:this.groupId,deviceId:this.deviceId,label:this.label}},t}()},function(t,e,n){"use strict";var r,o=n(46),i=(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),a=function(t){function e(e,n,r,o,i){var a=t.call(this,e,n)||this;return a.compact=r,a.nbDatablocks=o,a.nbLayers=i,a}return i(e,t),e.prototype.getNbLayers=function(){return this.nbLayers},e.prototype.getNbDatablocks=function(){return this.nbDatablocks},e.prototype.isCompact=function(){return this.compact},e}(o.a);e.a=a},function(t,e,n){"use strict";var r,o=n(72),i=n(23),a=n(62),s=n(1),u=(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return u(e,t),e.prototype.sampleGrid=function(t,e,n,r,o,i,s,u,l,c,f,p,d,h,g,y,v,m,w){var E=a.a.quadrilateralToQuadrilateral(r,o,i,s,u,l,c,f,p,d,h,g,y,v,m,w);return this.sampleGridWithTransform(t,e,n,E)},e.prototype.sampleGridWithTransform=function(t,e,n,r){if(e<=0||n<=0)throw new s.a;for(var a=new i.a(e,n),u=new Float32Array(2*e),l=0;l<n;l++){for(var c=u.length,f=l+.5,p=0;p<c;p+=2)u[p]=p/2+.5,u[p+1]=f;r.transformPoints(u),o.a.checkAndNudgePoints(t,u);try{for(p=0;p<c;p+=2)t.get(Math.floor(u[p]),Math.floor(u[p+1]))&&a.set(p/2,l)}catch(t){throw new s.a}}return a},e}(o.a);e.a=l},function(t,e,n){"use strict";var r,o=n(39),i=n(64),a=n(8),s=n(30),u=n(13),l=n(2),c=n(29);!function(t){t[t.PAD_ENCODE=0]="PAD_ENCODE",t[t.ASCII_ENCODE=1]="ASCII_ENCODE",t[t.C40_ENCODE=2]="C40_ENCODE",t[t.TEXT_ENCODE=3]="TEXT_ENCODE",t[t.ANSIX12_ENCODE=4]="ANSIX12_ENCODE",t[t.EDIFACT_ENCODE=5]="EDIFACT_ENCODE",t[t.BASE256_ENCODE=6]="BASE256_ENCODE"}(r||(r={}));var f=function(){function t(){}return t.decode=function(t){var e=new i.a(t),n=new a.a,s=new a.a,u=new Array,c=r.ASCII_ENCODE;do{if(c===r.ASCII_ENCODE)c=this.decodeAsciiSegment(e,n,s);else{switch(c){case r.C40_ENCODE:this.decodeC40Segment(e,n);break;case r.TEXT_ENCODE:this.decodeTextSegment(e,n);break;case r.ANSIX12_ENCODE:this.decodeAnsiX12Segment(e,n);break;case r.EDIFACT_ENCODE:this.decodeEdifactSegment(e,n);break;case r.BASE256_ENCODE:this.decodeBase256Segment(e,n,u);break;default:throw new l.a}c=r.ASCII_ENCODE}}while(c!==r.PAD_ENCODE&&e.available()>0);return s.length()>0&&n.append(s.toString()),new o.a(t,n.toString(),0===u.length?null:u,null)},t.decodeAsciiSegment=function(t,e,n){var o=!1;do{var i=t.readBits(8);if(0===i)throw new l.a;if(i<=128)return o&&(i+=128),e.append(String.fromCharCode(i-1)),r.ASCII_ENCODE;if(129===i)return r.PAD_ENCODE;if(i<=229){var a=i-130;a<10&&e.append("0"),e.append(""+a)}else switch(i){case 230:return r.C40_ENCODE;case 231:return r.BASE256_ENCODE;case 232:e.append(String.fromCharCode(29));break;case 233:case 234:break;case 235:o=!0;break;case 236:e.append("[)>1 !function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=151)}([function(t,e,n){"use strict";t.exports=n(138)},function(t,e,n){"use strict";var r,o=n(15),i=(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.getNotFoundInstance=function(){return new e},e.kind="NotFoundException",e}(o.a);e.a=a},function(t,e,n){"use strict";var r,o=n(15),i=(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.getFormatInstance=function(){return new e},e.kind="FormatException",e}(o.a);e.a=a},function(t,e,n){"use strict";var r,o=n(15),i=(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.kind="IllegalArgumentException",e}(o.a);e.a=a},function(t,e,n){"use strict";var r=n(10),o=n(80),i=function(){function t(t,e){this.x=t,this.y=e}return t.prototype.getX=function(){return this.x},t.prototype.getY=function(){return this.y},t.prototype.equals=function(e){if(e instanceof t){var n=e;return this.x===n.x&&this.y===n.y}return!1},t.prototype.hashCode=function(){return 31*o.a.floatToIntBits(this.x)+o.a.floatToIntBits(this.y)},t.prototype.toString=function(){return"("+this.x+","+this.y+")"},t.orderBestPatterns=function(t){var e,n,r,o=this.distance(t[0],t[1]),i=this.distance(t[1],t[2]),a=this.distance(t[0],t[2]);if(i>=o&&i>=a?(n=t[0],e=t[1],r=t[2]):a>=i&&a>=o?(n=t[1],e=t[0],r=t[2]):(n=t[2],e=t[0],r=t[1]),this.crossProductZ(e,n,r)<0){var s=e;e=r,r=s}t[0]=e,t[1]=n,t[2]=r},t.distance=function(t,e){return r.a.distance(t.x,t.y,e.x,e.y)},t.crossProductZ=function(t,e,n){var r=e.x,o=e.y;return(n.x-r)*(t.y-o)-(n.y-o)*(t.x-r)},t}();e.a=i},function(t,e,n){"use strict";var r;!function(t){t[t.AZTEC=0]="AZTEC",t[t.CODABAR=1]="CODABAR",t[t.CODE_39=2]="CODE_39",t[t.CODE_93=3]="CODE_93",t[t.CODE_128=4]="CODE_128",t[t.DATA_MATRIX=5]="DATA_MATRIX",t[t.EAN_8=6]="EAN_8",t[t.EAN_13=7]="EAN_13",t[t.ITF=8]="ITF",t[t.MAXICODE=9]="MAXICODE",t[t.PDF_417=10]="PDF_417",t[t.QR_CODE=11]="QR_CODE",t[t.RSS_14=12]="RSS_14",t[t.RSS_EXPANDED=13]="RSS_EXPANDED",t[t.UPC_A=14]="UPC_A",t[t.UPC_E=15]="UPC_E",t[t.UPC_EAN_EXTENSION=16]="UPC_EAN_EXTENSION"}(r||(r={})),e.a=r},function(t,e,n){"use strict";n(109);var r=n(32);n.d(e,"ArgumentException",(function(){return r.a}));n(61);var o=n(18);n.d(e,"ChecksumException",(function(){return o.a}));n(15);var i=n(2);n.d(e,"FormatException",(function(){return i.a}));var a=n(3);n.d(e,"IllegalArgumentException",(function(){return a.a}));var s=n(29);n.d(e,"IllegalStateException",(function(){return s.a}));var u=n(1);n.d(e,"NotFoundException",(function(){return u.a}));n(77),n(57),n(48),n(17),n(5),n(84);var l=n(81);n.d(e,"BinaryBitmap",(function(){return l.a}));var c=n(12);n.d(e,"DecodeHintType",(function(){return c.a}));var f=n(42);n.d(e,"InvertedLuminanceSource",(function(){return f.a}));var p=n(38);n.d(e,"LuminanceSource",(function(){return p.a}));var d=n(90);n.d(e,"MultiFormatReader",(function(){return d.a}));n(119),n(120),n(14),n(21),n(121),n(4),n(9),n(8),n(30),n(96),n(24),n(97),n(7),n(19),n(23),n(64),n(20),n(39),n(88),n(46);var h=n(25);n.d(e,"EncodeHintType",(function(){return h.a}));n(83),n(72),n(47);var g=n(82);n.d(e,"HybridBinarizer",(function(){return g.a}));n(62),n(13),n(10),n(51),n(26),n(35),n(40),n(66);var y=n(56);n.d(e,"DataMatrixReader",(function(){return y.a}));n(89);var v=n(54);n.d(e,"PDF417Reader",(function(){return v.a}));n(93),n(92),n(103);var m=n(55);n.d(e,"QRCodeReader",(function(){return m.a}));n(95);var w=n(41);n.d(e,"QRCodeDecoderErrorCorrectionLevel",(function(){return w.a}));n(65),n(36),n(16),n(91),n(76);var E=n(67);n.d(e,"QRCodeEncoder",(function(){return E.a}));n(53),n(78),n(94),n(43);var b=n(50);n.d(e,"AztecCodeReader",(function(){return b.a}));n(122),n(87),n(69),n(101),n(98),n(71),n(60),n(22),n(52),n(73),n(75),n(74),n(79),n(102),n(63),n(100);var _=n(44);n.d(e,"MultiFormatOneDReader",(function(){return _.a}))},function(t,e,n){"use strict";var r=function(){function t(){}return t.numberOfTrailingZeros=function(t){var e;if(0===t)return 32;var n=31;return 0!==(e=t<<16)&&(n-=16,t=e),0!==(e=t<<8)&&(n-=8,t=e),0!==(e=t<<4)&&(n-=4,t=e),0!==(e=t<<2)&&(n-=2,t=e),n-(t<<1>>>31)},t.numberOfLeadingZeros=function(t){if(0===t)return 32;var e=1;return t>>>16==0&&(e+=16,t<<=16),t>>>24==0&&(e+=8,t<<=8),t>>>28==0&&(e+=4,t<<=4),t>>>30==0&&(e+=2,t<<=2),e-=t>>>31},t.toHexString=function(t){return t.toString(16)},t.toBinaryString=function(t){return String(parseInt(String(t),2))},t.bitCount=function(t){return t=(t=(858993459&(t-=t>>>1&1431655765))+(t>>>2&858993459))+(t>>>4)&252645135,t+=t>>>8,63&(t+=t>>>16)},t.truncDivision=function(t,e){return Math.trunc(t/e)},t.parseInt=function(t,e){return void 0===e&&(e=void 0),parseInt(t,e)},t.MIN_VALUE_32_BITS=-2147483648,t.MAX_VALUE=Number.MAX_SAFE_INTEGER,t}();e.a=r},function(t,e,n){"use strict";var r=n(13),o=function(){function t(t){void 0===t&&(t=""),this.value=t}return t.prototype.enableDecoding=function(t){return this.encoding=t,this},t.prototype.append=function(t){return"string"==typeof t?this.value+=t.toString():this.encoding?this.value+=r.a.castAsNonUtf8Char(t,this.encoding):this.value+=String.fromCharCode(t),this},t.prototype.appendChars=function(t,e,n){for(var r=e;e<e+n;r++)this.append(t[r]);return this},t.prototype.length=function(){return this.value.length},t.prototype.charAt=function(t){return this.value.charAt(t)},t.prototype.deleteCharAt=function(t){this.value=this.value.substr(0,t)+this.value.substring(t+1)},t.prototype.setCharAt=function(t,e){this.value=this.value.substr(0,t)+e+this.value.substr(t+1)},t.prototype.substring=function(t,e){return this.value.substring(t,e)},t.prototype.setLengthToZero=function(){this.value=""},t.prototype.toString=function(){return this.value},t.prototype.insert=function(t,e){this.value=this.value.substr(0,t)+e+this.value.substr(t+e.length)},t}();e.a=o},function(t,e,n){"use strict";var r=function(){function t(){}return t.arraycopy=function(t,e,n,r,o){for(;o--;)n[r++]=t[e++]},t.currentTimeMillis=function(){return Date.now()},t}();e.a=r},function(t,e,n){"use strict";var r=function(){function t(){}return t.round=function(t){return NaN===t?0:t<=Number.MIN_SAFE_INTEGER?Number.MIN_SAFE_INTEGER:t>=Number.MAX_SAFE_INTEGER?Number.MAX_SAFE_INTEGER:t+(t<0?-.5:.5)|0},t.distance=function(t,e,n,r){var o=t-n,i=e-r;return Math.sqrt(o*o+i*i)},t.sum=function(t){for(var e=0,n=0,r=t.length;n!==r;n++){e+=t[n]}return e},t}();e.a=r},function(t,e,n){"use strict";var r=n(24),o=n(10),i=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},a=function(){function t(){}return t.prototype.PDF417Common=function(){},t.getBitCountSum=function(t){return o.a.sum(t)},t.toIntArray=function(e){var n,r;if(null==e||!e.length)return t.EMPTY_INT_ARRAY;var o=new Int32Array(e.length),a=0;try{for(var s=i(e),u=s.next();!u.done;u=s.next()){var l=u.value;o[a++]=l}}catch(t){n={error:t}}finally{try{u&&!u.done&&(r=s.return)&&r.call(s)}finally{if(n)throw n.error}}return o},t.getCodeword=function(e){var n=r.a.binarySearch(t.SYMBOL_TABLE,262143&e);return n<0?-1:(t.CODEWORD_TABLE[n]-1)%t.NUMBER_OF_CODEWORDS},t.NUMBER_OF_CODEWORDS=929,t.MAX_CODEWORDS_IN_BARCODE=t.NUMBER_OF_CODEWORDS-1,t.MIN_ROWS_IN_BARCODE=3,t.MAX_ROWS_IN_BARCODE=90,t.MODULES_IN_CODEWORD=17,t.MODULES_IN_STOP_PATTERN=18,t.BARS_IN_MODULE=8,t.EMPTY_INT_ARRAY=new Int32Array([]),t.SYMBOL_TABLE=Int32Array.from([66142,66170,66206,66236,66290,66292,66350,66382,66396,66454,66470,66476,66594,66600,66614,66626,66628,66632,66640,66654,66662,66668,66682,66690,66718,66720,66748,66758,66776,66798,66802,66804,66820,66824,66832,66846,66848,66876,66880,66936,66950,66956,66968,66992,67006,67022,67036,67042,67044,67048,67062,67118,67150,67164,67214,67228,67256,67294,67322,67350,67366,67372,67398,67404,67416,67438,67474,67476,67490,67492,67496,67510,67618,67624,67650,67656,67664,67678,67686,67692,67706,67714,67716,67728,67742,67744,67772,67782,67788,67800,67822,67826,67828,67842,67848,67870,67872,67900,67904,67960,67974,67992,68016,68030,68046,68060,68066,68068,68072,68086,68104,68112,68126,68128,68156,68160,68216,68336,68358,68364,68376,68400,68414,68448,68476,68494,68508,68536,68546,68548,68552,68560,68574,68582,68588,68654,68686,68700,68706,68708,68712,68726,68750,68764,68792,68802,68804,68808,68816,68830,68838,68844,68858,68878,68892,68920,68976,68990,68994,68996,69e3,69008,69022,69024,69052,69062,69068,69080,69102,69106,69108,69142,69158,69164,69190,69208,69230,69254,69260,69272,69296,69310,69326,69340,69386,69394,69396,69410,69416,69430,69442,69444,69448,69456,69470,69478,69484,69554,69556,69666,69672,69698,69704,69712,69726,69754,69762,69764,69776,69790,69792,69820,69830,69836,69848,69870,69874,69876,69890,69918,69920,69948,69952,70008,70022,70040,70064,70078,70094,70108,70114,70116,70120,70134,70152,70174,70176,70264,70384,70412,70448,70462,70496,70524,70542,70556,70584,70594,70600,70608,70622,70630,70636,70664,70672,70686,70688,70716,70720,70776,70896,71136,71180,71192,71216,71230,71264,71292,71360,71416,71452,71480,71536,71550,71554,71556,71560,71568,71582,71584,71612,71622,71628,71640,71662,71726,71732,71758,71772,71778,71780,71784,71798,71822,71836,71864,71874,71880,71888,71902,71910,71916,71930,71950,71964,71992,72048,72062,72066,72068,72080,72094,72096,72124,72134,72140,72152,72174,72178,72180,72206,72220,72248,72304,72318,72416,72444,72456,72464,72478,72480,72508,72512,72568,72588,72600,72624,72638,72654,72668,72674,72676,72680,72694,72726,72742,72748,72774,72780,72792,72814,72838,72856,72880,72894,72910,72924,72930,72932,72936,72950,72966,72972,72984,73008,73022,73056,73084,73102,73116,73144,73156,73160,73168,73182,73190,73196,73210,73226,73234,73236,73250,73252,73256,73270,73282,73284,73296,73310,73318,73324,73346,73348,73352,73360,73374,73376,73404,73414,73420,73432,73454,73498,73518,73522,73524,73550,73564,73570,73572,73576,73590,73800,73822,73858,73860,73872,73886,73888,73916,73944,73970,73972,73992,74014,74016,74044,74048,74104,74118,74136,74160,74174,74210,74212,74216,74230,74244,74256,74270,74272,74360,74480,74502,74508,74544,74558,74592,74620,74638,74652,74680,74690,74696,74704,74726,74732,74782,74784,74812,74992,75232,75288,75326,75360,75388,75456,75512,75576,75632,75646,75650,75652,75664,75678,75680,75708,75718,75724,75736,75758,75808,75836,75840,75896,76016,76256,76736,76824,76848,76862,76896,76924,76992,77048,77296,77340,77368,77424,77438,77536,77564,77572,77576,77584,77600,77628,77632,77688,77702,77708,77720,77744,77758,77774,77788,77870,77902,77916,77922,77928,77966,77980,78008,78018,78024,78032,78046,78060,78074,78094,78136,78192,78206,78210,78212,78224,78238,78240,78268,78278,78284,78296,78322,78324,78350,78364,78448,78462,78560,78588,78600,78622,78624,78652,78656,78712,78726,78744,78768,78782,78798,78812,78818,78820,78824,78838,78862,78876,78904,78960,78974,79072,79100,79296,79352,79368,79376,79390,79392,79420,79424,79480,79600,79628,79640,79664,79678,79712,79740,79772,79800,79810,79812,79816,79824,79838,79846,79852,79894,79910,79916,79942,79948,79960,79982,79988,80006,80024,80048,80062,80078,80092,80098,80100,80104,80134,80140,80176,80190,80224,80252,80270,80284,80312,80328,80336,80350,80358,80364,80378,80390,80396,80408,80432,80446,80480,80508,80576,80632,80654,80668,80696,80752,80766,80776,80784,80798,80800,80828,80844,80856,80878,80882,80884,80914,80916,80930,80932,80936,80950,80962,80968,80976,80990,80998,81004,81026,81028,81040,81054,81056,81084,81094,81100,81112,81134,81154,81156,81160,81168,81182,81184,81212,81216,81272,81286,81292,81304,81328,81342,81358,81372,81380,81384,81398,81434,81454,81458,81460,81486,81500,81506,81508,81512,81526,81550,81564,81592,81602,81604,81608,81616,81630,81638,81644,81702,81708,81722,81734,81740,81752,81774,81778,81780,82050,82078,82080,82108,82180,82184,82192,82206,82208,82236,82240,82296,82316,82328,82352,82366,82402,82404,82408,82440,82448,82462,82464,82492,82496,82552,82672,82694,82700,82712,82736,82750,82784,82812,82830,82882,82884,82888,82896,82918,82924,82952,82960,82974,82976,83004,83008,83064,83184,83424,83468,83480,83504,83518,83552,83580,83648,83704,83740,83768,83824,83838,83842,83844,83848,83856,83872,83900,83910,83916,83928,83950,83984,84e3,84028,84032,84088,84208,84448,84928,85040,85054,85088,85116,85184,85240,85488,85560,85616,85630,85728,85756,85764,85768,85776,85790,85792,85820,85824,85880,85894,85900,85912,85936,85966,85980,86048,86080,86136,86256,86496,86976,88160,88188,88256,88312,88560,89056,89200,89214,89312,89340,89536,89592,89608,89616,89632,89664,89720,89840,89868,89880,89904,89952,89980,89998,90012,90040,90190,90204,90254,90268,90296,90306,90308,90312,90334,90382,90396,90424,90480,90494,90500,90504,90512,90526,90528,90556,90566,90572,90584,90610,90612,90638,90652,90680,90736,90750,90848,90876,90884,90888,90896,90910,90912,90940,90944,91e3,91014,91020,91032,91056,91070,91086,91100,91106,91108,91112,91126,91150,91164,91192,91248,91262,91360,91388,91584,91640,91664,91678,91680,91708,91712,91768,91888,91928,91952,91966,92e3,92028,92046,92060,92088,92098,92100,92104,92112,92126,92134,92140,92188,92216,92272,92384,92412,92608,92664,93168,93200,93214,93216,93244,93248,93304,93424,93664,93720,93744,93758,93792,93820,93888,93944,93980,94008,94064,94078,94084,94088,94096,94110,94112,94140,94150,94156,94168,94246,94252,94278,94284,94296,94318,94342,94348,94360,94384,94398,94414,94428,94440,94470,94476,94488,94512,94526,94560,94588,94606,94620,94648,94658,94660,94664,94672,94686,94694,94700,94714,94726,94732,94744,94768,94782,94816,94844,94912,94968,94990,95004,95032,95088,95102,95112,95120,95134,95136,95164,95180,95192,95214,95218,95220,95244,95256,95280,95294,95328,95356,95424,95480,95728,95758,95772,95800,95856,95870,95968,95996,96008,96016,96030,96032,96060,96064,96120,96152,96176,96190,96220,96226,96228,96232,96290,96292,96296,96310,96322,96324,96328,96336,96350,96358,96364,96386,96388,96392,96400,96414,96416,96444,96454,96460,96472,96494,96498,96500,96514,96516,96520,96528,96542,96544,96572,96576,96632,96646,96652,96664,96688,96702,96718,96732,96738,96740,96744,96758,96772,96776,96784,96798,96800,96828,96832,96888,97008,97030,97036,97048,97072,97086,97120,97148,97166,97180,97208,97220,97224,97232,97246,97254,97260,97326,97330,97332,97358,97372,97378,97380,97384,97398,97422,97436,97464,97474,97476,97480,97488,97502,97510,97516,97550,97564,97592,97648,97666,97668,97672,97680,97694,97696,97724,97734,97740,97752,97774,97830,97836,97850,97862,97868,97880,97902,97906,97908,97926,97932,97944,97968,97998,98012,98018,98020,98024,98038,98618,98674,98676,98838,98854,98874,98892,98904,98926,98930,98932,98968,99006,99042,99044,99048,99062,99166,99194,99246,99286,99350,99366,99372,99386,99398,99416,99438,99442,99444,99462,99504,99518,99534,99548,99554,99556,99560,99574,99590,99596,99608,99632,99646,99680,99708,99726,99740,99768,99778,99780,99784,99792,99806,99814,99820,99834,99858,99860,99874,99880,99894,99906,99920,99934,99962,99970,99972,99976,99984,99998,1e5,100028,100038,100044,100056,100078,100082,100084,100142,100174,100188,100246,100262,100268,100306,100308,100390,100396,100410,100422,100428,100440,100462,100466,100468,100486,100504,100528,100542,100558,100572,100578,100580,100584,100598,100620,100656,100670,100704,100732,100750,100792,100802,100808,100816,100830,100838,100844,100858,100888,100912,100926,100960,100988,101056,101112,101148,101176,101232,101246,101250,101252,101256,101264,101278,101280,101308,101318,101324,101336,101358,101362,101364,101410,101412,101416,101430,101442,101448,101456,101470,101478,101498,101506,101508,101520,101534,101536,101564,101580,101618,101620,101636,101640,101648,101662,101664,101692,101696,101752,101766,101784,101838,101858,101860,101864,101934,101938,101940,101966,101980,101986,101988,101992,102030,102044,102072,102082,102084,102088,102096,102138,102166,102182,102188,102214,102220,102232,102254,102282,102290,102292,102306,102308,102312,102326,102444,102458,102470,102476,102488,102514,102516,102534,102552,102576,102590,102606,102620,102626,102632,102646,102662,102668,102704,102718,102752,102780,102798,102812,102840,102850,102856,102864,102878,102886,102892,102906,102936,102974,103008,103036,103104,103160,103224,103280,103294,103298,103300,103312,103326,103328,103356,103366,103372,103384,103406,103410,103412,103472,103486,103520,103548,103616,103672,103920,103992,104048,104062,104160,104188,104194,104196,104200,104208,104224,104252,104256,104312,104326,104332,104344,104368,104382,104398,104412,104418,104420,104424,104482,104484,104514,104520,104528,104542,104550,104570,104578,104580,104592,104606,104608,104636,104652,104690,104692,104706,104712,104734,104736,104764,104768,104824,104838,104856,104910,104930,104932,104936,104968,104976,104990,104992,105020,105024,105080,105200,105240,105278,105312,105372,105410,105412,105416,105424,105446,105518,105524,105550,105564,105570,105572,105576,105614,105628,105656,105666,105672,105680,105702,105722,105742,105756,105784,105840,105854,105858,105860,105864,105872,105888,105932,105970,105972,106006,106022,106028,106054,106060,106072,106100,106118,106124,106136,106160,106174,106190,106210,106212,106216,106250,106258,106260,106274,106276,106280,106306,106308,106312,106320,106334,106348,106394,106414,106418,106420,106566,106572,106610,106612,106630,106636,106648,106672,106686,106722,106724,106728,106742,106758,106764,106776,106800,106814,106848,106876,106894,106908,106936,106946,106948,106952,106960,106974,106982,106988,107032,107056,107070,107104,107132,107200,107256,107292,107320,107376,107390,107394,107396,107400,107408,107422,107424,107452,107462,107468,107480,107502,107506,107508,107544,107568,107582,107616,107644,107712,107768,108016,108060,108088,108144,108158,108256,108284,108290,108292,108296,108304,108318,108320,108348,108352,108408,108422,108428,108440,108464,108478,108494,108508,108514,108516,108520,108592,108640,108668,108736,108792,109040,109536,109680,109694,109792,109820,110016,110072,110084,110088,110096,110112,110140,110144,110200,110320,110342,110348,110360,110384,110398,110432,110460,110478,110492,110520,110532,110536,110544,110558,110658,110686,110714,110722,110724,110728,110736,110750,110752,110780,110796,110834,110836,110850,110852,110856,110864,110878,110880,110908,110912,110968,110982,111e3,111054,111074,111076,111080,111108,111112,111120,111134,111136,111164,111168,111224,111344,111372,111422,111456,111516,111554,111556,111560,111568,111590,111632,111646,111648,111676,111680,111736,111856,112096,112152,112224,112252,112320,112440,112514,112516,112520,112528,112542,112544,112588,112686,112718,112732,112782,112796,112824,112834,112836,112840,112848,112870,112890,112910,112924,112952,113008,113022,113026,113028,113032,113040,113054,113056,113100,113138,113140,113166,113180,113208,113264,113278,113376,113404,113416,113424,113440,113468,113472,113560,113614,113634,113636,113640,113686,113702,113708,113734,113740,113752,113778,113780,113798,113804,113816,113840,113854,113870,113890,113892,113896,113926,113932,113944,113968,113982,114016,114044,114076,114114,114116,114120,114128,114150,114170,114194,114196,114210,114212,114216,114242,114244,114248,114256,114270,114278,114306,114308,114312,114320,114334,114336,114364,114380,114420,114458,114478,114482,114484,114510,114524,114530,114532,114536,114842,114866,114868,114970,114994,114996,115042,115044,115048,115062,115130,115226,115250,115252,115278,115292,115298,115300,115304,115318,115342,115394,115396,115400,115408,115422,115430,115436,115450,115478,115494,115514,115526,115532,115570,115572,115738,115758,115762,115764,115790,115804,115810,115812,115816,115830,115854,115868,115896,115906,115912,115920,115934,115942,115948,115962,115996,116024,116080,116094,116098,116100,116104,116112,116126,116128,116156,116166,116172,116184,116206,116210,116212,116246,116262,116268,116282,116294,116300,116312,116334,116338,116340,116358,116364,116376,116400,116414,116430,116444,116450,116452,116456,116498,116500,116514,116520,116534,116546,116548,116552,116560,116574,116582,116588,116602,116654,116694,116714,116762,116782,116786,116788,116814,116828,116834,116836,116840,116854,116878,116892,116920,116930,116936,116944,116958,116966,116972,116986,117006,117048,117104,117118,117122,117124,117136,117150,117152,117180,117190,117196,117208,117230,117234,117236,117304,117360,117374,117472,117500,117506,117508,117512,117520,117536,117564,117568,117624,117638,117644,117656,117680,117694,117710,117724,117730,117732,117736,117750,117782,117798,117804,117818,117830,117848,117874,117876,117894,117936,117950,117966,117986,117988,117992,118022,118028,118040,118064,118078,118112,118140,118172,118210,118212,118216,118224,118238,118246,118266,118306,118312,118338,118352,118366,118374,118394,118402,118404,118408,118416,118430,118432,118460,118476,118514,118516,118574,118578,118580,118606,118620,118626,118628,118632,118678,118694,118700,118730,118738,118740,118830,118834,118836,118862,118876,118882,118884,118888,118902,118926,118940,118968,118978,118980,118984,118992,119006,119014,119020,119034,119068,119096,119152,119166,119170,119172,119176,119184,119198,119200,119228,119238,119244,119256,119278,119282,119284,119324,119352,119408,119422,119520,119548,119554,119556,119560,119568,119582,119584,119612,119616,119672,119686,119692,119704,119728,119742,119758,119772,119778,119780,119784,119798,119920,119934,120032,120060,120256,120312,120324,120328,120336,120352,120384,120440,120560,120582,120588,120600,120624,120638,120672,120700,120718,120732,120760,120770,120772,120776,120784,120798,120806,120812,120870,120876,120890,120902,120908,120920,120946,120948,120966,120972,120984,121008,121022,121038,121058,121060,121064,121078,121100,121112,121136,121150,121184,121212,121244,121282,121284,121288,121296,121318,121338,121356,121368,121392,121406,121440,121468,121536,121592,121656,121730,121732,121736,121744,121758,121760,121804,121842,121844,121890,121922,121924,121928,121936,121950,121958,121978,121986,121988,121992,122e3,122014,122016,122044,122060,122098,122100,122116,122120,122128,122142,122144,122172,122176,122232,122246,122264,122318,122338,122340,122344,122414,122418,122420,122446,122460,122466,122468,122472,122510,122524,122552,122562,122564,122568,122576,122598,122618,122646,122662,122668,122694,122700,122712,122738,122740,122762,122770,122772,122786,122788,122792,123018,123026,123028,123042,123044,123048,123062,123098,123146,123154,123156,123170,123172,123176,123190,123202,123204,123208,123216,123238,123244,123258,123290,123314,123316,123402,123410,123412,123426,123428,123432,123446,123458,123464,123472,123486,123494,123500,123514,123522,123524,123528,123536,123552,123580,123590,123596,123608,123630,123634,123636,123674,123698,123700,123740,123746,123748,123752,123834,123914,123922,123924,123938,123944,123958,123970,123976,123984,123998,124006,124012,124026,124034,124036,124048,124062,124064,124092,124102,124108,124120,124142,124146,124148,124162,124164,124168,124176,124190,124192,124220,124224,124280,124294,124300,124312,124336,124350,124366,124380,124386,124388,124392,124406,124442,124462,124466,124468,124494,124508,124514,124520,124558,124572,124600,124610,124612,124616,124624,124646,124666,124694,124710,124716,124730,124742,124748,124760,124786,124788,124818,124820,124834,124836,124840,124854,124946,124948,124962,124964,124968,124982,124994,124996,125e3,125008,125022,125030,125036,125050,125058,125060,125064,125072,125086,125088,125116,125126,125132,125144,125166,125170,125172,125186,125188,125192,125200,125216,125244,125248,125304,125318,125324,125336,125360,125374,125390,125404,125410,125412,125416,125430,125444,125448,125456,125472,125504,125560,125680,125702,125708,125720,125744,125758,125792,125820,125838,125852,125880,125890,125892,125896,125904,125918,125926,125932,125978,125998,126002,126004,126030,126044,126050,126052,126056,126094,126108,126136,126146,126148,126152,126160,126182,126202,126222,126236,126264,126320,126334,126338,126340,126344,126352,126366,126368,126412,126450,126452,126486,126502,126508,126522,126534,126540,126552,126574,126578,126580,126598,126604,126616,126640,126654,126670,126684,126690,126692,126696,126738,126754,126756,126760,126774,126786,126788,126792,126800,126814,126822,126828,126842,126894,126898,126900,126934,127126,127142,127148,127162,127178,127186,127188,127254,127270,127276,127290,127302,127308,127320,127342,127346,127348,127370,127378,127380,127394,127396,127400,127450,127510,127526,127532,127546,127558,127576,127598,127602,127604,127622,127628,127640,127664,127678,127694,127708,127714,127716,127720,127734,127754,127762,127764,127778,127784,127810,127812,127816,127824,127838,127846,127866,127898,127918,127922,127924,128022,128038,128044,128058,128070,128076,128088,128110,128114,128116,128134,128140,128152,128176,128190,128206,128220,128226,128228,128232,128246,128262,128268,128280,128304,128318,128352,128380,128398,128412,128440,128450,128452,128456,128464,128478,128486,128492,128506,128522,128530,128532,128546,128548,128552,128566,128578,128580,128584,128592,128606,128614,128634,128642,128644,128648,128656,128670,128672,128700,128716,128754,128756,128794,128814,128818,128820,128846,128860,128866,128868,128872,128886,128918,128934,128940,128954,128978,128980,129178,129198,129202,129204,129238,129258,129306,129326,129330,129332,129358,129372,129378,129380,129384,129398,129430,129446,129452,129466,129482,129490,129492,129562,129582,129586,129588,129614,129628,129634,129636,129640,129654,129678,129692,129720,129730,129732,129736,129744,129758,129766,129772,129814,129830,129836,129850,129862,129868,129880,129902,129906,129908,129930,129938,129940,129954,129956,129960,129974,130010]),t.CODEWORD_TABLE=Int32Array.from([2627,1819,2622,2621,1813,1812,2729,2724,2723,2779,2774,2773,902,896,908,868,865,861,859,2511,873,871,1780,835,2493,825,2491,842,837,844,1764,1762,811,810,809,2483,807,2482,806,2480,815,814,813,812,2484,817,816,1745,1744,1742,1746,2655,2637,2635,2626,2625,2623,2628,1820,2752,2739,2737,2728,2727,2725,2730,2785,2783,2778,2777,2775,2780,787,781,747,739,736,2413,754,752,1719,692,689,681,2371,678,2369,700,697,694,703,1688,1686,642,638,2343,631,2341,627,2338,651,646,643,2345,654,652,1652,1650,1647,1654,601,599,2322,596,2321,594,2319,2317,611,610,608,606,2324,603,2323,615,614,612,1617,1616,1614,1612,616,1619,1618,2575,2538,2536,905,901,898,909,2509,2507,2504,870,867,864,860,2512,875,872,1781,2490,2489,2487,2485,1748,836,834,832,830,2494,827,2492,843,841,839,845,1765,1763,2701,2676,2674,2653,2648,2656,2634,2633,2631,2629,1821,2638,2636,2770,2763,2761,2750,2745,2753,2736,2735,2733,2731,1848,2740,2738,2786,2784,591,588,576,569,566,2296,1590,537,534,526,2276,522,2274,545,542,539,548,1572,1570,481,2245,466,2242,462,2239,492,485,482,2249,496,494,1534,1531,1528,1538,413,2196,406,2191,2188,425,419,2202,415,2199,432,430,427,1472,1467,1464,433,1476,1474,368,367,2160,365,2159,362,2157,2155,2152,378,377,375,2166,372,2165,369,2162,383,381,379,2168,1419,1418,1416,1414,385,1411,384,1423,1422,1420,1424,2461,802,2441,2439,790,786,783,794,2409,2406,2403,750,742,738,2414,756,753,1720,2367,2365,2362,2359,1663,693,691,684,2373,680,2370,702,699,696,704,1690,1687,2337,2336,2334,2332,1624,2329,1622,640,637,2344,634,2342,630,2340,650,648,645,2346,655,653,1653,1651,1649,1655,2612,2597,2595,2571,2568,2565,2576,2534,2529,2526,1787,2540,2537,907,904,900,910,2503,2502,2500,2498,1768,2495,1767,2510,2508,2506,869,866,863,2513,876,874,1782,2720,2713,2711,2697,2694,2691,2702,2672,2670,2664,1828,2678,2675,2647,2646,2644,2642,1823,2639,1822,2654,2652,2650,2657,2771,1855,2765,2762,1850,1849,2751,2749,2747,2754,353,2148,344,342,336,2142,332,2140,345,1375,1373,306,2130,299,2128,295,2125,319,314,311,2132,1354,1352,1349,1356,262,257,2101,253,2096,2093,274,273,267,2107,263,2104,280,278,275,1316,1311,1308,1320,1318,2052,202,2050,2044,2040,219,2063,212,2060,208,2055,224,221,2066,1260,1258,1252,231,1248,229,1266,1264,1261,1268,155,1998,153,1996,1994,1991,1988,165,164,2007,162,2006,159,2003,2e3,172,171,169,2012,166,2010,1186,1184,1182,1179,175,1176,173,1192,1191,1189,1187,176,1194,1193,2313,2307,2305,592,589,2294,2292,2289,578,572,568,2297,580,1591,2272,2267,2264,1547,538,536,529,2278,525,2275,547,544,541,1574,1571,2237,2235,2229,1493,2225,1489,478,2247,470,2244,465,2241,493,488,484,2250,498,495,1536,1533,1530,1539,2187,2186,2184,2182,1432,2179,1430,2176,1427,414,412,2197,409,2195,405,2193,2190,426,424,421,2203,418,2201,431,429,1473,1471,1469,1466,434,1477,1475,2478,2472,2470,2459,2457,2454,2462,803,2437,2432,2429,1726,2443,2440,792,789,785,2401,2399,2393,1702,2389,1699,2411,2408,2405,745,741,2415,758,755,1721,2358,2357,2355,2353,1661,2350,1660,2347,1657,2368,2366,2364,2361,1666,690,687,2374,683,2372,701,698,705,1691,1689,2619,2617,2610,2608,2605,2613,2593,2588,2585,1803,2599,2596,2563,2561,2555,1797,2551,1795,2573,2570,2567,2577,2525,2524,2522,2520,1786,2517,1785,2514,1783,2535,2533,2531,2528,1788,2541,2539,906,903,911,2721,1844,2715,2712,1838,1836,2699,2696,2693,2703,1827,1826,1824,2673,2671,2669,2666,1829,2679,2677,1858,1857,2772,1854,1853,1851,1856,2766,2764,143,1987,139,1986,135,133,131,1984,128,1983,125,1981,138,137,136,1985,1133,1132,1130,112,110,1974,107,1973,104,1971,1969,122,121,119,117,1977,114,1976,124,1115,1114,1112,1110,1117,1116,84,83,1953,81,1952,78,1950,1948,1945,94,93,91,1959,88,1958,85,1955,99,97,95,1961,1086,1085,1083,1081,1078,100,1090,1089,1087,1091,49,47,1917,44,1915,1913,1910,1907,59,1926,56,1925,53,1922,1919,66,64,1931,61,1929,1042,1040,1038,71,1035,70,1032,68,1048,1047,1045,1043,1050,1049,12,10,1869,1867,1864,1861,21,1880,19,1877,1874,1871,28,1888,25,1886,22,1883,982,980,977,974,32,30,991,989,987,984,34,995,994,992,2151,2150,2147,2146,2144,356,355,354,2149,2139,2138,2136,2134,1359,343,341,338,2143,335,2141,348,347,346,1376,1374,2124,2123,2121,2119,1326,2116,1324,310,308,305,2131,302,2129,298,2127,320,318,316,313,2133,322,321,1355,1353,1351,1357,2092,2091,2089,2087,1276,2084,1274,2081,1271,259,2102,256,2100,252,2098,2095,272,269,2108,266,2106,281,279,277,1317,1315,1313,1310,282,1321,1319,2039,2037,2035,2032,1203,2029,1200,1197,207,2053,205,2051,201,2049,2046,2043,220,218,2064,215,2062,211,2059,228,226,223,2069,1259,1257,1254,232,1251,230,1267,1265,1263,2316,2315,2312,2311,2309,2314,2304,2303,2301,2299,1593,2308,2306,590,2288,2287,2285,2283,1578,2280,1577,2295,2293,2291,579,577,574,571,2298,582,581,1592,2263,2262,2260,2258,1545,2255,1544,2252,1541,2273,2271,2269,2266,1550,535,532,2279,528,2277,546,543,549,1575,1573,2224,2222,2220,1486,2217,1485,2214,1482,1479,2238,2236,2234,2231,1496,2228,1492,480,477,2248,473,2246,469,2243,490,487,2251,497,1537,1535,1532,2477,2476,2474,2479,2469,2468,2466,2464,1730,2473,2471,2453,2452,2450,2448,1729,2445,1728,2460,2458,2456,2463,805,804,2428,2427,2425,2423,1725,2420,1724,2417,1722,2438,2436,2434,2431,1727,2444,2442,793,791,788,795,2388,2386,2384,1697,2381,1696,2378,1694,1692,2402,2400,2398,2395,1703,2392,1701,2412,2410,2407,751,748,744,2416,759,757,1807,2620,2618,1806,1805,2611,2609,2607,2614,1802,1801,1799,2594,2592,2590,2587,1804,2600,2598,1794,1793,1791,1789,2564,2562,2560,2557,1798,2554,1796,2574,2572,2569,2578,1847,1846,2722,1843,1842,1840,1845,2716,2714,1835,1834,1832,1830,1839,1837,2700,2698,2695,2704,1817,1811,1810,897,862,1777,829,826,838,1760,1758,808,2481,1741,1740,1738,1743,2624,1818,2726,2776,782,740,737,1715,686,679,695,1682,1680,639,628,2339,647,644,1645,1643,1640,1648,602,600,597,595,2320,593,2318,609,607,604,1611,1610,1608,1606,613,1615,1613,2328,926,924,892,886,899,857,850,2505,1778,824,823,821,819,2488,818,2486,833,831,828,840,1761,1759,2649,2632,2630,2746,2734,2732,2782,2781,570,567,1587,531,527,523,540,1566,1564,476,467,463,2240,486,483,1524,1521,1518,1529,411,403,2192,399,2189,423,416,1462,1457,1454,428,1468,1465,2210,366,363,2158,360,2156,357,2153,376,373,370,2163,1410,1409,1407,1405,382,1402,380,1417,1415,1412,1421,2175,2174,777,774,771,784,732,725,722,2404,743,1716,676,674,668,2363,665,2360,685,1684,1681,626,624,622,2335,620,2333,617,2330,641,635,649,1646,1644,1642,2566,928,925,2530,2527,894,891,888,2501,2499,2496,858,856,854,851,1779,2692,2668,2665,2645,2643,2640,2651,2768,2759,2757,2744,2743,2741,2748,352,1382,340,337,333,1371,1369,307,300,296,2126,315,312,1347,1342,1350,261,258,250,2097,246,2094,271,268,264,1306,1301,1298,276,1312,1309,2115,203,2048,195,2045,191,2041,213,209,2056,1246,1244,1238,225,1234,222,1256,1253,1249,1262,2080,2079,154,1997,150,1995,147,1992,1989,163,160,2004,156,2001,1175,1174,1172,1170,1167,170,1164,167,1185,1183,1180,1177,174,1190,1188,2025,2024,2022,587,586,564,559,556,2290,573,1588,520,518,512,2268,508,2265,530,1568,1565,461,457,2233,450,2230,446,2226,479,471,489,1526,1523,1520,397,395,2185,392,2183,389,2180,2177,410,2194,402,422,1463,1461,1459,1456,1470,2455,799,2433,2430,779,776,773,2397,2394,2390,734,728,724,746,1717,2356,2354,2351,2348,1658,677,675,673,670,667,688,1685,1683,2606,2589,2586,2559,2556,2552,927,2523,2521,2518,2515,1784,2532,895,893,890,2718,2709,2707,2689,2687,2684,2663,2662,2660,2658,1825,2667,2769,1852,2760,2758,142,141,1139,1138,134,132,129,126,1982,1129,1128,1126,1131,113,111,108,105,1972,101,1970,120,118,115,1109,1108,1106,1104,123,1113,1111,82,79,1951,75,1949,72,1946,92,89,86,1956,1077,1076,1074,1072,98,1069,96,1084,1082,1079,1088,1968,1967,48,45,1916,42,1914,39,1911,1908,60,57,54,1923,50,1920,1031,1030,1028,1026,67,1023,65,1020,62,1041,1039,1036,1033,69,1046,1044,1944,1943,1941,11,9,1868,7,1865,1862,1859,20,1878,16,1875,13,1872,970,968,966,963,29,960,26,23,983,981,978,975,33,971,31,990,988,985,1906,1904,1902,993,351,2145,1383,331,330,328,326,2137,323,2135,339,1372,1370,294,293,291,289,2122,286,2120,283,2117,309,303,317,1348,1346,1344,245,244,242,2090,239,2088,236,2085,2082,260,2099,249,270,1307,1305,1303,1300,1314,189,2038,186,2036,183,2033,2030,2026,206,198,2047,194,216,1247,1245,1243,1240,227,1237,1255,2310,2302,2300,2286,2284,2281,565,563,561,558,575,1589,2261,2259,2256,2253,1542,521,519,517,514,2270,511,533,1569,1567,2223,2221,2218,2215,1483,2211,1480,459,456,453,2232,449,474,491,1527,1525,1522,2475,2467,2465,2451,2449,2446,801,800,2426,2424,2421,2418,1723,2435,780,778,775,2387,2385,2382,2379,1695,2375,1693,2396,735,733,730,727,749,1718,2616,2615,2604,2603,2601,2584,2583,2581,2579,1800,2591,2550,2549,2547,2545,1792,2542,1790,2558,929,2719,1841,2710,2708,1833,1831,2690,2688,2686,1815,1809,1808,1774,1756,1754,1737,1736,1734,1739,1816,1711,1676,1674,633,629,1638,1636,1633,1641,598,1605,1604,1602,1600,605,1609,1607,2327,887,853,1775,822,820,1757,1755,1584,524,1560,1558,468,464,1514,1511,1508,1519,408,404,400,1452,1447,1444,417,1458,1455,2208,364,361,358,2154,1401,1400,1398,1396,374,1393,371,1408,1406,1403,1413,2173,2172,772,726,723,1712,672,669,666,682,1678,1675,625,623,621,618,2331,636,632,1639,1637,1635,920,918,884,880,889,849,848,847,846,2497,855,852,1776,2641,2742,2787,1380,334,1367,1365,301,297,1340,1338,1335,1343,255,251,247,1296,1291,1288,265,1302,1299,2113,204,196,192,2042,1232,1230,1224,214,1220,210,1242,1239,1235,1250,2077,2075,151,148,1993,144,1990,1163,1162,1160,1158,1155,161,1152,157,1173,1171,1168,1165,168,1181,1178,2021,2020,2018,2023,585,560,557,1585,516,509,1562,1559,458,447,2227,472,1516,1513,1510,398,396,393,390,2181,386,2178,407,1453,1451,1449,1446,420,1460,2209,769,764,720,712,2391,729,1713,664,663,661,659,2352,656,2349,671,1679,1677,2553,922,919,2519,2516,885,883,881,2685,2661,2659,2767,2756,2755,140,1137,1136,130,127,1125,1124,1122,1127,109,106,102,1103,1102,1100,1098,116,1107,1105,1980,80,76,73,1947,1068,1067,1065,1063,90,1060,87,1075,1073,1070,1080,1966,1965,46,43,40,1912,36,1909,1019,1018,1016,1014,58,1011,55,1008,51,1029,1027,1024,1021,63,1037,1034,1940,1939,1937,1942,8,1866,4,1863,1,1860,956,954,952,949,946,17,14,969,967,964,961,27,957,24,979,976,972,1901,1900,1898,1896,986,1905,1903,350,349,1381,329,327,324,1368,1366,292,290,287,284,2118,304,1341,1339,1337,1345,243,240,237,2086,233,2083,254,1297,1295,1293,1290,1304,2114,190,187,184,2034,180,2031,177,2027,199,1233,1231,1229,1226,217,1223,1241,2078,2076,584,555,554,552,550,2282,562,1586,507,506,504,502,2257,499,2254,515,1563,1561,445,443,441,2219,438,2216,435,2212,460,454,475,1517,1515,1512,2447,798,797,2422,2419,770,768,766,2383,2380,2376,721,719,717,714,731,1714,2602,2582,2580,2548,2546,2543,923,921,2717,2706,2705,2683,2682,2680,1771,1752,1750,1733,1732,1731,1735,1814,1707,1670,1668,1631,1629,1626,1634,1599,1598,1596,1594,1603,1601,2326,1772,1753,1751,1581,1554,1552,1504,1501,1498,1509,1442,1437,1434,401,1448,1445,2206,1392,1391,1389,1387,1384,359,1399,1397,1394,1404,2171,2170,1708,1672,1669,619,1632,1630,1628,1773,1378,1363,1361,1333,1328,1336,1286,1281,1278,248,1292,1289,2111,1218,1216,1210,197,1206,193,1228,1225,1221,1236,2073,2071,1151,1150,1148,1146,152,1143,149,1140,145,1161,1159,1156,1153,158,1169,1166,2017,2016,2014,2019,1582,510,1556,1553,452,448,1506,1500,394,391,387,1443,1441,1439,1436,1450,2207,765,716,713,1709,662,660,657,1673,1671,916,914,879,878,877,882,1135,1134,1121,1120,1118,1123,1097,1096,1094,1092,103,1101,1099,1979,1059,1058,1056,1054,77,1051,74,1066,1064,1061,1071,1964,1963,1007,1006,1004,1002,999,41,996,37,1017,1015,1012,1009,52,1025,1022,1936,1935,1933,1938,942,940,938,935,932,5,2,955,953,950,947,18,943,15,965,962,958,1895,1894,1892,1890,973,1899,1897,1379,325,1364,1362,288,285,1334,1332,1330,241,238,234,1287,1285,1283,1280,1294,2112,188,185,181,178,2028,1219,1217,1215,1212,200,1209,1227,2074,2072,583,553,551,1583,505,503,500,513,1557,1555,444,442,439,436,2213,455,451,1507,1505,1502,796,763,762,760,767,711,710,708,706,2377,718,715,1710,2544,917,915,2681,1627,1597,1595,2325,1769,1749,1747,1499,1438,1435,2204,1390,1388,1385,1395,2169,2167,1704,1665,1662,1625,1623,1620,1770,1329,1282,1279,2109,1214,1207,1222,2068,2065,1149,1147,1144,1141,146,1157,1154,2013,2011,2008,2015,1579,1549,1546,1495,1487,1433,1431,1428,1425,388,1440,2205,1705,658,1667,1664,1119,1095,1093,1978,1057,1055,1052,1062,1962,1960,1005,1003,1e3,997,38,1013,1010,1932,1930,1927,1934,941,939,936,933,6,930,3,951,948,944,1889,1887,1884,1881,959,1893,1891,35,1377,1360,1358,1327,1325,1322,1331,1277,1275,1272,1269,235,1284,2110,1205,1204,1201,1198,182,1195,179,1213,2070,2067,1580,501,1551,1548,440,437,1497,1494,1490,1503,761,709,707,1706,913,912,2198,1386,2164,2161,1621,1766,2103,1208,2058,2054,1145,1142,2005,2002,1999,2009,1488,1429,1426,2200,1698,1659,1656,1975,1053,1957,1954,1001,998,1924,1921,1918,1928,937,934,931,1879,1876,1873,1870,945,1885,1882,1323,1273,1270,2105,1202,1199,1196,1211,2061,2057,1576,1543,1540,1484,1481,1478,1491,1700]),t}();e.a=a},function(t,e,n){"use strict";var r;!function(t){t[t.OTHER=0]="OTHER",t[t.PURE_BARCODE=1]="PURE_BARCODE",t[t.POSSIBLE_FORMATS=2]="POSSIBLE_FORMATS",t[t.TRY_HARDER=3]="TRY_HARDER",t[t.CHARACTER_SET=4]="CHARACTER_SET",t[t.ALLOWED_LENGTHS=5]="ALLOWED_LENGTHS",t[t.ASSUME_CODE_39_CHECK_DIGIT=6]="ASSUME_CODE_39_CHECK_DIGIT",t[t.ASSUME_GS1=7]="ASSUME_GS1",t[t.RETURN_CODABAR_START_END=8]="RETURN_CODABAR_START_END",t[t.NEED_RESULT_POINT_CALLBACK=9]="NEED_RESULT_POINT_CALLBACK",t[t.ALLOWED_EAN_EXTENSIONS=10]="ALLOWED_EAN_EXTENSIONS"}(r||(r={})),e.a=r},function(t,e,n){"use strict";var r=n(12),o=n(20),i=n(30),a=function(){function t(){}return t.castAsNonUtf8Char=function(t,e){void 0===e&&(e=null);var n=e?e.getName():this.ISO88591;return i.a.decode(new Uint8Array([t]),n)},t.guessEncoding=function(e,n){if(null!=n&&void 0!==n.get(r.a.CHARACTER_SET))return n.get(r.a.CHARACTER_SET).toString();for(var o=e.length,i=!0,a=!0,s=!0,u=0,l=0,c=0,f=0,p=0,d=0,h=0,g=0,y=0,v=0,m=0,w=e.length>3&&239===e[0]&&187===e[1]&&191===e[2],E=0;E<o&&(i||a||s);E++){var b=255&e[E];s&&(u>0?0==(128&b)?s=!1:u--:0!=(128&b)&&(0==(64&b)?s=!1:(u++,0==(32&b)?l++:(u++,0==(16&b)?c++:(u++,0==(8&b)?f++:s=!1))))),i&&(b>127&&b<160?i=!1:b>159&&(b<192||215===b||247===b)&&m++),a&&(p>0?b<64||127===b||b>252?a=!1:p--:128===b||160===b||b>239?a=!1:b>160&&b<224?(d++,g=0,++h>y&&(y=h)):b>127?(p++,h=0,++g>v&&(v=g)):(h=0,g=0))}return s&&u>0&&(s=!1),a&&p>0&&(a=!1),s&&(w||l+c+f>0)?t.UTF8:a&&(t.ASSUME_SHIFT_JIS||y>=3||v>=3)?t.SHIFT_JIS:i&&a?2===y&&2===d||10*m>=o?t.SHIFT_JIS:t.ISO88591:i?t.ISO88591:a?t.SHIFT_JIS:s?t.UTF8:t.PLATFORM_DEFAULT_ENCODING},t.format=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];var r=-1;function o(t,n,o,i,a,s){if("%%"===t)return"%";if(void 0!==e[++r]){t=i?parseInt(i.substr(1)):void 0;var u,l=a?parseInt(a.substr(1)):void 0;switch(s){case"s":u=e[r];break;case"c":u=e[r][0];break;case"f":u=parseFloat(e[r]).toFixed(t);break;case"p":u=parseFloat(e[r]).toPrecision(t);break;case"e":u=parseFloat(e[r]).toExponential(t);break;case"x":u=parseInt(e[r]).toString(l||16);break;case"d":u=parseFloat(parseInt(e[r],l||10).toPrecision(t)).toFixed(0)}u="object"==typeof u?JSON.stringify(u):(+u).toString(l);for(var c=parseInt(o),f=o&&o[0]+""=="0"?"0":" ";u.length<c;)u=void 0!==n?u+f:f+u;return u}}var i=/%(-)?(0?[0-9]+)?([.][0-9]+)?([#][0-9]+)?([scfpexd%])/g;return t.replace(i,o)},t.getBytes=function(t,e){return i.a.encode(t,e)},t.getCharCode=function(t,e){return void 0===e&&(e=0),t.charCodeAt(e)},t.getCharAt=function(t){return String.fromCharCode(t)},t.SHIFT_JIS=o.a.SJIS.getName(),t.GB2312="GB2312",t.ISO88591=o.a.ISO8859_1.getName(),t.EUC_JP="EUC_JP",t.UTF8=o.a.UTF8.getName(),t.PLATFORM_DEFAULT_ENCODING=t.UTF8,t.ASSUME_SHIFT_JIS=!1,t}();e.a=a},function(t,e,n){"use strict";var r=n(9),o=function(){function t(t,e,n,o,i,a){void 0===n&&(n=null==e?0:8*e.length),void 0===a&&(a=r.a.currentTimeMillis()),this.text=t,this.rawBytes=e,this.numBits=n,this.resultPoints=o,this.format=i,this.timestamp=a,this.text=t,this.rawBytes=e,this.numBits=null==n?null==e?0:8*e.length:n,this.resultPoints=o,this.format=i,this.resultMetadata=null,this.timestamp=null==a?r.a.currentTimeMillis():a}return t.prototype.getText=function(){return this.text},t.prototype.getRawBytes=function(){return this.rawBytes},t.prototype.getNumBits=function(){return this.numBits},t.prototype.getResultPoints=function(){return this.resultPoints},t.prototype.getBarcodeFormat=function(){return this.format},t.prototype.getResultMetadata=function(){return this.resultMetadata},t.prototype.putMetadata=function(t,e){null===this.resultMetadata&&(this.resultMetadata=new Map),this.resultMetadata.set(t,e)},t.prototype.putAllMetadata=function(t){null!==t&&(null===this.resultMetadata?this.resultMetadata=t:this.resultMetadata=new Map(t))},t.prototype.addResultPoints=function(t){var e=this.resultPoints;if(null===e)this.resultPoints=t;else if(null!==t&&t.length>0){var n=new Array(e.length+t.length);r.a.arraycopy(e,0,n,0,e.length),r.a.arraycopy(t,0,n,e.length,t.length),this.resultPoints=n}},t.prototype.getTimestamp=function(){return this.timestamp},t.prototype.toString=function(){return this.text},t}();e.a=o},function(t,e,n){"use strict";function r(t,e){void 0===e&&(e=t.constructor);var n=Error.captureStackTrace;n&&n(t,e)}var o,i=(o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),a=function(t){function e(e){var n,o,i,a=this.constructor,s=t.call(this,e)||this;return Object.defineProperty(s,"name",{value:a.name,enumerable:!1,configurable:!0}),n=s,o=a.prototype,(i=Object.setPrototypeOf)?i(n,o):n.__proto__=o,r(s),s}return i(e,t),e}(Error);var s=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),u=function(t){function e(e){void 0===e&&(e=void 0);var n=t.call(this,e)||this;return n.message=e,n}return s(e,t),e.prototype.getKind=function(){return this.constructor.kind},e.kind="Exception",e}(a);e.a=u},function(t,e,n){"use strict";var r,o=n(3);!function(t){t[t.TERMINATOR=0]="TERMINATOR",t[t.NUMERIC=1]="NUMERIC",t[t.ALPHANUMERIC=2]="ALPHANUMERIC",t[t.STRUCTURED_APPEND=3]="STRUCTURED_APPEND",t[t.BYTE=4]="BYTE",t[t.ECI=5]="ECI",t[t.KANJI=6]="KANJI",t[t.FNC1_FIRST_POSITION=7]="FNC1_FIRST_POSITION",t[t.FNC1_SECOND_POSITION=8]="FNC1_SECOND_POSITION",t[t.HANZI=9]="HANZI"}(r||(r={}));var i=function(){function t(e,n,r,o){this.value=e,this.stringValue=n,this.characterCountBitsForVersions=r,this.bits=o,t.FOR_BITS.set(o,this),t.FOR_VALUE.set(e,this)}return t.forBits=function(e){var n=t.FOR_BITS.get(e);if(void 0===n)throw new o.a;return n},t.prototype.getCharacterCountBits=function(t){var e,n=t.getVersionNumber();return e=n<=9?0:n<=26?1:2,this.characterCountBitsForVersions[e]},t.prototype.getValue=function(){return this.value},t.prototype.getBits=function(){return this.bits},t.prototype.equals=function(e){if(!(e instanceof t))return!1;var n=e;return this.value===n.value},t.prototype.toString=function(){return this.stringValue},t.FOR_BITS=new Map,t.FOR_VALUE=new Map,t.TERMINATOR=new t(r.TERMINATOR,"TERMINATOR",Int32Array.from([0,0,0]),0),t.NUMERIC=new t(r.NUMERIC,"NUMERIC",Int32Array.from([10,12,14]),1),t.ALPHANUMERIC=new t(r.ALPHANUMERIC,"ALPHANUMERIC",Int32Array.from([9,11,13]),2),t.STRUCTURED_APPEND=new t(r.STRUCTURED_APPEND,"STRUCTURED_APPEND",Int32Array.from([0,0,0]),3),t.BYTE=new t(r.BYTE,"BYTE",Int32Array.from([8,16,16]),4),t.ECI=new t(r.ECI,"ECI",Int32Array.from([0,0,0]),7),t.KANJI=new t(r.KANJI,"KANJI",Int32Array.from([8,10,12]),8),t.FNC1_FIRST_POSITION=new t(r.FNC1_FIRST_POSITION,"FNC1_FIRST_POSITION",Int32Array.from([0,0,0]),5),t.FNC1_SECOND_POSITION=new t(r.FNC1_SECOND_POSITION,"FNC1_SECOND_POSITION",Int32Array.from([0,0,0]),9),t.HANZI=new t(r.HANZI,"HANZI",Int32Array.from([8,10,12]),13),t}();e.a=i},function(t,e,n){"use strict";var r,o=n(15),i=(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.kind="WriterException",e}(o.a);e.a=a},function(t,e,n){"use strict";var r,o=n(15),i=(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.getChecksumInstance=function(){return new e},e.kind="ChecksumException",e}(o.a);e.a=a},function(t,e,n){"use strict";var r=n(3),o=n(24),i=n(7),a=n(9),s=function(){function t(e,n){void 0===e?(this.size=0,this.bits=new Int32Array(1)):(this.size=e,this.bits=null==n?t.makeArray(e):n)}return t.prototype.getSize=function(){return this.size},t.prototype.getSizeInBytes=function(){return Math.floor((this.size+7)/8)},t.prototype.ensureCapacity=function(e){if(e>32*this.bits.length){var n=t.makeArray(e);a.a.arraycopy(this.bits,0,n,0,this.bits.length),this.bits=n}},t.prototype.get=function(t){return 0!=(this.bits[Math.floor(t/32)]&1<<(31&t))},t.prototype.set=function(t){this.bits[Math.floor(t/32)]|=1<<(31&t)},t.prototype.flip=function(t){this.bits[Math.floor(t/32)]^=1<<(31&t)},t.prototype.getNextSet=function(t){var e=this.size;if(t>=e)return e;var n=this.bits,r=Math.floor(t/32),o=n[r];o&=~((1<<(31&t))-1);for(var a=n.length;0===o;){if(++r===a)return e;o=n[r]}var s=32*r+i.a.numberOfTrailingZeros(o);return s>e?e:s},t.prototype.getNextUnset=function(t){var e=this.size;if(t>=e)return e;var n=this.bits,r=Math.floor(t/32),o=~n[r];o&=~((1<<(31&t))-1);for(var a=n.length;0===o;){if(++r===a)return e;o=~n[r]}var s=32*r+i.a.numberOfTrailingZeros(o);return s>e?e:s},t.prototype.setBulk=function(t,e){this.bits[Math.floor(t/32)]=e},t.prototype.setRange=function(t,e){if(e<t||t<0||e>this.size)throw new r.a;if(e!==t){e--;for(var n=Math.floor(t/32),o=Math.floor(e/32),i=this.bits,a=n;a<=o;a++){var s=(2<<(a<o?31:31&e))-(1<<(a>n?0:31&t));i[a]|=s}}},t.prototype.clear=function(){for(var t=this.bits.length,e=this.bits,n=0;n<t;n++)e[n]=0},t.prototype.isRange=function(t,e,n){if(e<t||t<0||e>this.size)throw new r.a;if(e===t)return!0;e--;for(var o=Math.floor(t/32),i=Math.floor(e/32),a=this.bits,s=o;s<=i;s++){var u=(2<<(s<i?31:31&e))-(1<<(s>o?0:31&t))&4294967295;if((a[s]&u)!==(n?u:0))return!1}return!0},t.prototype.appendBit=function(t){this.ensureCapacity(this.size+1),t&&(this.bits[Math.floor(this.size/32)]|=1<<(31&this.size)),this.size++},t.prototype.appendBits=function(t,e){if(e<0||e>32)throw new r.a("Num bits must be between 0 and 32");this.ensureCapacity(this.size+e);for(var n=e;n>0;n--)this.appendBit(1==(t>>n-1&1))},t.prototype.appendBitArray=function(t){var e=t.size;this.ensureCapacity(this.size+e);for(var n=0;n<e;n++)this.appendBit(t.get(n))},t.prototype.xor=function(t){if(this.size!==t.size)throw new r.a("Sizes don't match");for(var e=this.bits,n=0,o=e.length;n<o;n++)e[n]^=t.bits[n]},t.prototype.toBytes=function(t,e,n,r){for(var o=0;o<r;o++){for(var i=0,a=0;a<8;a++)this.get(t)&&(i|=1<<7-a),t++;e[n+o]=i}},t.prototype.getBitArray=function(){return this.bits},t.prototype.reverse=function(){for(var t=new Int32Array(this.bits.length),e=Math.floor((this.size-1)/32),n=e+1,r=this.bits,o=0;o<n;o++){var i=r[o];i=(i=(i=(i=(i=i>>1&1431655765|(1431655765&i)<<1)>>2&858993459|(858993459&i)<<2)>>4&252645135|(252645135&i)<<4)>>8&16711935|(16711935&i)<<8)>>16&65535|(65535&i)<<16,t[e-o]=i}if(this.size!==32*n){var a=32*n-this.size,s=t[0]>>>a;for(o=1;o<n;o++){var u=t[o];s|=u<<32-a,t[o-1]=s,s=u>>>a}t[n-1]=s}this.bits=t},t.makeArray=function(t){return new Int32Array(Math.floor((t+31)/32))},t.prototype.equals=function(e){if(!(e instanceof t))return!1;var n=e;return this.size===n.size&&o.a.equals(this.bits,n.bits)},t.prototype.hashCode=function(){return 31*this.size+o.a.hashCode(this.bits)},t.prototype.toString=function(){for(var t="",e=0,n=this.size;e<n;e++)0==(7&e)&&(t+=" "),t+=this.get(e)?"X":".";return t},t.prototype.clone=function(){return new t(this.size,this.bits.slice())},t}();e.a=s},function(t,e,n){"use strict";var r,o=n(2),i=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};!function(t){t[t.Cp437=0]="Cp437",t[t.ISO8859_1=1]="ISO8859_1",t[t.ISO8859_2=2]="ISO8859_2",t[t.ISO8859_3=3]="ISO8859_3",t[t.ISO8859_4=4]="ISO8859_4",t[t.ISO8859_5=5]="ISO8859_5",t[t.ISO8859_6=6]="ISO8859_6",t[t.ISO8859_7=7]="ISO8859_7",t[t.ISO8859_8=8]="ISO8859_8",t[t.ISO8859_9=9]="ISO8859_9",t[t.ISO8859_10=10]="ISO8859_10",t[t.ISO8859_11=11]="ISO8859_11",t[t.ISO8859_13=12]="ISO8859_13",t[t.ISO8859_14=13]="ISO8859_14",t[t.ISO8859_15=14]="ISO8859_15",t[t.ISO8859_16=15]="ISO8859_16",t[t.SJIS=16]="SJIS",t[t.Cp1250=17]="Cp1250",t[t.Cp1251=18]="Cp1251",t[t.Cp1252=19]="Cp1252",t[t.Cp1256=20]="Cp1256",t[t.UnicodeBigUnmarked=21]="UnicodeBigUnmarked",t[t.UTF8=22]="UTF8",t[t.ASCII=23]="ASCII",t[t.Big5=24]="Big5",t[t.GB18030=25]="GB18030",t[t.EUC_KR=26]="EUC_KR"}(r||(r={}));var a=function(){function t(e,n,r){for(var o,a,s=[],u=3;u<arguments.length;u++)s[u-3]=arguments[u];this.valueIdentifier=e,this.name=r,this.values="number"==typeof n?Int32Array.from([n]):n,this.otherEncodingNames=s,t.VALUE_IDENTIFIER_TO_ECI.set(e,this),t.NAME_TO_ECI.set(r,this);for(var l=this.values,c=0,f=l.length;c!==f;c++){var p=l[c];t.VALUES_TO_ECI.set(p,this)}try{for(var d=i(s),h=d.next();!h.done;h=d.next()){var g=h.value;t.NAME_TO_ECI.set(g,this)}}catch(t){o={error:t}}finally{try{h&&!h.done&&(a=d.return)&&a.call(d)}finally{if(o)throw o.error}}}return t.prototype.getValueIdentifier=function(){return this.valueIdentifier},t.prototype.getName=function(){return this.name},t.prototype.getValue=function(){return this.values[0]},t.getCharacterSetECIByValue=function(e){if(e<0||e>=900)throw new o.a("incorect value");var n=t.VALUES_TO_ECI.get(e);if(void 0===n)throw new o.a("incorect value");return n},t.getCharacterSetECIByName=function(e){var n=t.NAME_TO_ECI.get(e);if(void 0===n)throw new o.a("incorect value");return n},t.prototype.equals=function(e){if(!(e instanceof t))return!1;var n=e;return this.getName()===n.getName()},t.VALUE_IDENTIFIER_TO_ECI=new Map,t.VALUES_TO_ECI=new Map,t.NAME_TO_ECI=new Map,t.Cp437=new t(r.Cp437,Int32Array.from([0,2]),"Cp437"),t.ISO8859_1=new t(r.ISO8859_1,Int32Array.from([1,3]),"ISO-8859-1","ISO88591","ISO8859_1"),t.ISO8859_2=new t(r.ISO8859_2,4,"ISO-8859-2","ISO88592","ISO8859_2"),t.ISO8859_3=new t(r.ISO8859_3,5,"ISO-8859-3","ISO88593","ISO8859_3"),t.ISO8859_4=new t(r.ISO8859_4,6,"ISO-8859-4","ISO88594","ISO8859_4"),t.ISO8859_5=new t(r.ISO8859_5,7,"ISO-8859-5","ISO88595","ISO8859_5"),t.ISO8859_6=new t(r.ISO8859_6,8,"ISO-8859-6","ISO88596","ISO8859_6"),t.ISO8859_7=new t(r.ISO8859_7,9,"ISO-8859-7","ISO88597","ISO8859_7"),t.ISO8859_8=new t(r.ISO8859_8,10,"ISO-8859-8","ISO88598","ISO8859_8"),t.ISO8859_9=new t(r.ISO8859_9,11,"ISO-8859-9","ISO88599","ISO8859_9"),t.ISO8859_10=new t(r.ISO8859_10,12,"ISO-8859-10","ISO885910","ISO8859_10"),t.ISO8859_11=new t(r.ISO8859_11,13,"ISO-8859-11","ISO885911","ISO8859_11"),t.ISO8859_13=new t(r.ISO8859_13,15,"ISO-8859-13","ISO885913","ISO8859_13"),t.ISO8859_14=new t(r.ISO8859_14,16,"ISO-8859-14","ISO885914","ISO8859_14"),t.ISO8859_15=new t(r.ISO8859_15,17,"ISO-8859-15","ISO885915","ISO8859_15"),t.ISO8859_16=new t(r.ISO8859_16,18,"ISO-8859-16","ISO885916","ISO8859_16"),t.SJIS=new t(r.SJIS,20,"SJIS","Shift_JIS"),t.Cp1250=new t(r.Cp1250,21,"Cp1250","windows-1250"),t.Cp1251=new t(r.Cp1251,22,"Cp1251","windows-1251"),t.Cp1252=new t(r.Cp1252,23,"Cp1252","windows-1252"),t.Cp1256=new t(r.Cp1256,24,"Cp1256","windows-1256"),t.UnicodeBigUnmarked=new t(r.UnicodeBigUnmarked,25,"UnicodeBigUnmarked","UTF-16BE","UnicodeBig"),t.UTF8=new t(r.UTF8,26,"UTF8","UTF-8"),t.ASCII=new t(r.ASCII,Int32Array.from([27,170]),"ASCII","US-ASCII"),t.Big5=new t(r.Big5,28,"Big5"),t.GB18030=new t(r.GB18030,29,"GB18030","GB2312","EUC_CN","GBK"),t.EUC_KR=new t(r.EUC_KR,30,"EUC_KR","EUC-KR"),t}();e.a=a},function(t,e,n){"use strict";var r;!function(t){t[t.OTHER=0]="OTHER",t[t.ORIENTATION=1]="ORIENTATION",t[t.BYTE_SEGMENTS=2]="BYTE_SEGMENTS",t[t.ERROR_CORRECTION_LEVEL=3]="ERROR_CORRECTION_LEVEL",t[t.ISSUE_NUMBER=4]="ISSUE_NUMBER",t[t.SUGGESTED_PRICE=5]="SUGGESTED_PRICE",t[t.POSSIBLE_COUNTRY=6]="POSSIBLE_COUNTRY",t[t.UPC_EAN_EXTENSION=7]="UPC_EAN_EXTENSION",t[t.PDF417_EXTRA_METADATA=8]="PDF417_EXTRA_METADATA",t[t.STRUCTURED_APPEND_SEQUENCE=9]="STRUCTURED_APPEND_SEQUENCE",t[t.STRUCTURED_APPEND_PARITY=10]="STRUCTURED_APPEND_PARITY"}(r||(r={})),e.a=r},function(t,e,n){"use strict";var r=n(19),o=n(12),i=n(21),a=n(4),s=n(1),u=function(){function t(){}return t.prototype.decode=function(t,e){try{return this.doDecode(t,e)}catch(d){if(e&&!0===e.get(o.a.TRY_HARDER)&&t.isRotateSupported()){var n=t.rotateCounterClockwise(),r=this.doDecode(n,e),u=r.getResultMetadata(),l=270;null!==u&&!0===u.get(i.a.ORIENTATION)&&(l+=u.get(i.a.ORIENTATION)%360),r.putMetadata(i.a.ORIENTATION,l);var c=r.getResultPoints();if(null!==c)for(var f=n.getHeight(),p=0;p<c.length;p++)c[p]=new a.a(f-c[p].getY()-1,c[p].getX());return r}throw new s.a}},t.prototype.reset=function(){},t.prototype.doDecode=function(t,e){var n,u=t.getWidth(),l=t.getHeight(),c=new r.a(u),f=e&&!0===e.get(o.a.TRY_HARDER),p=Math.max(1,l>>(f?8:5));n=f?l:15;for(var d=Math.trunc(l/2),h=0;h<n;h++){var g=Math.trunc((h+1)/2),y=d+p*(0==(1&h)?g:-g);if(y<0||y>=l)break;try{c=t.getBlackRow(y,c)}catch(t){continue}for(var v=function(t){if(1===t&&(c.reverse(),e&&!0===e.get(o.a.NEED_RESULT_POINT_CALLBACK))){var n=new Map;e.forEach((function(t,e){return n.set(e,t)})),n.delete(o.a.NEED_RESULT_POINT_CALLBACK),e=n}try{var r=m.decodeRow(y,c,e);if(1===t){r.putMetadata(i.a.ORIENTATION,180);var s=r.getResultPoints();null!==s&&(s[0]=new a.a(u-s[0].getX()-1,s[0].getY()),s[1]=new a.a(u-s[1].getX()-1,s[1].getY()))}return{value:r}}catch(t){}},m=this,w=0;w<2;w++){var E=v(w);if("object"==typeof E)return E.value}}throw new s.a},t.recordPattern=function(t,e,n){for(var r=n.length,o=0;o<r;o++)n[o]=0;var i=t.getSize();if(e>=i)throw new s.a;for(var a=!t.get(e),u=0,l=e;l<i;){if(t.get(l)!==a)n[u]++;else{if(++u===r)break;n[u]=1,a=!a}l++}if(u!==r&&(u!==r-1||l!==i))throw new s.a},t.recordPatternInReverse=function(e,n,r){for(var o=r.length,i=e.get(n);n>0&&o>=0;)e.get(--n)!==i&&(o--,i=!i);if(o>=0)throw new s.a;t.recordPattern(e,n+1,r)},t.patternMatchVariance=function(t,e,n){for(var r=t.length,o=0,i=0,a=0;a<r;a++)o+=t[a],i+=e[a];if(o<i)return Number.POSITIVE_INFINITY;var s=o/i;n*=s;for(var u=0,l=0;l<r;l++){var c=t[l],f=e[l]*s,p=c>f?c-f:f-c;if(p>n)return Number.POSITIVE_INFINITY;u+=p}return u/o},t}();e.a=u},function(t,e,n){"use strict";var r=n(19),o=n(9),i=n(24),a=n(8),s=n(3),u=function(){function t(t,e,n,r){if(this.width=t,this.height=e,this.rowSize=n,this.bits=r,null==e&&(e=t),this.height=e,t<1||e<1)throw new s.a("Both dimensions must be greater than 0");null==n&&(n=Math.floor((t+31)/32)),this.rowSize=n,null==r&&(this.bits=new Int32Array(this.rowSize*this.height))}return t.parseFromBooleanArray=function(e){for(var n=e.length,r=e[0].length,o=new t(r,n),i=0;i<n;i++)for(var a=e[i],s=0;s<r;s++)a[s]&&o.set(s,i);return o},t.parseFromString=function(e,n,r){if(null===e)throw new s.a("stringRepresentation cannot be null");for(var o=new Array(e.length),i=0,a=0,u=-1,l=0,c=0;c<e.length;)if("\n"===e.charAt(c)||"\r"===e.charAt(c)){if(i>a){if(-1===u)u=i-a;else if(i-a!==u)throw new s.a("row lengths do not match");a=i,l++}c++}else if(e.substring(c,c+n.length)===n)c+=n.length,o[i]=!0,i++;else{if(e.substring(c,c+r.length)!==r)throw new s.a("illegal character encountered: "+e.substring(c));c+=r.length,o[i]=!1,i++}if(i>a){if(-1===u)u=i-a;else if(i-a!==u)throw new s.a("row lengths do not match");l++}for(var f=new t(u,l),p=0;p<i;p++)o[p]&&f.set(Math.floor(p%u),Math.floor(p/u));return f},t.prototype.get=function(t,e){var n=e*this.rowSize+Math.floor(t/32);return 0!=(this.bits[n]>>>(31&t)&1)},t.prototype.set=function(t,e){var n=e*this.rowSize+Math.floor(t/32);this.bits[n]|=1<<(31&t)&4294967295},t.prototype.unset=function(t,e){var n=e*this.rowSize+Math.floor(t/32);this.bits[n]&=~(1<<(31&t)&4294967295)},t.prototype.flip=function(t,e){var n=e*this.rowSize+Math.floor(t/32);this.bits[n]^=1<<(31&t)&4294967295},t.prototype.xor=function(t){if(this.width!==t.getWidth()||this.height!==t.getHeight()||this.rowSize!==t.getRowSize())throw new s.a("input matrix dimensions do not match");for(var e=new r.a(Math.floor(this.width/32)+1),n=this.rowSize,o=this.bits,i=0,a=this.height;i<a;i++)for(var u=i*n,l=t.getRow(i,e).getBitArray(),c=0;c<n;c++)o[u+c]^=l[c]},t.prototype.clear=function(){for(var t=this.bits,e=t.length,n=0;n<e;n++)t[n]=0},t.prototype.setRegion=function(t,e,n,r){if(e<0||t<0)throw new s.a("Left and top must be nonnegative");if(r<1||n<1)throw new s.a("Height and width must be at least 1");var o=t+n,i=e+r;if(i>this.height||o>this.width)throw new s.a("The region must fit inside the matrix");for(var a=this.rowSize,u=this.bits,l=e;l<i;l++)for(var c=l*a,f=t;f<o;f++)u[c+Math.floor(f/32)]|=1<<(31&f)&4294967295},t.prototype.getRow=function(t,e){null==e||e.getSize()<this.width?e=new r.a(this.width):e.clear();for(var n=this.rowSize,o=this.bits,i=t*n,a=0;a<n;a++)e.setBulk(32*a,o[i+a]);return e},t.prototype.setRow=function(t,e){o.a.arraycopy(e.getBitArray(),0,this.bits,t*this.rowSize,this.rowSize)},t.prototype.rotate180=function(){for(var t=this.getWidth(),e=this.getHeight(),n=new r.a(t),o=new r.a(t),i=0,a=Math.floor((e+1)/2);i<a;i++)n=this.getRow(i,n),o=this.getRow(e-1-i,o),n.reverse(),o.reverse(),this.setRow(i,o),this.setRow(e-1-i,n)},t.prototype.getEnclosingRectangle=function(){for(var t=this.width,e=this.height,n=this.rowSize,r=this.bits,o=t,i=e,a=-1,s=-1,u=0;u<e;u++)for(var l=0;l<n;l++){var c=r[u*n+l];if(0!==c){if(u<i&&(i=u),u>s&&(s=u),32*l<o){for(var f=0;0==(c<<31-f&4294967295);)f++;32*l+f<o&&(o=32*l+f)}if(32*l+31>a){for(f=31;c>>>f==0;)f--;32*l+f>a&&(a=32*l+f)}}}return a<o||s<i?null:Int32Array.from([o,i,a-o+1,s-i+1])},t.prototype.getTopLeftOnBit=function(){for(var t=this.rowSize,e=this.bits,n=0;n<e.length&&0===e[n];)n++;if(n===e.length)return null;for(var r=n/t,o=n%t*32,i=e[n],a=0;0==(i<<31-a&4294967295);)a++;return o+=a,Int32Array.from([o,r])},t.prototype.getBottomRightOnBit=function(){for(var t=this.rowSize,e=this.bits,n=e.length-1;n>=0&&0===e[n];)n--;if(n<0)return null;for(var r=Math.floor(n/t),o=32*Math.floor(n%t),i=e[n],a=31;i>>>a==0;)a--;return o+=a,Int32Array.from([o,r])},t.prototype.getWidth=function(){return this.width},t.prototype.getHeight=function(){return this.height},t.prototype.getRowSize=function(){return this.rowSize},t.prototype.equals=function(e){if(!(e instanceof t))return!1;var n=e;return this.width===n.width&&this.height===n.height&&this.rowSize===n.rowSize&&i.a.equals(this.bits,n.bits)},t.prototype.hashCode=function(){var t=this.width;return t=31*(t=31*(t=31*(t=31*t+this.width)+this.height)+this.rowSize)+i.a.hashCode(this.bits)},t.prototype.toString=function(t,e,n){return void 0===t&&(t="X "),void 0===e&&(e=" "),void 0===n&&(n="\n"),this.buildToString(t,e,n)},t.prototype.buildToString=function(t,e,n){for(var r=new a.a,o=0,i=this.height;o<i;o++){for(var s=0,u=this.width;s<u;s++)r.append(this.get(s,o)?t:e);r.append(n)}return r.toString()},t.prototype.clone=function(){return new t(this.width,this.height,this.rowSize,this.bits.slice())},t}();e.a=u},function(t,e,n){"use strict";var r,o=n(9),i=n(3),a=n(68),s=(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),u=function(t){function e(e,n){void 0===e&&(e=void 0),void 0===n&&(n=void 0);var r=t.call(this,n)||this;return r.index=e,r.message=n,r}return s(e,t),e.kind="ArrayIndexOutOfBoundsException",e}(a.a),l=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},c=function(){function t(){}return t.fill=function(t,e){for(var n=0,r=t.length;n<r;n++)t[n]=e},t.fillWithin=function(e,n,r,o){t.rangeCheck(e.length,n,r);for(var i=n;i<r;i++)e[i]=o},t.rangeCheck=function(t,e,n){if(e>n)throw new i.a("fromIndex("+e+") > toIndex("+n+")");if(e<0)throw new u(e);if(n>t)throw new u(n)},t.asList=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return t},t.create=function(t,e,n){return Array.from({length:t}).map((function(t){return Array.from({length:e}).fill(n)}))},t.createInt32Array=function(t,e,n){return Array.from({length:t}).map((function(t){return Int32Array.from({length:e}).fill(n)}))},t.equals=function(t,e){if(!t)return!1;if(!e)return!1;if(!t.length)return!1;if(!e.length)return!1;if(t.length!==e.length)return!1;for(var n=0,r=t.length;n<r;n++)if(t[n]!==e[n])return!1;return!0},t.hashCode=function(t){var e,n;if(null===t)return 0;var r=1;try{for(var o=l(t),i=o.next();!i.done;i=o.next()){r=31*r+i.value}}catch(t){e={error:t}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(e)throw e.error}}return r},t.fillUint8Array=function(t,e){for(var n=0;n!==t.length;n++)t[n]=e},t.copyOf=function(t,e){return t.slice(0,e)},t.copyOfUint8Array=function(t,e){if(t.length<=e){var n=new Uint8Array(e);return n.set(t),n}return t.slice(0,e)},t.copyOfRange=function(t,e,n){var r=n-e,i=new Int32Array(r);return o.a.arraycopy(t,e,i,0,r),i},t.binarySearch=function(e,n,r){void 0===r&&(r=t.numberComparator);for(var o=0,i=e.length-1;o<=i;){var a=i+o>>1,s=r(n,e[a]);if(s>0)o=a+1;else{if(!(s<0))return a;i=a-1}}return-o-1},t.numberComparator=function(t,e){return t-e},t}();e.a=c},function(t,e,n){"use strict";var r;!function(t){t[t.ERROR_CORRECTION=0]="ERROR_CORRECTION",t[t.CHARACTER_SET=1]="CHARACTER_SET",t[t.DATA_MATRIX_SHAPE=2]="DATA_MATRIX_SHAPE",t[t.MIN_SIZE=3]="MIN_SIZE",t[t.MAX_SIZE=4]="MAX_SIZE",t[t.MARGIN=5]="MARGIN",t[t.PDF417_COMPACT=6]="PDF417_COMPACT",t[t.PDF417_COMPACTION=7]="PDF417_COMPACTION",t[t.PDF417_DIMENSIONS=8]="PDF417_DIMENSIONS",t[t.AZTEC_LAYERS=9]="AZTEC_LAYERS",t[t.QR_VERSION=10]="QR_VERSION"}(r||(r={})),e.a=r},function(t,e,n){"use strict";var r,o=n(35),i=n(59),a=n(7),s=n(3),u=n(61),l=(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),c=function(t){function e(e,n,r){var i=t.call(this)||this;i.primitive=e,i.size=n,i.generatorBase=r;for(var a=new Int32Array(n),s=1,u=0;u<n;u++)a[u]=s,(s*=2)>=n&&(s^=e,s&=n-1);i.expTable=a;var l=new Int32Array(n);for(u=0;u<n-1;u++)l[a[u]]=u;return i.logTable=l,i.zero=new o.a(i,Int32Array.from([0])),i.one=new o.a(i,Int32Array.from([1])),i}return l(e,t),e.prototype.getZero=function(){return this.zero},e.prototype.getOne=function(){return this.one},e.prototype.buildMonomial=function(t,e){if(t<0)throw new s.a;if(0===e)return this.zero;var n=new Int32Array(t+1);return n[0]=e,new o.a(this,n)},e.prototype.inverse=function(t){if(0===t)throw new u.a;return this.expTable[this.size-this.logTable[t]-1]},e.prototype.multiply=function(t,e){return 0===t||0===e?0:this.expTable[(this.logTable[t]+this.logTable[e])%(this.size-1)]},e.prototype.getSize=function(){return this.size},e.prototype.getGeneratorBase=function(){return this.generatorBase},e.prototype.toString=function(){return"GF(0x"+a.a.toHexString(this.primitive)+","+this.size+")"},e.prototype.equals=function(t){return t===this},e.AZTEC_DATA_12=new e(4201,4096,1),e.AZTEC_DATA_10=new e(1033,1024,1),e.AZTEC_DATA_6=new e(67,64,1),e.AZTEC_PARAM=new e(19,16,1),e.QR_CODE_FIELD_256=new e(285,256,0),e.DATA_MATRIX_FIELD_256=new e(301,256,1),e.AZTEC_DATA_8=e.DATA_MATRIX_FIELD_256,e.MAXICODE_FIELD_64=e.AZTEC_DATA_6,e}(i.a);e.a=c},function(t,e,n){"use strict";t.exports=n(137)},function(t,e,n){"use strict";var r,o=n(5),i=n(12),a=n(14),s=n(21),u=n(4),l=n(22),c=n(1),f=n(2),p=(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),d=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.decodeRowStringBuffer="",e}return p(e,t),e.findStartGuardPattern=function(t){for(var n,r=!1,o=0,i=Int32Array.from([0,0,0]);!r;){i=Int32Array.from([0,0,0]);var a=(n=e.findGuardPattern(t,o,!1,this.START_END_PATTERN,i))[0],s=a-((o=n[1])-a);s>=0&&(r=t.isRange(s,a,!1))}return n},e.checkChecksum=function(t){return e.checkStandardUPCEANChecksum(t)},e.checkStandardUPCEANChecksum=function(t){var n=t.length;if(0===n)return!1;var r=parseInt(t.charAt(n-1),10);return e.getStandardUPCEANChecksum(t.substring(0,n-1))===r},e.getStandardUPCEANChecksum=function(t){for(var e=t.length,n=0,r=e-1;r>=0;r-=2){if((o=t.charAt(r).charCodeAt(0)-"0".charCodeAt(0))<0||o>9)throw new f.a;n+=o}n*=3;for(r=e-2;r>=0;r-=2){var o;if((o=t.charAt(r).charCodeAt(0)-"0".charCodeAt(0))<0||o>9)throw new f.a;n+=o}return(1e3-n)%10},e.decodeEnd=function(t,n){return e.findGuardPattern(t,n,!1,e.START_END_PATTERN,new Int32Array(e.START_END_PATTERN.length).fill(0))},e.findGuardPatternWithoutCounters=function(t,e,n,r){return this.findGuardPattern(t,e,n,r,new Int32Array(r.length))},e.findGuardPattern=function(t,n,r,o,i){for(var a=t.getSize(),s=0,u=n=r?t.getNextUnset(n):t.getNextSet(n),f=o.length,p=r,d=n;d<a;d++)if(t.get(d)!==p)i[s]++;else{if(s===f-1){if(l.a.patternMatchVariance(i,o,e.MAX_INDIVIDUAL_VARIANCE)<e.MAX_AVG_VARIANCE)return Int32Array.from([u,d]);u+=i[0]+i[1];for(var h=i.slice(2,i.length-1),g=0;g<s-1;g++)i[g]=h[g];i[s-1]=0,i[s]=0,s--}else s++;i[s]=1,p=!p}throw new c.a},e.decodeDigit=function(t,n,r,o){this.recordPattern(t,r,n);for(var i=this.MAX_AVG_VARIANCE,a=-1,s=o.length,u=0;u<s;u++){var f=o[u],p=l.a.patternMatchVariance(n,f,e.MAX_INDIVIDUAL_VARIANCE);p<i&&(i=p,a=u)}if(a>=0)return a;throw new c.a},e.MAX_AVG_VARIANCE=.48,e.MAX_INDIVIDUAL_VARIANCE=.7,e.START_END_PATTERN=Int32Array.from([1,1,1]),e.MIDDLE_PATTERN=Int32Array.from([1,1,1,1,1]),e.END_PATTERN=Int32Array.from([1,1,1,1,1,1]),e.L_PATTERNS=[Int32Array.from([3,2,1,1]),Int32Array.from([2,2,2,1]),Int32Array.from([2,1,2,2]),Int32Array.from([1,4,1,1]),Int32Array.from([1,1,3,2]),Int32Array.from([1,2,3,1]),Int32Array.from([1,1,1,4]),Int32Array.from([1,3,1,2]),Int32Array.from([1,2,1,3]),Int32Array.from([3,1,1,2])],e}(l.a),h=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},g=function(){function t(){this.CHECK_DIGIT_ENCODINGS=[24,20,18,17,12,6,3,10,9,5],this.decodeMiddleCounters=Int32Array.from([0,0,0,0]),this.decodeRowStringBuffer=""}return t.prototype.decodeRow=function(e,n,r){var i=this.decodeRowStringBuffer,s=this.decodeMiddle(n,r,i),l=i.toString(),c=t.parseExtensionString(l),f=[new u.a((r[0]+r[1])/2,e),new u.a(s,e)],p=new a.a(l,null,0,f,o.a.UPC_EAN_EXTENSION,(new Date).getTime());return null!=c&&p.putAllMetadata(c),p},t.prototype.decodeMiddle=function(e,n,r){var o,i,a=this.decodeMiddleCounters;a[0]=0,a[1]=0,a[2]=0,a[3]=0;for(var s=e.getSize(),u=n[1],l=0,f=0;f<5&&u<s;f++){var p=d.decodeDigit(e,a,u,d.L_AND_G_PATTERNS);r+=String.fromCharCode("0".charCodeAt(0)+p%10);try{for(var g=(o=void 0,h(a)),y=g.next();!y.done;y=g.next()){u+=y.value}}catch(t){o={error:t}}finally{try{y&&!y.done&&(i=g.return)&&i.call(g)}finally{if(o)throw o.error}}p>=10&&(l|=1<<4-f),4!==f&&(u=e.getNextSet(u),u=e.getNextUnset(u))}if(5!==r.length)throw new c.a;var v=this.determineCheckDigit(l);if(t.extensionChecksum(r.toString())!==v)throw new c.a;return u},t.extensionChecksum=function(t){for(var e=t.length,n=0,r=e-2;r>=0;r-=2)n+=t.charAt(r).charCodeAt(0)-"0".charCodeAt(0);n*=3;for(r=e-1;r>=0;r-=2)n+=t.charAt(r).charCodeAt(0)-"0".charCodeAt(0);return(n*=3)%10},t.prototype.determineCheckDigit=function(t){for(var e=0;e<10;e++)if(t===this.CHECK_DIGIT_ENCODINGS[e])return e;throw new c.a},t.parseExtensionString=function(e){if(5!==e.length)return null;var n=t.parseExtension5String(e);return null==n?null:new Map([[s.a.SUGGESTED_PRICE,n]])},t.parseExtension5String=function(t){var e;switch(t.charAt(0)){case"0":e="£";break;case"5":e="$";break;case"9":switch(t){case"90000":return null;case"99991":return"0.00";case"99990":return"Used"}e="";break;default:e=""}var n=parseInt(t.substring(1)),r=n%100;return e+(n/100).toString()+"."+(r<10?"0"+r:r.toString())},t}(),y=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},v=function(){function t(){this.decodeMiddleCounters=Int32Array.from([0,0,0,0]),this.decodeRowStringBuffer=""}return t.prototype.decodeRow=function(e,n,r){var i=this.decodeRowStringBuffer,s=this.decodeMiddle(n,r,i),l=i.toString(),c=t.parseExtensionString(l),f=[new u.a((r[0]+r[1])/2,e),new u.a(s,e)],p=new a.a(l,null,0,f,o.a.UPC_EAN_EXTENSION,(new Date).getTime());return null!=c&&p.putAllMetadata(c),p},t.prototype.decodeMiddle=function(t,e,n){var r,o,i=this.decodeMiddleCounters;i[0]=0,i[1]=0,i[2]=0,i[3]=0;for(var a=t.getSize(),s=e[1],u=0,l=0;l<2&&s<a;l++){var f=d.decodeDigit(t,i,s,d.L_AND_G_PATTERNS);n+=String.fromCharCode("0".charCodeAt(0)+f%10);try{for(var p=(r=void 0,y(i)),h=p.next();!h.done;h=p.next()){s+=h.value}}catch(t){r={error:t}}finally{try{h&&!h.done&&(o=p.return)&&o.call(p)}finally{if(r)throw r.error}}f>=10&&(u|=1<<1-l),1!==l&&(s=t.getNextSet(s),s=t.getNextUnset(s))}if(2!==n.length)throw new c.a;if(parseInt(n.toString())%4!==u)throw new c.a;return s},t.parseExtensionString=function(t){return 2!==t.length?null:new Map([[s.a.ISSUE_NUMBER,parseInt(t)]])},t}(),m=function(){function t(){}return t.decodeRow=function(t,e,n){var r=d.findGuardPattern(e,n,!1,this.EXTENSION_START_PATTERN,new Int32Array(this.EXTENSION_START_PATTERN.length).fill(0));try{return(new g).decodeRow(t,e,r)}catch(n){return(new v).decodeRow(t,e,r)}},t.EXTENSION_START_PATTERN=Int32Array.from([1,1,2]),t}(),w=n(18),E=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),b=function(t){function e(){var n=t.call(this)||this;n.decodeRowStringBuffer="",e.L_AND_G_PATTERNS=e.L_PATTERNS.map((function(t){return Int32Array.from(t)}));for(var r=10;r<20;r++){for(var o=e.L_PATTERNS[r-10],i=new Int32Array(o.length),a=0;a<o.length;a++)i[a]=o[o.length-a-1];e.L_AND_G_PATTERNS[r]=i}return n}return E(e,t),e.prototype.decodeRow=function(t,n,r){var l=e.findStartGuardPattern(n),p=null==r?null:r.get(i.a.NEED_RESULT_POINT_CALLBACK);if(null!=p){var d=new u.a((l[0]+l[1])/2,t);p.foundPossibleResultPoint(d)}var h=this.decodeMiddle(n,l,this.decodeRowStringBuffer),g=h.rowOffset,y=h.resultString;if(null!=p){var v=new u.a(g,t);p.foundPossibleResultPoint(v)}var E=e.decodeEnd(n,g);if(null!=p){var b=new u.a((E[0]+E[1])/2,t);p.foundPossibleResultPoint(b)}var _=E[1],C=_+(_-E[0]);if(C>=n.getSize()||!n.isRange(_,C,!1))throw new c.a;var S=y.toString();if(S.length<8)throw new f.a;if(!e.checkChecksum(S))throw new w.a;var A=(l[1]+l[0])/2,O=(E[1]+E[0])/2,I=this.getBarcodeFormat(),T=[new u.a(A,t),new u.a(O,t)],R=new a.a(S,null,0,T,I,(new Date).getTime()),N=0;try{var D=m.decodeRow(t,n,E[1]);R.putMetadata(s.a.UPC_EAN_EXTENSION,D.getText()),R.putAllMetadata(D.getResultMetadata()),R.addResultPoints(D.getResultPoints()),N=D.getText().length}catch(t){}var P=null==r?null:r.get(i.a.ALLOWED_EAN_EXTENSIONS);if(null!=P){var x=!1;for(var k in P)if(N.toString()===k){x=!0;break}if(!x)throw new c.a}return I===o.a.EAN_13||o.a.UPC_A,R},e.checkChecksum=function(t){return e.checkStandardUPCEANChecksum(t)},e.checkStandardUPCEANChecksum=function(t){var n=t.length;if(0===n)return!1;var r=parseInt(t.charAt(n-1),10);return e.getStandardUPCEANChecksum(t.substring(0,n-1))===r},e.getStandardUPCEANChecksum=function(t){for(var e=t.length,n=0,r=e-1;r>=0;r-=2){if((o=t.charAt(r).charCodeAt(0)-"0".charCodeAt(0))<0||o>9)throw new f.a;n+=o}n*=3;for(r=e-2;r>=0;r-=2){var o;if((o=t.charAt(r).charCodeAt(0)-"0".charCodeAt(0))<0||o>9)throw new f.a;n+=o}return(1e3-n)%10},e.decodeEnd=function(t,n){return e.findGuardPattern(t,n,!1,e.START_END_PATTERN,new Int32Array(e.START_END_PATTERN.length).fill(0))},e}(d);e.a=b},function(t,e,n){"use strict";var r,o=n(15),i=(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.kind="IllegalStateException",e}(o.a);e.a=a},function(t,e,n){"use strict";var r=n(48),o=n(20),i=function(){function t(){}return t.decode=function(t,e){var n=this.encodingName(e);return this.customDecoder?this.customDecoder(t,n):"undefined"==typeof TextDecoder||this.shouldDecodeOnFallback(n)?this.decodeFallback(t,n):new TextDecoder(n).decode(t)},t.shouldDecodeOnFallback=function(e){return!t.isBrowser()&&"ISO-8859-1"===e},t.encode=function(t,e){var n=this.encodingName(e);return this.customEncoder?this.customEncoder(t,n):"undefined"==typeof TextEncoder?this.encodeFallback(t):(new TextEncoder).encode(t)},t.isBrowser=function(){return"undefined"!=typeof window&&"[object Window]"==={}.toString.call(window)},t.encodingName=function(t){return"string"==typeof t?t:t.getName()},t.encodingCharacterSet=function(t){return t instanceof o.a?t:o.a.getCharacterSetECIByName(t)},t.decodeFallback=function(e,n){var i=this.encodingCharacterSet(n);if(t.isDecodeFallbackSupported(i)){for(var a="",s=0,u=e.length;s<u;s++){var l=e[s].toString(16);l.length<2&&(l="0"+l),a+="%"+l}return decodeURIComponent(a)}if(i.equals(o.a.UnicodeBigUnmarked))return String.fromCharCode.apply(null,new Uint16Array(e.buffer));throw new r.a("Encoding "+this.encodingName(n)+" not supported by fallback.")},t.isDecodeFallbackSupported=function(t){return t.equals(o.a.UTF8)||t.equals(o.a.ISO8859_1)||t.equals(o.a.ASCII)},t.encodeFallback=function(t){for(var e=btoa(unescape(encodeURIComponent(t))).split(""),n=[],r=0;r<e.length;r++)n.push(e[r].charCodeAt(0));return new Uint8Array(n)},t}();e.a=i},function(t,e,n){var r;r=function(t){return function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n={};return e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="/",e(e.s=166)}([function(t,e){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},function(t,e,n){"use strict";function r(t,e){return this._row=[],this.config=t||{},this.supplements=e,this}var o=n(3);r.prototype._nextUnset=function(t,e){var n;for(void 0===e&&(e=0),n=e;n<t.length;n++)if(!t[n])return n;return t.length},r.prototype._matchPattern=function(t,e,n){var r,o,i,a,s=0,u=0,l=0,c=0;for(n=n||this.SINGLE_CODE_ERROR||1,r=0;r<t.length;r++)l+=t[r],c+=e[r];if(l<c)return Number.MAX_VALUE;for(n*=o=l/c,r=0;r<t.length;r++){if(i=t[r],a=e[r]*o,(u=Math.abs(i-a)/a)>n)return Number.MAX_VALUE;s+=u}return s/c},r.prototype._nextSet=function(t,e){var n;for(n=e=e||0;n<t.length;n++)if(t[n])return n;return t.length},r.prototype._correctBars=function(t,e,n){for(var r=n.length,o=0;r--;)(o=t[n[r]]*(1-(1-e)/2))>1&&(t[n[r]]=o)},r.prototype._matchTrace=function(t,e){var n,r=[],o=this,i=o._nextSet(o._row),a=!o._row[i],s=0,u={error:Number.MAX_VALUE,code:-1,start:0};if(t){for(n=0;n<t.length;n++)r.push(0);for(n=i;n<o._row.length;n++)if(o._row[n]^a)r[s]++;else{if(s===r.length-1)return o._matchPattern(r,t)<e?(u.start=n-i,u.end=n,u.counter=r,u):null;r[++s]=1,a=!a}}else for(r.push(0),n=i;n<o._row.length;n++)o._row[n]^a?r[s]++:(s++,r.push(0),r[s]=1,a=!a);return u.start=i,u.end=o._row.length-1,u.counter=r,u},r.prototype.decodePattern=function(t){var e,n=this;return n._row=t,null===(e=n._decode())?(n._row.reverse(),(e=n._decode())&&(e.direction=r.DIRECTION.REVERSE,e.start=n._row.length-e.start,e.end=n._row.length-e.end)):e.direction=r.DIRECTION.FORWARD,e&&(e.format=n.FORMAT),e},r.prototype._matchRange=function(t,e,n){var r;for(r=t=t<0?0:t;r<e;r++)if(this._row[r]!==n)return!1;return!0},r.prototype._fillCounters=function(t,e,n){var r,o=this,i=0,a=[];for(n=void 0===n||n,t=void 0!==t?t:o._nextUnset(o._row),e=e||o._row.length,a[i]=0,r=t;r<e;r++)o._row[r]^n?a[i]++:(a[++i]=1,n=!n);return a},r.prototype._toCounters=function(t,e){var n,r=this,i=e.length,a=r._row.length,s=!r._row[t],u=0;for(o.a.init(e,0),n=t;n<a;n++)if(r._row[n]^s)e[u]++;else{if(++u===i)break;e[u]=1,s=!s}return e},Object.defineProperty(r.prototype,"FORMAT",{value:"unknown",writeable:!1}),r.DIRECTION={FORWARD:1,REVERSE:-1},r.Exception={StartNotFoundException:"Start-Info was not found!",CodeNotFoundException:"Code could not be found!",PatternNotFoundException:"Pattern could not be found!"},r.CONFIG_KEYS={},e.a=r},function(t,e){var n=Array.isArray;t.exports=n},function(t,e,n){"use strict";e.a={init:function(t,e){for(var n=t.length;n--;)t[n]=e},shuffle:function(t){for(var e,n,r=t.length-1;r>=0;r--)e=Math.floor(Math.random()*r),n=t[r],t[r]=t[e],t[e]=n;return t},toPointList:function(t){var e,n,r=[],o=[];for(e=0;e<t.length;e++){for(r=[],n=0;n<t[e].length;n++)r[n]=t[e][n];o[e]="["+r.join(",")+"]"}return"["+o.join(",\r\n")+"]"},threshold:function(t,e,n){var r,o=[];for(r=0;r<t.length;r++)n.apply(t,[t[r]])>=e&&o.push(t[r]);return o},maxIndex:function(t){var e,n=0;for(e=0;e<t.length;e++)t[e]>t[n]&&(n=e);return n},max:function(t){var e,n=0;for(e=0;e<t.length;e++)t[e]>n&&(n=t[e]);return n},sum:function(t){for(var e=t.length,n=0;e--;)n+=t[e];return n}}},function(t,e,n){"use strict";function r(t,e){t=i()(function(){var t={};return Object.keys(r.CONFIG_KEYS).forEach((function(e){t[e]=r.CONFIG_KEYS[e].default})),t}(),t),a.a.call(this,t,e)}var o=n(28),i=n.n(o),a=n(1),s=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t};r.prototype=Object.create(a.a.prototype,{CODE_L_START:{value:0},CODE_G_START:{value:10},START_PATTERN:{value:[1,1,1]},STOP_PATTERN:{value:[1,1,1]},MIDDLE_PATTERN:{value:[1,1,1,1,1]},EXTENSION_START_PATTERN:{value:[1,1,2]},CODE_PATTERN:{value:[[3,2,1,1],[2,2,2,1],[2,1,2,2],[1,4,1,1],[1,1,3,2],[1,2,3,1],[1,1,1,4],[1,3,1,2],[1,2,1,3],[3,1,1,2],[1,1,2,3],[1,2,2,2],[2,2,1,2],[1,1,4,1],[2,3,1,1],[1,3,2,1],[4,1,1,1],[2,1,3,1],[3,1,2,1],[2,1,1,3]]},CODE_FREQUENCY:{value:[0,11,13,14,19,25,28,21,22,26]},SINGLE_CODE_ERROR:{value:.7},AVG_CODE_ERROR:{value:.48},FORMAT:{value:"ean_13",writeable:!1}}),r.prototype.constructor=r,r.prototype._decodeCode=function(t,e){var n,r,o,i=[0,0,0,0],a=this,s=t,u=!a._row[s],l=0,c={error:Number.MAX_VALUE,code:-1,start:t,end:t};for(e||(e=a.CODE_PATTERN.length),n=s;n<a._row.length;n++)if(a._row[n]^u)i[l]++;else{if(l===i.length-1){for(r=0;r<e;r++)(o=a._matchPattern(i,a.CODE_PATTERN[r]))<c.error&&(c.code=r,c.error=o);return c.end=n,c.error>a.AVG_CODE_ERROR?null:c}i[++l]=1,u=!u}return null},r.prototype._findPattern=function(t,e,n,r,o){var i,a,s,u,l=[],c=this,f=0,p={error:Number.MAX_VALUE,code:-1,start:0,end:0};for(e||(e=c._nextSet(c._row)),void 0===n&&(n=!1),void 0===r&&(r=!0),void 0===o&&(o=c.AVG_CODE_ERROR),i=0;i<t.length;i++)l[i]=0;for(i=e;i<c._row.length;i++)if(c._row[i]^n)l[f]++;else{if(f===l.length-1){for(u=0,s=0;s<l.length;s++)u+=l[s];if((a=c._matchPattern(l,t))<o)return p.error=a,p.start=i-u,p.end=i,p;if(!r)return null;for(s=0;s<l.length-2;s++)l[s]=l[s+2];l[l.length-2]=0,l[l.length-1]=0,f--}else f++;l[f]=1,n=!n}return null},r.prototype._findStart=function(){for(var t,e,n=this,r=n._nextSet(n._row);!e;){if(!(e=n._findPattern(n.START_PATTERN,r)))return null;if((t=e.start-(e.end-e.start))>=0&&n._matchRange(t,e.start,0))return e;r=e.end,e=null}},r.prototype._verifyTrailingWhitespace=function(t){var e;return(e=t.end+(t.end-t.start))<this._row.length&&this._matchRange(t.end,e,0)?t:null},r.prototype._findEnd=function(t,e){var n=this,r=n._findPattern(n.STOP_PATTERN,t,e,!1);return null!==r?n._verifyTrailingWhitespace(r):null},r.prototype._calculateFirstDigit=function(t){var e;for(e=0;e<this.CODE_FREQUENCY.length;e++)if(t===this.CODE_FREQUENCY[e])return e;return null},r.prototype._decodePayload=function(t,e,n){var r,o,i=this,a=0;for(r=0;r<6;r++){if(!(t=i._decodeCode(t.end)))return null;t.code>=i.CODE_G_START?(t.code=t.code-i.CODE_G_START,a|=1<<5-r):a|=0<<5-r,e.push(t.code),n.push(t)}if(null===(o=i._calculateFirstDigit(a)))return null;if(e.unshift(o),null===(t=i._findPattern(i.MIDDLE_PATTERN,t.end,!0,!1)))return null;for(n.push(t),r=0;r<6;r++){if(!(t=i._decodeCode(t.end,i.CODE_G_START)))return null;n.push(t),e.push(t.code)}return t},r.prototype._decode=function(){var t,e,n=this,r=[],o=[],i={};if(!(t=n._findStart()))return null;if(e={code:t.code,start:t.start,end:t.end},o.push(e),!(e=n._decodePayload(e,r,o)))return null;if(!(e=n._findEnd(e.end,!1)))return null;if(o.push(e),!n._checksum(r))return null;if(this.supplements.length>0){var a=this._decodeExtensions(e.end);if(!a)return null;var u=a.decodedCodes[a.decodedCodes.length-1],l={start:u.start+((u.end-u.start)/2|0),end:u.end};if(!n._verifyTrailingWhitespace(l))return null;i={supplement:a,code:r.join("")+a.code}}return s({code:r.join(""),start:t.start,end:e.end,codeset:"",startInfo:t,decodedCodes:o},i)},r.prototype._decodeExtensions=function(t){var e,n,r=this._nextSet(this._row,t),o=this._findPattern(this.EXTENSION_START_PATTERN,r,!1,!1);if(null===o)return null;for(e=0;e<this.supplements.length;e++)if(null!==(n=this.supplements[e].decode(this._row,o.end)))return{code:n.code,start:r,startInfo:o,end:n.end,codeset:"",decodedCodes:n.decodedCodes};return null},r.prototype._checksum=function(t){var e,n=0;for(e=t.length-2;e>=0;e-=2)n+=t[e];for(n*=3,e=t.length-1;e>=0;e-=2)n+=t[e];return n%10==0},r.CONFIG_KEYS={supplements:{type:"arrayOf(string)",default:[],description:"Allowed extensions to be decoded (2 and/or 5)"}},e.a=r},function(t,e,n){var r=n(38),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();t.exports=i},function(t,e){t.exports=function(t){return null!=t&&"object"==typeof t}},function(t,e){t.exports=function(t){var e=new Float32Array(2);return e[0]=t[0],e[1]=t[1],e}},function(t,e,n){var r=n(11),o=n(119),i=n(146),a="[object Null]",s="[object Undefined]",u=r?r.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?s:a:u&&u in Object(t)?o(t):i(t)}},function(t,e,n){"use strict";e.a={drawRect:function(t,e,n,r){n.strokeStyle=r.color,n.fillStyle=r.color,n.lineWidth=1,n.beginPath(),n.strokeRect(t.x,t.y,e.x,e.y)},drawPath:function(t,e,n,r){n.strokeStyle=r.color,n.fillStyle=r.color,n.lineWidth=r.lineWidth,n.beginPath(),n.moveTo(t[0][e.x],t[0][e.y]);for(var o=1;o<t.length;o++)n.lineTo(t[o][e.x],t[o][e.y]);n.closePath(),n.stroke()},drawImage:function(t,e,n){var r,o=n.getImageData(0,0,e.x,e.y),i=o.data,a=t.length,s=i.length;if(s/a!=4)return!1;for(;a--;)r=t[a],i[--s]=255,i[--s]=r,i[--s]=r,i[--s]=r;return n.putImageData(o,0,0),!0}}},function(t,e,n){function r(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}var o=n(133),i=n(134),a=n(135),s=n(136),u=n(137);r.prototype.clear=o,r.prototype.delete=i,r.prototype.get=a,r.prototype.has=s,r.prototype.set=u,t.exports=r},function(t,e,n){var r=n(5).Symbol;t.exports=r},function(t,e,n){var r=n(17);t.exports=function(t,e){for(var n=t.length;n--;)if(r(t[n][0],e))return n;return-1}},function(t,e,n){var r=n(2),o=n(130),i=n(154),a=n(165);t.exports=function(t,e){return r(t)?t:o(t,e)?[t]:i(a(t))}},function(t,e,n){var r=n(131);t.exports=function(t,e){var n=t.__data__;return r(e)?n["string"==typeof e?"string":"hash"]:n.map}},function(t,e){var n=9007199254740991,r=/^(?:0|[1-9]\d*)$/;t.exports=function(t,e){return!!(e=null==e?n:e)&&("number"==typeof t||r.test(t))&&t>-1&&t%1==0&&t<e}},function(t,e,n){var r=n(22)(Object,"create");t.exports=r},function(t,e){t.exports=function(t,e){return t===e||t!=t&&e!=e}},function(t,e,n){var r=n(96),o=n(6),i=Object.prototype,a=i.hasOwnProperty,s=i.propertyIsEnumerable,u=r(function(){return arguments}())?r:function(t){return o(t)&&a.call(t,"callee")&&!s.call(t,"callee")};t.exports=u},function(t,e,n){"use strict";function r(t,e){function n(t,e){var n,r=0;for(n=t;n<=e;n++)r+=o[n];return r}function r(t,e){var n,r=0;for(n=t;n<=e;n++)r+=n*o[n];return r}e||(e=8);var o,i=8-e;return function(){var i,s,u,l,c,f=[0],p=(1<<e)-1;for(o=function(t,e){e||(e=8);for(var n=t.data,r=n.length,o=8-e,i=new Int32Array(1<<e);r--;)i[n[r]>>o]++;return i}(t,e),l=1;l<p;l++)0==(u=(i=n(0,l))*(s=n(l+1,p)))&&(u=1),c=r(0,l)*s-r(l+1,p)*i,f[l]=c*c/u;return a.a.maxIndex(f)}()<<i}function o(t){var e,n=[],r=[];for(e=1;e<Math.sqrt(t)+1;e++)t%e==0&&(r.push(e),e!==t/e&&n.unshift(Math.floor(t/e)));return r.concat(n)}var i=n(50),a=n(3);e.b=function(t,e){return{x:t,y:e,toVec2:function(){return s.clone([this.x,this.y])},toVec3:function(){return u.clone([this.x,this.y,1])},round:function(){return this.x=this.x>0?Math.floor(this.x+.5):Math.floor(this.x-.5),this.y=this.y>0?Math.floor(this.y+.5):Math.floor(this.y-.5),this}}},e.f=function(t,e){var n=r(t);return function(t,e,n){n||(n=t);for(var r=t.data,o=r.length,i=n.data;o--;)i[o]=r[o]<e?1:0}(t,n,e),n},e.g=function(t,e,n){function r(t){var e=!1;for(a=0;a<l.length;a++)(s=l[a]).fits(t)&&(s.add(t),e=!0);return e}var o,a,s,u,l=[];for(n||(n="rad"),o=0;o<t.length;o++)r(u=i.a.createPoint(t[o],o,n))||l.push(i.a.create(u,e));return l},e.h=function(t,e,n){var r,o,i,a,s=0,u=0,l=[];for(r=0;r<e;r++)l[r]={score:0,item:null};for(r=0;r<t.length;r++)if((o=n.apply(this,[t[r]]))>u)for((i=l[s]).score=o,i.item=t[r],u=Number.MAX_VALUE,a=0;a<e;a++)l[a].score<u&&(u=l[a].score,s=a);return l},e.c=function(t,e,n){for(var r,o=0,i=e.x,a=Math.floor(t.length/4),s=e.x/2,u=0,l=e.x;i<a;){for(r=0;r<s;r++)n[u]=(.299*t[4*o+0]+.587*t[4*o+1]+.114*t[4*o+2]+(.299*t[4*(o+1)+0]+.587*t[4*(o+1)+1]+.114*t[4*(o+1)+2])+(.299*t[4*i+0]+.587*t[4*i+1]+.114*t[4*i+2])+(.299*t[4*(i+1)+0]+.587*t[4*(i+1)+1]+.114*t[4*(i+1)+2]))/4,u++,o+=2,i+=2;o+=l,i+=l}},e.d=function(t,e,n){var r,o=t.length/4|0;if(n&&!0===n.singleChannel)for(r=0;r<o;r++)e[r]=t[4*r+0];else for(r=0;r<o;r++)e[r]=.299*t[4*r+0]+.587*t[4*r+1]+.114*t[4*r+2]},e.i=function(t,e){for(var n=t.data,r=t.size.x,o=e.data,i=0,a=r,s=n.length,u=r/2,l=0;a<s;){for(var c=0;c<u;c++)o[l]=Math.floor((n[i]+n[i+1]+n[a]+n[a+1])/4),l++,i+=2,a+=2;i+=r,a+=r}},e.a=function(t,e){var n=t[0],r=t[1],o=t[2],i=o*r,a=i*(1-Math.abs(n/60%2-1)),s=o-i,u=0,l=0,c=0;return n<60?(u=i,l=a):n<120?(u=a,l=i):n<180?(l=i,c=a):n<240?(l=a,c=i):n<300?(u=a,c=i):n<360&&(u=i,c=a),(e=e||[0,0,0])[0]=255*(u+s)|0,e[1]=255*(l+s)|0,e[2]=255*(c+s)|0,e},e.e=function(t,e){function n(t){for(var e=0,n=t[Math.floor(t.length/2)];e<t.length-1&&t[e]<d;)e++;return e>0&&(n=Math.abs(t[e]-d)>Math.abs(t[e-1]-d)?t[e-1]:t[e]),d/n<l[f+1]/l[f]&&d/n>l[f-1]/l[f]?{x:n,y:n}:null}var r,i=o(e.x),a=o(e.y),s=Math.max(e.x,e.y),u=function(t,e){for(var n=0,r=0,o=[];n<t.length&&r<e.length;)t[n]===e[r]?(o.push(t[n]),n++,r++):t[n]>e[r]?r++:n++;return o}(i,a),l=[8,10,15,20,32,60,80],c={"x-small":5,small:4,medium:3,large:2,"x-large":1},f=c[t]||c.medium,p=l[f],d=Math.floor(s/p);return(r=n(u))||(r=n(o(s)))||(r=n(o(d*p))),r},e.j=function(t,e,n){var r={width:t,height:e},o=Object.keys(n).reduce((function(t,e){var o=function(t){return{value:parseFloat(t),unit:(t.indexOf("%"),t.length,"%")}}(n[e]),i=l[e](o,r);return t[e]=i,t}),{});return{sx:o.left,sy:o.top,sw:o.right-o.left,sh:o.bottom-o.top}};var s={clone:n(7)},u={clone:n(83)},l={top:function(t,e){if("%"===t.unit)return Math.floor(e.height*(t.value/100))},right:function(t,e){if("%"===t.unit)return Math.floor(e.width-e.width*(t.value/100))},bottom:function(t,e){if("%"===t.unit)return Math.floor(e.height-e.height*(t.value/100))},left:function(t,e){if("%"===t.unit)return Math.floor(e.width*(t.value/100))}}},function(t,e,n){"use strict";function r(t,e,n,r){e?this.data=e:n?(this.data=new n(t.x*t.y),n===Array&&r&&a.a.init(this.data,0)):(this.data=new Uint8Array(t.x*t.y),Uint8Array===Array&&r&&a.a.init(this.data,0)),this.size=t}var o=n(53),i=n(19),a=n(3),s={clone:n(7)};r.prototype.inImageWithBorder=function(t,e){return t.x>=e&&t.y>=e&&t.x<this.size.x-e&&t.y<this.size.y-e},r.sample=function(t,e,n){var r=Math.floor(e),o=Math.floor(n),i=t.size.x,a=o*t.size.x+r,s=t.data[a+0],u=t.data[a+1],l=t.data[a+i],c=t.data[a+i+1],f=s-u;return e-=r,n-=o,Math.floor(e*(n*(f-l+c)-f)+n*(l-s)+s)},r.clearArray=function(t){for(var e=t.length;e--;)t[e]=0},r.prototype.subImage=function(t,e){return new o.a(t,e,this)},r.prototype.subImageAsCopy=function(t,e){var n,r,o=t.size.y,i=t.size.x;for(n=0;n<i;n++)for(r=0;r<o;r++)t.data[r*i+n]=this.data[(e.y+r)*this.size.x+e.x+n]},r.prototype.copyTo=function(t){for(var e=this.data.length,n=this.data,r=t.data;e--;)r[e]=n[e]},r.prototype.get=function(t,e){return this.data[e*this.size.x+t]},r.prototype.getSafe=function(t,e){var n;if(!this.indexMapping){for(this.indexMapping={x:[],y:[]},n=0;n<this.size.x;n++)this.indexMapping.x[n]=n,this.indexMapping.x[n+this.size.x]=n;for(n=0;n<this.size.y;n++)this.indexMapping.y[n]=n,this.indexMapping.y[n+this.size.y]=n}return this.data[this.indexMapping.y[e+this.size.y]*this.size.x+this.indexMapping.x[t+this.size.x]]},r.prototype.set=function(t,e,n){return this.data[e*this.size.x+t]=n,this},r.prototype.zeroBorder=function(){var t,e=this.size.x,n=this.size.y,r=this.data;for(t=0;t<e;t++)r[t]=r[(n-1)*e+t]=0;for(t=1;t<n-1;t++)r[t*e]=r[t*e+(e-1)]=0},r.prototype.invert=function(){for(var t=this.data,e=t.length;e--;)t[e]=t[e]?0:1},r.prototype.convolve=function(t){var e,n,r,o,i=t.length/2|0,a=0;for(n=0;n<this.size.y;n++)for(e=0;e<this.size.x;e++){for(a=0,o=-i;o<=i;o++)for(r=-i;r<=i;r++)a+=t[o+i][r+i]*this.getSafe(e+r,n+o);this.data[n*this.size.x+e]=a}},r.prototype.moments=function(t){var e,n,r,o,i,a,u,l,c,f,p=this.data,d=this.size.y,h=this.size.x,g=[],y=[],v=Math.PI,m=v/4;if(t<=0)return y;for(i=0;i<t;i++)g[i]={m00:0,m01:0,m10:0,m11:0,m02:0,m20:0,theta:0,rad:0};for(n=0;n<d;n++)for(o=n*n,e=0;e<h;e++)(r=p[n*h+e])>0&&((a=g[r-1]).m00+=1,a.m01+=n,a.m10+=e,a.m11+=e*n,a.m02+=o,a.m20+=e*e);for(i=0;i<t;i++)a=g[i],isNaN(a.m00)||0===a.m00||(l=a.m10/a.m00,c=a.m01/a.m00,u=a.m11/a.m00-l*c,f=(a.m02/a.m00-c*c-(a.m20/a.m00-l*l))/(2*u),f=.5*Math.atan(f)+(u>=0?m:-m)+v,a.theta=(180*f/v+90)%180-90,a.theta<0&&(a.theta+=180),a.rad=f>v?f-v:f,a.vec=s.clone([Math.cos(f),Math.sin(f)]),y.push(a));return y},r.prototype.show=function(t,e){var n,r,o,i,a,s,u;for(e||(e=1),n=t.getContext("2d"),t.width=this.size.x,t.height=this.size.y,o=(r=n.getImageData(0,0,t.width,t.height)).data,i=0,u=0;u<this.size.y;u++)for(s=0;s<this.size.x;s++)a=u*this.size.x+s,i=this.get(s,u)*e,o[4*a+0]=i,o[4*a+1]=i,o[4*a+2]=i,o[4*a+3]=255;n.putImageData(r,0,0)},r.prototype.overlay=function(t,e,r){(!e||e<0||e>360)&&(e=360);for(var o=[0,1,1],a=[0,0,0],s=[255,255,255],u=[0,0,0],l=[],c=t.getContext("2d"),f=c.getImageData(r.x,r.y,this.size.x,this.size.y),p=f.data,d=this.data.length;d--;)o[0]=this.data[d]*e,l=o[0]<=0?s:o[0]>=360?u:n.i(i.a)(o,a),p[4*d+0]=l[0],p[4*d+1]=l[1],p[4*d+2]=l[2],p[4*d+3]=255;c.putImageData(f,r.x,r.y)},e.a=r},function(t,e,n){var r=n(37);t.exports=function(t,e,n){"__proto__"==e&&r?r(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}},function(t,e,n){var r=n(97),o=n(120);t.exports=function(t,e){var n=o(t,e);return r(n)?n:void 0}},function(t,e,n){var r=n(27),o=1/0;t.exports=function(t){if("string"==typeof t||r(t))return t;var e=t+"";return"0"==e&&1/t==-o?"-0":e}},function(t,e,n){var r=n(25),o=n(26);t.exports=function(t){return null!=t&&o(t.length)&&!r(t)}},function(t,e,n){var r=n(8),o=n(0),i="[object AsyncFunction]",a="[object Function]",s="[object GeneratorFunction]",u="[object Proxy]";t.exports=function(t){if(!o(t))return!1;var e=r(t);return e==a||e==s||e==i||e==u}},function(t,e){var n=9007199254740991;t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=n}},function(t,e,n){var r=n(8),o=n(6),i="[object Symbol]";t.exports=function(t){return"symbol"==typeof t||o(t)&&r(t)==i}},function(t,e,n){var r=n(100),o=n(116)((function(t,e,n){r(t,e,n)}));t.exports=o},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,e,n){"use strict";e.a={searchDirections:[[0,1],[1,1],[1,0],[1,-1],[0,-1],[-1,-1],[-1,0],[-1,1]],create:function(t,e){function n(t,e,n,r){var o,c,f;for(o=0;o<7;o++){if(c=t.cy+u[t.dir][0],f=t.cx+u[t.dir][1],a[i=c*l+f]===e&&(0===s[i]||s[i]===n))return s[i]=n,t.cy=c,t.cx=f,!0;0===s[i]&&(s[i]=r),t.dir=(t.dir+1)%8}return!1}function r(t,e,n){return{dir:n,x:t,y:e,next:null,prev:null}}function o(t,e,o,i,a){var s,u,l,c=null,f={cx:e,cy:t,dir:0};if(n(f,i,o,a)){s=c=r(e,t,f.dir),l=f.dir,(u=r(f.cx,f.cy,0)).prev=s,s.next=u,u.next=null,s=u;do{f.dir=(f.dir+6)%8,n(f,i,o,a),l!==f.dir?(s.dir=f.dir,(u=r(f.cx,f.cy,0)).prev=s,s.next=u,u.next=null,s=u):(s.dir=l,s.x=f.cx,s.y=f.cy),l=f.dir}while(f.cx!==e||f.cy!==t);c.prev=s.prev,s.prev.next=c}return c}var i,a=t.data,s=e.data,u=this.searchDirections,l=t.size.x;return{trace:function(t,e,r,o){return n(t,e,r,o)},contourTracing:function(t,e,n,r,i){return o(t,e,n,r,i)}}}}},function(t,e,n){"use strict";function r(){o.a.call(this)}var o=n(1),i=n(3);r.prototype=Object.create(o.a.prototype,{ALPHABETH_STRING:{value:"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-. *$/+%"},ALPHABET:{value:[48,49,50,51,52,53,54,55,56,57,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,45,46,32,42,36,47,43,37]},CHARACTER_ENCODINGS:{value:[52,289,97,352,49,304,112,37,292,100,265,73,328,25,280,88,13,268,76,28,259,67,322,19,274,82,7,262,70,22,385,193,448,145,400,208,133,388,196,148,168,162,138,42]},ASTERISK:{value:148},FORMAT:{value:"code_39",writeable:!1}}),r.prototype.constructor=r,r.prototype._decode=function(){var t,e,n,r,o=this,a=[0,0,0,0,0,0,0,0,0],s=[],u=o._findStart();if(!u)return null;r=o._nextSet(o._row,u.end);do{if(a=o._toCounters(r,a),(n=o._toPattern(a))<0)return null;if((t=o._patternToChar(n))<0)return null;s.push(t),e=r,r+=i.a.sum(a),r=o._nextSet(o._row,r)}while("*"!==t);return s.pop(),s.length&&o._verifyTrailingWhitespace(e,r,a)?{code:s.join(""),start:u.start,end:r,startInfo:u,decodedCodes:s}:null},r.prototype._verifyTrailingWhitespace=function(t,e,n){var r=i.a.sum(n);return 3*(e-t-r)>=r},r.prototype._patternToChar=function(t){var e,n=this;for(e=0;e<n.CHARACTER_ENCODINGS.length;e++)if(n.CHARACTER_ENCODINGS[e]===t)return String.fromCharCode(n.ALPHABET[e]);return-1},r.prototype._findNextWidth=function(t,e){var n,r=Number.MAX_VALUE;for(n=0;n<t.length;n++)t[n]<r&&t[n]>e&&(r=t[n]);return r},r.prototype._toPattern=function(t){for(var e,n,r=t.length,o=0,i=r,a=0;i>3;){for(o=this._findNextWidth(t,o),i=0,e=0,n=0;n<r;n++)t[n]>o&&(e|=1<<r-1-n,i++,a+=t[n]);if(3===i){for(n=0;n<r&&i>0;n++)if(t[n]>o&&(i--,2*t[n]>=a))return-1;return e}}return-1},r.prototype._findStart=function(){var t,e,n,r=this,o=r._nextSet(r._row),i=o,a=[0,0,0,0,0,0,0,0,0],s=0,u=!1;for(t=o;t<r._row.length;t++)if(r._row[t]^u)a[s]++;else{if(s===a.length-1){if(r._toPattern(a)===r.ASTERISK&&(n=Math.floor(Math.max(0,i-(t-i)/4)),r._matchRange(n,i,0)))return{start:i,end:t};for(i+=a[0]+a[1],e=0;e<7;e++)a[e]=a[e+2];a[7]=0,a[8]=0,s--}else s++;a[s]=1,u=!u}return null},e.a=r},function(t,e){t.exports=function(t,e){return t[0]*e[0]+t[1]*e[1]}},function(t,e,n){var r=n(22)(n(5),"Map");t.exports=r},function(t,e,n){function r(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}var o=n(138),i=n(139),a=n(140),s=n(141),u=n(142);r.prototype.clear=o,r.prototype.delete=i,r.prototype.get=a,r.prototype.has=s,r.prototype.set=u,t.exports=r},function(t,e,n){var r=n(21),o=n(17);t.exports=function(t,e,n){(void 0===n||o(t[e],n))&&(void 0!==n||e in t)||r(t,e,n)}},function(t,e,n){var r=n(21),o=n(17),i=Object.prototype.hasOwnProperty;t.exports=function(t,e,n){var a=t[e];i.call(t,e)&&o(a,n)&&(void 0!==n||e in t)||r(t,e,n)}},function(t,e,n){var r=n(22),o=function(){try{var t=r(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=o},function(t,e,n){(function(e){var n="object"==typeof e&&e&&e.Object===Object&&e;t.exports=n}).call(e,n(47))},function(t,e,n){var r=n(147)(Object.getPrototypeOf,Object);t.exports=r},function(t,e){var n=Object.prototype;t.exports=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||n)}},function(t,e,n){var r=n(87),o=Math.max;t.exports=function(t,e,n){return e=o(void 0===e?t.length-1:e,0),function(){for(var i=arguments,a=-1,s=o(i.length-e,0),u=Array(s);++a<s;)u[a]=i[e+a];a=-1;for(var l=Array(e+1);++a<e;)l[a]=i[a];return l[e]=n(u),r(t,this,l)}}},function(t,e,n){var r=n(106),o=n(148)(r);t.exports=o},function(t,e){t.exports=function(t){return t}},function(t,e,n){(function(t){var r=n(5),o=n(163),i="object"==typeof e&&e&&!e.nodeType&&e,a=i&&"object"==typeof t&&t&&!t.nodeType&&t,s=a&&a.exports===i?r.Buffer:void 0,u=(s?s.isBuffer:void 0)||o;t.exports=u}).call(e,n(29)(t))},function(t,e,n){var r=n(98),o=n(109),i=n(145),a=i&&i.isTypedArray,s=a?o(a):r;t.exports=s},function(t,e,n){var r=n(88),o=n(99),i=n(24);t.exports=function(t){return i(t)?r(t,!0):o(t)}},function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(e,n,r){"use strict";function o(t){(function(t){E=t||new I.a({x:v.getWidth(),y:v.getHeight()}),b=[F.clone([0,0]),F.clone([0,E.size.y]),F.clone([E.size.x,E.size.y]),F.clone([E.size.x,0])],T.a.init(E,j.locator)})(t),_=R.a.create(j.decoder,E)}function i(t){var e;if("VideoStream"===j.inputStream.type)e=document.createElement("video"),v=M.a.createVideoStream(e);else if("ImageStream"===j.inputStream.type)v=M.a.createImageStream();else if("LiveStream"===j.inputStream.type){var n=a();n&&((e=n.querySelector("video"))||(e=document.createElement("video"),n.appendChild(e))),v=M.a.createLiveStream(e),D.a.request(e,j.inputStream.constraints).then((function(){v.trigger("canrecord")})).catch((function(e){return t(e)}))}v.setAttribute("preload","auto"),v.setInputStream(j.inputStream),v.addEventListener("canrecord",s.bind(void 0,t))}function a(){var t=j.inputStream.target;if(t&&t.nodeName&&1===t.nodeType)return t;var e="string"==typeof t?t:"#interactive.viewport";return document.querySelector(e)}function s(t){T.a.checkImageConstraints(v,j.locator),function(){if("undefined"!=typeof document){var t=a();if(U.dom.image=document.querySelector("canvas.imgBuffer"),U.dom.image||(U.dom.image=document.createElement("canvas"),U.dom.image.className="imgBuffer",t&&"ImageStream"===j.inputStream.type&&t.appendChild(U.dom.image)),U.ctx.image=U.dom.image.getContext("2d"),U.dom.image.width=v.getCanvasSize().x,U.dom.image.height=v.getCanvasSize().y,U.dom.overlay=document.querySelector("canvas.drawingBuffer"),!U.dom.overlay){U.dom.overlay=document.createElement("canvas"),U.dom.overlay.className="drawingBuffer",t&&t.appendChild(U.dom.overlay);var e=document.createElement("br");e.setAttribute("clear","all"),t&&t.appendChild(e)}U.ctx.overlay=U.dom.overlay.getContext("2d"),U.dom.overlay.width=v.getCanvasSize().x,U.dom.overlay.height=v.getCanvasSize().y}}(),m=L.a.create(v,U.dom.image),y(j.numOfWorkers,(function(){0===j.numOfWorkers&&o(),function(t){v.play(),t()}(t)}))}function u(t,e){var n=t;t&&V&&(function t(e){function n(t){for(var e=t.length;e--;)t[e][0]+=i,t[e][1]+=a}var r,o=v.getTopRight(),i=o.x,a=o.y;if(0!==i||0!==a){if(e.barcodes)for(r=0;r<e.barcodes.length;r++)t(e.barcodes[r]);if(e.line&&2===e.line.length&&function(t){t[0].x+=i,t[0].y+=a,t[1].x+=i,t[1].y+=a}(e.line),e.box&&n(e.box),e.boxes&&e.boxes.length>0)for(r=0;r<e.boxes.length;r++)n(e.boxes[r])}}(t),function t(e,n){n&&C&&(e.barcodes?e.barcodes.filter((function(t){return t.codeResult})).forEach((function(e){return t(e,n)})):e.codeResult&&C.addResult(n,v.getCanvasSize(),e.codeResult))}(t,e),n=t.barcodes||t),N.a.publish("processed",n),function(t){return t&&(t.barcodes?t.barcodes.some((function(t){return t.codeResult})):t.codeResult)}(t)&&N.a.publish("detected",n)}function l(){var t,e;(e=j.locate?T.a.locate():[[F.clone(b[0]),F.clone(b[1]),F.clone(b[2]),F.clone(b[3])]])?((t=(t=_.decodeFromBoundingBoxes(e))||{}).boxes=e,u(t,E.data)):u()}function c(){var t;if(V){if(z.length>0){if(!(t=z.filter((function(t){return!t.busy}))[0]))return;m.attachData(t.imageData)}else m.attachData(E.data);m.grab()&&(t?(t.busy=!0,t.worker.postMessage({cmd:"process",imageData:t.imageData},[t.imageData.buffer])):l())}else l()}function f(){V&&"LiveStream"===j.inputStream.type?function(){var t=null,e=1e3/(j.frequency||60);w=!1,function n(r){t=t||r,w||(r>=t&&(t+=e,c()),window.requestAnimFrame(n))}(performance.now())}():c()}function p(t){var e,n={worker:void 0,imageData:new Uint8Array(v.getWidth()*v.getHeight()),busy:!0};e=g(),n.worker=new Worker(e),n.worker.onmessage=function(r){if("initialized"===r.data.event)return URL.revokeObjectURL(e),n.busy=!1,n.imageData=new Uint8Array(r.data.imageData),t(n);"processed"===r.data.event?(n.imageData=new Uint8Array(r.data.imageData),n.busy=!1,u(r.data.result,n.imageData)):r.data.event},n.worker.postMessage({cmd:"init",size:{x:v.getWidth(),y:v.getHeight()},imageData:n.imageData,config:d(j)},[n.imageData.buffer])}function d(t){return B({},t,{inputStream:B({},t.inputStream,{target:null})})}function h(t){function e(t){self.postMessage({event:"processed",imageData:o.data,result:t},[o.data.buffer])}function n(){self.postMessage({event:"initialized",imageData:o.data},[o.data.buffer])}if(t){var r=t().default;if(!r)return void self.postMessage({event:"error",message:"Quagga could not be created"})}var o;self.onmessage=function(t){if("init"===t.data.cmd){var i=t.data.config;i.numOfWorkers=0,o=new r.ImageWrapper({x:t.data.size.x,y:t.data.size.y},new Uint8Array(t.data.imageData)),r.init(i,n,o),r.onProcessed(e)}else"process"===t.data.cmd?(o.data=new Uint8Array(t.data.imageData),r.start()):"setReaders"===t.data.cmd&&r.setReaders(t.data.readers)}}function g(){var e,n;return void 0!==t&&(n=t),e=new Blob(["("+h.toString()+")("+n+");"],{type:"text/javascript"}),window.URL.createObjectURL(e)}function y(t,e){var n=t-z.length;if(0===n)return e&&e();if(n<0)return z.slice(n).forEach((function(t){t.worker.terminate()})),z=z.slice(0,n),e&&e();for(var r=function(n){z.push(n),z.length>=t&&e&&e()},o=0;o<n;o++)p(r)}Object.defineProperty(n,"__esModule",{value:!0});var v,m,w,E,b,_,C,S=r(28),A=r.n(S),O=r(54),I=(r.n(O),r(20)),T=r(64),R=r(57),N=r(51),D=r(59),P=r(9),x=r(49),k=r(55),M=r(63),L=r(61),B=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},F={clone:r(7)},U={ctx:{image:null,overlay:null},dom:{image:null,overlay:null}},z=[],V=!0,j={};n.default={init:function(t,e,n){if(j=A()({},k.a,t),n)return V=!1,o(n),e();i(e)},start:function(){f()},stop:function(){w=!0,y(0),"LiveStream"===j.inputStream.type&&(D.a.release(),v.clearEventHandlers())},pause:function(){w=!0},onDetected:function(t){N.a.subscribe("detected",t)},offDetected:function(t){N.a.unsubscribe("detected",t)},onProcessed:function(t){N.a.subscribe("processed",t)},offProcessed:function(t){N.a.unsubscribe("processed",t)},setReaders:function(t){!function(t){_?_.setReaders(t):V&&z.length>0&&z.forEach((function(e){e.worker.postMessage({cmd:"setReaders",readers:t})}))}(t)},registerResultCollector:function(t){t&&"function"==typeof t.addResult&&(C=t)},canvas:U,decodeSingle:function(t,e){var n=this;t=A()({inputStream:{type:"ImageStream",sequence:!1,size:800,src:t.src},numOfWorkers:1,locator:{halfSample:!1}},t),this.init(t,(function(){N.a.once("processed",(function(t){n.stop(),e.call(null,t)}),!0),f()}))},ImageWrapper:I.a,ImageDebug:P.a,ResultCollector:x.a,CameraAccess:D.a}},function(t,e,n){"use strict";var r=n(9);e.a={create:function(t){function e(e){return a&&e&&!function(t,e){return!!e&&e.some((function(e){return Object.keys(e).every((function(n){return e[n]===t[n]}))}))}(e,t.blacklist)&&function(t,e){return"function"!=typeof e||e(t)}(e,t.filter)}var n=document.createElement("canvas"),o=n.getContext("2d"),i=[],a=t.capacity||20,s=!0===t.capture;return{addResult:function(t,u,l){var c={};e(l)&&(a--,c.codeResult=l,s&&(n.width=u.x,n.height=u.y,r.a.drawImage(t,u,o),c.frame=n.toDataURL()),i.push(c))},getResults:function(){return i}}}}},function(t,e,n){"use strict";var r={clone:n(7),dot:n(32)};e.a={create:function(t,e){function n(t){s[t.id]=t,i.push(t)}function o(){var t,e=0;for(t=0;t<i.length;t++)e+=i[t].rad;a.rad=e/i.length,a.vec=r.clone([Math.cos(a.rad),Math.sin(a.rad)])}var i=[],a={rad:0,vec:r.clone([0,0])},s={};return n(t),o(),{add:function(t){s[t.id]||(n(t),o())},fits:function(t){return Math.abs(r.dot(t.point.vec,a.vec))>e},getPoints:function(){return i},getCenter:function(){return a}}},createPoint:function(t,e,n){return{rad:t[n],point:t,id:e}}}},function(t,e,n){"use strict";e.a=function(){function t(t){return o[t]||(o[t]={subscribers:[]}),o[t]}function e(){o={}}function n(t,e){t.async?setTimeout((function(){t.callback(e)}),4):t.callback(e)}function r(e,n,r){var o;if("function"==typeof n)o={callback:n,async:r};else if(!(o=n).callback)throw"Callback was not specified on options";t(e).subscribers.push(o)}var o={};return{subscribe:function(t,e,n){return r(t,e,n)},publish:function(e,r){var o=t(e),i=o.subscribers;i.filter((function(t){return!!t.once})).forEach((function(t){n(t,r)})),o.subscribers=i.filter((function(t){return!t.once})),o.subscribers.forEach((function(t){n(t,r)}))},once:function(t,e,n){r(t,{callback:e,async:n,once:!0})},unsubscribe:function(n,r){var o;n?(o=t(n)).subscribers=o&&r?o.subscribers.filter((function(t){return t.callback!==r})):[]:e()}}}()},function(t,e,n){"use strict";e.b=function(){return navigator.mediaDevices&&"function"==typeof navigator.mediaDevices.enumerateDevices?navigator.mediaDevices.enumerateDevices():Promise.reject(new Error("enumerateDevices is not defined"))},e.a=function(t){return navigator.mediaDevices&&"function"==typeof navigator.mediaDevices.getUserMedia?navigator.mediaDevices.getUserMedia(t):Promise.reject(new Error("getUserMedia is not defined"))}},function(t,e,n){"use strict";function r(t,e,n){n||(n={data:null,size:e}),this.data=n.data,this.originalSize=n.size,this.I=n,this.from=t,this.size=e}r.prototype.show=function(t,e){var n,r,o,i,a,s,u;for(e||(e=1),n=t.getContext("2d"),t.width=this.size.x,t.height=this.size.y,o=(r=n.getImageData(0,0,t.width,t.height)).data,i=0,a=0;a<this.size.y;a++)for(s=0;s<this.size.x;s++)u=a*this.size.x+s,i=this.get(s,a)*e,o[4*u+0]=i,o[4*u+1]=i,o[4*u+2]=i,o[4*u+3]=255;r.data=o,n.putImageData(r,0,0)},r.prototype.get=function(t,e){return this.data[(this.from.y+e)*this.originalSize.x+this.from.x+t]},r.prototype.updateData=function(t){this.originalSize=t.size,this.data=t.data},r.prototype.updateFrom=function(t){return this.from=t,this},e.a=r},function(t,e){"undefined"!=typeof window&&(window.requestAnimFrame=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(t){window.setTimeout(t,1e3/60)}),Math.imul=Math.imul||function(t,e){var n=65535&t,r=65535&e;return n*r+((t>>>16&65535)*r+n*(e>>>16&65535)<<16>>>0)|0},"function"!=typeof Object.assign&&(Object.assign=function(t){"use strict";if(null===t)throw new TypeError("Cannot convert undefined or null to object");for(var e=Object(t),n=1;n<arguments.length;n++){var r=arguments[n];if(null!==r)for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e})},function(t,e,n){"use strict";var r;r=n(56),e.a=r},function(t,e){t.exports={inputStream:{name:"Live",type:"LiveStream",constraints:{width:640,height:480,facingMode:"environment"},area:{top:"0%",right:"0%",left:"0%",bottom:"0%"},singleChannel:!1},locate:!0,numOfWorkers:4,decoder:{readers:["code_128_reader"]},locator:{halfSample:!0,patchSize:"medium"}}},function(t,e,n){"use strict";var r=n(58),o=(n(9),n(69)),i=n(4),a=n(31),s=n(70),u=n(68),l=n(77),c=n(74),f=n(72),p=n(73),d=n(76),h=n(75),g=n(67),y=n(71),v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},m={code_128_reader:o.a,ean_reader:i.a,ean_5_reader:p.a,ean_2_reader:f.a,ean_8_reader:c.a,code_39_reader:a.a,code_39_vin_reader:s.a,codabar_reader:u.a,upc_reader:l.a,upc_e_reader:d.a,i2of5_reader:h.a,"2of5_reader":g.a,code_93_reader:y.a};e.a={create:function(t,e){function n(){t.readers.forEach((function(t){var e,n={},r=[];"object"===(void 0===t?"undefined":v(t))?(e=t.format,n=t.config):"string"==typeof t&&(e=t),n.supplements&&(r=n.supplements.map((function(t){return new m[t]}))),u.push(new m[e](n,r))}))}function o(t,n,r){function o(e){var r=e*Math.sin(n),o=e*Math.cos(n);t[0].y-=r,t[0].x-=o,t[1].y+=r,t[1].x+=o}for(o(r);r>1&&(!e.inImageWithBorder(t[0],0)||!e.inImageWithBorder(t[1],0));)o(-(r-=Math.ceil(r/2)));return t}function i(t){var n,o=null,i=r.a.getBarcodeLine(e,t[0],t[1]);for(r.a.toBinaryLine(i),n=0;n<u.length&&null===o;n++)o=u[n].decodePattern(i.line);return null===o?null:{codeResult:o,barcodeLine:i}}function a(t){var e,n,r,a;return s.ctx.overlay,a=function(t){return Math.sqrt(Math.pow(Math.abs(t[1].y-t[0].y),2)+Math.pow(Math.abs(t[1].x-t[0].x),2))}(e=function(t){return[{x:(t[1][0]-t[0][0])/2+t[0][0],y:(t[1][1]-t[0][1])/2+t[0][1]},{x:(t[3][0]-t[2][0])/2+t[2][0],y:(t[3][1]-t[2][1])/2+t[2][1]}]}(t)),null===(e=o(e,n=Math.atan2(e[1].y-e[0].y,e[1].x-e[0].x),Math.floor(.1*a)))?null:(null===(r=i(e))&&(r=function(t,e,n){var r,o,a,s=Math.sqrt(Math.pow(t[1][0]-t[0][0],2)+Math.pow(t[1][1]-t[0][1],2)),u=null,l=Math.sin(n),c=Math.cos(n);for(r=1;r<16&&null===u;r++)a={y:(o=s/16*r*(r%2==0?-1:1))*l,x:o*c},e[0].y+=a.x,e[0].x-=a.y,e[1].y+=a.x,e[1].x-=a.y,u=i(e);return u}(t,e,n)),null===r?null:{codeResult:r.codeResult,line:e,angle:n,pattern:r.barcodeLine.line,threshold:r.barcodeLine.threshold})}var s={ctx:{frequency:null,pattern:null,overlay:null},dom:{frequency:null,pattern:null,overlay:null}},u=[];return n(),{decodeFromBoundingBox:function(t){return a(t)},decodeFromBoundingBoxes:function(e){var n,r,o=[],i=t.multiple;for(n=0;n<e.length;n++){var s=e[n];if((r=a(s)||{}).box=s,i)o.push(r);else if(r.codeResult)return r}if(i)return{barcodes:o}},setReaders:function(e){t.readers=e,u.length=0,n()}}}}},function(t,e,n){"use strict";var r=(n(20),{}),o={UP:1,DOWN:-1};r.getBarcodeLine=function(t,e,n){function r(t,e){f=m[e*w+t],E=f<E?f:E,b=f>b?f:b,v.push(f)}var o,i,a,s,u,l,c,f,p=0|e.x,d=0|e.y,h=0|n.x,g=0|n.y,y=Math.abs(g-d)>Math.abs(h-p),v=[],m=t.data,w=t.size.x,E=255,b=0;for(y&&(l=p,p=d,d=l,l=h,h=g,g=l),p>h&&(l=p,p=h,h=l,l=d,d=g,g=l),o=h-p,i=Math.abs(g-d),a=o/2|0,u=d,s=d<g?1:-1,c=p;c<h;c++)y?r(u,c):r(c,u),(a-=i)<0&&(u+=s,a+=o);return{line:v,min:E,max:b}},r.toBinaryLine=function(t){var e,n,r,i,a,s,u=t.min,l=t.max,c=t.line,f=u+(l-u)/2,p=[],d=(l-u)/12,h=-d;for(r=c[0]>f?o.UP:o.DOWN,p.push({pos:0,val:c[0]}),a=0;a<c.length-2;a++)r!==(i=(e=c[a+1]-c[a])+(n=c[a+2]-c[a+1])<h&&c[a+1]<1.5*f?o.DOWN:e+n>d&&c[a+1]>.5*f?o.UP:r)&&(p.push({pos:a,val:c[a]}),r=i);for(p.push({pos:c.length,val:c[c.length-1]}),s=p[0].pos;s<p[1].pos;s++)c[s]=c[s]>f?0:1;for(a=1;a<p.length-1;a++)for(d=p[a+1].val>p[a].val?p[a].val+(p[a+1].val-p[a].val)/3*2|0:p[a+1].val+(p[a].val-p[a+1].val)/3|0,s=p[a].pos;s<p[a+1].pos;s++)c[s]=c[s]>d?0:1;return{line:c,threshold:d}},r.debug={printFrequency:function(t,e){var n,r=e.getContext("2d");for(e.width=t.length,e.height=256,r.beginPath(),r.strokeStyle="blue",n=0;n<t.length;n++)r.moveTo(n,255),r.lineTo(n,255-t[n]);r.stroke(),r.closePath()},printPattern:function(t,e){var n,r=e.getContext("2d");for(e.width=t.length,r.fillColor="black",n=0;n<t.length;n++)1===t[n]&&r.fillRect(n,0,1,100)}},e.a=r},function(t,e,n){"use strict";function r(t){return new Promise((function(e,n){var r=10;!function o(){r>0?t.videoWidth>10&&t.videoHeight>10?e():window.setTimeout(o,500):n("Unable to play video stream. Is webcam working?"),r--}()}))}function o(t,e){return n.i(c.a)(e).then((function(e){return new Promise((function(n){s=e,t.setAttribute("autoplay",!0),t.setAttribute("muted",!0),t.setAttribute("playsinline",!0),t.srcObject=e,t.addEventListener("loadedmetadata",(function(){t.play(),n()}))}))})).then(r.bind(null,t))}function i(t){var e=l()(t,["width","height","facingMode","aspectRatio","deviceId"]);return void 0!==t.minAspectRatio&&t.minAspectRatio>0&&(e.aspectRatio=t.minAspectRatio,console.log("WARNING: Constraint 'minAspectRatio' is deprecated; Use 'aspectRatio' instead")),void 0!==t.facing&&(e.facingMode=t.facing,console.log("WARNING: Constraint 'facing' is deprecated. Use 'facingMode' instead'")),e}function a(){if(s){var t=s.getVideoTracks();if(t&&t.length)return t[0]}}var s,u=n(162),l=n.n(u),c=n(52);e.a={request:function(t,e){return function(t){var e={audio:!1,video:i(t)};return e.video.deviceId&&e.video.facingMode&&delete e.video.facingMode,Promise.resolve(e)}(e).then(o.bind(null,t))},release:function(){var t=s&&s.getVideoTracks();t&&t.length&&t[0].stop(),s=null},enumerateVideoDevices:function(){return n.i(c.b)().then((function(t){return t.filter((function(t){return"videoinput"===t.kind}))}))},getActiveStreamLabel:function(){var t=a();return t?t.label:""},getActiveTrack:a}},function(t,e,n){"use strict";function r(t){return new Promise((function(e){var n=new FileReader;n.onload=function(t){return e(t.target.result)},n.readAsArrayBuffer(t)}))}function o(t){return new Promise((function(e,n){var r=new XMLHttpRequest;r.open("GET",t,!0),r.responseType="blob",r.onreadystatechange=function(){r.readyState!==XMLHttpRequest.DONE||200!==r.status&&0!==r.status||e(this.response)},r.onerror=n,r.send()}))}function i(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l,n=new DataView(t),r=t.byteLength,o=e.reduce((function(t,e){var n=Object.keys(u).filter((function(t){return u[t]===e}))[0];return n&&(t[n]=e),t}),{}),i=2;if(255!==n.getUint8(0)||216!==n.getUint8(1))return!1;for(;i<r;){if(255!==n.getUint8(i))return!1;if(225===n.getUint8(i+1))return a(n,i+4,o);i+=2+n.getUint16(i+2)}}function a(t,e,n){if("Exif"!==function(t,e,n){for(var r="",o=e;o<e+n;o++)r+=String.fromCharCode(t.getUint8(o));return r}(t,e,4))return!1;var r=e+6,o=void 0;if(18761===t.getUint16(r))o=!1;else{if(19789!==t.getUint16(r))return!1;o=!0}if(42!==t.getUint16(r+2,!o))return!1;var i=t.getUint32(r+4,!o);return!(i<8)&&function(t,e,n,r,o){for(var i=t.getUint16(n,!o),a={},u=0;u<i;u++){var l=n+12*u+2,c=r[t.getUint16(l,!o)];c&&(a[c]=s(t,l,0,0,o))}return a}(t,0,r+i,n,o)}function s(t,e,n,r,o){var i=t.getUint16(e+2,!o),a=t.getUint32(e+4,!o);switch(i){case 3:if(1===a)return t.getUint16(e+8,!o)}}e.a=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l;return/^blob\:/i.test(t)?o(t).then(r).then((function(t){return i(t,e)})):Promise.resolve(null)};var u={274:"orientation"},l=Object.keys(u).map((function(t){return u[t]}))},function(t,e,n){"use strict";var r=n(19),o=Math.PI/180,i={create:function(t,e){var i,a={},s=t.getConfig(),u=(n.i(r.b)(t.getRealWidth(),t.getRealHeight()),t.getCanvasSize()),l=n.i(r.b)(t.getWidth(),t.getHeight()),c=t.getTopRight(),f=c.x,p=c.y,d=null,h=null;return(i=e||document.createElement("canvas")).width=u.x,i.height=u.y,d=i.getContext("2d"),h=new Uint8Array(l.x*l.y),a.attachData=function(t){h=t},a.getData=function(){return h},a.grab=function(){var e,a=s.halfSample,c=t.getFrame(),g=c,y=0;if(g){if(function(t,e){t.width!==e.x&&(t.width=e.x),t.height!==e.y&&(t.height=e.y)}(i,u),"ImageStream"===s.type&&(g=c.img,c.tags&&c.tags.orientation))switch(c.tags.orientation){case 6:y=90*o;break;case 8:y=-90*o}return 0!==y?(d.translate(u.x/2,u.y/2),d.rotate(y),d.drawImage(g,-u.y/2,-u.x/2,u.y,u.x),d.rotate(-y),d.translate(-u.x/2,-u.y/2)):d.drawImage(g,0,0,u.x,u.y),e=d.getImageData(f,p,l.x,l.y).data,a?n.i(r.c)(e,l,h):n.i(r.d)(e,h,s),!0}return!1},a.getSize=function(){return l},a}};e.a=i},function(t,e,n){"use strict";function r(t,e){t.onload=function(){e.loaded(this)}}var o=n(60),i={load:function(t,e,i,a,s){var u,l,c,f=new Array(a),p=new Array(f.length);if(!1===s)f[0]=t;else for(u=0;u<f.length;u++)c=i+u,f[u]=t+"image-"+("00"+c).slice(-3)+".jpg";for(p.notLoaded=[],p.addImage=function(t){p.notLoaded.push(t)},p.loaded=function(r){for(var i=p.notLoaded,a=0;a<i.length;a++)if(i[a]===r){i.splice(a,1);for(var u=0;u<f.length;u++){var l=f[u].substr(f[u].lastIndexOf("/"));if(-1!==r.src.lastIndexOf(l)){p[u]={img:r};break}}break}0===i.length&&(!1===s?n.i(o.a)(t,["orientation"]).then((function(t){p[0].tags=t,e(p)})).catch((function(t){console.log(t),e(p)})):e(p))},u=0;u<f.length;u++)l=new Image,p.addImage(l),r(l,p),l.src=f[u]}};e.a=i},function(t,e,n){"use strict";var r=n(62),o={createVideoStream:function(t){function e(){var e=t.videoWidth,o=t.videoHeight;n=i.size?e/o>1?i.size:Math.floor(e/o*i.size):e,r=i.size?e/o>1?Math.floor(o/e*i.size):i.size:o,l.x=n,l.y=r}var n,r,o={},i=null,a=["canrecord","ended"],s={},u={x:0,y:0},l={x:0,y:0};return o.getRealWidth=function(){return t.videoWidth},o.getRealHeight=function(){return t.videoHeight},o.getWidth=function(){return n},o.getHeight=function(){return r},o.setWidth=function(t){n=t},o.setHeight=function(t){r=t},o.setInputStream=function(e){i=e,t.src=void 0!==e.src?e.src:""},o.ended=function(){return t.ended},o.getConfig=function(){return i},o.setAttribute=function(e,n){t.setAttribute(e,n)},o.pause=function(){t.pause()},o.play=function(){t.play()},o.setCurrentTime=function(e){"LiveStream"!==i.type&&(t.currentTime=e)},o.addEventListener=function(e,n,r){-1!==a.indexOf(e)?(s[e]||(s[e]=[]),s[e].push(n)):t.addEventListener(e,n,r)},o.clearEventHandlers=function(){a.forEach((function(e){var n=s[e];n&&n.length>0&&n.forEach((function(n){t.removeEventListener(e,n)}))}))},o.trigger=function(t,n){var r,i=s[t];if("canrecord"===t&&e(),i&&i.length>0)for(r=0;r<i.length;r++)i[r].apply(o,n)},o.setTopRight=function(t){u.x=t.x,u.y=t.y},o.getTopRight=function(){return u},o.setCanvasSize=function(t){l.x=t.x,l.y=t.y},o.getCanvasSize=function(){return l},o.getFrame=function(){return t},o},createLiveStream:function(t){t.setAttribute("autoplay",!0);var e=o.createVideoStream(t);return e.ended=function(){return!1},e},createImageStream:function(){function t(){f=!1,r.a.load(g,(function(t){if(p=t,t[0].tags&&t[0].tags.orientation)switch(t[0].tags.orientation){case 6:case 8:s=t[0].img.height,u=t[0].img.width;break;default:s=t[0].img.width,u=t[0].img.height}else s=t[0].img.width,u=t[0].img.height;n=a.size?s/u>1?a.size:Math.floor(s/u*a.size):s,o=a.size?s/u>1?Math.floor(u/s*a.size):a.size:u,E.x=n,E.y=o,f=!0,l=0,setTimeout((function(){e("canrecord",[])}),0)}),h,d,a.sequence)}function e(t,e){var n,r=m[t];if(r&&r.length>0)for(n=0;n<r.length;n++)r[n].apply(i,e)}var n,o,i={},a=null,s=0,u=0,l=0,c=!0,f=!1,p=null,d=0,h=1,g=null,y=!1,v=["canrecord","ended"],m={},w={x:0,y:0},E={x:0,y:0};return i.trigger=e,i.getWidth=function(){return n},i.getHeight=function(){return o},i.setWidth=function(t){n=t},i.setHeight=function(t){o=t},i.getRealWidth=function(){return s},i.getRealHeight=function(){return u},i.setInputStream=function(e){a=e,!1===e.sequence?(g=e.src,d=1):(g=e.src,d=e.length),t()},i.ended=function(){return y},i.setAttribute=function(){},i.getConfig=function(){return a},i.pause=function(){c=!0},i.play=function(){c=!1},i.setCurrentTime=function(t){l=t},i.addEventListener=function(t,e){-1!==v.indexOf(t)&&(m[t]||(m[t]=[]),m[t].push(e))},i.setTopRight=function(t){w.x=t.x,w.y=t.y},i.getTopRight=function(){return w},i.setCanvasSize=function(t){E.x=t.x,E.y=t.y},i.getCanvasSize=function(){return E},i.getFrame=function(){var t;return f?(c||(t=p[l],l<d-1?l++:setTimeout((function(){y=!0,e("ended",[])}),0)),t):null},i}};e.a=o},function(t,e,n){"use strict";(function(t){function r(){var e;l=u.halfSample?new E.a({x:m.size.x/2|0,y:m.size.y/2|0}):m,v=n.i(b.e)(u.patchSize,l.size),R.x=l.size.x/v.x|0,R.y=l.size.y/v.y|0,y=new E.a(l.size,void 0,Uint8Array,!1),p=new E.a(v,void 0,Array,!0),e=new ArrayBuffer(65536),f=new E.a(v,new Uint8Array(e,0,v.x*v.y)),c=new E.a(v,new Uint8Array(e,v.x*v.y*3,v.x*v.y),void 0,!0),w=n.i(A.a)("undefined"!=typeof window?window:"undefined"!=typeof self?self:t,{size:v.x},e),g=new E.a({x:l.size.x/f.size.x|0,y:l.size.y/f.size.y|0},void 0,Array,!0),d=new E.a(g.size,void 0,void 0,!0),h=new E.a(g.size,void 0,Int32Array,!0)}function o(t){var e,n,r,o,i,a,s,l=y.size.x,c=y.size.y,f=-y.size.x,p=-y.size.y;for(e=0,n=0;n<t.length;n++)e+=(o=t[n]).rad;for((e=(180*(e/=t.length)/Math.PI+90)%180-90)<0&&(e+=180),e=(180-e)*Math.PI/180,i=I.copy(I.create(),[Math.cos(e),Math.sin(e),-Math.sin(e),Math.cos(e)]),n=0;n<t.length;n++)for(o=t[n],r=0;r<4;r++)O.transformMat2(o.box[r],o.box[r],i);for(n=0;n<t.length;n++)for(o=t[n],r=0;r<4;r++)o.box[r][0]<l&&(l=o.box[r][0]),o.box[r][0]>f&&(f=o.box[r][0]),o.box[r][1]<c&&(c=o.box[r][1]),o.box[r][1]>p&&(p=o.box[r][1]);for(a=[[l,c],[f,c],[f,p],[l,p]],s=u.halfSample?2:1,i=I.invert(i,i),r=0;r<4;r++)O.transformMat2(a[r],a[r],i);for(r=0;r<4;r++)O.scale(a[r],a[r],s);return a}function i(t){var e=n.i(b.g)(t,.9),r=n.i(b.h)(e,1,(function(t){return t.getPoints().length})),o=[],i=[];if(1===r.length){o=r[0].item.getPoints();for(var a=0;a<o.length;a++)i.push(o[a].point)}return i}function a(t,e){y.subImageAsCopy(f,n.i(b.b)(t,e)),w.skeletonize()}function s(t,e,n,r){var o,a,s,u,l=[],c=[],p=Math.ceil(v.x/3);if(t.length>=2){for(o=0;o<t.length;o++)t[o].m00>p&&l.push(t[o]);if(l.length>=2){for(s=i(l),a=0,o=0;o<s.length;o++)a+=s[o].rad;s.length>1&&s.length>=l.length/4*3&&s.length>t.length/4&&(a/=s.length,u={index:e[1]*R.x+e[0],pos:{x:n,y:r},box:[O.clone([n,r]),O.clone([n+f.size.x,r]),O.clone([n+f.size.x,r+f.size.y]),O.clone([n,r+f.size.y])],moments:s,rad:a,vec:O.clone([Math.cos(a),Math.sin(a)])},c.push(u))}}return c}var u,l,c,f,p,d,h,g,y,v,m,w,E=n(20),b=n(19),_=n(3),C=(n(9),n(65)),S=n(30),A=n(66),O={clone:n(7),dot:n(32),scale:n(81),transformMat2:n(82)},I={copy:n(78),create:n(79),invert:n(80)},T={ctx:{binary:null},dom:{binary:null}},R={x:0,y:0};e.a={init:function(t,e){u=e,m=t,r(),u.useWorker||"undefined"==typeof document||(T.dom.binary=document.createElement("canvas"),T.dom.binary.className="binaryBuffer",T.ctx.binary=T.dom.binary.getContext("2d"),T.dom.binary.width=y.size.x,T.dom.binary.height=y.size.y)},locate:function(){var t,e;if(u.halfSample&&n.i(b.i)(m,l),n.i(b.f)(l,y),y.zeroBorder(),(t=function(){var t,e,n,r,o,i,u=[];for(t=0;t<R.x;t++)for(e=0;e<R.y;e++)a(n=f.size.x*t,r=f.size.y*e),c.zeroBorder(),_.a.init(p.data,0),i=C.a.create(c,p).rasterize(0),o=p.moments(i.count),u=u.concat(s(o,[t,e],n,r));return u}()).length<R.x*R.y*.05)return null;var r=function(t){function e(){var t;for(t=0;t<h.data.length;t++)if(0===h.data[t]&&1===d.data[t])return t;return h.length}function n(t){var e,r,o,s,u,l=t%h.size.x,c=t/h.size.x|0;if(t<h.data.length)for(o=g.data[t],h.data[t]=i,u=0;u<S.a.searchDirections.length;u++)r=c+S.a.searchDirections[u][0],e=l+S.a.searchDirections[u][1],s=r*h.size.x+e,0!==d.data[s]?0===h.data[s]&&Math.abs(O.dot(g.data[s].vec,o.vec))>a&&n(s):h.data[s]=Number.MAX_VALUE}var r,o,i=0,a=.95,s=0;for(_.a.init(d.data,0),_.a.init(h.data,0),_.a.init(g.data,null),r=0;r<t.length;r++)o=t[r],g.data[o.index]=o,d.data[o.index]=1;for(d.zeroBorder();(s=e())<h.data.length;)i++,n(s);return i}(t);return r<1||0===(e=function(t){var e,n,r=[];for(e=0;e<t;e++)r.push(0);for(n=h.data.length;n--;)h.data[n]>0&&r[h.data[n]-1]++;return(r=r.map((function(t,e){return{val:t,label:e+1}}))).sort((function(t,e){return e.val-t.val})),r.filter((function(t){return t.val>=5}))}(r)).length?null:function(t,e){var n,r,i,a,s=[],u=[];for(n=0;n<t.length;n++){for(r=h.data.length,s.length=0;r--;)h.data[r]===t[n].label&&(i=g.data[r],s.push(i));(a=o(s))&&u.push(a)}return u}(e)},checkImageConstraints:function(t,e){var r,o,i,a=t.getWidth(),s=t.getHeight(),u=e.halfSample?.5:1;if(t.getConfig().area&&(i=n.i(b.j)(a,s,t.getConfig().area),t.setTopRight({x:i.sx,y:i.sy}),t.setCanvasSize({x:a,y:s}),a=i.sw,s=i.sh),o={x:Math.floor(a*u),y:Math.floor(s*u)},r=n.i(b.e)(e.patchSize,o),t.setWidth(Math.floor(Math.floor(o.x/r.x)*(1/u)*r.x)),t.setHeight(Math.floor(Math.floor(o.y/r.y)*(1/u)*r.y)),t.getWidth()%r.x==0&&t.getHeight()%r.y==0)return!0;throw new Error("Image dimensions do not comply with the current settings: Width ("+a+" )and height ("+s+") must a multiple of "+r.x)}}}).call(e,n(47))},function(t,e,n){"use strict";var r=n(30),o={createContour2D:function(){return{dir:null,index:null,firstVertex:null,insideContours:null,nextpeer:null,prevpeer:null}},CONTOUR_DIR:{CW_DIR:0,CCW_DIR:1,UNKNOWN_DIR:2},DIR:{OUTSIDE_EDGE:-32767,INSIDE_EDGE:-32766},create:function(t,e){var n=t.data,i=e.data,a=t.size.x,s=t.size.y,u=r.a.create(t,e);return{rasterize:function(t){var e,r,l,c,f,p,d,h,g,y,v,m,w=[],E=0;for(m=0;m<400;m++)w[m]=0;for(w[0]=n[0],g=null,p=1;p<s-1;p++)for(c=0,r=w[0],f=1;f<a-1;f++)if(0===i[v=p*a+f])if((e=n[v])!==r){if(0===c)w[l=E+1]=e,r=e,null!==(d=u.contourTracing(p,f,l,e,o.DIR.OUTSIDE_EDGE))&&(E++,c=l,(h=o.createContour2D()).dir=o.CONTOUR_DIR.CW_DIR,h.index=c,h.firstVertex=d,h.nextpeer=g,h.insideContours=null,null!==g&&(g.prevpeer=h),g=h);else if(null!==(d=u.contourTracing(p,f,o.DIR.INSIDE_EDGE,e,c))){for((h=o.createContour2D()).firstVertex=d,h.insideContours=null,h.dir=0===t?o.CONTOUR_DIR.CCW_DIR:o.CONTOUR_DIR.CW_DIR,h.index=t,y=g;null!==y&&y.index!==c;)y=y.nextpeer;null!==y&&(h.nextpeer=y.insideContours,null!==y.insideContours&&(y.insideContours.prevpeer=h),y.insideContours=h)}}else i[v]=c;else i[v]===o.DIR.OUTSIDE_EDGE||i[v]===o.DIR.INSIDE_EDGE?(c=0,r=i[v]===o.DIR.INSIDE_EDGE?n[v]:w[0]):r=w[c=i[v]];for(y=g;null!==y;)y.index=t,y=y.nextpeer;return{cc:g,count:E}},debug:{drawContour:function(t,e){var n,r,i,a=t.getContext("2d"),s=e;for(a.strokeStyle="red",a.fillStyle="red",a.lineWidth=1,n=null!==s?s.insideContours:null;null!==s;){switch(null!==n?(r=n,n=n.nextpeer):(r=s,n=null!==(s=s.nextpeer)?s.insideContours:null),r.dir){case o.CONTOUR_DIR.CW_DIR:a.strokeStyle="red";break;case o.CONTOUR_DIR.CCW_DIR:a.strokeStyle="blue";break;case o.CONTOUR_DIR.UNKNOWN_DIR:a.strokeStyle="green"}i=r.firstVertex,a.beginPath(),a.moveTo(i.x,i.y);do{i=i.next,a.lineTo(i.x,i.y)}while(i!==r.firstVertex);a.stroke()}}}}}};e.a=o},function(t,e,n){"use strict";e.a=function(t,e,n){"use asm";var r=new t.Uint8Array(n),o=e.size|0,i=t.Math.imul;function a(t,e){t=t|0;e=e|0;var n=0,i=0,a=0,s=0,u=0,l=0,c=0,f=0;for(n=1;(n|0)<(o-1|0);n=n+1|0){f=f+o|0;for(i=1;(i|0)<(o-1|0);i=i+1|0){s=f-o|0;u=f+o|0;l=i-1|0;c=i+1|0;a=(r[t+s+l|0]|0)+(r[t+s+c|0]|0)+(r[t+f+i|0]|0)+(r[t+u+l|0]|0)+(r[t+u+c|0]|0)|0;if((a|0)==(5|0)){r[e+f+i|0]=1}else{r[e+f+i|0]=0}}}return}function s(t,e,n){t=t|0;e=e|0;n=n|0;var a=0;a=i(o,o)|0;while((a|0)>0){a=a-1|0;r[n+a|0]=(r[t+a|0]|0)-(r[e+a|0]|0)|0}}function u(t,e,n){t=t|0;e=e|0;n=n|0;var a=0;a=i(o,o)|0;while((a|0)>0){a=a-1|0;r[n+a|0]=r[t+a|0]|0|(r[e+a|0]|0)|0}}function l(t){t=t|0;var e=0,n=0;n=i(o,o)|0;while((n|0)>0){n=n-1|0;e=(e|0)+(r[t+n|0]|0)|0}return e|0}function c(t,e){t=t|0;e=e|0;var n=0;n=i(o,o)|0;while((n|0)>0){n=n-1|0;r[t+n|0]=e}}function f(t,e){t=t|0;e=e|0;var n=0,i=0,a=0,s=0,u=0,l=0,c=0,f=0;for(n=1;(n|0)<(o-1|0);n=n+1|0){f=f+o|0;for(i=1;(i|0)<(o-1|0);i=i+1|0){s=f-o|0;u=f+o|0;l=i-1|0;c=i+1|0;a=(r[t+s+l|0]|0)+(r[t+s+c|0]|0)+(r[t+f+i|0]|0)+(r[t+u+l|0]|0)+(r[t+u+c|0]|0)|0;if((a|0)>(0|0)){r[e+f+i|0]=1}else{r[e+f+i|0]=0}}}return}function p(t,e){t=t|0;e=e|0;var n=0;n=i(o,o)|0;while((n|0)>0){n=n-1|0;r[e+n|0]=r[t+n|0]|0}}function d(t){t=t|0;var e=0,n=0;for(e=0;(e|0)<(o-1|0);e=e+1|0){r[t+e|0]=0;r[t+n|0]=0;n=n+o-1|0;r[t+n|0]=0;n=n+1|0}for(e=0;(e|0)<(o|0);e=e+1|0){r[t+n|0]=0;n=n+1|0}}function h(){var t=0,e=0,n=0,r=0,h=0,g=0;e=i(o,o)|0;n=e+e|0;r=n+e|0;c(r,0);d(t);do{a(t,e);f(e,n);s(t,n,n);u(r,n,r);p(e,t);h=l(t)|0;g=(h|0)==0|0}while(!g)}return{skeletonize:h}}},function(t,e,n){"use strict";function r(t){o.a.call(this,t),this.barSpaceRatio=[1,1]}var o=n(1),i={START_PATTERN:{value:[3,1,3,1,1,1]},STOP_PATTERN:{value:[3,1,1,1,3]},CODE_PATTERN:{value:[[1,1,3,3,1],[3,1,1,1,3],[1,3,1,1,3],[3,3,1,1,1],[1,1,3,1,3],[3,1,3,1,1],[1,3,3,1,1],[1,1,1,3,3],[3,1,1,3,1],[1,3,1,3,1]]},SINGLE_CODE_ERROR:{value:.78,writable:!0},AVG_CODE_ERROR:{value:.3,writable:!0},FORMAT:{value:"2of5"}},a=i.START_PATTERN.value.reduce((function(t,e){return t+e}),0);r.prototype=Object.create(o.a.prototype,i),r.prototype.constructor=r,r.prototype._findPattern=function(t,e,n,r){var o,i,a,s,u=[],l=this,c=0,f={error:Number.MAX_VALUE,code:-1,start:0,end:0},p=l.AVG_CODE_ERROR;for(n=n||!1,r=r||!1,e||(e=l._nextSet(l._row)),o=0;o<t.length;o++)u[o]=0;for(o=e;o<l._row.length;o++)if(l._row[o]^n)u[c]++;else{if(c===u.length-1){for(s=0,a=0;a<u.length;a++)s+=u[a];if((i=l._matchPattern(u,t))<p)return f.error=i,f.start=o-s,f.end=o,f;if(!r)return null;for(a=0;a<u.length-2;a++)u[a]=u[a+2];u[u.length-2]=0,u[u.length-1]=0,c--}else c++;u[c]=1,n=!n}return null},r.prototype._findStart=function(){for(var t,e,n=this,r=n._nextSet(n._row),o=1;!e;){if(!(e=n._findPattern(n.START_PATTERN,r,!1,!0)))return null;if(o=Math.floor((e.end-e.start)/a),(t=e.start-5*o)>=0&&n._matchRange(t,e.start,0))return e;r=e.end,e=null}},r.prototype._verifyTrailingWhitespace=function(t){var e;return(e=t.end+(t.end-t.start)/2)<this._row.length&&this._matchRange(t.end,e,0)?t:null},r.prototype._findEnd=function(){var t,e,n,r=this;return r._row.reverse(),n=r._nextSet(r._row),t=r._findPattern(r.STOP_PATTERN,n,!1,!0),r._row.reverse(),null===t?null:(e=t.start,t.start=r._row.length-t.end,t.end=r._row.length-e,null!==t?r._verifyTrailingWhitespace(t):null)},r.prototype._decodeCode=function(t){var e,n,r,o=this,i=o.AVG_CODE_ERROR,a={error:Number.MAX_VALUE,code:-1,start:0,end:0};for(e=0;e<t.length;e++)t[e];for(r=0;r<o.CODE_PATTERN.length;r++)(n=o._matchPattern(t,o.CODE_PATTERN[r]))<a.error&&(a.code=r,a.error=n);if(a.error<i)return a},r.prototype._decodePayload=function(t,e,n){for(var r,o,i=0,a=t.length,s=[0,0,0,0,0];i<a;){for(r=0;r<5;r++)s[r]=t[i]*this.barSpaceRatio[0],i+=2;if(!(o=this._decodeCode(s)))return null;e.push(o.code+""),n.push(o)}return o},r.prototype._verifyCounterLength=function(t){return t.length%10==0},r.prototype._decode=function(){var t,e,n,r=this,o=[],i=[];return(t=r._findStart())?(i.push(t),(e=r._findEnd())?(n=r._fillCounters(t.end,e.start,!1),r._verifyCounterLength(n)&&r._decodePayload(n,o,i)?o.length<5?null:(i.push(e),{code:o.join(""),start:t.start,end:e.end,startInfo:t,decodedCodes:i}):null):null):null},e.a=r},function(t,e,n){"use strict";function r(){o.a.call(this),this._counters=[]}var o=n(1);r.prototype=Object.create(o.a.prototype,{ALPHABETH_STRING:{value:"0123456789-$:/.+ABCD"},ALPHABET:{value:[48,49,50,51,52,53,54,55,56,57,45,36,58,47,46,43,65,66,67,68]},CHARACTER_ENCODINGS:{value:[3,6,9,96,18,66,33,36,48,72,12,24,69,81,84,21,26,41,11,14]},START_END:{value:[26,41,11,14]},MIN_ENCODED_CHARS:{value:4},MAX_ACCEPTABLE:{value:2},PADDING:{value:1.5},FORMAT:{value:"codabar",writeable:!1}}),r.prototype.constructor=r,r.prototype._decode=function(){var t,e,n,r,o,i=this,a=[];if(this._counters=i._fillCounters(),!(t=i._findStart()))return null;r=t.startCounter;do{if((n=i._toPattern(r))<0)return null;if((e=i._patternToChar(n))<0)return null;if(a.push(e),r+=8,a.length>1&&i._isStartEnd(n))break}while(r<i._counters.length);return a.length-2<i.MIN_ENCODED_CHARS||!i._isStartEnd(n)?null:i._verifyWhitespace(t.startCounter,r-8)&&i._validateResult(a,t.startCounter)?(r=r>i._counters.length?i._counters.length:r,o=t.start+i._sumCounters(t.startCounter,r-8),{code:a.join(""),start:t.start,end:o,startInfo:t,decodedCodes:a}):null},r.prototype._verifyWhitespace=function(t,e){return(t-1<=0||this._counters[t-1]>=this._calculatePatternLength(t)/2)&&(e+8>=this._counters.length||this._counters[e+7]>=this._calculatePatternLength(e)/2)},r.prototype._calculatePatternLength=function(t){var e,n=0;for(e=t;e<t+7;e++)n+=this._counters[e];return n},r.prototype._thresholdResultPattern=function(t,e){var n,r,o,i,a,s=this,u={space:{narrow:{size:0,counts:0,min:0,max:Number.MAX_VALUE},wide:{size:0,counts:0,min:0,max:Number.MAX_VALUE}},bar:{narrow:{size:0,counts:0,min:0,max:Number.MAX_VALUE},wide:{size:0,counts:0,min:0,max:Number.MAX_VALUE}}},l=e;for(o=0;o<t.length;o++){for(a=s._charToPattern(t[o]),i=6;i>=0;i--)n=2==(1&i)?u.bar:u.space,(r=1==(1&a)?n.wide:n.narrow).size+=s._counters[l+i],r.counts++,a>>=1;l+=8}return["space","bar"].forEach((function(t){var e=u[t];e.wide.min=Math.floor((e.narrow.size/e.narrow.counts+e.wide.size/e.wide.counts)/2),e.narrow.max=Math.ceil(e.wide.min),e.wide.max=Math.ceil((e.wide.size*s.MAX_ACCEPTABLE+s.PADDING)/e.wide.counts)})),u},r.prototype._charToPattern=function(t){var e,n=this,r=t.charCodeAt(0);for(e=0;e<n.ALPHABET.length;e++)if(n.ALPHABET[e]===r)return n.CHARACTER_ENCODINGS[e];return 0},r.prototype._validateResult=function(t,e){var n,r,o,i,a,s,u=this,l=u._thresholdResultPattern(t,e),c=e;for(n=0;n<t.length;n++){for(s=u._charToPattern(t[n]),r=6;r>=0;r--){if(o=0==(1&r)?l.bar:l.space,i=1==(1&s)?o.wide:o.narrow,(a=u._counters[c+r])<i.min||a>i.max)return!1;s>>=1}c+=8}return!0},r.prototype._patternToChar=function(t){var e,n=this;for(e=0;e<n.CHARACTER_ENCODINGS.length;e++)if(n.CHARACTER_ENCODINGS[e]===t)return String.fromCharCode(n.ALPHABET[e]);return-1},r.prototype._computeAlternatingThreshold=function(t,e){var n,r,o=Number.MAX_VALUE,i=0;for(n=t;n<e;n+=2)(r=this._counters[n])>i&&(i=r),r<o&&(o=r);return(o+i)/2|0},r.prototype._toPattern=function(t){var e,n,r,o,i=t+7,a=64,s=0;if(i>this._counters.length)return-1;for(e=this._computeAlternatingThreshold(t,i),n=this._computeAlternatingThreshold(t+1,i),r=0;r<7;r++)o=0==(1&r)?e:n,this._counters[t+r]>o&&(s|=a),a>>=1;return s},r.prototype._isStartEnd=function(t){var e;for(e=0;e<this.START_END.length;e++)if(this.START_END[e]===t)return!0;return!1},r.prototype._sumCounters=function(t,e){var n,r=0;for(n=t;n<e;n++)r+=this._counters[n];return r},r.prototype._findStart=function(){var t,e,n=this,r=n._nextUnset(n._row);for(t=1;t<this._counters.length;t++)if(-1!==(e=n._toPattern(t))&&n._isStartEnd(e))return{start:r+=n._sumCounters(0,t),end:r+n._sumCounters(t,t+8),startCounter:t,endCounter:t+8}},e.a=r},function(t,e,n){"use strict";function r(){i.a.call(this)}function o(t,e,n){for(var r=n.length,o=0,i=0;r--;)i+=t[n[r]],o+=e[n[r]];return i/o}var i=n(1);r.prototype=Object.create(i.a.prototype,{CODE_SHIFT:{value:98},CODE_C:{value:99},CODE_B:{value:100},CODE_A:{value:101},START_CODE_A:{value:103},START_CODE_B:{value:104},START_CODE_C:{value:105},STOP_CODE:{value:106},CODE_PATTERN:{value:[[2,1,2,2,2,2],[2,2,2,1,2,2],[2,2,2,2,2,1],[1,2,1,2,2,3],[1,2,1,3,2,2],[1,3,1,2,2,2],[1,2,2,2,1,3],[1,2,2,3,1,2],[1,3,2,2,1,2],[2,2,1,2,1,3],[2,2,1,3,1,2],[2,3,1,2,1,2],[1,1,2,2,3,2],[1,2,2,1,3,2],[1,2,2,2,3,1],[1,1,3,2,2,2],[1,2,3,1,2,2],[1,2,3,2,2,1],[2,2,3,2,1,1],[2,2,1,1,3,2],[2,2,1,2,3,1],[2,1,3,2,1,2],[2,2,3,1,1,2],[3,1,2,1,3,1],[3,1,1,2,2,2],[3,2,1,1,2,2],[3,2,1,2,2,1],[3,1,2,2,1,2],[3,2,2,1,1,2],[3,2,2,2,1,1],[2,1,2,1,2,3],[2,1,2,3,2,1],[2,3,2,1,2,1],[1,1,1,3,2,3],[1,3,1,1,2,3],[1,3,1,3,2,1],[1,1,2,3,1,3],[1,3,2,1,1,3],[1,3,2,3,1,1],[2,1,1,3,1,3],[2,3,1,1,1,3],[2,3,1,3,1,1],[1,1,2,1,3,3],[1,1,2,3,3,1],[1,3,2,1,3,1],[1,1,3,1,2,3],[1,1,3,3,2,1],[1,3,3,1,2,1],[3,1,3,1,2,1],[2,1,1,3,3,1],[2,3,1,1,3,1],[2,1,3,1,1,3],[2,1,3,3,1,1],[2,1,3,1,3,1],[3,1,1,1,2,3],[3,1,1,3,2,1],[3,3,1,1,2,1],[3,1,2,1,1,3],[3,1,2,3,1,1],[3,3,2,1,1,1],[3,1,4,1,1,1],[2,2,1,4,1,1],[4,3,1,1,1,1],[1,1,1,2,2,4],[1,1,1,4,2,2],[1,2,1,1,2,4],[1,2,1,4,2,1],[1,4,1,1,2,2],[1,4,1,2,2,1],[1,1,2,2,1,4],[1,1,2,4,1,2],[1,2,2,1,1,4],[1,2,2,4,1,1],[1,4,2,1,1,2],[1,4,2,2,1,1],[2,4,1,2,1,1],[2,2,1,1,1,4],[4,1,3,1,1,1],[2,4,1,1,1,2],[1,3,4,1,1,1],[1,1,1,2,4,2],[1,2,1,1,4,2],[1,2,1,2,4,1],[1,1,4,2,1,2],[1,2,4,1,1,2],[1,2,4,2,1,1],[4,1,1,2,1,2],[4,2,1,1,1,2],[4,2,1,2,1,1],[2,1,2,1,4,1],[2,1,4,1,2,1],[4,1,2,1,2,1],[1,1,1,1,4,3],[1,1,1,3,4,1],[1,3,1,1,4,1],[1,1,4,1,1,3],[1,1,4,3,1,1],[4,1,1,1,1,3],[4,1,1,3,1,1],[1,1,3,1,4,1],[1,1,4,1,3,1],[3,1,1,1,4,1],[4,1,1,1,3,1],[2,1,1,4,1,2],[2,1,1,2,1,4],[2,1,1,2,3,2],[2,3,3,1,1,1,2]]},SINGLE_CODE_ERROR:{value:.64},AVG_CODE_ERROR:{value:.3},FORMAT:{value:"code_128",writeable:!1},MODULE_INDICES:{value:{bar:[0,2,4],space:[1,3,5]}}}),r.prototype.constructor=r,r.prototype._decodeCode=function(t,e){var n,r,i,a=[0,0,0,0,0,0],s=this,u=t,l=!s._row[u],c=0,f={error:Number.MAX_VALUE,code:-1,start:t,end:t,correction:{bar:1,space:1}};for(n=u;n<s._row.length;n++)if(s._row[n]^l)a[c]++;else{if(c===a.length-1){for(e&&s._correct(a,e),r=0;r<s.CODE_PATTERN.length;r++)(i=s._matchPattern(a,s.CODE_PATTERN[r]))<f.error&&(f.code=r,f.error=i);return f.end=n,-1===f.code||f.error>s.AVG_CODE_ERROR?null:(s.CODE_PATTERN[f.code]&&(f.correction.bar=o(s.CODE_PATTERN[f.code],a,this.MODULE_INDICES.bar),f.correction.space=o(s.CODE_PATTERN[f.code],a,this.MODULE_INDICES.space)),f)}a[++c]=1,l=!l}return null},r.prototype._correct=function(t,e){this._correctBars(t,e.bar,this.MODULE_INDICES.bar),this._correctBars(t,e.space,this.MODULE_INDICES.space)},r.prototype._findStart=function(){var t,e,n,r,i,a=[0,0,0,0,0,0],s=this,u=s._nextSet(s._row),l=!1,c=0,f={error:Number.MAX_VALUE,code:-1,start:0,end:0,correction:{bar:1,space:1}};for(t=u;t<s._row.length;t++)if(s._row[t]^l)a[c]++;else{if(c===a.length-1){for(i=0,r=0;r<a.length;r++)i+=a[r];for(e=s.START_CODE_A;e<=s.START_CODE_C;e++)(n=s._matchPattern(a,s.CODE_PATTERN[e]))<f.error&&(f.code=e,f.error=n);if(f.error<s.AVG_CODE_ERROR)return f.start=t-i,f.end=t,f.correction.bar=o(s.CODE_PATTERN[f.code],a,this.MODULE_INDICES.bar),f.correction.space=o(s.CODE_PATTERN[f.code],a,this.MODULE_INDICES.space),f;for(r=0;r<4;r++)a[r]=a[r+2];a[4]=0,a[5]=0,c--}else c++;a[c]=1,l=!l}return null},r.prototype._decode=function(){var t,e,n=this,r=n._findStart(),o=null,i=!1,a=[],s=0,u=0,l=[],c=[],f=!1,p=!0;if(null===r)return null;switch(o={code:r.code,start:r.start,end:r.end,correction:{bar:r.correction.bar,space:r.correction.space}},c.push(o),u=o.code,o.code){case n.START_CODE_A:t=n.CODE_A;break;case n.START_CODE_B:t=n.CODE_B;break;case n.START_CODE_C:t=n.CODE_C;break;default:return null}for(;!i;){if(e=f,f=!1,null!==(o=n._decodeCode(o.end,o.correction)))switch(o.code!==n.STOP_CODE&&(p=!0),o.code!==n.STOP_CODE&&(l.push(o.code),s++,u+=s*o.code),c.push(o),t){case n.CODE_A:if(o.code<64)a.push(String.fromCharCode(32+o.code));else if(o.code<96)a.push(String.fromCharCode(o.code-64));else switch(o.code!==n.STOP_CODE&&(p=!1),o.code){case n.CODE_SHIFT:f=!0,t=n.CODE_B;break;case n.CODE_B:t=n.CODE_B;break;case n.CODE_C:t=n.CODE_C;break;case n.STOP_CODE:i=!0}break;case n.CODE_B:if(o.code<96)a.push(String.fromCharCode(32+o.code));else switch(o.code!==n.STOP_CODE&&(p=!1),o.code){case n.CODE_SHIFT:f=!0,t=n.CODE_A;break;case n.CODE_A:t=n.CODE_A;break;case n.CODE_C:t=n.CODE_C;break;case n.STOP_CODE:i=!0}break;case n.CODE_C:if(o.code<100)a.push(o.code<10?"0"+o.code:o.code);else switch(o.code!==n.STOP_CODE&&(p=!1),o.code){case n.CODE_A:t=n.CODE_A;break;case n.CODE_B:t=n.CODE_B;break;case n.STOP_CODE:i=!0}}else i=!0;e&&(t=t===n.CODE_A?n.CODE_B:n.CODE_A)}return null===o?null:(o.end=n._nextUnset(n._row,o.end),n._verifyTrailingWhitespace(o)?(u-=s*l[l.length-1])%103!==l[l.length-1]?null:a.length?(p&&a.splice(a.length-1,1),{code:a.join(""),start:r.start,end:o.end,codeset:t,startInfo:r,decodedCodes:c,endInfo:o}):null:null)},i.a.prototype._verifyTrailingWhitespace=function(t){var e;return(e=t.end+(t.end-t.start)/2)<this._row.length&&this._matchRange(t.end,e,0)?t:null},e.a=r},function(t,e,n){"use strict";function r(){o.a.call(this)}var o=n(31),i=/[IOQ]/g,a=/[A-Z0-9]{17}/;r.prototype=Object.create(o.a.prototype),r.prototype.constructor=r,r.prototype._decode=function(){var t=o.a.prototype._decode.apply(this);if(!t)return null;var e=t.code;return e&&(e=e.replace(i,"")).match(a)&&this._checkChecksum(e)?(t.code=e,t):null},r.prototype._checkChecksum=function(t){return!!t},e.a=r},function(t,e,n){"use strict";function r(){o.a.call(this)}var o=n(1),i=n(3),a="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-. $/+%abcd*",s={ALPHABETH_STRING:{value:a},ALPHABET:{value:a.split("").map((function(t){return t.charCodeAt(0)}))},CHARACTER_ENCODINGS:{value:[276,328,324,322,296,292,290,336,274,266,424,420,418,404,402,394,360,356,354,308,282,344,332,326,300,278,436,434,428,422,406,410,364,358,310,314,302,468,466,458,366,374,430,294,474,470,306,350]},ASTERISK:{value:350},FORMAT:{value:"code_93",writeable:!1}};r.prototype=Object.create(o.a.prototype,s),r.prototype.constructor=r,r.prototype._decode=function(){var t,e,n,r,o=this,a=[0,0,0,0,0,0],s=[],u=o._findStart();if(!u)return null;r=o._nextSet(o._row,u.end);do{if(a=o._toCounters(r,a),(n=o._toPattern(a))<0)return null;if((t=o._patternToChar(n))<0)return null;s.push(t),e=r,r+=i.a.sum(a),r=o._nextSet(o._row,r)}while("*"!==t);return s.pop(),s.length&&o._verifyEnd(e,r,a)&&o._verifyChecksums(s)?(s=s.slice(0,s.length-2),null===(s=o._decodeExtended(s))?null:{code:s.join(""),start:u.start,end:r,startInfo:u,decodedCodes:s}):null},r.prototype._verifyEnd=function(t,e){return!(t===e||!this._row[e])},r.prototype._patternToChar=function(t){var e,n=this;for(e=0;e<n.CHARACTER_ENCODINGS.length;e++)if(n.CHARACTER_ENCODINGS[e]===t)return String.fromCharCode(n.ALPHABET[e]);return-1},r.prototype._toPattern=function(t){for(var e=t.length,n=0,r=0,o=0;o<e;o++)r+=t[o];for(var i=0;i<e;i++){var a=Math.round(9*t[i]/r);if(a<1||a>4)return-1;if(0==(1&i))for(var s=0;s<a;s++)n=n<<1|1;else n<<=a}return n},r.prototype._findStart=function(){var t,e,n,r=this,o=r._nextSet(r._row),i=o,a=[0,0,0,0,0,0],s=0,u=!1;for(t=o;t<r._row.length;t++)if(r._row[t]^u)a[s]++;else{if(s===a.length-1){if(r._toPattern(a)===r.ASTERISK&&(n=Math.floor(Math.max(0,i-(t-i)/4)),r._matchRange(n,i,0)))return{start:i,end:t};for(i+=a[0]+a[1],e=0;e<4;e++)a[e]=a[e+2];a[4]=0,a[5]=0,s--}else s++;a[s]=1,u=!u}return null},r.prototype._decodeExtended=function(t){for(var e=t.length,n=[],r=0;r<e;r++){var o=t[r];if(o>="a"&&o<="d"){if(r>e-2)return null;var i=t[++r],a=i.charCodeAt(0),s=void 0;switch(o){case"a":if(!(i>="A"&&i<="Z"))return null;s=String.fromCharCode(a-64);break;case"b":if(i>="A"&&i<="E")s=String.fromCharCode(a-38);else if(i>="F"&&i<="J")s=String.fromCharCode(a-11);else if(i>="K"&&i<="O")s=String.fromCharCode(a+16);else if(i>="P"&&i<="S")s=String.fromCharCode(a+43);else{if(!(i>="T"&&i<="Z"))return null;s=String.fromCharCode(127)}break;case"c":if(i>="A"&&i<="O")s=String.fromCharCode(a-32);else{if("Z"!==i)return null;s=":"}break;case"d":if(!(i>="A"&&i<="Z"))return null;s=String.fromCharCode(a+32)}n.push(s)}else n.push(o)}return n},r.prototype._verifyChecksums=function(t){return this._matchCheckChar(t,t.length-2,20)&&this._matchCheckChar(t,t.length-1,15)},r.prototype._matchCheckChar=function(t,e,n){var r=this,o=t.slice(0,e),i=o.length,a=o.reduce((function(t,e,o){return t+((-1*o+(i-1))%n+1)*r.ALPHABET.indexOf(e.charCodeAt(0))}),0);return this.ALPHABET[a%47]===t[e].charCodeAt(0)},e.a=r},function(t,e,n){"use strict";function r(){o.a.call(this)}var o=n(4);r.prototype=Object.create(o.a.prototype,{FORMAT:{value:"ean_2",writeable:!1}}),r.prototype.constructor=r,r.prototype.decode=function(t,e){this._row=t;var n,r=0,o=0,i=e,a=this._row.length,s=[],u=[];for(o=0;o<2&&i<a;o++){if(!(n=this._decodeCode(i)))return null;u.push(n),s.push(n.code%10),n.code>=this.CODE_G_START&&(r|=1<<1-o),1!=o&&(i=this._nextSet(this._row,n.end),i=this._nextUnset(this._row,i))}return 2!=s.length||parseInt(s.join(""))%4!==r?null:{code:s.join(""),decodedCodes:u,end:n.end}},e.a=r},function(t,e,n){"use strict";function r(){i.a.call(this)}function o(t){var e;for(e=0;e<10;e++)if(t===a[e])return e;return null}var i=n(4),a=[24,20,18,17,12,6,3,10,9,5];r.prototype=Object.create(i.a.prototype,{FORMAT:{value:"ean_5",writeable:!1}}),r.prototype.constructor=r,r.prototype.decode=function(t,e){this._row=t;var n,r=0,i=0,a=e,s=this._row.length,u=[],l=[];for(i=0;i<5&&a<s;i++){if(!(n=this._decodeCode(a)))return null;l.push(n),u.push(n.code%10),n.code>=this.CODE_G_START&&(r|=1<<4-i),4!=i&&(a=this._nextSet(this._row,n.end),a=this._nextUnset(this._row,a))}return 5!=u.length||function(t){var e,n=t.length,r=0;for(e=n-2;e>=0;e-=2)r+=t[e];for(r*=3,e=n-1;e>=0;e-=2)r+=t[e];return(r*=3)%10}(u)!==o(r)?null:{code:u.join(""),decodedCodes:l,end:n.end}},e.a=r},function(t,e,n){"use strict";function r(t,e){o.a.call(this,t,e)}var o=n(4);r.prototype=Object.create(o.a.prototype,{FORMAT:{value:"ean_8",writeable:!1}}),r.prototype.constructor=r,r.prototype._decodePayload=function(t,e,n){var r,o=this;for(r=0;r<4;r++){if(!(t=o._decodeCode(t.end,o.CODE_G_START)))return null;e.push(t.code),n.push(t)}if(null===(t=o._findPattern(o.MIDDLE_PATTERN,t.end,!0,!1)))return null;for(n.push(t),r=0;r<4;r++){if(!(t=o._decodeCode(t.end,o.CODE_G_START)))return null;n.push(t),e.push(t.code)}return t},e.a=r},function(t,e,n){"use strict";function r(t){t=i()(function(){var t={};return Object.keys(r.CONFIG_KEYS).forEach((function(e){t[e]=r.CONFIG_KEYS[e].default})),t}(),t),a.a.call(this,t),this.barSpaceRatio=[1,1],t.normalizeBarSpaceWidth&&(this.SINGLE_CODE_ERROR=.38,this.AVG_CODE_ERROR=.09)}var o=n(28),i=n.n(o),a=n(1),s={START_PATTERN:{value:[1,1,1,1]},STOP_PATTERN:{value:[1,1,3]},CODE_PATTERN:{value:[[1,1,3,3,1],[3,1,1,1,3],[1,3,1,1,3],[3,3,1,1,1],[1,1,3,1,3],[3,1,3,1,1],[1,3,3,1,1],[1,1,1,3,3],[3,1,1,3,1],[1,3,1,3,1]]},SINGLE_CODE_ERROR:{value:.78,writable:!0},AVG_CODE_ERROR:{value:.38,writable:!0},MAX_CORRECTION_FACTOR:{value:5},FORMAT:{value:"i2of5"}};r.prototype=Object.create(a.a.prototype,s),r.prototype.constructor=r,r.prototype._matchPattern=function(t,e){if(this.config.normalizeBarSpaceWidth){var n,r=[0,0],o=[0,0],i=[0,0],s=this.MAX_CORRECTION_FACTOR,u=1/s;for(n=0;n<t.length;n++)r[n%2]+=t[n],o[n%2]+=e[n];for(i[0]=o[0]/r[0],i[1]=o[1]/r[1],i[0]=Math.max(Math.min(i[0],s),u),i[1]=Math.max(Math.min(i[1],s),u),this.barSpaceRatio=i,n=0;n<t.length;n++)t[n]*=this.barSpaceRatio[n%2]}return a.a.prototype._matchPattern.call(this,t,e)},r.prototype._findPattern=function(t,e,n,r){var o,i,a,s,u=[],l=this,c=0,f={error:Number.MAX_VALUE,code:-1,start:0,end:0},p=l.AVG_CODE_ERROR;for(n=n||!1,r=r||!1,e||(e=l._nextSet(l._row)),o=0;o<t.length;o++)u[o]=0;for(o=e;o<l._row.length;o++)if(l._row[o]^n)u[c]++;else{if(c===u.length-1){for(s=0,a=0;a<u.length;a++)s+=u[a];if((i=l._matchPattern(u,t))<p)return f.error=i,f.start=o-s,f.end=o,f;if(!r)return null;for(a=0;a<u.length-2;a++)u[a]=u[a+2];u[u.length-2]=0,u[u.length-1]=0,c--}else c++;u[c]=1,n=!n}return null},r.prototype._findStart=function(){for(var t,e,n=this,r=n._nextSet(n._row),o=1;!e;){if(!(e=n._findPattern(n.START_PATTERN,r,!1,!0)))return null;if(o=Math.floor((e.end-e.start)/4),(t=e.start-10*o)>=0&&n._matchRange(t,e.start,0))return e;r=e.end,e=null}},r.prototype._verifyTrailingWhitespace=function(t){var e;return(e=t.end+(t.end-t.start)/2)<this._row.length&&this._matchRange(t.end,e,0)?t:null},r.prototype._findEnd=function(){var t,e,n=this;return n._row.reverse(),t=n._findPattern(n.STOP_PATTERN),n._row.reverse(),null===t?null:(e=t.start,t.start=n._row.length-t.end,t.end=n._row.length-e,null!==t?n._verifyTrailingWhitespace(t):null)},r.prototype._decodePair=function(t){var e,n,r=[];for(e=0;e<t.length;e++){if(!(n=this._decodeCode(t[e])))return null;r.push(n)}return r},r.prototype._decodeCode=function(t){var e,n,r,o=this,i=o.AVG_CODE_ERROR,a={error:Number.MAX_VALUE,code:-1,start:0,end:0};for(e=0;e<t.length;e++)t[e];for(r=0;r<o.CODE_PATTERN.length;r++)(n=o._matchPattern(t,o.CODE_PATTERN[r]))<a.error&&(a.code=r,a.error=n);if(a.error<i)return a},r.prototype._decodePayload=function(t,e,n){for(var r,o,i=0,a=t.length,s=[[0,0,0,0,0],[0,0,0,0,0]];i<a;){for(r=0;r<5;r++)s[0][r]=t[i]*this.barSpaceRatio[0],s[1][r]=t[i+1]*this.barSpaceRatio[1],i+=2;if(!(o=this._decodePair(s)))return null;for(r=0;r<o.length;r++)e.push(o[r].code+""),n.push(o[r])}return o},r.prototype._verifyCounterLength=function(t){return t.length%10==0},r.prototype._decode=function(){var t,e,n,r=this,o=[],i=[];return(t=r._findStart())?(i.push(t),(e=r._findEnd())?(n=r._fillCounters(t.end,e.start,!1),r._verifyCounterLength(n)&&r._decodePayload(n,o,i)?o.length%2!=0||o.length<6?null:(i.push(e),{code:o.join(""),start:t.start,end:e.end,startInfo:t,decodedCodes:i}):null):null):null},r.CONFIG_KEYS={normalizeBarSpaceWidth:{type:"boolean",default:!1,description:"If true, the reader tries to normalize thewidth-difference between bars and spaces"}},e.a=r},function(t,e,n){"use strict";function r(t,e){o.a.call(this,t,e)}var o=n(4);r.prototype=Object.create(o.a.prototype,{CODE_FREQUENCY:{value:[[56,52,50,49,44,38,35,42,41,37],[7,11,13,14,19,25,28,21,22,26]]},STOP_PATTERN:{value:[1/6*7,1/6*7,1/6*7,1/6*7,1/6*7,1/6*7]},FORMAT:{value:"upc_e",writeable:!1}}),r.prototype.constructor=r,r.prototype._decodePayload=function(t,e,n){var r,o=this,i=0;for(r=0;r<6;r++){if(!(t=o._decodeCode(t.end)))return null;t.code>=o.CODE_G_START&&(t.code=t.code-o.CODE_G_START,i|=1<<5-r),e.push(t.code),n.push(t)}return o._determineParity(i,e)?t:null},r.prototype._determineParity=function(t,e){var n,r;for(r=0;r<this.CODE_FREQUENCY.length;r++)for(n=0;n<this.CODE_FREQUENCY[r].length;n++)if(t===this.CODE_FREQUENCY[r][n])return e.unshift(r),e.push(n),!0;return!1},r.prototype._convertToUPCA=function(t){var e=[t[0]],n=t[t.length-2];return(e=n<=2?e.concat(t.slice(1,3)).concat([n,0,0,0,0]).concat(t.slice(3,6)):3===n?e.concat(t.slice(1,4)).concat([0,0,0,0,0]).concat(t.slice(4,6)):4===n?e.concat(t.slice(1,5)).concat([0,0,0,0,0,t[5]]):e.concat(t.slice(1,6)).concat([0,0,0,0,n])).push(t[t.length-1]),e},r.prototype._checksum=function(t){return o.a.prototype._checksum.call(this,this._convertToUPCA(t))},r.prototype._findEnd=function(t,e){return o.a.prototype._findEnd.call(this,t,!0)},r.prototype._verifyTrailingWhitespace=function(t){var e;if((e=t.end+(t.end-t.start)/2)<this._row.length&&this._matchRange(t.end,e,0))return t},e.a=r},function(t,e,n){"use strict";function r(t,e){o.a.call(this,t,e)}var o=n(4);r.prototype=Object.create(o.a.prototype,{FORMAT:{value:"upc_a",writeable:!1}}),r.prototype.constructor=r,r.prototype._decode=function(){var t=o.a.prototype._decode.call(this);return t&&t.code&&13===t.code.length&&"0"===t.code.charAt(0)?(t.code=t.code.substring(1),t):null},e.a=r},function(t,e){t.exports=function(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}},function(t,e){t.exports=function(){var t=new Float32Array(4);return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t}},function(t,e){t.exports=function(t,e){var n=e[0],r=e[1],o=e[2],i=e[3],a=n*i-o*r;return a?(a=1/a,t[0]=i*a,t[1]=-r*a,t[2]=-o*a,t[3]=n*a,t):null}},function(t,e){t.exports=function(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t}},function(t,e){t.exports=function(t,e,n){var r=e[0],o=e[1];return t[0]=n[0]*r+n[2]*o,t[1]=n[1]*r+n[3]*o,t}},function(t,e){t.exports=function(t){var e=new Float32Array(3);return e[0]=t[0],e[1]=t[1],e[2]=t[2],e}},function(t,e,n){function r(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}var o=n(122),i=n(123),a=n(124),s=n(125),u=n(126);r.prototype.clear=o,r.prototype.delete=i,r.prototype.get=a,r.prototype.has=s,r.prototype.set=u,t.exports=r},function(t,e,n){function r(t){var e=this.__data__=new o(t);this.size=e.size}var o=n(10),i=n(149),a=n(150),s=n(151),u=n(152),l=n(153);r.prototype.clear=i,r.prototype.delete=a,r.prototype.get=s,r.prototype.has=u,r.prototype.set=l,t.exports=r},function(t,e,n){var r=n(5).Uint8Array;t.exports=r},function(t,e){t.exports=function(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}},function(t,e,n){var r=n(107),o=n(18),i=n(2),a=n(44),s=n(15),u=n(45),l=Object.prototype.hasOwnProperty;t.exports=function(t,e){var n=i(t),c=!n&&o(t),f=!n&&!c&&a(t),p=!n&&!c&&!f&&u(t),d=n||c||f||p,h=d?r(t.length,String):[],g=h.length;for(var y in t)!e&&!l.call(t,y)||d&&("length"==y||f&&("offset"==y||"parent"==y)||p&&("buffer"==y||"byteLength"==y||"byteOffset"==y)||s(y,g))||h.push(y);return h}},function(t,e){t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length,o=Array(r);++n<r;)o[n]=e(t[n],n,t);return o}},function(t,e){t.exports=function(t,e){for(var n=-1,r=e.length,o=t.length;++n<r;)t[o+n]=e[n];return t}},function(t,e,n){var r=n(0),o=Object.create,i=function(){function t(){}return function(e){if(!r(e))return{};if(o)return o(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();t.exports=i},function(t,e,n){var r=n(90),o=n(128);t.exports=function t(e,n,i,a,s){var u=-1,l=e.length;for(i||(i=o),s||(s=[]);++u<l;){var c=e[u];n>0&&i(c)?n>1?t(c,n-1,i,a,s):r(s,c):a||(s[s.length]=c)}return s}},function(t,e,n){var r=n(117)();t.exports=r},function(t,e,n){var r=n(13),o=n(23);t.exports=function(t,e){for(var n=0,i=(e=r(e,t)).length;null!=t&&n<i;)t=t[o(e[n++])];return n&&n==i?t:void 0}},function(t,e){t.exports=function(t,e){return null!=t&&e in Object(t)}},function(t,e,n){var r=n(8),o=n(6),i="[object Arguments]";t.exports=function(t){return o(t)&&r(t)==i}},function(t,e,n){var r=n(25),o=n(132),i=n(0),a=n(155),s=/^\[object .+?Constructor\]$/,u=Function.prototype,l=Object.prototype,c=u.toString,f=l.hasOwnProperty,p=RegExp("^"+c.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!i(t)||o(t))&&(r(t)?p:s).test(a(t))}},function(t,e,n){var r=n(8),o=n(26),i=n(6),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,t.exports=function(t){return i(t)&&o(t.length)&&!!a[r(t)]}},function(t,e,n){var r=n(0),o=n(40),i=n(144),a=Object.prototype.hasOwnProperty;t.exports=function(t){if(!r(t))return i(t);var e=o(t),n=[];for(var s in t)("constructor"!=s||!e&&a.call(t,s))&&n.push(s);return n}},function(t,e,n){var r=n(85),o=n(35),i=n(93),a=n(101),s=n(0),u=n(46);t.exports=function t(e,n,l,c,f){e!==n&&i(n,(function(i,u){if(s(i))f||(f=new r),a(e,n,u,l,t,c,f);else{var p=c?c(e[u],i,u+"",e,n,f):void 0;void 0===p&&(p=i),o(e,u,p)}}),u)}},function(t,e,n){var r=n(35),o=n(111),i=n(112),a=n(113),s=n(127),u=n(18),l=n(2),c=n(159),f=n(44),p=n(25),d=n(0),h=n(160),g=n(45),y=n(164);t.exports=function(t,e,n,v,m,w,E){var b=t[n],_=e[n],C=E.get(_);if(C)r(t,n,C);else{var S=w?w(b,_,n+"",t,e,E):void 0,A=void 0===S;if(A){var O=l(_),I=!O&&f(_),T=!O&&!I&&g(_);S=_,O||I||T?l(b)?S=b:c(b)?S=a(b):I?(A=!1,S=o(_,!0)):T?(A=!1,S=i(_,!0)):S=[]:h(_)||u(_)?(S=b,u(b)?S=y(b):(!d(b)||v&&p(b))&&(S=s(_))):A=!1}A&&(E.set(_,S),m(S,_,v,w,E),E.delete(_)),r(t,n,S)}}},function(t,e,n){var r=n(103),o=n(158);t.exports=function(t,e){return r(t,e,(function(e,n){return o(t,n)}))}},function(t,e,n){var r=n(94),o=n(105),i=n(13);t.exports=function(t,e,n){for(var a=-1,s=e.length,u={};++a<s;){var l=e[a],c=r(t,l);n(c,l)&&o(u,i(l,t),c)}return u}},function(t,e,n){var r=n(43),o=n(41),i=n(42);t.exports=function(t,e){return i(o(t,e,r),t+"")}},function(t,e,n){var r=n(36),o=n(13),i=n(15),a=n(0),s=n(23);t.exports=function(t,e,n,u){if(!a(t))return t;for(var l=-1,c=(e=o(e,t)).length,f=c-1,p=t;null!=p&&++l<c;){var d=s(e[l]),h=n;if(l!=f){var g=p[d];void 0===(h=u?u(g,d,p):void 0)&&(h=a(g)?g:i(e[l+1])?[]:{})}r(p,d,h),p=p[d]}return t}},function(t,e,n){var r=n(156),o=n(37),i=n(43),a=o?function(t,e){return o(t,"toString",{configurable:!0,enumerable:!1,value:r(e),writable:!0})}:i;t.exports=a},function(t,e){t.exports=function(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}},function(t,e,n){var r=n(11),o=n(89),i=n(2),a=n(27),s=1/0,u=r?r.prototype:void 0,l=u?u.toString:void 0;t.exports=function t(e){if("string"==typeof e)return e;if(i(e))return o(e,t)+"";if(a(e))return l?l.call(e):"";var n=e+"";return"0"==n&&1/e==-s?"-0":n}},function(t,e){t.exports=function(t){return function(e){return t(e)}}},function(t,e,n){var r=n(86);t.exports=function(t){var e=new t.constructor(t.byteLength);return new r(e).set(new r(t)),e}},function(t,e,n){(function(t){var r=n(5),o="object"==typeof e&&e&&!e.nodeType&&e,i=o&&"object"==typeof t&&t&&!t.nodeType&&t,a=i&&i.exports===o?r.Buffer:void 0,s=a?a.allocUnsafe:void 0;t.exports=function(t,e){if(e)return t.slice();var n=t.length,r=s?s(n):new t.constructor(n);return t.copy(r),r}}).call(e,n(29)(t))},function(t,e,n){var r=n(110);t.exports=function(t,e){var n=e?r(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}},function(t,e){t.exports=function(t,e){var n=-1,r=t.length;for(e||(e=Array(r));++n<r;)e[n]=t[n];return e}},function(t,e,n){var r=n(36),o=n(21);t.exports=function(t,e,n,i){var a=!n;n||(n={});for(var s=-1,u=e.length;++s<u;){var l=e[s],c=i?i(n[l],t[l],l,n,t):void 0;void 0===c&&(c=t[l]),a?o(n,l,c):r(n,l,c)}return n}},function(t,e,n){var r=n(5)["__core-js_shared__"];t.exports=r},function(t,e,n){var r=n(104),o=n(129);t.exports=function(t){return r((function(e,n){var r=-1,i=n.length,a=i>1?n[i-1]:void 0,s=i>2?n[2]:void 0;for(a=t.length>3&&"function"==typeof a?(i--,a):void 0,s&&o(n[0],n[1],s)&&(a=i<3?void 0:a,i=1),e=Object(e);++r<i;){var u=n[r];u&&t(e,u,r,a)}return e}))}},function(t,e){t.exports=function(t){return function(e,n,r){for(var o=-1,i=Object(e),a=r(e),s=a.length;s--;){var u=a[t?s:++o];if(!1===n(i[u],u,i))break}return e}}},function(t,e,n){var r=n(157),o=n(41),i=n(42);t.exports=function(t){return i(o(t,void 0,r),t+"")}},function(t,e,n){var r=n(11),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,s=r?r.toStringTag:void 0;t.exports=function(t){var e=i.call(t,s),n=t[s];try{t[s]=void 0;var r=!0}catch(t){}var o=a.call(t);return r&&(e?t[s]=n:delete t[s]),o}},function(t,e){t.exports=function(t,e){return null==t?void 0:t[e]}},function(t,e,n){var r=n(13),o=n(18),i=n(2),a=n(15),s=n(26),u=n(23);t.exports=function(t,e,n){for(var l=-1,c=(e=r(e,t)).length,f=!1;++l<c;){var p=u(e[l]);if(!(f=null!=t&&n(t,p)))break;t=t[p]}return f||++l!=c?f:!!(c=null==t?0:t.length)&&s(c)&&a(p,c)&&(i(t)||o(t))}},function(t,e,n){var r=n(16);t.exports=function(){this.__data__=r?r(null):{},this.size=0}},function(t,e){t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},function(t,e,n){var r=n(16),o="__lodash_hash_undefined__",i=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(r){var n=e[t];return n===o?void 0:n}return i.call(e,t)?e[t]:void 0}},function(t,e,n){var r=n(16),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return r?void 0!==e[t]:o.call(e,t)}},function(t,e,n){var r=n(16),o="__lodash_hash_undefined__";t.exports=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=r&&void 0===e?o:e,this}},function(t,e,n){var r=n(91),o=n(39),i=n(40);t.exports=function(t){return"function"!=typeof t.constructor||i(t)?{}:r(o(t))}},function(t,e,n){var r=n(11),o=n(18),i=n(2),a=r?r.isConcatSpreadable:void 0;t.exports=function(t){return i(t)||o(t)||!!(a&&t&&t[a])}},function(t,e,n){var r=n(17),o=n(24),i=n(15),a=n(0);t.exports=function(t,e,n){if(!a(n))return!1;var s=typeof e;return!!("number"==s?o(n)&&i(e,n.length):"string"==s&&e in n)&&r(n[e],t)}},function(t,e,n){var r=n(2),o=n(27),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;t.exports=function(t,e){if(r(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!o(t))||a.test(t)||!i.test(t)||null!=e&&t in Object(e)}},function(t,e){t.exports=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},function(t,e,n){var r=n(115),o=function(){var t=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();t.exports=function(t){return!!o&&o in t}},function(t,e){t.exports=function(){this.__data__=[],this.size=0}},function(t,e,n){var r=n(12),o=Array.prototype.splice;t.exports=function(t){var e=this.__data__,n=r(e,t);return!(n<0||(n==e.length-1?e.pop():o.call(e,n,1),--this.size,0))}},function(t,e,n){var r=n(12);t.exports=function(t){var e=this.__data__,n=r(e,t);return n<0?void 0:e[n][1]}},function(t,e,n){var r=n(12);t.exports=function(t){return r(this.__data__,t)>-1}},function(t,e,n){var r=n(12);t.exports=function(t,e){var n=this.__data__,o=r(n,t);return o<0?(++this.size,n.push([t,e])):n[o][1]=e,this}},function(t,e,n){var r=n(84),o=n(10),i=n(33);t.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||o),string:new r}}},function(t,e,n){var r=n(14);t.exports=function(t){var e=r(this,t).delete(t);return this.size-=e?1:0,e}},function(t,e,n){var r=n(14);t.exports=function(t){return r(this,t).get(t)}},function(t,e,n){var r=n(14);t.exports=function(t){return r(this,t).has(t)}},function(t,e,n){var r=n(14);t.exports=function(t,e){var n=r(this,t),o=n.size;return n.set(t,e),this.size+=n.size==o?0:1,this}},function(t,e,n){var r=n(161),o=500;t.exports=function(t){var e=r(t,(function(t){return n.size===o&&n.clear(),t})),n=e.cache;return e}},function(t,e){t.exports=function(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}},function(t,e,n){(function(t){var r=n(38),o="object"==typeof e&&e&&!e.nodeType&&e,i=o&&"object"==typeof t&&t&&!t.nodeType&&t,a=i&&i.exports===o&&r.process,s=function(){try{return a&&a.binding&&a.binding("util")}catch(t){}}();t.exports=s}).call(e,n(29)(t))},function(t,e){var n=Object.prototype.toString;t.exports=function(t){return n.call(t)}},function(t,e){t.exports=function(t,e){return function(n){return t(e(n))}}},function(t,e){var n=800,r=16,o=Date.now;t.exports=function(t){var e=0,i=0;return function(){var a=o(),s=r-(a-i);if(i=a,s>0){if(++e>=n)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}},function(t,e,n){var r=n(10);t.exports=function(){this.__data__=new r,this.size=0}},function(t,e){t.exports=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}},function(t,e){t.exports=function(t){return this.__data__.get(t)}},function(t,e){t.exports=function(t){return this.__data__.has(t)}},function(t,e,n){var r=n(10),o=n(33),i=n(34),a=200;t.exports=function(t,e){var n=this.__data__;if(n instanceof r){var s=n.__data__;if(!o||s.length<a-1)return s.push([t,e]),this.size=++n.size,this;n=this.__data__=new i(s)}return n.set(t,e),this.size=n.size,this}},function(t,e,n){var r=n(143),o=/^\./,i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,a=/\\(\\)?/g,s=r((function(t){var e=[];return o.test(t)&&e.push(""),t.replace(i,(function(t,n,r,o){e.push(r?o.replace(a,"$1"):n||t)})),e}));t.exports=s},function(t,e){var n=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return n.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},function(t,e){t.exports=function(t){return function(){return t}}},function(t,e,n){var r=n(92);t.exports=function(t){return null!=t&&t.length?r(t,1):[]}},function(t,e,n){var r=n(95),o=n(121);t.exports=function(t,e){return null!=t&&o(t,e,r)}},function(t,e,n){var r=n(24),o=n(6);t.exports=function(t){return o(t)&&r(t)}},function(t,e,n){var r=n(8),o=n(39),i=n(6),a="[object Object]",s=Function.prototype,u=Object.prototype,l=s.toString,c=u.hasOwnProperty,f=l.call(Object);t.exports=function(t){if(!i(t)||r(t)!=a)return!1;var e=o(t);if(null===e)return!0;var n=c.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&l.call(n)==f}},function(t,e,n){function r(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError(i);var n=function(){var r=arguments,o=e?e.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=t.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(r.Cache||o),n}var o=n(34),i="Expected a function";r.Cache=o,t.exports=r},function(t,e,n){var r=n(102),o=n(118)((function(t,e){return null==t?{}:r(t,e)}));t.exports=o},function(t,e){t.exports=function(){return!1}},function(t,e,n){var r=n(114),o=n(46);t.exports=function(t){return r(t,o(t))}},function(t,e,n){var r=n(108);t.exports=function(t){return null==t?"":r(t)}},function(t,e,n){t.exports=n(48)}])},t.exports=r(r.toString()).default},function(t,e,n){"use strict";var r,o=n(15),i=(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.kind="ArgumentException",e}(o.a);e.a=a},function(t,e,n){"use strict";n.d(e,"a",(function(){return h}));var r=n(32),o=n(81),i=n(18),a=n(82),s=n(2),u=n(1),l=n(85),c=n(86),f=function(t,e,n,r){return new(n||(n=Promise))((function(o,i){function a(t){try{u(r.next(t))}catch(t){i(t)}}function s(t){try{u(r.throw(t))}catch(t){i(t)}}function u(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,s)}u((r=r.apply(t,e||[])).next())}))},p=function(t,e){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=e.call(t,a)}catch(t){i=[6,t],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},d=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},h=function(){function t(t,e,n){void 0===e&&(e=500),this.reader=t,this.timeBetweenScansMillis=e,this._hints=n,this._stopContinuousDecode=!1,this._stopAsyncDecode=!1,this._timeBetweenDecodingAttempts=0}return Object.defineProperty(t.prototype,"hasNavigator",{get:function(){return"undefined"!=typeof navigator},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isMediaDevicesSuported",{get:function(){return this.hasNavigator&&!!navigator.mediaDevices},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"canEnumerateDevices",{get:function(){return!(!this.isMediaDevicesSuported||!navigator.mediaDevices.enumerateDevices)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"timeBetweenDecodingAttempts",{get:function(){return this._timeBetweenDecodingAttempts},set:function(t){this._timeBetweenDecodingAttempts=t<0?0:t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hints",{get:function(){return this._hints},set:function(t){this._hints=t||null},enumerable:!1,configurable:!0}),t.prototype.listVideoInputDevices=function(){return f(this,void 0,void 0,(function(){var t,e,n,r,o,i,a,s,u,l,c,f;return p(this,(function(p){switch(p.label){case 0:if(!this.hasNavigator)throw new Error("Can't enumerate devices, navigator is not present.");if(!this.canEnumerateDevices)throw new Error("Can't enumerate devices, method not supported.");return[4,navigator.mediaDevices.enumerateDevices()];case 1:t=p.sent(),e=[];try{for(n=d(t),r=n.next();!r.done;r=n.next())o=r.value,"videoinput"===(i="video"===o.kind?"videoinput":o.kind)&&(a=o.deviceId||o.id,s=o.label||"Video device "+(e.length+1),u=o.groupId,l={deviceId:a,label:s,kind:i,groupId:u},e.push(l))}catch(t){c={error:t}}finally{try{r&&!r.done&&(f=n.return)&&f.call(n)}finally{if(c)throw c.error}}return[2,e]}}))}))},t.prototype.getVideoInputDevices=function(){return f(this,void 0,void 0,(function(){return p(this,(function(t){switch(t.label){case 0:return[4,this.listVideoInputDevices()];case 1:return[2,t.sent().map((function(t){return new c.a(t.deviceId,t.label)}))]}}))}))},t.prototype.findDeviceById=function(t){return f(this,void 0,void 0,(function(){var e;return p(this,(function(n){switch(n.label){case 0:return[4,this.listVideoInputDevices()];case 1:return(e=n.sent())?[2,e.find((function(e){return e.deviceId===t}))]:[2,null]}}))}))},t.prototype.decodeFromInputVideoDevice=function(t,e){return f(this,void 0,void 0,(function(){return p(this,(function(n){switch(n.label){case 0:return[4,this.decodeOnceFromVideoDevice(t,e)];case 1:return[2,n.sent()]}}))}))},t.prototype.decodeOnceFromVideoDevice=function(t,e){return f(this,void 0,void 0,(function(){var n;return p(this,(function(r){switch(r.label){case 0:return this.reset(),n={video:t?{deviceId:{exact:t}}:{facingMode:"environment"}},[4,this.decodeOnceFromConstraints(n,e)];case 1:return[2,r.sent()]}}))}))},t.prototype.decodeOnceFromConstraints=function(t,e){return f(this,void 0,void 0,(function(){var n;return p(this,(function(r){switch(r.label){case 0:return[4,navigator.mediaDevices.getUserMedia(t)];case 1:return n=r.sent(),[4,this.decodeOnceFromStream(n,e)];case 2:return[2,r.sent()]}}))}))},t.prototype.decodeOnceFromStream=function(t,e){return f(this,void 0,void 0,(function(){var n;return p(this,(function(r){switch(r.label){case 0:return this.reset(),[4,this.attachStreamToVideo(t,e)];case 1:return n=r.sent(),[4,this.decodeOnce(n)];case 2:return[2,r.sent()]}}))}))},t.prototype.decodeFromInputVideoDeviceContinuously=function(t,e,n){return f(this,void 0,void 0,(function(){return p(this,(function(r){switch(r.label){case 0:return[4,this.decodeFromVideoDevice(t,e,n)];case 1:return[2,r.sent()]}}))}))},t.prototype.decodeFromVideoDevice=function(t,e,n){return f(this,void 0,void 0,(function(){var r;return p(this,(function(o){switch(o.label){case 0:return r={video:t?{deviceId:{exact:t}}:{facingMode:"environment"}},[4,this.decodeFromConstraints(r,e,n)];case 1:return[2,o.sent()]}}))}))},t.prototype.decodeFromConstraints=function(t,e,n){return f(this,void 0,void 0,(function(){var r;return p(this,(function(o){switch(o.label){case 0:return[4,navigator.mediaDevices.getUserMedia(t)];case 1:return r=o.sent(),[4,this.decodeFromStream(r,e,n)];case 2:return[2,o.sent()]}}))}))},t.prototype.decodeFromStream=function(t,e,n){return f(this,void 0,void 0,(function(){var r;return p(this,(function(o){switch(o.label){case 0:return this.reset(),[4,this.attachStreamToVideo(t,e)];case 1:return r=o.sent(),[4,this.decodeContinuously(r,n)];case 2:return[2,o.sent()]}}))}))},t.prototype.stopAsyncDecode=function(){this._stopAsyncDecode=!0},t.prototype.stopContinuousDecode=function(){this._stopContinuousDecode=!0},t.prototype.attachStreamToVideo=function(t,e){return f(this,void 0,void 0,(function(){var n;return p(this,(function(r){switch(r.label){case 0:return n=this.prepareVideoElement(e),this.addVideoSource(n,t),this.videoElement=n,this.stream=t,[4,this.playVideoOnLoadAsync(n)];case 1:return r.sent(),[2,n]}}))}))},t.prototype.playVideoOnLoadAsync=function(t){var e=this;return new Promise((function(n,r){return e.playVideoOnLoad(t,(function(){return n()}))}))},t.prototype.playVideoOnLoad=function(t,e){var n=this;this.videoEndedListener=function(){return n.stopStreams()},this.videoCanPlayListener=function(){return n.tryPlayVideo(t)},t.addEventListener("ended",this.videoEndedListener),t.addEventListener("canplay",this.videoCanPlayListener),t.addEventListener("playing",e),this.tryPlayVideo(t)},t.prototype.isVideoPlaying=function(t){return t.currentTime>0&&!t.paused&&!t.ended&&t.readyState>2},t.prototype.tryPlayVideo=function(t){return f(this,void 0,void 0,(function(){return p(this,(function(e){switch(e.label){case 0:if(this.isVideoPlaying(t))return console.warn("Trying to play video that is already playing."),[2];e.label=1;case 1:return e.trys.push([1,3,,4]),[4,t.play()];case 2:return e.sent(),[3,4];case 3:return e.sent(),console.warn("It was not possible to play the video."),[3,4];case 4:return[2]}}))}))},t.prototype.getMediaElement=function(t,e){var n=document.getElementById(t);if(!n)throw new r.a("element with id '"+t+"' not found");if(n.nodeName.toLowerCase()!==e.toLowerCase())throw new r.a("element with id '"+t+"' must be an "+e+" element");return n},t.prototype.decodeFromImage=function(t,e){if(!t&&!e)throw new r.a("either imageElement with a src set or an url must be provided");return e&&!t?this.decodeFromImageUrl(e):this.decodeFromImageElement(t)},t.prototype.decodeFromVideo=function(t,e){if(!t&&!e)throw new r.a("Either an element with a src set or an URL must be provided");return e&&!t?this.decodeFromVideoUrl(e):this.decodeFromVideoElement(t)},t.prototype.decodeFromVideoContinuously=function(t,e,n){if(void 0===t&&void 0===e)throw new r.a("Either an element with a src set or an URL must be provided");return e&&!t?this.decodeFromVideoUrlContinuously(e,n):this.decodeFromVideoElementContinuously(t,n)},t.prototype.decodeFromImageElement=function(t){if(!t)throw new r.a("An image element must be provided.");this.reset();var e=this.prepareImageElement(t);return this.imageElement=e,this.isImageLoaded(e)?this.decodeOnce(e,!1,!0):this._decodeOnLoadImage(e)},t.prototype.decodeFromVideoElement=function(t){var e=this._decodeFromVideoElementSetup(t);return this._decodeOnLoadVideo(e)},t.prototype.decodeFromVideoElementContinuously=function(t,e){var n=this._decodeFromVideoElementSetup(t);return this._decodeOnLoadVideoContinuously(n,e)},t.prototype._decodeFromVideoElementSetup=function(t){if(!t)throw new r.a("A video element must be provided.");this.reset();var e=this.prepareVideoElement(t);return this.videoElement=e,e},t.prototype.decodeFromImageUrl=function(t){if(!t)throw new r.a("An URL must be provided.");this.reset();var e=this.prepareImageElement();this.imageElement=e;var n=this._decodeOnLoadImage(e);return e.src=t,n},t.prototype.decodeFromVideoUrl=function(t){if(!t)throw new r.a("An URL must be provided.");this.reset();var e=this.prepareVideoElement(),n=this.decodeFromVideoElement(e);return e.src=t,n},t.prototype.decodeFromVideoUrlContinuously=function(t,e){if(!t)throw new r.a("An URL must be provided.");this.reset();var n=this.prepareVideoElement(),o=this.decodeFromVideoElementContinuously(n,e);return n.src=t,o},t.prototype._decodeOnLoadImage=function(t){var e=this;return new Promise((function(n,r){e.imageLoadedListener=function(){return e.decodeOnce(t,!1,!0).then(n,r)},t.addEventListener("load",e.imageLoadedListener)}))},t.prototype._decodeOnLoadVideo=function(t){return f(this,void 0,void 0,(function(){return p(this,(function(e){switch(e.label){case 0:return[4,this.playVideoOnLoadAsync(t)];case 1:return e.sent(),[4,this.decodeOnce(t)];case 2:return[2,e.sent()]}}))}))},t.prototype._decodeOnLoadVideoContinuously=function(t,e){return f(this,void 0,void 0,(function(){return p(this,(function(n){switch(n.label){case 0:return[4,this.playVideoOnLoadAsync(t)];case 1:return n.sent(),this.decodeContinuously(t,e),[2]}}))}))},t.prototype.isImageLoaded=function(t){return!!t.complete&&0!==t.naturalWidth},t.prototype.prepareImageElement=function(t){var e;return void 0===t&&((e=document.createElement("img")).width=200,e.height=200),"string"==typeof t&&(e=this.getMediaElement(t,"img")),t instanceof HTMLImageElement&&(e=t),e},t.prototype.prepareVideoElement=function(t){var e;return t||"undefined"==typeof document||((e=document.createElement("video")).width=200,e.height=200),"string"==typeof t&&(e=this.getMediaElement(t,"video")),t instanceof HTMLVideoElement&&(e=t),e.setAttribute("autoplay","true"),e.setAttribute("muted","true"),e.setAttribute("playsinline","true"),e},t.prototype.decodeOnce=function(t,e,n){var r=this;void 0===e&&(e=!0),void 0===n&&(n=!0),this._stopAsyncDecode=!1;var o=function(a,l){if(r._stopAsyncDecode)return l(new u.a("Video stream has ended before any code could be detected.")),void(r._stopAsyncDecode=void 0);try{a(r.decode(t))}catch(t){var c=e&&t instanceof u.a,f=t instanceof i.a||t instanceof s.a;if(c||f&&n)return setTimeout(o,r._timeBetweenDecodingAttempts,a,l);l(t)}};return new Promise((function(t,e){return o(t,e)}))},t.prototype.decodeContinuously=function(t,e){var n=this;this._stopContinuousDecode=!1;var r=function(){if(n._stopContinuousDecode)n._stopContinuousDecode=void 0;else try{var o=n.decode(t);e(o,null),setTimeout(r,n.timeBetweenScansMillis)}catch(t){e(null,t);var a=t instanceof i.a||t instanceof s.a,l=t instanceof u.a;(a||l)&&setTimeout(r,n._timeBetweenDecodingAttempts)}};r()},t.prototype.decode=function(t){var e=this.createBinaryBitmap(t);return this.decodeBitmap(e)},t.prototype.createBinaryBitmap=function(t){var e=this.getCaptureCanvasContext(t);this.drawImageOnCanvas(e,t);var n=this.getCaptureCanvas(t),r=new l.a(n),i=new a.a(r);return new o.a(i)},t.prototype.getCaptureCanvasContext=function(t){if(!this.captureCanvasContext){var e=this.getCaptureCanvas(t).getContext("2d");this.captureCanvasContext=e}return this.captureCanvasContext},t.prototype.getCaptureCanvas=function(t){if(!this.captureCanvas){var e=this.createCaptureCanvas(t);this.captureCanvas=e}return this.captureCanvas},t.prototype.drawImageOnCanvas=function(t,e){t.drawImage(e,0,0)},t.prototype.decodeBitmap=function(t){return this.reader.decode(t,this._hints)},t.prototype.createCaptureCanvas=function(t){if("undefined"==typeof document)return this._destroyCaptureCanvas(),null;var e,n,r=document.createElement("canvas");return void 0!==t&&(t instanceof HTMLVideoElement?(e=t.videoWidth,n=t.videoHeight):t instanceof HTMLImageElement&&(e=t.naturalWidth||t.width,n=t.naturalHeight||t.height)),r.style.width=e+"px",r.style.height=n+"px",r.width=e,r.height=n,r},t.prototype.stopStreams=function(){this.stream&&(this.stream.getVideoTracks().forEach((function(t){return t.stop()})),this.stream=void 0),!1===this._stopAsyncDecode&&this.stopAsyncDecode(),!1===this._stopContinuousDecode&&this.stopContinuousDecode()},t.prototype.reset=function(){this.stopStreams(),this._destroyVideoElement(),this._destroyImageElement(),this._destroyCaptureCanvas()},t.prototype._destroyVideoElement=function(){this.videoElement&&(void 0!==this.videoEndedListener&&this.videoElement.removeEventListener("ended",this.videoEndedListener),void 0!==this.videoPlayingEventListener&&this.videoElement.removeEventListener("playing",this.videoPlayingEventListener),void 0!==this.videoCanPlayListener&&this.videoElement.removeEventListener("loadedmetadata",this.videoCanPlayListener),this.cleanVideoSource(this.videoElement),this.videoElement=void 0)},t.prototype._destroyImageElement=function(){this.imageElement&&(void 0!==this.imageLoadedListener&&this.imageElement.removeEventListener("load",this.imageLoadedListener),this.imageElement.src=void 0,this.imageElement.removeAttribute("src"),this.imageElement=void 0)},t.prototype._destroyCaptureCanvas=function(){this.captureCanvasContext=void 0,this.captureCanvas=void 0},t.prototype.addVideoSource=function(t,e){try{t.srcObject=e}catch(n){t.src=URL.createObjectURL(e)}},t.prototype.cleanVideoSource=function(t){try{t.srcObject=null}catch(e){t.src=""}this.videoElement.removeAttribute("src")},t}()},function(t,e,n){"use strict";n.d(e,"a",(function(){return p}));var r=n(6),o=n(99);function i(){return"undefined"!=typeof navigator}function a(){return!!(i()&&navigator.mediaDevices&&navigator.mediaDevices.enumerateDevices)}var s=function(){return(s=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},u=function(t,e,n,r){return new(n||(n=Promise))((function(o,i){function a(t){try{u(r.next(t))}catch(t){i(t)}}function s(t){try{u(r.throw(t))}catch(t){i(t)}}function u(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,s)}u((r=r.apply(t,e||[])).next())}))},l=function(t,e){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=e.call(t,a)}catch(t){i=[6,t],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},c=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},f={delayBetweenScanAttempts:500,delayBetweenScanSuccess:500,tryPlayVideoTimeout:5e3},p=function(){function t(t,e,n){void 0===e&&(e=new Map),void 0===n&&(n={}),this.reader=t,this.hints=e,this.options=s(s({},f),n)}return Object.defineProperty(t.prototype,"possibleFormats",{set:function(t){this.hints.set(r.DecodeHintType.POSSIBLE_FORMATS,t)},enumerable:!1,configurable:!0}),t.addVideoSource=function(t,e){try{t.srcObject=e}catch(n){t.src=URL.createObjectURL(e)}},t.mediaStreamSetTorch=function(t,e){return u(this,void 0,void 0,(function(){return l(this,(function(n){switch(n.label){case 0:return[4,t.applyConstraints({advanced:[{fillLightMode:e?"flash":"off",torch:!!e}]})];case 1:return n.sent(),[2]}}))}))},t.mediaStreamIsTorchCompatible=function(e){var n,r,o=e.getVideoTracks();try{for(var i=c(o),a=i.next();!a.done;a=i.next()){var s=a.value;if(t.mediaStreamIsTorchCompatibleTrack(s))return!0}}catch(t){n={error:t}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return!1},t.mediaStreamIsTorchCompatibleTrack=function(t){try{return"torch"in t.getCapabilities()}catch(t){return console.error(t),console.warn("Your browser may be not fully compatible with WebRTC and/or ImageCapture specs. Torch will not be available."),!1}},t.isVideoPlaying=function(t){return t.currentTime>0&&!t.paused&&t.readyState>2},t.getMediaElement=function(t,e){var n=document.getElementById(t);if(!n)throw new r.ArgumentException("element with id '"+t+"' not found");if(n.nodeName.toLowerCase()!==e.toLowerCase())throw new r.ArgumentException("element with id '"+t+"' must be an "+e+" element");return n},t.createVideoElement=function(e){if(e instanceof HTMLVideoElement)return e;if("string"==typeof e)return t.getMediaElement(e,"video");if(!e&&"undefined"!=typeof document){var n=document.createElement("video");return n.width=200,n.height=200,n}throw new Error("Couldn't get videoElement from videoSource!")},t.prepareImageElement=function(e){if(e instanceof HTMLImageElement)return e;if("string"==typeof e)return t.getMediaElement(e,"img");if(void 0===e){var n=document.createElement("img");return n.width=200,n.height=200,n}throw new Error("Couldn't get imageElement from imageSource!")},t.prepareVideoElement=function(e){var n=t.createVideoElement(e);return n.setAttribute("autoplay","true"),n.setAttribute("muted","true"),n.setAttribute("playsinline","true"),n},t.isImageLoaded=function(t){return!!t.complete&&0!==t.naturalWidth},t.createBinaryBitmapFromCanvas=function(t){var e=new o.a(t),n=new r.HybridBinarizer(e);return new r.BinaryBitmap(n)},t.drawImageOnCanvas=function(t,e){t.drawImage(e,0,0)},t.getMediaElementDimensions=function(t){if(t instanceof HTMLVideoElement)return{height:t.videoHeight,width:t.videoWidth};if(t instanceof HTMLImageElement)return{height:t.naturalHeight||t.height,width:t.naturalWidth||t.width};throw new Error("Couldn't find the Source's dimentions!")},t.createCaptureCanvas=function(e){if(!e)throw new r.ArgumentException("Cannot create a capture canvas without a media element.");if("undefined"==typeof document)throw new Error('The page "Document" is undefined, make sure you\'re running in a browser.');var n=document.createElement("canvas"),o=t.getMediaElementDimensions(e),i=o.width,a=o.height;return n.style.width=i+"px",n.style.height=a+"px",n.width=i,n.height=a,n},t.tryPlayVideo=function(e){return u(this,void 0,void 0,(function(){var n;return l(this,(function(r){switch(r.label){case 0:if(null==e?void 0:e.ended)return console.error("Trying to play video that has ended."),[2,!1];if(t.isVideoPlaying(e))return console.warn("Trying to play video that is already playing."),[2,!0];r.label=1;case 1:return r.trys.push([1,3,,4]),[4,e.play()];case 2:return r.sent(),[2,!0];case 3:return n=r.sent(),console.warn("It was not possible to play the video.",n),[2,!1];case 4:return[2]}}))}))},t.createCanvasFromMediaElement=function(e){var n=t.createCaptureCanvas(e),r=n.getContext("2d");if(!r)throw new Error("Couldn't find Canvas 2D Context.");return t.drawImageOnCanvas(r,e),n},t.createBinaryBitmapFromMediaElem=function(e){var n=t.createCanvasFromMediaElement(e);return t.createBinaryBitmapFromCanvas(n)},t.destroyImageElement=function(t){t.src="",t.removeAttribute("src"),t=void 0},t.listVideoInputDevices=function(){return u(this,void 0,void 0,(function(){var t,e,n,r,o,s,u,f,p,d,h,g;return l(this,(function(l){switch(l.label){case 0:if(!i())throw new Error("Can't enumerate devices, navigator is not present.");if(!a())throw new Error("Can't enumerate devices, method not supported.");return[4,navigator.mediaDevices.enumerateDevices()];case 1:t=l.sent(),e=[];try{for(n=c(t),r=n.next();!r.done;r=n.next())o=r.value,"videoinput"===(s="video"===o.kind?"videoinput":o.kind)&&(u=o.deviceId||o.id,f=o.label||"Video device "+(e.length+1),p=o.groupId,d={deviceId:u,label:f,kind:s,groupId:p},e.push(d))}catch(t){h={error:t}}finally{try{r&&!r.done&&(g=n.return)&&g.call(n)}finally{if(h)throw h.error}}return[2,e]}}))}))},t.findDeviceById=function(e){return u(this,void 0,void 0,(function(){var n;return l(this,(function(r){switch(r.label){case 0:return[4,t.listVideoInputDevices()];case 1:return(n=r.sent())?[2,n.find((function(t){return t.deviceId===e}))]:[2]}}))}))},t.cleanVideoSource=function(t){if(t){try{t.srcObject=null}catch(e){t.src=""}t&&t.removeAttribute("src")}},t.playVideoOnLoadAsync=function(e,n){return u(this,void 0,void 0,(function(){return l(this,(function(r){switch(r.label){case 0:return[4,t.tryPlayVideo(e)];case 1:return r.sent()?[2,!0]:[2,new Promise((function(r,o){var i=setTimeout((function(){t.isVideoPlaying(e)||(o(!1),e.removeEventListener("canplay",a))}),n),a=function(){t.tryPlayVideo(e).then((function(t){clearTimeout(i),e.removeEventListener("canplay",a),r(t)}))};e.addEventListener("canplay",a)}))]}}))}))},t.attachStreamToVideo=function(e,n,r){return void 0===r&&(r=5e3),u(this,void 0,void 0,(function(){var o;return l(this,(function(i){switch(i.label){case 0:return o=t.prepareVideoElement(n),t.addVideoSource(o,e),[4,t.playVideoOnLoadAsync(o,r)];case 1:return i.sent(),[2,o]}}))}))},t._waitImageLoad=function(e){return new Promise((function(n,r){var o=setTimeout((function(){t.isImageLoaded(e)||(e.removeEventListener("load",i),r())}),1e4),i=function(){clearTimeout(o),e.removeEventListener("load",i),n()};e.addEventListener("load",i)}))},t.checkCallbackFnOrThrow=function(t){if(!t)throw new r.ArgumentException("`callbackFn` is a required parameter, you cannot capture results without it.")},t.disposeMediaStream=function(t){t.getVideoTracks().forEach((function(t){return t.stop()})),t=void 0},t.prototype.decode=function(e){var n=t.createCanvasFromMediaElement(e);return this.decodeFromCanvas(n)},t.prototype.decodeBitmap=function(t){return this.reader.decode(t,this.hints)},t.prototype.decodeFromCanvas=function(e){var n=t.createBinaryBitmapFromCanvas(e);return this.decodeBitmap(n)},t.prototype.decodeFromImageElement=function(e){return u(this,void 0,void 0,(function(){var n;return l(this,(function(o){switch(o.label){case 0:if(!e)throw new r.ArgumentException("An image element must be provided.");return n=t.prepareImageElement(e),[4,this._decodeOnLoadImage(n)];case 1:return[2,o.sent()]}}))}))},t.prototype.decodeFromImageUrl=function(e){return u(this,void 0,void 0,(function(){var n;return l(this,(function(o){switch(o.label){case 0:if(!e)throw new r.ArgumentException("An URL must be provided.");(n=t.prepareImageElement()).src=e,o.label=1;case 1:return o.trys.push([1,,3,4]),[4,this.decodeFromImageElement(n)];case 2:return[2,o.sent()];case 3:return t.destroyImageElement(n),[7];case 4:return[2]}}))}))},t.prototype.decodeFromConstraints=function(e,n,r){return u(this,void 0,void 0,(function(){var o,i;return l(this,(function(a){switch(a.label){case 0:return t.checkCallbackFnOrThrow(r),[4,navigator.mediaDevices.getUserMedia(e)];case 1:o=a.sent(),a.label=2;case 2:return a.trys.push([2,4,,5]),[4,this.decodeFromStream(o,n,r)];case 3:return[2,a.sent()];case 4:throw i=a.sent(),t.disposeMediaStream(o),i;case 5:return[2]}}))}))},t.prototype.decodeFromStream=function(e,n,r){return u(this,void 0,void 0,(function(){var o,i,a,f,p,d,h,g,y,v=this;return l(this,(function(m){switch(m.label){case 0:return t.checkCallbackFnOrThrow(r),o=this.options.tryPlayVideoTimeout,[4,t.attachStreamToVideo(e,n,o)];case 1:return i=m.sent(),a=function(){t.disposeMediaStream(e),t.cleanVideoSource(i)},f=this.scan(i,r,a),p=e.getVideoTracks(),d=s(s({},f),{stop:function(){f.stop()},streamVideoConstraintsApply:function(t,e){return u(this,void 0,void 0,(function(){var n,r,o,i,a,s;return l(this,(function(u){switch(u.label){case 0:n=e?p.filter(e):p,u.label=1;case 1:u.trys.push([1,6,7,8]),r=c(n),o=r.next(),u.label=2;case 2:return o.done?[3,5]:[4,o.value.applyConstraints(t)];case 3:u.sent(),u.label=4;case 4:return o=r.next(),[3,2];case 5:return[3,8];case 6:return i=u.sent(),a={error:i},[3,8];case 7:try{o&&!o.done&&(s=r.return)&&s.call(r)}finally{if(a)throw a.error}return[7];case 8:return[2]}}))}))},streamVideoConstraintsGet:function(t){return p.find(t).getConstraints()},streamVideoSettingsGet:function(t){return p.find(t).getSettings()},streamVideoCapabilitiesGet:function(t){return p.find(t).getCapabilities()}}),t.mediaStreamIsTorchCompatible(e)&&(h=null==p?void 0:p.find((function(e){return t.mediaStreamIsTorchCompatibleTrack(e)})),g=function(e){return u(v,void 0,void 0,(function(){return l(this,(function(n){switch(n.label){case 0:return[4,t.mediaStreamSetTorch(h,e)];case 1:return n.sent(),[2]}}))}))},d.switchTorch=g,y=function(){f.stop(),g(!1)},d.stop=y),[2,d]}}))}))},t.prototype.decodeFromVideoDevice=function(e,n,r){return u(this,void 0,void 0,(function(){var o;return l(this,(function(i){switch(i.label){case 0:return t.checkCallbackFnOrThrow(r),o={video:e?{deviceId:{exact:e}}:{facingMode:"environment"}},[4,this.decodeFromConstraints(o,n,r)];case 1:return[2,i.sent()]}}))}))},t.prototype.decodeFromVideoElement=function(e,n){return u(this,void 0,void 0,(function(){var o,i;return l(this,(function(a){switch(a.label){case 0:if(t.checkCallbackFnOrThrow(n),!e)throw new r.ArgumentException("A video element must be provided.");return o=t.prepareVideoElement(e),i=this.options.tryPlayVideoTimeout,[4,t.playVideoOnLoadAsync(o,i)];case 1:return a.sent(),[2,this.scan(o,n)]}}))}))},t.prototype.decodeFromVideoUrl=function(e,n){return u(this,void 0,void 0,(function(){var o,i,a;return l(this,(function(s){switch(s.label){case 0:if(t.checkCallbackFnOrThrow(n),!e)throw new r.ArgumentException("An URL must be provided.");return(o=t.prepareVideoElement()).src=e,i=function(){t.cleanVideoSource(o)},a=this.options.tryPlayVideoTimeout,[4,t.playVideoOnLoadAsync(o,a)];case 1:return s.sent(),[2,this.scan(o,n,i)]}}))}))},t.prototype.decodeOnceFromConstraints=function(t,e){return u(this,void 0,void 0,(function(){var n;return l(this,(function(r){switch(r.label){case 0:return[4,navigator.mediaDevices.getUserMedia(t)];case 1:return n=r.sent(),[4,this.decodeOnceFromStream(n,e)];case 2:return[2,r.sent()]}}))}))},t.prototype.decodeOnceFromStream=function(e,n){return u(this,void 0,void 0,(function(){var r,o;return l(this,(function(i){switch(i.label){case 0:return r=Boolean(n),[4,t.attachStreamToVideo(e,n)];case 1:o=i.sent(),i.label=2;case 2:return i.trys.push([2,,4,5]),[4,this.scanOneResult(o)];case 3:return[2,i.sent()];case 4:return r||t.cleanVideoSource(o),[7];case 5:return[2]}}))}))},t.prototype.decodeOnceFromVideoDevice=function(t,e){return u(this,void 0,void 0,(function(){var n;return l(this,(function(r){switch(r.label){case 0:return n={video:t?{deviceId:{exact:t}}:{facingMode:"environment"}},[4,this.decodeOnceFromConstraints(n,e)];case 1:return[2,r.sent()]}}))}))},t.prototype.decodeOnceFromVideoElement=function(e){return u(this,void 0,void 0,(function(){var n,o;return l(this,(function(i){switch(i.label){case 0:if(!e)throw new r.ArgumentException("A video element must be provided.");return n=t.prepareVideoElement(e),o=this.options.tryPlayVideoTimeout,[4,t.playVideoOnLoadAsync(n,o)];case 1:return i.sent(),[4,this.scanOneResult(n)];case 2:return[2,i.sent()]}}))}))},t.prototype.decodeOnceFromVideoUrl=function(e){return u(this,void 0,void 0,(function(){var n,o;return l(this,(function(i){switch(i.label){case 0:if(!e)throw new r.ArgumentException("An URL must be provided.");(n=t.prepareVideoElement()).src=e,o=this.decodeOnceFromVideoElement(n),i.label=1;case 1:return i.trys.push([1,,3,4]),[4,o];case 2:return[2,i.sent()];case 3:return t.cleanVideoSource(n),[7];case 4:return[2]}}))}))},t.prototype.scanOneResult=function(t,e,n,o){var i=this;return void 0===e&&(e=!0),void 0===n&&(n=!0),void 0===o&&(o=!0),new Promise((function(a,s){i.scan(t,(function(t,i,u){if(t)return a(t),void u.stop();if(i){if(i instanceof r.NotFoundException&&e)return;if(i instanceof r.ChecksumException&&n)return;if(i instanceof r.FormatException&&o)return;u.stop(),s(i)}}))}))},t.prototype.scan=function(e,n,o){var i=this;t.checkCallbackFnOrThrow(n);var a=t.createCaptureCanvas(e),s=a.getContext("2d");if(!s)throw new Error("Couldn't create canvas for visual element scan.");var u,l=function(){s=void 0,a=void 0},c=!1,f={stop:function(){c=!0,clearTimeout(u),l(),o&&o()}},p=function(){if(!c)try{t.drawImageOnCanvas(s,e);var d=i.decodeFromCanvas(a);n(d,void 0,f),u=setTimeout(p,i.options.delayBetweenScanSuccess)}catch(t){n(void 0,t,f);var h=t instanceof r.ChecksumException,g=t instanceof r.FormatException,y=t instanceof r.NotFoundException;if(h||g||y)return void(u=setTimeout(p,i.options.delayBetweenScanAttempts));l(),o&&o(t)}};return p(),f},t.prototype._decodeOnLoadImage=function(e){return u(this,void 0,void 0,(function(){return l(this,(function(n){switch(n.label){case 0:return t.isImageLoaded(e)?[3,2]:[4,t._waitImageLoad(e)];case 1:n.sent(),n.label=2;case 2:return[2,this.decode(e)]}}))}))},t}()},function(t,e,n){"use strict";var r=n(59),o=n(9),i=n(3),a=function(){function t(t,e){if(0===e.length)throw new i.a;this.field=t;var n=e.length;if(n>1&&0===e[0]){for(var r=1;r<n&&0===e[r];)r++;r===n?this.coefficients=Int32Array.from([0]):(this.coefficients=new Int32Array(n-r),o.a.arraycopy(e,r,this.coefficients,0,this.coefficients.length))}else this.coefficients=e}return t.prototype.getCoefficients=function(){return this.coefficients},t.prototype.getDegree=function(){return this.coefficients.length-1},t.prototype.isZero=function(){return 0===this.coefficients[0]},t.prototype.getCoefficient=function(t){return this.coefficients[this.coefficients.length-1-t]},t.prototype.evaluateAt=function(t){if(0===t)return this.getCoefficient(0);var e,n=this.coefficients;if(1===t){e=0;for(var o=0,i=n.length;o!==i;o++){var a=n[o];e=r.a.addOrSubtract(e,a)}return e}e=n[0];var s=n.length,u=this.field;for(o=1;o<s;o++)e=r.a.addOrSubtract(u.multiply(t,e),n[o]);return e},t.prototype.addOrSubtract=function(e){if(!this.field.equals(e.field))throw new i.a("GenericGFPolys do not have same GenericGF field");if(this.isZero())return e;if(e.isZero())return this;var n=this.coefficients,a=e.coefficients;if(n.length>a.length){var s=n;n=a,a=s}var u=new Int32Array(a.length),l=a.length-n.length;o.a.arraycopy(a,0,u,0,l);for(var c=l;c<a.length;c++)u[c]=r.a.addOrSubtract(n[c-l],a[c]);return new t(this.field,u)},t.prototype.multiply=function(e){if(!this.field.equals(e.field))throw new i.a("GenericGFPolys do not have same GenericGF field");if(this.isZero()||e.isZero())return this.field.getZero();for(var n=this.coefficients,o=n.length,a=e.coefficients,s=a.length,u=new Int32Array(o+s-1),l=this.field,c=0;c<o;c++)for(var f=n[c],p=0;p<s;p++)u[c+p]=r.a.addOrSubtract(u[c+p],l.multiply(f,a[p]));return new t(l,u)},t.prototype.multiplyScalar=function(e){if(0===e)return this.field.getZero();if(1===e)return this;for(var n=this.coefficients.length,r=this.field,o=new Int32Array(n),i=this.coefficients,a=0;a<n;a++)o[a]=r.multiply(i[a],e);return new t(r,o)},t.prototype.multiplyByMonomial=function(e,n){if(e<0)throw new i.a;if(0===n)return this.field.getZero();for(var r=this.coefficients,o=r.length,a=new Int32Array(o+e),s=this.field,u=0;u<o;u++)a[u]=s.multiply(r[u],n);return new t(s,a)},t.prototype.divide=function(t){if(!this.field.equals(t.field))throw new i.a("GenericGFPolys do not have same GenericGF field");if(t.isZero())throw new i.a("Divide by 0");for(var e=this.field,n=e.getZero(),r=this,o=t.getCoefficient(t.getDegree()),a=e.inverse(o);r.getDegree()>=t.getDegree()&&!r.isZero();){var s=r.getDegree()-t.getDegree(),u=e.multiply(r.getCoefficient(r.getDegree()),a),l=t.multiplyByMonomial(s,u),c=e.buildMonomial(s,u);n=n.addOrSubtract(c),r=r.addOrSubtract(l)}return[n,r]},t.prototype.toString=function(){for(var t="",e=this.getDegree();e>=0;e--){var n=this.getCoefficient(e);if(0!==n){if(n<0?(t+=" - ",n=-n):t.length>0&&(t+=" + "),0===e||1!==n){var r=this.field.log(n);0===r?t+="1":1===r?t+="a":(t+="a^",t+=r)}0!==e&&(1===e?t+="x":(t+="x^",t+=e))}}return t},t}();e.a=a},function(t,e,n){"use strict";var r=n(23),o=n(65),i=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},a=function(){function t(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];this.ecCodewordsPerBlock=t,this.ecBlocks=e}return t.prototype.getECCodewordsPerBlock=function(){return this.ecCodewordsPerBlock},t.prototype.getNumBlocks=function(){var t,e,n=0,r=this.ecBlocks;try{for(var o=i(r),a=o.next();!a.done;a=o.next()){n+=a.value.getCount()}}catch(e){t={error:e}}finally{try{a&&!a.done&&(e=o.return)&&e.call(o)}finally{if(t)throw t.error}}return n},t.prototype.getTotalECCodewords=function(){return this.ecCodewordsPerBlock*this.getNumBlocks()},t.prototype.getECBlocks=function(){return this.ecBlocks},t}(),s=function(){function t(t,e){this.count=t,this.dataCodewords=e}return t.prototype.getCount=function(){return this.count},t.prototype.getDataCodewords=function(){return this.dataCodewords},t}(),u=n(2),l=n(3),c=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},f=function(){function t(t,e){for(var n,r,o=[],i=2;i<arguments.length;i++)o[i-2]=arguments[i];this.versionNumber=t,this.alignmentPatternCenters=e,this.ecBlocks=o;var a=0,s=o[0].getECCodewordsPerBlock(),u=o[0].getECBlocks();try{for(var l=c(u),f=l.next();!f.done;f=l.next()){var p=f.value;a+=p.getCount()*(p.getDataCodewords()+s)}}catch(t){n={error:t}}finally{try{f&&!f.done&&(r=l.return)&&r.call(l)}finally{if(n)throw n.error}}this.totalCodewords=a}return t.prototype.getVersionNumber=function(){return this.versionNumber},t.prototype.getAlignmentPatternCenters=function(){return this.alignmentPatternCenters},t.prototype.getTotalCodewords=function(){return this.totalCodewords},t.prototype.getDimensionForVersion=function(){return 17+4*this.versionNumber},t.prototype.getECBlocksForLevel=function(t){return this.ecBlocks[t.getValue()]},t.getProvisionalVersionForDimension=function(t){if(t%4!=1)throw new u.a;try{return this.getVersionForNumber((t-17)/4)}catch(t){throw new u.a}},t.getVersionForNumber=function(e){if(e<1||e>40)throw new l.a;return t.VERSIONS[e-1]},t.decodeVersionInformation=function(e){for(var n=Number.MAX_SAFE_INTEGER,r=0,i=0;i<t.VERSION_DECODE_INFO.length;i++){var a=t.VERSION_DECODE_INFO[i];if(a===e)return t.getVersionForNumber(i+7);var s=o.a.numBitsDiffering(e,a);s<n&&(r=i+7,n=s)}return n<=3?t.getVersionForNumber(r):null},t.prototype.buildFunctionPattern=function(){var t=this.getDimensionForVersion(),e=new r.a(t);e.setRegion(0,0,9,9),e.setRegion(t-8,0,8,9),e.setRegion(0,t-8,9,8);for(var n=this.alignmentPatternCenters.length,o=0;o<n;o++)for(var i=this.alignmentPatternCenters[o]-2,a=0;a<n;a++)0===o&&(0===a||a===n-1)||o===n-1&&0===a||e.setRegion(this.alignmentPatternCenters[a]-2,i,5,5);return e.setRegion(6,9,1,t-17),e.setRegion(9,6,t-17,1),this.versionNumber>6&&(e.setRegion(t-11,0,3,6),e.setRegion(0,t-11,6,3)),e},t.prototype.toString=function(){return""+this.versionNumber},t.VERSION_DECODE_INFO=Int32Array.from([31892,34236,39577,42195,48118,51042,55367,58893,63784,68472,70749,76311,79154,84390,87683,92361,96236,102084,102881,110507,110734,117786,119615,126325,127568,133589,136944,141498,145311,150283,152622,158308,161089,167017]),t.VERSIONS=[new t(1,new Int32Array(0),new a(7,new s(1,19)),new a(10,new s(1,16)),new a(13,new s(1,13)),new a(17,new s(1,9))),new t(2,Int32Array.from([6,18]),new a(10,new s(1,34)),new a(16,new s(1,28)),new a(22,new s(1,22)),new a(28,new s(1,16))),new t(3,Int32Array.from([6,22]),new a(15,new s(1,55)),new a(26,new s(1,44)),new a(18,new s(2,17)),new a(22,new s(2,13))),new t(4,Int32Array.from([6,26]),new a(20,new s(1,80)),new a(18,new s(2,32)),new a(26,new s(2,24)),new a(16,new s(4,9))),new t(5,Int32Array.from([6,30]),new a(26,new s(1,108)),new a(24,new s(2,43)),new a(18,new s(2,15),new s(2,16)),new a(22,new s(2,11),new s(2,12))),new t(6,Int32Array.from([6,34]),new a(18,new s(2,68)),new a(16,new s(4,27)),new a(24,new s(4,19)),new a(28,new s(4,15))),new t(7,Int32Array.from([6,22,38]),new a(20,new s(2,78)),new a(18,new s(4,31)),new a(18,new s(2,14),new s(4,15)),new a(26,new s(4,13),new s(1,14))),new t(8,Int32Array.from([6,24,42]),new a(24,new s(2,97)),new a(22,new s(2,38),new s(2,39)),new a(22,new s(4,18),new s(2,19)),new a(26,new s(4,14),new s(2,15))),new t(9,Int32Array.from([6,26,46]),new a(30,new s(2,116)),new a(22,new s(3,36),new s(2,37)),new a(20,new s(4,16),new s(4,17)),new a(24,new s(4,12),new s(4,13))),new t(10,Int32Array.from([6,28,50]),new a(18,new s(2,68),new s(2,69)),new a(26,new s(4,43),new s(1,44)),new a(24,new s(6,19),new s(2,20)),new a(28,new s(6,15),new s(2,16))),new t(11,Int32Array.from([6,30,54]),new a(20,new s(4,81)),new a(30,new s(1,50),new s(4,51)),new a(28,new s(4,22),new s(4,23)),new a(24,new s(3,12),new s(8,13))),new t(12,Int32Array.from([6,32,58]),new a(24,new s(2,92),new s(2,93)),new a(22,new s(6,36),new s(2,37)),new a(26,new s(4,20),new s(6,21)),new a(28,new s(7,14),new s(4,15))),new t(13,Int32Array.from([6,34,62]),new a(26,new s(4,107)),new a(22,new s(8,37),new s(1,38)),new a(24,new s(8,20),new s(4,21)),new a(22,new s(12,11),new s(4,12))),new t(14,Int32Array.from([6,26,46,66]),new a(30,new s(3,115),new s(1,116)),new a(24,new s(4,40),new s(5,41)),new a(20,new s(11,16),new s(5,17)),new a(24,new s(11,12),new s(5,13))),new t(15,Int32Array.from([6,26,48,70]),new a(22,new s(5,87),new s(1,88)),new a(24,new s(5,41),new s(5,42)),new a(30,new s(5,24),new s(7,25)),new a(24,new s(11,12),new s(7,13))),new t(16,Int32Array.from([6,26,50,74]),new a(24,new s(5,98),new s(1,99)),new a(28,new s(7,45),new s(3,46)),new a(24,new s(15,19),new s(2,20)),new a(30,new s(3,15),new s(13,16))),new t(17,Int32Array.from([6,30,54,78]),new a(28,new s(1,107),new s(5,108)),new a(28,new s(10,46),new s(1,47)),new a(28,new s(1,22),new s(15,23)),new a(28,new s(2,14),new s(17,15))),new t(18,Int32Array.from([6,30,56,82]),new a(30,new s(5,120),new s(1,121)),new a(26,new s(9,43),new s(4,44)),new a(28,new s(17,22),new s(1,23)),new a(28,new s(2,14),new s(19,15))),new t(19,Int32Array.from([6,30,58,86]),new a(28,new s(3,113),new s(4,114)),new a(26,new s(3,44),new s(11,45)),new a(26,new s(17,21),new s(4,22)),new a(26,new s(9,13),new s(16,14))),new t(20,Int32Array.from([6,34,62,90]),new a(28,new s(3,107),new s(5,108)),new a(26,new s(3,41),new s(13,42)),new a(30,new s(15,24),new s(5,25)),new a(28,new s(15,15),new s(10,16))),new t(21,Int32Array.from([6,28,50,72,94]),new a(28,new s(4,116),new s(4,117)),new a(26,new s(17,42)),new a(28,new s(17,22),new s(6,23)),new a(30,new s(19,16),new s(6,17))),new t(22,Int32Array.from([6,26,50,74,98]),new a(28,new s(2,111),new s(7,112)),new a(28,new s(17,46)),new a(30,new s(7,24),new s(16,25)),new a(24,new s(34,13))),new t(23,Int32Array.from([6,30,54,78,102]),new a(30,new s(4,121),new s(5,122)),new a(28,new s(4,47),new s(14,48)),new a(30,new s(11,24),new s(14,25)),new a(30,new s(16,15),new s(14,16))),new t(24,Int32Array.from([6,28,54,80,106]),new a(30,new s(6,117),new s(4,118)),new a(28,new s(6,45),new s(14,46)),new a(30,new s(11,24),new s(16,25)),new a(30,new s(30,16),new s(2,17))),new t(25,Int32Array.from([6,32,58,84,110]),new a(26,new s(8,106),new s(4,107)),new a(28,new s(8,47),new s(13,48)),new a(30,new s(7,24),new s(22,25)),new a(30,new s(22,15),new s(13,16))),new t(26,Int32Array.from([6,30,58,86,114]),new a(28,new s(10,114),new s(2,115)),new a(28,new s(19,46),new s(4,47)),new a(28,new s(28,22),new s(6,23)),new a(30,new s(33,16),new s(4,17))),new t(27,Int32Array.from([6,34,62,90,118]),new a(30,new s(8,122),new s(4,123)),new a(28,new s(22,45),new s(3,46)),new a(30,new s(8,23),new s(26,24)),new a(30,new s(12,15),new s(28,16))),new t(28,Int32Array.from([6,26,50,74,98,122]),new a(30,new s(3,117),new s(10,118)),new a(28,new s(3,45),new s(23,46)),new a(30,new s(4,24),new s(31,25)),new a(30,new s(11,15),new s(31,16))),new t(29,Int32Array.from([6,30,54,78,102,126]),new a(30,new s(7,116),new s(7,117)),new a(28,new s(21,45),new s(7,46)),new a(30,new s(1,23),new s(37,24)),new a(30,new s(19,15),new s(26,16))),new t(30,Int32Array.from([6,26,52,78,104,130]),new a(30,new s(5,115),new s(10,116)),new a(28,new s(19,47),new s(10,48)),new a(30,new s(15,24),new s(25,25)),new a(30,new s(23,15),new s(25,16))),new t(31,Int32Array.from([6,30,56,82,108,134]),new a(30,new s(13,115),new s(3,116)),new a(28,new s(2,46),new s(29,47)),new a(30,new s(42,24),new s(1,25)),new a(30,new s(23,15),new s(28,16))),new t(32,Int32Array.from([6,34,60,86,112,138]),new a(30,new s(17,115)),new a(28,new s(10,46),new s(23,47)),new a(30,new s(10,24),new s(35,25)),new a(30,new s(19,15),new s(35,16))),new t(33,Int32Array.from([6,30,58,86,114,142]),new a(30,new s(17,115),new s(1,116)),new a(28,new s(14,46),new s(21,47)),new a(30,new s(29,24),new s(19,25)),new a(30,new s(11,15),new s(46,16))),new t(34,Int32Array.from([6,34,62,90,118,146]),new a(30,new s(13,115),new s(6,116)),new a(28,new s(14,46),new s(23,47)),new a(30,new s(44,24),new s(7,25)),new a(30,new s(59,16),new s(1,17))),new t(35,Int32Array.from([6,30,54,78,102,126,150]),new a(30,new s(12,121),new s(7,122)),new a(28,new s(12,47),new s(26,48)),new a(30,new s(39,24),new s(14,25)),new a(30,new s(22,15),new s(41,16))),new t(36,Int32Array.from([6,24,50,76,102,128,154]),new a(30,new s(6,121),new s(14,122)),new a(28,new s(6,47),new s(34,48)),new a(30,new s(46,24),new s(10,25)),new a(30,new s(2,15),new s(64,16))),new t(37,Int32Array.from([6,28,54,80,106,132,158]),new a(30,new s(17,122),new s(4,123)),new a(28,new s(29,46),new s(14,47)),new a(30,new s(49,24),new s(10,25)),new a(30,new s(24,15),new s(46,16))),new t(38,Int32Array.from([6,32,58,84,110,136,162]),new a(30,new s(4,122),new s(18,123)),new a(28,new s(13,46),new s(32,47)),new a(30,new s(48,24),new s(14,25)),new a(30,new s(42,15),new s(32,16))),new t(39,Int32Array.from([6,26,54,82,110,138,166]),new a(30,new s(20,117),new s(4,118)),new a(28,new s(40,47),new s(7,48)),new a(30,new s(43,24),new s(22,25)),new a(30,new s(10,15),new s(67,16))),new t(40,Int32Array.from([6,30,58,86,114,142,170]),new a(30,new s(19,118),new s(6,119)),new a(28,new s(18,47),new s(31,48)),new a(30,new s(34,24),new s(34,25)),new a(30,new s(20,15),new s(61,16)))],t}();e.a=f},function(t,e,n){"use strict";!function t(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE){0;try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(t){console.error(t)}}}(),t.exports=n(139)},function(t,e,n){"use strict";var r=n(8),o=n(48),i=function(){function t(t,e){this.width=t,this.height=e}return t.prototype.getWidth=function(){return this.width},t.prototype.getHeight=function(){return this.height},t.prototype.isCropSupported=function(){return!1},t.prototype.crop=function(t,e,n,r){throw new o.a("This luminance source does not support cropping.")},t.prototype.isRotateSupported=function(){return!1},t.prototype.rotateCounterClockwise=function(){throw new o.a("This luminance source does not support rotation by 90 degrees.")},t.prototype.rotateCounterClockwise45=function(){throw new o.a("This luminance source does not support rotation by 45 degrees.")},t.prototype.toString=function(){for(var t=new Uint8ClampedArray(this.width),e=new r.a,n=0;n<this.height;n++){for(var o=this.getRow(n,t),i=0;i<this.width;i++){var a=255&o[i],s=void 0;s=a<64?"#":a<128?"+":a<192?".":" ",e.append(s)}e.append("\n")}return e.toString()},t}();e.a=i},function(t,e,n){"use strict";var r=function(){function t(t,e,n,r,o,i){void 0===o&&(o=-1),void 0===i&&(i=-1),this.rawBytes=t,this.text=e,this.byteSegments=n,this.ecLevel=r,this.structuredAppendSequenceNumber=o,this.structuredAppendParity=i,this.numBits=null==t?0:8*t.length}return t.prototype.getRawBytes=function(){return this.rawBytes},t.prototype.getNumBits=function(){return this.numBits},t.prototype.setNumBits=function(t){this.numBits=t},t.prototype.getText=function(){return this.text},t.prototype.getByteSegments=function(){return this.byteSegments},t.prototype.getECLevel=function(){return this.ecLevel},t.prototype.getErrorsCorrected=function(){return this.errorsCorrected},t.prototype.setErrorsCorrected=function(t){this.errorsCorrected=t},t.prototype.getErasures=function(){return this.erasures},t.prototype.setErasures=function(t){this.erasures=t},t.prototype.getOther=function(){return this.other},t.prototype.setOther=function(t){this.other=t},t.prototype.hasStructuredAppend=function(){return this.structuredAppendParity>=0&&this.structuredAppendSequenceNumber>=0},t.prototype.getStructuredAppendParity=function(){return this.structuredAppendParity},t.prototype.getStructuredAppendSequenceNumber=function(){return this.structuredAppendSequenceNumber},t}();e.a=r},function(t,e,n){"use strict";var r=n(26),o=n(35),i=n(57),a=n(29),s=function(){function t(t){this.field=t}return t.prototype.decode=function(t,e){for(var n=this.field,a=new o.a(n,t),s=new Int32Array(e),u=!0,l=0;l<e;l++){var c=a.evaluateAt(n.exp(l+n.getGeneratorBase()));s[s.length-1-l]=c,0!==c&&(u=!1)}if(!u){var f=new o.a(n,s),p=this.runEuclideanAlgorithm(n.buildMonomial(e,1),f,e),d=p[0],h=p[1],g=this.findErrorLocations(d),y=this.findErrorMagnitudes(h,g);for(l=0;l<g.length;l++){var v=t.length-1-n.log(g[l]);if(v<0)throw new i.a("Bad error location");t[v]=r.a.addOrSubtract(t[v],y[l])}}},t.prototype.runEuclideanAlgorithm=function(t,e,n){if(t.getDegree()<e.getDegree()){var r=t;t=e,e=r}for(var o=this.field,s=t,u=e,l=o.getZero(),c=o.getOne();u.getDegree()>=(n/2|0);){var f=s,p=l;if(l=c,(s=u).isZero())throw new i.a("r_{i-1} was zero");u=f;for(var d=o.getZero(),h=s.getCoefficient(s.getDegree()),g=o.inverse(h);u.getDegree()>=s.getDegree()&&!u.isZero();){var y=u.getDegree()-s.getDegree(),v=o.multiply(u.getCoefficient(u.getDegree()),g);d=d.addOrSubtract(o.buildMonomial(y,v)),u=u.addOrSubtract(s.multiplyByMonomial(y,v))}if(c=d.multiply(l).addOrSubtract(p),u.getDegree()>=s.getDegree())throw new a.a("Division algorithm failed to reduce polynomial?")}var m=c.getCoefficient(0);if(0===m)throw new i.a("sigmaTilde(0) was zero");var w=o.inverse(m);return[c.multiplyScalar(w),u.multiplyScalar(w)]},t.prototype.findErrorLocations=function(t){var e=t.getDegree();if(1===e)return Int32Array.from([t.getCoefficient(1)]);for(var n=new Int32Array(e),r=0,o=this.field,a=1;a<o.getSize()&&r<e;a++)0===t.evaluateAt(a)&&(n[r]=o.inverse(a),r++);if(r!==e)throw new i.a("Error locator degree does not match number of roots");return n},t.prototype.findErrorMagnitudes=function(t,e){for(var n=e.length,r=new Int32Array(n),o=this.field,i=0;i<n;i++){for(var a=o.inverse(e[i]),s=1,u=0;u<n;u++)if(i!==u){var l=o.multiply(e[u],a),c=0==(1&l)?1|l:-2&l;s=o.multiply(s,c)}r[i]=o.multiply(t.evaluateAt(a),o.inverse(s)),0!==o.getGeneratorBase()&&(r[i]=o.multiply(r[i],a))}return r},t}();e.a=s},function(t,e,n){"use strict";var r,o=n(32),i=n(3);!function(t){t[t.L=0]="L",t[t.M=1]="M",t[t.Q=2]="Q",t[t.H=3]="H"}(r||(r={}));var a=function(){function t(e,n,r){this.value=e,this.stringValue=n,this.bits=r,t.FOR_BITS.set(r,this),t.FOR_VALUE.set(e,this)}return t.prototype.getValue=function(){return this.value},t.prototype.getBits=function(){return this.bits},t.fromString=function(e){switch(e){case"L":return t.L;case"M":return t.M;case"Q":return t.Q;case"H":return t.H;default:throw new o.a(e+"not available")}},t.prototype.toString=function(){return this.stringValue},t.prototype.equals=function(e){if(!(e instanceof t))return!1;var n=e;return this.value===n.value},t.forBits=function(e){if(e<0||e>=t.FOR_BITS.size)throw new i.a;return t.FOR_BITS.get(e)},t.FOR_BITS=new Map,t.FOR_VALUE=new Map,t.L=new t(r.L,"L",1),t.M=new t(r.M,"M",0),t.Q=new t(r.Q,"Q",3),t.H=new t(r.H,"H",2),t}();e.a=a},function(t,e,n){"use strict";var r,o=n(38),i=(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),a=function(t){function e(e){var n=t.call(this,e.getWidth(),e.getHeight())||this;return n.delegate=e,n}return i(e,t),e.prototype.getRow=function(t,e){for(var n=this.delegate.getRow(t,e),r=this.getWidth(),o=0;o<r;o++)n[o]=255-(255&n[o]);return n},e.prototype.getMatrix=function(){for(var t=this.delegate.getMatrix(),e=this.getWidth()*this.getHeight(),n=new Uint8ClampedArray(e),r=0;r<e;r++)n[r]=255-(255&t[r]);return n},e.prototype.isCropSupported=function(){return this.delegate.isCropSupported()},e.prototype.crop=function(t,n,r,o){return new e(this.delegate.crop(t,n,r,o))},e.prototype.isRotateSupported=function(){return this.delegate.isRotateSupported()},e.prototype.invert=function(){return this.delegate},e.prototype.rotateCounterClockwise=function(){return new e(this.delegate.rotateCounterClockwise())},e.prototype.rotateCounterClockwise45=function(){return new e(this.delegate.rotateCounterClockwise45())},e}(o.a);e.a=a},function(t,e,n){"use strict";var r=n(3),o=function(){function t(){}return t.applyMaskPenaltyRule1=function(e){return t.applyMaskPenaltyRule1Internal(e,!0)+t.applyMaskPenaltyRule1Internal(e,!1)},t.applyMaskPenaltyRule2=function(e){for(var n=0,r=e.getArray(),o=e.getWidth(),i=e.getHeight(),a=0;a<i-1;a++)for(var s=r[a],u=0;u<o-1;u++){var l=s[u];l===s[u+1]&&l===r[a+1][u]&&l===r[a+1][u+1]&&n++}return t.N2*n},t.applyMaskPenaltyRule3=function(e){for(var n=0,r=e.getArray(),o=e.getWidth(),i=e.getHeight(),a=0;a<i;a++)for(var s=0;s<o;s++){var u=r[a];s+6<o&&1===u[s]&&0===u[s+1]&&1===u[s+2]&&1===u[s+3]&&1===u[s+4]&&0===u[s+5]&&1===u[s+6]&&(t.isWhiteHorizontal(u,s-4,s)||t.isWhiteHorizontal(u,s+7,s+11))&&n++,a+6<i&&1===r[a][s]&&0===r[a+1][s]&&1===r[a+2][s]&&1===r[a+3][s]&&1===r[a+4][s]&&0===r[a+5][s]&&1===r[a+6][s]&&(t.isWhiteVertical(r,s,a-4,a)||t.isWhiteVertical(r,s,a+7,a+11))&&n++}return n*t.N3},t.isWhiteHorizontal=function(t,e,n){e=Math.max(e,0),n=Math.min(n,t.length);for(var r=e;r<n;r++)if(1===t[r])return!1;return!0},t.isWhiteVertical=function(t,e,n,r){n=Math.max(n,0),r=Math.min(r,t.length);for(var o=n;o<r;o++)if(1===t[o][e])return!1;return!0},t.applyMaskPenaltyRule4=function(e){for(var n=0,r=e.getArray(),o=e.getWidth(),i=e.getHeight(),a=0;a<i;a++)for(var s=r[a],u=0;u<o;u++)1===s[u]&&n++;var l=e.getHeight()*e.getWidth();return Math.floor(10*Math.abs(2*n-l)/l)*t.N4},t.getDataMaskBit=function(t,e,n){var o,i;switch(t){case 0:o=n+e&1;break;case 1:o=1&n;break;case 2:o=e%3;break;case 3:o=(n+e)%3;break;case 4:o=Math.floor(n/2)+Math.floor(e/3)&1;break;case 5:o=(1&(i=n*e))+i%3;break;case 6:o=(1&(i=n*e))+i%3&1;break;case 7:o=(i=n*e)%3+(n+e&1)&1;break;default:throw new r.a("Invalid mask pattern: "+t)}return 0===o},t.applyMaskPenaltyRule1Internal=function(e,n){for(var r=0,o=n?e.getHeight():e.getWidth(),i=n?e.getWidth():e.getHeight(),a=e.getArray(),s=0;s<o;s++){for(var u=0,l=-1,c=0;c<i;c++){var f=n?a[s][c]:a[c][s];f===l?u++:(u>=5&&(r+=t.N1+(u-5)),u=1,l=f)}u>=5&&(r+=t.N1+(u-5))}return r},t.N1=3,t.N2=3,t.N3=40,t.N4=10,t}();e.a=o},function(t,e,n){"use strict";var r,o=n(5),i=n(12),a=n(1),s=n(73),u=n(74),l=n(75),c=n(14),f=n(22),p=n(52),d=n(28),h=(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),g=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},y=function(t){function e(){var e=t.call(this)||this;return e.decodeMiddleCounters=Int32Array.from([0,0,0,0]),e}return h(e,t),e.prototype.decodeMiddle=function(t,e,n){var r,o,i,a,s=this.decodeMiddleCounters;s[0]=0,s[1]=0,s[2]=0,s[3]=0;for(var u=t.getSize(),l=e[1],c=0;c<4&&l<u;c++){var f=d.a.decodeDigit(t,s,l,d.a.L_PATTERNS);n+=String.fromCharCode("0".charCodeAt(0)+f);try{for(var p=(r=void 0,g(s)),h=p.next();!h.done;h=p.next()){l+=h.value}}catch(t){r={error:t}}finally{try{h&&!h.done&&(o=p.return)&&o.call(p)}finally{if(r)throw r.error}}}l=d.a.findGuardPattern(t,l,!0,d.a.MIDDLE_PATTERN,new Int32Array(d.a.MIDDLE_PATTERN.length).fill(0))[1];for(c=0;c<4&&l<u;c++){f=d.a.decodeDigit(t,s,l,d.a.L_PATTERNS);n+=String.fromCharCode("0".charCodeAt(0)+f);try{for(var y=(i=void 0,g(s)),v=y.next();!v.done;v=y.next()){l+=v.value}}catch(t){i={error:t}}finally{try{v&&!v.done&&(a=y.return)&&a.call(y)}finally{if(i)throw i.error}}}return{rowOffset:l,resultString:n}},e.prototype.getBarcodeFormat=function(){return o.a.EAN_8},e}(d.a),v=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),m=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.ean13Reader=new p.a,e}return v(e,t),e.prototype.getBarcodeFormat=function(){return o.a.UPC_A},e.prototype.decode=function(t,e){return this.maybeReturnResult(this.ean13Reader.decode(t))},e.prototype.decodeRow=function(t,e,n){return this.maybeReturnResult(this.ean13Reader.decodeRow(t,e,n))},e.prototype.decodeMiddle=function(t,e,n){return this.ean13Reader.decodeMiddle(t,e,n)},e.prototype.maybeReturnResult=function(t){var e=t.getText();if("0"===e.charAt(0)){var n=new c.a(e.substring(1),null,null,t.getResultPoints(),o.a.UPC_A);return null!=t.getResultMetadata()&&n.putAllMetadata(t.getResultMetadata()),n}throw new a.a},e.prototype.reset=function(){this.ean13Reader.reset()},e}(d.a),w=n(8),E=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),b=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},_=function(t){function e(){var e=t.call(this)||this;return e.decodeMiddleCounters=new Int32Array(4),e}return E(e,t),e.prototype.decodeMiddle=function(t,n,r){var o,i,a=this.decodeMiddleCounters.map((function(t){return t}));a[0]=0,a[1]=0,a[2]=0,a[3]=0;for(var s=t.getSize(),u=n[1],l=0,c=0;c<6&&u<s;c++){var f=e.decodeDigit(t,a,u,e.L_AND_G_PATTERNS);r+=String.fromCharCode("0".charCodeAt(0)+f%10);try{for(var p=(o=void 0,b(a)),d=p.next();!d.done;d=p.next()){u+=d.value}}catch(t){o={error:t}}finally{try{d&&!d.done&&(i=p.return)&&i.call(p)}finally{if(o)throw o.error}}f>=10&&(l|=1<<5-c)}return e.determineNumSysAndCheckDigit(new w.a(r),l),u},e.prototype.decodeEnd=function(t,n){return e.findGuardPatternWithoutCounters(t,n,!0,e.MIDDLE_END_PATTERN)},e.prototype.checkChecksum=function(t){return d.a.checkChecksum(e.convertUPCEtoUPCA(t))},e.determineNumSysAndCheckDigit=function(t,e){for(var n=0;n<=1;n++)for(var r=0;r<10;r++)if(e===this.NUMSYS_AND_CHECK_DIGIT_PATTERNS[n][r])return t.insert(0,"0"+n),void t.append("0"+r);throw a.a.getNotFoundInstance()},e.prototype.getBarcodeFormat=function(){return o.a.UPC_E},e.convertUPCEtoUPCA=function(t){var e=t.slice(1,7).split("").map((function(t){return t.charCodeAt(0)})),n=new w.a;n.append(t.charAt(0));var r=e[5];switch(r){case 0:case 1:case 2:n.appendChars(e,0,2),n.append(r),n.append("0000"),n.appendChars(e,2,3);break;case 3:n.appendChars(e,0,3),n.append("00000"),n.appendChars(e,3,2);break;case 4:n.appendChars(e,0,4),n.append("00000"),n.append(e[4]);break;default:n.appendChars(e,0,5),n.append("0000"),n.append(r)}return t.length>=8&&n.append(t.charAt(7)),n.toString()},e.MIDDLE_END_PATTERN=Int32Array.from([1,1,1,1,1,1]),e.NUMSYS_AND_CHECK_DIGIT_PATTERNS=[Int32Array.from([56,52,50,49,44,38,35,42,41,37]),Int32Array.from([7,11,13,14,19,25,28,21,22,1])],e}(d.a),C=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),S=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},A=function(t){function e(e){var n=t.call(this)||this,r=null==e?null:e.get(i.a.POSSIBLE_FORMATS),a=[];return null!=r&&(r.indexOf(o.a.EAN_13)>-1?a.push(new p.a):r.indexOf(o.a.UPC_A)>-1&&a.push(new m),r.indexOf(o.a.EAN_8)>-1&&a.push(new y),r.indexOf(o.a.UPC_E)>-1&&a.push(new _)),0===a.length&&(a.push(new p.a),a.push(new y),a.push(new _)),n.readers=a,n}return C(e,t),e.prototype.decodeRow=function(t,e,n){var r,s;try{for(var u=S(this.readers),l=u.next();!l.done;l=u.next()){var f=l.value;try{var p=f.decodeRow(t,e,n),d=p.getBarcodeFormat()===o.a.EAN_13&&"0"===p.getText().charAt(0),h=null==n?null:n.get(i.a.POSSIBLE_FORMATS),g=null==h||h.includes(o.a.UPC_A);if(d&&g){var y=p.getRawBytes(),v=new c.a(p.getText().substring(1),y,y.length,p.getResultPoints(),o.a.UPC_A);return v.putAllMetadata(p.getResultMetadata()),v}return p}catch(t){}}}catch(t){r={error:t}}finally{try{l&&!l.done&&(s=u.return)&&s.call(u)}finally{if(r)throw r.error}}throw new a.a},e.prototype.reset=function(){var t,e;try{for(var n=S(this.readers),r=n.next();!r.done;r=n.next()){r.value.reset()}}catch(e){t={error:e}}finally{try{r&&!r.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}},e}(f.a),O=n(102),I=n(79),T=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),R=function(t){function e(e){var n=t.call(this)||this;n.readers=[];var r=e?e.get(i.a.POSSIBLE_FORMATS):null,a=e&&void 0!==e.get(i.a.ASSUME_CODE_39_CHECK_DIGIT);return r&&((r.includes(o.a.EAN_13)||r.includes(o.a.UPC_A)||r.includes(o.a.EAN_8)||r.includes(o.a.UPC_E))&&n.readers.push(new A(e)),r.includes(o.a.CODE_39)&&n.readers.push(new u.a(a)),r.includes(o.a.CODE_128)&&n.readers.push(new s.a),r.includes(o.a.ITF)&&n.readers.push(new l.a),r.includes(o.a.RSS_14)&&n.readers.push(new I.a),r.includes(o.a.RSS_EXPANDED)&&(console.warn("RSS Expanded reader IS NOT ready for production yet! use at your own risk."),n.readers.push(new O.a))),0===n.readers.length&&(n.readers.push(new A(e)),n.readers.push(new u.a),n.readers.push(new A(e)),n.readers.push(new s.a),n.readers.push(new l.a),n.readers.push(new I.a)),n}return T(e,t),e.prototype.decodeRow=function(t,e,n){for(var r=0;r<this.readers.length;r++)try{return this.readers[r].decodeRow(t,e,n)}catch(t){}throw new a.a},e.prototype.reset=function(){this.readers.forEach((function(t){return t.reset()}))},e}(f.a);e.a=R},function(t,e,n){"use strict";var r,o=n(10),i=n(1),a=n(22),s=(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),u=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},l=function(t){function e(){var e=t.call(this)||this;return e.decodeFinderCounters=new Int32Array(4),e.dataCharacterCounters=new Int32Array(8),e.oddRoundingErrors=new Array(4),e.evenRoundingErrors=new Array(4),e.oddCounts=new Array(e.dataCharacterCounters.length/2),e.evenCounts=new Array(e.dataCharacterCounters.length/2),e}return s(e,t),e.prototype.getDecodeFinderCounters=function(){return this.decodeFinderCounters},e.prototype.getDataCharacterCounters=function(){return this.dataCharacterCounters},e.prototype.getOddRoundingErrors=function(){return this.oddRoundingErrors},e.prototype.getEvenRoundingErrors=function(){return this.evenRoundingErrors},e.prototype.getOddCounts=function(){return this.oddCounts},e.prototype.getEvenCounts=function(){return this.evenCounts},e.prototype.parseFinderValue=function(t,n){for(var r=0;r<n.length;r++)if(a.a.patternMatchVariance(t,n[r],e.MAX_INDIVIDUAL_VARIANCE)<e.MAX_AVG_VARIANCE)return r;throw new i.a},e.count=function(t){return o.a.sum(new Int32Array(t))},e.increment=function(t,e){for(var n=0,r=e[0],o=1;o<t.length;o++)e[o]>r&&(r=e[o],n=o);t[n]++},e.decrement=function(t,e){for(var n=0,r=e[0],o=1;o<t.length;o++)e[o]<r&&(r=e[o],n=o);t[n]--},e.isFinderPattern=function(t){var n,r,o=t[0]+t[1],i=o/(o+t[2]+t[3]);if(i>=e.MIN_FINDER_PATTERN_RATIO&&i<=e.MAX_FINDER_PATTERN_RATIO){var a=Number.MAX_SAFE_INTEGER,s=Number.MIN_SAFE_INTEGER;try{for(var l=u(t),c=l.next();!c.done;c=l.next()){var f=c.value;f>s&&(s=f),f<a&&(a=f)}}catch(t){n={error:t}}finally{try{c&&!c.done&&(r=l.return)&&r.call(l)}finally{if(n)throw n.error}}return s<10*a}return!1},e.MAX_AVG_VARIANCE=.2,e.MAX_INDIVIDUAL_VARIANCE=.45,e.MIN_FINDER_PATTERN_RATIO=9.5/12,e.MAX_FINDER_PATTERN_RATIO=12.5/14,e}(a.a);e.a=l},function(t,e,n){"use strict";var r=function(){function t(t,e){this.bits=t,this.points=e}return t.prototype.getBits=function(){return this.bits},t.prototype.getPoints=function(){return this.points},t}();e.a=r},function(t,e,n){"use strict";var r=n(88),o=function(){function t(){}return t.setGridSampler=function(e){t.gridSampler=e},t.getInstance=function(){return t.gridSampler},t.gridSampler=new r.a,t}();e.a=o},function(t,e,n){"use strict";var r,o=n(15),i=(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.kind="UnsupportedOperationException",e}(o.a);e.a=a},function(t,e,n){"use strict";var r=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},o=function(){function t(){}return t.getRSSvalue=function(e,n,o){var i,a,s=0;try{for(var u=r(e),l=u.next();!l.done;l=u.next()){s+=l.value}}catch(t){i={error:t}}finally{try{l&&!l.done&&(a=u.return)&&a.call(u)}finally{if(i)throw i.error}}for(var c=0,f=0,p=e.length,d=0;d<p-1;d++){var h=void 0;for(h=1,f|=1<<d;h<e[d];h++,f&=~(1<<d)){var g=t.combins(s-h-1,p-d-2);if(o&&0===f&&s-h-(p-d-1)>=p-d-1&&(g-=t.combins(s-h-(p-d),p-d-2)),p-d-1>1){for(var y=0,v=s-h-(p-d-2);v>n;v--)y+=t.combins(s-h-v-1,p-d-3);g-=y*(p-1-d)}else s-h>n&&g--;c+=g}s-=h}return c},t.combins=function(t,e){var n,r;t-e>e?(r=e,n=t-e):(r=t-e,n=e);for(var o=1,i=1,a=t;a>n;a--)o*=a,i<=r&&(o/=i,i++);for(;i<=r;)o/=i,i++;return o},t}();e.a=o},function(t,e,n){"use strict";var r=n(14),o=n(5),i=n(12),a=n(21),s=n(9),u=n(71),l=n(60),c=function(){function t(){}return t.prototype.decode=function(t,e){void 0===e&&(e=null);var n=null,i=new l.a(t.getBlackMatrix()),c=null,f=null;try{c=(p=i.detectMirror(!1)).getPoints(),this.reportFoundResultPoints(e,c),f=(new u.a).decode(p)}catch(t){n=t}if(null==f)try{var p;c=(p=i.detectMirror(!0)).getPoints(),this.reportFoundResultPoints(e,c),f=(new u.a).decode(p)}catch(t){if(null!=n)throw n;throw t}var d=new r.a(f.getText(),f.getRawBytes(),f.getNumBits(),c,o.a.AZTEC,s.a.currentTimeMillis()),h=f.getByteSegments();null!=h&&d.putMetadata(a.a.BYTE_SEGMENTS,h);var g=f.getECLevel();return null!=g&&d.putMetadata(a.a.ERROR_CORRECTION_LEVEL,g),d},t.prototype.reportFoundResultPoints=function(t,e){if(null!=t){var n=t.get(i.a.NEED_RESULT_POINT_CALLBACK);null!=n&&e.forEach((function(t,e,r){n.foundPossibleResultPoint(t)}))}},t.prototype.reset=function(){},t}();e.a=c},function(t,e,n){"use strict";var r=n(4),o=n(10),i=n(1),a=function(){function t(e,n,r,o){this.image=e,this.height=e.getHeight(),this.width=e.getWidth(),null==n&&(n=t.INIT_SIZE),null==r&&(r=e.getWidth()/2|0),null==o&&(o=e.getHeight()/2|0);var a=n/2|0;if(this.leftInit=r-a,this.rightInit=r+a,this.upInit=o-a,this.downInit=o+a,this.upInit<0||this.leftInit<0||this.downInit>=this.height||this.rightInit>=this.width)throw new i.a}return t.prototype.detect=function(){for(var t=this.leftInit,e=this.rightInit,n=this.upInit,r=this.downInit,o=!1,a=!0,s=!1,u=!1,l=!1,c=!1,f=!1,p=this.width,d=this.height;a;){a=!1;for(var h=!0;(h||!u)&&e<p;)(h=this.containsBlackPoint(n,r,e,!1))?(e++,a=!0,u=!0):u||e++;if(e>=p){o=!0;break}for(var g=!0;(g||!l)&&r<d;)(g=this.containsBlackPoint(t,e,r,!0))?(r++,a=!0,l=!0):l||r++;if(r>=d){o=!0;break}for(var y=!0;(y||!c)&&t>=0;)(y=this.containsBlackPoint(n,r,t,!1))?(t--,a=!0,c=!0):c||t--;if(t<0){o=!0;break}for(var v=!0;(v||!f)&&n>=0;)(v=this.containsBlackPoint(t,e,n,!0))?(n--,a=!0,f=!0):f||n--;if(n<0){o=!0;break}a&&(s=!0)}if(!o&&s){for(var m=e-t,w=null,E=1;null===w&&E<m;E++)w=this.getBlackPointOnSegment(t,r-E,t+E,r);if(null==w)throw new i.a;var b=null;for(E=1;null===b&&E<m;E++)b=this.getBlackPointOnSegment(t,n+E,t+E,n);if(null==b)throw new i.a;var _=null;for(E=1;null===_&&E<m;E++)_=this.getBlackPointOnSegment(e,n+E,e-E,n);if(null==_)throw new i.a;var C=null;for(E=1;null===C&&E<m;E++)C=this.getBlackPointOnSegment(e,r-E,e-E,r);if(null==C)throw new i.a;return this.centerEdges(C,w,_,b)}throw new i.a},t.prototype.getBlackPointOnSegment=function(t,e,n,i){for(var a=o.a.round(o.a.distance(t,e,n,i)),s=(n-t)/a,u=(i-e)/a,l=this.image,c=0;c<a;c++){var f=o.a.round(t+c*s),p=o.a.round(e+c*u);if(l.get(f,p))return new r.a(f,p)}return null},t.prototype.centerEdges=function(e,n,o,i){var a=e.getX(),s=e.getY(),u=n.getX(),l=n.getY(),c=o.getX(),f=o.getY(),p=i.getX(),d=i.getY(),h=t.CORR;return a<this.width/2?[new r.a(p-h,d+h),new r.a(u+h,l+h),new r.a(c-h,f-h),new r.a(a+h,s-h)]:[new r.a(p+h,d+h),new r.a(u+h,l-h),new r.a(c-h,f+h),new r.a(a-h,s-h)]},t.prototype.containsBlackPoint=function(t,e,n,r){var o=this.image;if(r){for(var i=t;i<=e;i++)if(o.get(i,n))return!0}else for(var a=t;a<=e;a++)if(o.get(n,a))return!0;return!1},t.INIT_SIZE=10,t.CORR=1,t}();e.a=a},function(t,e,n){"use strict";var r,o=n(5),i=n(28),a=n(1),s=(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),u=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},l=function(t){function e(){var e=t.call(this)||this;return e.decodeMiddleCounters=Int32Array.from([0,0,0,0]),e}return s(e,t),e.prototype.decodeMiddle=function(t,n,r){var o,a,s,l,c=this.decodeMiddleCounters;c[0]=0,c[1]=0,c[2]=0,c[3]=0;for(var f=t.getSize(),p=n[1],d=0,h=0;h<6&&p<f;h++){var g=i.a.decodeDigit(t,c,p,i.a.L_AND_G_PATTERNS);r+=String.fromCharCode("0".charCodeAt(0)+g%10);try{for(var y=(o=void 0,u(c)),v=y.next();!v.done;v=y.next()){p+=v.value}}catch(t){o={error:t}}finally{try{v&&!v.done&&(a=y.return)&&a.call(y)}finally{if(o)throw o.error}}g>=10&&(d|=1<<5-h)}r=e.determineFirstDigit(r,d),p=i.a.findGuardPattern(t,p,!0,i.a.MIDDLE_PATTERN,new Int32Array(i.a.MIDDLE_PATTERN.length).fill(0))[1];for(h=0;h<6&&p<f;h++){g=i.a.decodeDigit(t,c,p,i.a.L_PATTERNS);r+=String.fromCharCode("0".charCodeAt(0)+g);try{for(var m=(s=void 0,u(c)),w=m.next();!w.done;w=m.next()){p+=w.value}}catch(t){s={error:t}}finally{try{w&&!w.done&&(l=m.return)&&l.call(m)}finally{if(s)throw s.error}}}return{rowOffset:p,resultString:r}},e.prototype.getBarcodeFormat=function(){return o.a.EAN_13},e.determineFirstDigit=function(t,e){for(var n=0;n<10;n++)if(e===this.FIRST_DIGIT_ENCODINGS[n])return t=String.fromCharCode("0".charCodeAt(0)+n)+t;throw new a.a},e.FIRST_DIGIT_ENCODINGS=[0,11,13,14,19,25,28,21,22,26],e}(i.a);e.a=l},function(t,e,n){"use strict";var r=n(8),o=function(){function t(){this.maskPattern=-1}return t.prototype.getMode=function(){return this.mode},t.prototype.getECLevel=function(){return this.ecLevel},t.prototype.getVersion=function(){return this.version},t.prototype.getMaskPattern=function(){return this.maskPattern},t.prototype.getMatrix=function(){return this.matrix},t.prototype.toString=function(){var t=new r.a;return t.append("<<\n"),t.append(" mode: "),t.append(this.mode?this.mode.toString():"null"),t.append("\n ecLevel: "),t.append(this.ecLevel?this.ecLevel.toString():"null"),t.append("\n version: "),t.append(this.version?this.version.toString():"null"),t.append("\n maskPattern: "),t.append(this.maskPattern.toString()),this.matrix?(t.append("\n matrix:\n"),t.append(this.matrix.toString())):t.append("\n matrix: null\n"),t.append(">>\n"),t.toString()},t.prototype.setMode=function(t){this.mode=t},t.prototype.setECLevel=function(t){this.ecLevel=t},t.prototype.setVersion=function(t){this.version=t},t.prototype.setMaskPattern=function(t){this.maskPattern=t},t.prototype.setMatrix=function(t){this.matrix=t},t.isValidMaskPattern=function(e){return e>=0&&e<t.NUM_MASK_PATTERNS},t.NUM_MASK_PATTERNS=8,t}();e.a=o},function(t,e,n){"use strict";var r,o=n(5),i=n(18),a=n(2),s=n(1),u=n(14),l=n(11),c=n(7),f=n(21),p=n(4),d=n(9),h=n(24),g=function(){function t(t,e){this.bits=t,this.points=e}return t.prototype.getBits=function(){return this.bits},t.prototype.getPoints=function(){return this.points},t}(),y=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},v=function(){function t(){}return t.detectMultiple=function(e,n,r){var o=e.getBlackMatrix(),i=t.detect(r,o);return i.length||((o=o.clone()).rotate180(),i=t.detect(r,o)),new g(o,i)},t.detect=function(e,n){for(var r,o,i=new Array,a=0,s=0,u=!1;a<n.getHeight();){var l=t.findVertices(n,a,s);if(null!=l[0]||null!=l[3]){if(u=!0,i.push(l),!e)break;null!=l[2]?(s=Math.trunc(l[2].getX()),a=Math.trunc(l[2].getY())):(s=Math.trunc(l[4].getX()),a=Math.trunc(l[4].getY()))}else{if(!u)break;u=!1,s=0;try{for(var c=(r=void 0,y(i)),f=c.next();!f.done;f=c.next()){var p=f.value;null!=p[1]&&(a=Math.trunc(Math.max(a,p[1].getY()))),null!=p[3]&&(a=Math.max(a,Math.trunc(p[3].getY())))}}catch(t){r={error:t}}finally{try{f&&!f.done&&(o=c.return)&&o.call(c)}finally{if(r)throw r.error}}a+=t.ROW_STEP}}return i},t.findVertices=function(e,n,r){var o=e.getHeight(),i=e.getWidth(),a=new Array(8);return t.copyToResult(a,t.findRowsWithPattern(e,o,i,n,r,t.START_PATTERN),t.INDEXES_START_PATTERN),null!=a[4]&&(r=Math.trunc(a[4].getX()),n=Math.trunc(a[4].getY())),t.copyToResult(a,t.findRowsWithPattern(e,o,i,n,r,t.STOP_PATTERN),t.INDEXES_STOP_PATTERN),a},t.copyToResult=function(t,e,n){for(var r=0;r<n.length;r++)t[n[r]]=e[r]},t.findRowsWithPattern=function(e,n,r,o,i,a){for(var s=new Array(4),u=!1,l=new Int32Array(a.length);o<n;o+=t.ROW_STEP){if(null!=(g=t.findGuardPattern(e,i,o,r,!1,a,l))){for(;o>0;){if(null==(d=t.findGuardPattern(e,i,--o,r,!1,a,l))){o++;break}g=d}s[0]=new p.a(g[0],o),s[1]=new p.a(g[1],o),u=!0;break}}var c=o+1;if(u){for(var f=0,d=Int32Array.from([Math.trunc(s[0].getX()),Math.trunc(s[1].getX())]);c<n;c++){var g;if(null!=(g=t.findGuardPattern(e,d[0],c,r,!1,a,l))&&Math.abs(d[0]-g[0])<t.MAX_PATTERN_DRIFT&&Math.abs(d[1]-g[1])<t.MAX_PATTERN_DRIFT)d=g,f=0;else{if(f>t.SKIPPED_ROW_COUNT_MAX)break;f++}}c-=f+1,s[2]=new p.a(d[0],c),s[3]=new p.a(d[1],c)}return c-o<t.BARCODE_MIN_HEIGHT&&h.a.fill(s,null),s},t.findGuardPattern=function(e,n,r,o,i,a,s){h.a.fillWithin(s,0,s.length,0);for(var u=n,l=0;e.get(u,r)&&u>0&&l++<t.MAX_PIXEL_DRIFT;)u--;for(var c=u,f=0,p=a.length,g=i;c<o;c++){if(e.get(c,r)!==g)s[f]++;else{if(f===p-1){if(t.patternMatchVariance(s,a,t.MAX_INDIVIDUAL_VARIANCE)<t.MAX_AVG_VARIANCE)return new Int32Array([u,c]);u+=s[0]+s[1],d.a.arraycopy(s,2,s,0,f-1),s[f-1]=0,s[f]=0,f--}else f++;s[f]=1,g=!g}}return f===p-1&&t.patternMatchVariance(s,a,t.MAX_INDIVIDUAL_VARIANCE)<t.MAX_AVG_VARIANCE?new Int32Array([u,c-1]):null},t.patternMatchVariance=function(t,e,n){for(var r=t.length,o=0,i=0,a=0;a<r;a++)o+=t[a],i+=e[a];if(o<i)return 1/0;var s=o/i;n*=s;for(var u=0,l=0;l<r;l++){var c=t[l],f=e[l]*s,p=c>f?c-f:f-c;if(p>n)return 1/0;u+=p}return u/o},t.INDEXES_START_PATTERN=Int32Array.from([0,4,1,5]),t.INDEXES_STOP_PATTERN=Int32Array.from([6,2,7,3]),t.MAX_AVG_VARIANCE=.42,t.MAX_INDIVIDUAL_VARIANCE=.8,t.START_PATTERN=Int32Array.from([8,1,1,1,1,1,1,3]),t.STOP_PATTERN=Int32Array.from([7,1,1,3,1,1,1,2,1]),t.MAX_PIXEL_DRIFT=3,t.MAX_PATTERN_DRIFT=5,t.SKIPPED_ROW_COUNT_MAX=25,t.ROW_STEP=5,t.BARCODE_MIN_HEIGHT=10,t}(),m=n(10),w=n(103),E=function(){function t(e,n,r,o,i){e instanceof t?this.constructor_2(e):this.constructor_1(e,n,r,o,i)}return t.prototype.constructor_1=function(t,e,n,r,o){var i=null==e||null==n,a=null==r||null==o;if(i&&a)throw new s.a;i?(e=new p.a(0,r.getY()),n=new p.a(0,o.getY())):a&&(r=new p.a(t.getWidth()-1,e.getY()),o=new p.a(t.getWidth()-1,n.getY())),this.image=t,this.topLeft=e,this.bottomLeft=n,this.topRight=r,this.bottomRight=o,this.minX=Math.trunc(Math.min(e.getX(),n.getX())),this.maxX=Math.trunc(Math.max(r.getX(),o.getX())),this.minY=Math.trunc(Math.min(e.getY(),r.getY())),this.maxY=Math.trunc(Math.max(n.getY(),o.getY()))},t.prototype.constructor_2=function(t){this.image=t.image,this.topLeft=t.getTopLeft(),this.bottomLeft=t.getBottomLeft(),this.topRight=t.getTopRight(),this.bottomRight=t.getBottomRight(),this.minX=t.getMinX(),this.maxX=t.getMaxX(),this.minY=t.getMinY(),this.maxY=t.getMaxY()},t.merge=function(e,n){return null==e?n:null==n?e:new t(e.image,e.topLeft,e.bottomLeft,n.topRight,n.bottomRight)},t.prototype.addMissingRows=function(e,n,r){var o=this.topLeft,i=this.bottomLeft,a=this.topRight,s=this.bottomRight;if(e>0){var u=r?this.topLeft:this.topRight,l=Math.trunc(u.getY()-e);l<0&&(l=0);var c=new p.a(u.getX(),l);r?o=c:a=c}if(n>0){var f=r?this.bottomLeft:this.bottomRight,d=Math.trunc(f.getY()+n);d>=this.image.getHeight()&&(d=this.image.getHeight()-1);var h=new p.a(f.getX(),d);r?i=h:s=h}return new t(this.image,o,i,a,s)},t.prototype.getMinX=function(){return this.minX},t.prototype.getMaxX=function(){return this.maxX},t.prototype.getMinY=function(){return this.minY},t.prototype.getMaxY=function(){return this.maxY},t.prototype.getTopLeft=function(){return this.topLeft},t.prototype.getTopRight=function(){return this.topRight},t.prototype.getBottomLeft=function(){return this.bottomLeft},t.prototype.getBottomRight=function(){return this.bottomRight},t}(),b=function(){function t(t,e,n,r){this.columnCount=t,this.errorCorrectionLevel=r,this.rowCountUpperPart=e,this.rowCountLowerPart=n,this.rowCount=e+n}return t.prototype.getColumnCount=function(){return this.columnCount},t.prototype.getErrorCorrectionLevel=function(){return this.errorCorrectionLevel},t.prototype.getRowCount=function(){return this.rowCount},t.prototype.getRowCountUpperPart=function(){return this.rowCountUpperPart},t.prototype.getRowCountLowerPart=function(){return this.rowCountLowerPart},t}(),_=function(){function t(){this.buffer=""}return t.form=function(t,e){var n=-1;return t.replace(/%(-)?(0?[0-9]+)?([.][0-9]+)?([#][0-9]+)?([scfpexd%])/g,(function(t,r,o,i,a,s){if("%%"===t)return"%";if(void 0!==e[++n]){t=i?parseInt(i.substr(1)):void 0;var u,l=a?parseInt(a.substr(1)):void 0;switch(s){case"s":u=e[n];break;case"c":u=e[n][0];break;case"f":u=parseFloat(e[n]).toFixed(t);break;case"p":u=parseFloat(e[n]).toPrecision(t);break;case"e":u=parseFloat(e[n]).toExponential(t);break;case"x":u=parseInt(e[n]).toString(l||16);break;case"d":u=parseFloat(parseInt(e[n],l||10).toPrecision(t)).toFixed(0)}u="object"==typeof u?JSON.stringify(u):(+u).toString(l);for(var c=parseInt(o),f=o&&o[0]+""=="0"?"0":" ";u.length<c;)u=void 0!==r?u+f:f+u;return u}}))},t.prototype.format=function(e){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];this.buffer+=t.form(e,n)},t.prototype.toString=function(){return this.buffer},t}(),C=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},S=function(){function t(t){this.boundingBox=new E(t),this.codewords=new Array(t.getMaxY()-t.getMinY()+1)}return t.prototype.getCodewordNearby=function(e){var n=this.getCodeword(e);if(null!=n)return n;for(var r=1;r<t.MAX_NEARBY_DISTANCE;r++){var o=this.imageRowToCodewordIndex(e)-r;if(o>=0&&null!=(n=this.codewords[o]))return n;if((o=this.imageRowToCodewordIndex(e)+r)<this.codewords.length&&null!=(n=this.codewords[o]))return n}return null},t.prototype.imageRowToCodewordIndex=function(t){return t-this.boundingBox.getMinY()},t.prototype.setCodeword=function(t,e){this.codewords[this.imageRowToCodewordIndex(t)]=e},t.prototype.getCodeword=function(t){return this.codewords[this.imageRowToCodewordIndex(t)]},t.prototype.getBoundingBox=function(){return this.boundingBox},t.prototype.getCodewords=function(){return this.codewords},t.prototype.toString=function(){var t,e,n=new _,r=0;try{for(var o=C(this.codewords),i=o.next();!i.done;i=o.next()){var a=i.value;null!=a?n.format("%3d: %3d|%3d%n",r++,a.getRowNumber(),a.getValue()):n.format("%3d: | %n",r++)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=o.return)&&e.call(o)}finally{if(t)throw t.error}}return n.toString()},t.MAX_NEARBY_DISTANCE=5,t}(),A=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},O=function(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,o,i=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},I=function(){function t(){this.values=new Map}return t.prototype.setValue=function(t){t=Math.trunc(t);var e=this.values.get(t);null==e&&(e=0),e++,this.values.set(t,e)},t.prototype.getValue=function(){var t,e,n=-1,r=new Array,o=function(t,e){var o=function(){return t},i=function(){return e};i()>n?(n=i(),(r=[]).push(o())):i()===n&&r.push(o())};try{for(var i=A(this.values.entries()),a=i.next();!a.done;a=i.next()){var s=O(a.value,2);o(s[0],s[1])}}catch(e){t={error:e}}finally{try{a&&!a.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}return l.a.toIntArray(r)},t.prototype.getConfidence=function(t){return this.values.get(t)},t}(),T=(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),R=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},N=function(t){function e(e,n){var r=t.call(this,e)||this;return r._isLeft=n,r}return T(e,t),e.prototype.setRowNumbers=function(){var t,e;try{for(var n=R(this.getCodewords()),r=n.next();!r.done;r=n.next()){var o=r.value;null!=o&&o.setRowNumberAsRowIndicatorColumn()}}catch(e){t={error:e}}finally{try{r&&!r.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}},e.prototype.adjustCompleteIndicatorColumnRowNumbers=function(t){var e=this.getCodewords();this.setRowNumbers(),this.removeIncorrectCodewords(e,t);for(var n=this.getBoundingBox(),r=this._isLeft?n.getTopLeft():n.getTopRight(),o=this._isLeft?n.getBottomLeft():n.getBottomRight(),i=this.imageRowToCodewordIndex(Math.trunc(r.getY())),a=this.imageRowToCodewordIndex(Math.trunc(o.getY())),s=-1,u=1,l=0,c=i;c<a;c++)if(null!=e[c]){var f=e[c],p=f.getRowNumber()-s;if(0===p)l++;else if(1===p)u=Math.max(u,l),l=1,s=f.getRowNumber();else if(p<0||f.getRowNumber()>=t.getRowCount()||p>c)e[c]=null;else{for(var d=void 0,h=(d=u>2?(u-2)*p:p)>=c,g=1;g<=d&&!h;g++)h=null!=e[c-g];h?e[c]=null:(s=f.getRowNumber(),l=1)}}},e.prototype.getRowHeights=function(){var t,e,n=this.getBarcodeMetadata();if(null==n)return null;this.adjustIncompleteIndicatorColumnRowNumbers(n);var r=new Int32Array(n.getRowCount());try{for(var o=R(this.getCodewords()),i=o.next();!i.done;i=o.next()){var a=i.value;if(null!=a){var s=a.getRowNumber();if(s>=r.length)continue;r[s]++}}}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=o.return)&&e.call(o)}finally{if(t)throw t.error}}return r},e.prototype.adjustIncompleteIndicatorColumnRowNumbers=function(t){for(var e=this.getBoundingBox(),n=this._isLeft?e.getTopLeft():e.getTopRight(),r=this._isLeft?e.getBottomLeft():e.getBottomRight(),o=this.imageRowToCodewordIndex(Math.trunc(n.getY())),i=this.imageRowToCodewordIndex(Math.trunc(r.getY())),a=this.getCodewords(),s=-1,u=1,l=0,c=o;c<i;c++)if(null!=a[c]){var f=a[c];f.setRowNumberAsRowIndicatorColumn();var p=f.getRowNumber()-s;0===p?l++:1===p?(u=Math.max(u,l),l=1,s=f.getRowNumber()):f.getRowNumber()>=t.getRowCount()?a[c]=null:(s=f.getRowNumber(),l=1)}},e.prototype.getBarcodeMetadata=function(){var t,e,n=this.getCodewords(),r=new I,o=new I,i=new I,a=new I;try{for(var s=R(n),u=s.next();!u.done;u=s.next()){var c=u.value;if(null!=c){c.setRowNumberAsRowIndicatorColumn();var f=c.getValue()%30,p=c.getRowNumber();switch(this._isLeft||(p+=2),p%3){case 0:o.setValue(3*f+1);break;case 1:a.setValue(f/3),i.setValue(f%3);break;case 2:r.setValue(f+1)}}}}catch(e){t={error:e}}finally{try{u&&!u.done&&(e=s.return)&&e.call(s)}finally{if(t)throw t.error}}if(0===r.getValue().length||0===o.getValue().length||0===i.getValue().length||0===a.getValue().length||r.getValue()[0]<1||o.getValue()[0]+i.getValue()[0]<l.a.MIN_ROWS_IN_BARCODE||o.getValue()[0]+i.getValue()[0]>l.a.MAX_ROWS_IN_BARCODE)return null;var d=new b(r.getValue()[0],o.getValue()[0],i.getValue()[0],a.getValue()[0]);return this.removeIncorrectCodewords(n,d),d},e.prototype.removeIncorrectCodewords=function(t,e){for(var n=0;n<t.length;n++){var r=t[n];if(null!=t[n]){var o=r.getValue()%30,i=r.getRowNumber();if(i>e.getRowCount())t[n]=null;else switch(this._isLeft||(i+=2),i%3){case 0:3*o+1!==e.getRowCountUpperPart()&&(t[n]=null);break;case 1:Math.trunc(o/3)===e.getErrorCorrectionLevel()&&o%3===e.getRowCountLowerPart()||(t[n]=null);break;case 2:o+1!==e.getColumnCount()&&(t[n]=null)}}}},e.prototype.isLeft=function(){return this._isLeft},e.prototype.toString=function(){return"IsLeft: "+this._isLeft+"\n"+t.prototype.toString.call(this)},e}(S),D=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},P=function(){function t(t,e){this.ADJUST_ROW_NUMBER_SKIP=2,this.barcodeMetadata=t,this.barcodeColumnCount=t.getColumnCount(),this.boundingBox=e,this.detectionResultColumns=new Array(this.barcodeColumnCount+2)}return t.prototype.getDetectionResultColumns=function(){this.adjustIndicatorColumnRowNumbers(this.detectionResultColumns[0]),this.adjustIndicatorColumnRowNumbers(this.detectionResultColumns[this.barcodeColumnCount+1]);var t,e=l.a.MAX_CODEWORDS_IN_BARCODE;do{t=e,e=this.adjustRowNumbersAndGetCount()}while(e>0&&e<t);return this.detectionResultColumns},t.prototype.adjustIndicatorColumnRowNumbers=function(t){null!=t&&t.adjustCompleteIndicatorColumnRowNumbers(this.barcodeMetadata)},t.prototype.adjustRowNumbersAndGetCount=function(){var t=this.adjustRowNumbersByRow();if(0===t)return 0;for(var e=1;e<this.barcodeColumnCount+1;e++)for(var n=this.detectionResultColumns[e].getCodewords(),r=0;r<n.length;r++)null!=n[r]&&(n[r].hasValidRowNumber()||this.adjustRowNumbers(e,r,n));return t},t.prototype.adjustRowNumbersByRow=function(){return this.adjustRowNumbersFromBothRI(),this.adjustRowNumbersFromLRI()+this.adjustRowNumbersFromRRI()},t.prototype.adjustRowNumbersFromBothRI=function(){if(null!=this.detectionResultColumns[0]&&null!=this.detectionResultColumns[this.barcodeColumnCount+1])for(var t=this.detectionResultColumns[0].getCodewords(),e=this.detectionResultColumns[this.barcodeColumnCount+1].getCodewords(),n=0;n<t.length;n++)if(null!=t[n]&&null!=e[n]&&t[n].getRowNumber()===e[n].getRowNumber())for(var r=1;r<=this.barcodeColumnCount;r++){var o=this.detectionResultColumns[r].getCodewords()[n];null!=o&&(o.setRowNumber(t[n].getRowNumber()),o.hasValidRowNumber()||(this.detectionResultColumns[r].getCodewords()[n]=null))}},t.prototype.adjustRowNumbersFromRRI=function(){if(null==this.detectionResultColumns[this.barcodeColumnCount+1])return 0;for(var e=0,n=this.detectionResultColumns[this.barcodeColumnCount+1].getCodewords(),r=0;r<n.length;r++)if(null!=n[r])for(var o=n[r].getRowNumber(),i=0,a=this.barcodeColumnCount+1;a>0&&i<this.ADJUST_ROW_NUMBER_SKIP;a--){var s=this.detectionResultColumns[a].getCodewords()[r];null!=s&&(i=t.adjustRowNumberIfValid(o,i,s),s.hasValidRowNumber()||e++)}return e},t.prototype.adjustRowNumbersFromLRI=function(){if(null==this.detectionResultColumns[0])return 0;for(var e=0,n=this.detectionResultColumns[0].getCodewords(),r=0;r<n.length;r++)if(null!=n[r])for(var o=n[r].getRowNumber(),i=0,a=1;a<this.barcodeColumnCount+1&&i<this.ADJUST_ROW_NUMBER_SKIP;a++){var s=this.detectionResultColumns[a].getCodewords()[r];null!=s&&(i=t.adjustRowNumberIfValid(o,i,s),s.hasValidRowNumber()||e++)}return e},t.adjustRowNumberIfValid=function(t,e,n){return null==n||n.hasValidRowNumber()||(n.isValidRowNumber(t)?(n.setRowNumber(t),e=0):++e),e},t.prototype.adjustRowNumbers=function(e,n,r){var o,i,a=r[n],s=this.detectionResultColumns[e-1].getCodewords(),u=s;null!=this.detectionResultColumns[e+1]&&(u=this.detectionResultColumns[e+1].getCodewords());var l=new Array(14);l[2]=s[n],l[3]=u[n],n>0&&(l[0]=r[n-1],l[4]=s[n-1],l[5]=u[n-1]),n>1&&(l[8]=r[n-2],l[10]=s[n-2],l[11]=u[n-2]),n<r.length-1&&(l[1]=r[n+1],l[6]=s[n+1],l[7]=u[n+1]),n<r.length-2&&(l[9]=r[n+2],l[12]=s[n+2],l[13]=u[n+2]);try{for(var c=D(l),f=c.next();!f.done;f=c.next()){var p=f.value;if(t.adjustRowNumber(a,p))return}}catch(t){o={error:t}}finally{try{f&&!f.done&&(i=c.return)&&i.call(c)}finally{if(o)throw o.error}}},t.adjustRowNumber=function(t,e){return null!=e&&(!(!e.hasValidRowNumber()||e.getBucket()!==t.getBucket())&&(t.setRowNumber(e.getRowNumber()),!0))},t.prototype.getBarcodeColumnCount=function(){return this.barcodeColumnCount},t.prototype.getBarcodeRowCount=function(){return this.barcodeMetadata.getRowCount()},t.prototype.getBarcodeECLevel=function(){return this.barcodeMetadata.getErrorCorrectionLevel()},t.prototype.setBoundingBox=function(t){this.boundingBox=t},t.prototype.getBoundingBox=function(){return this.boundingBox},t.prototype.setDetectionResultColumn=function(t,e){this.detectionResultColumns[t]=e},t.prototype.getDetectionResultColumn=function(t){return this.detectionResultColumns[t]},t.prototype.toString=function(){var t=this.detectionResultColumns[0];null==t&&(t=this.detectionResultColumns[this.barcodeColumnCount+1]);for(var e=new _,n=0;n<t.getCodewords().length;n++){e.format("CW %3d:",n);for(var r=0;r<this.barcodeColumnCount+2;r++)if(null!=this.detectionResultColumns[r]){var o=this.detectionResultColumns[r].getCodewords()[n];null!=o?e.format(" %3d|%3d",o.getRowNumber(),o.getValue()):e.format(" | ")}else e.format(" | ");e.format("%n")}return e.toString()},t}(),x=function(){function t(e,n,r,o){this.rowNumber=t.BARCODE_ROW_UNKNOWN,this.startX=Math.trunc(e),this.endX=Math.trunc(n),this.bucket=Math.trunc(r),this.value=Math.trunc(o)}return t.prototype.hasValidRowNumber=function(){return this.isValidRowNumber(this.rowNumber)},t.prototype.isValidRowNumber=function(e){return e!==t.BARCODE_ROW_UNKNOWN&&this.bucket===e%3*3},t.prototype.setRowNumberAsRowIndicatorColumn=function(){this.rowNumber=Math.trunc(3*Math.trunc(this.value/30)+Math.trunc(this.bucket/3))},t.prototype.getWidth=function(){return this.endX-this.startX},t.prototype.getStartX=function(){return this.startX},t.prototype.getEndX=function(){return this.endX},t.prototype.getBucket=function(){return this.bucket},t.prototype.getValue=function(){return this.value},t.prototype.getRowNumber=function(){return this.rowNumber},t.prototype.setRowNumber=function(t){this.rowNumber=t},t.prototype.toString=function(){return this.rowNumber+"|"+this.value},t.BARCODE_ROW_UNKNOWN=-1,t}(),k=n(80),M=function(){function t(){}return t.initialize=function(){for(var e=0;e<l.a.SYMBOL_TABLE.length;e++)for(var n=l.a.SYMBOL_TABLE[e],r=1&n,o=0;o<l.a.BARS_IN_MODULE;o++){for(var i=0;(1&n)===r;)i+=1,n>>=1;r=1&n,t.RATIOS_TABLE[e]||(t.RATIOS_TABLE[e]=new Array(l.a.BARS_IN_MODULE)),t.RATIOS_TABLE[e][l.a.BARS_IN_MODULE-o-1]=Math.fround(i/l.a.MODULES_IN_CODEWORD)}this.bSymbolTableReady=!0},t.getDecodedValue=function(e){var n=t.getDecodedCodewordValue(t.sampleBitCounts(e));return-1!==n?n:t.getClosestDecodedValue(e)},t.sampleBitCounts=function(t){for(var e=m.a.sum(t),n=new Int32Array(l.a.BARS_IN_MODULE),r=0,o=0,i=0;i<l.a.MODULES_IN_CODEWORD;i++){var a=e/(2*l.a.MODULES_IN_CODEWORD)+i*e/l.a.MODULES_IN_CODEWORD;o+t[r]<=a&&(o+=t[r],r++),n[r]++}return n},t.getDecodedCodewordValue=function(e){var n=t.getBitValue(e);return-1===l.a.getCodeword(n)?-1:n},t.getBitValue=function(t){for(var e=0,n=0;n<t.length;n++)for(var r=0;r<t[n];r++)e=e<<1|(n%2==0?1:0);return Math.trunc(e)},t.getClosestDecodedValue=function(e){var n=m.a.sum(e),r=new Array(l.a.BARS_IN_MODULE);if(n>1)for(var o=0;o<r.length;o++)r[o]=Math.fround(e[o]/n);var i=k.a.MAX_VALUE,a=-1;this.bSymbolTableReady||t.initialize();for(var s=0;s<t.RATIOS_TABLE.length;s++){for(var u=0,c=t.RATIOS_TABLE[s],f=0;f<l.a.BARS_IN_MODULE;f++){var p=Math.fround(c[f]-r[f]);if((u+=Math.fround(p*p))>=i)break}u<i&&(i=u,a=l.a.SYMBOL_TABLE[s])}return a},t.bSymbolTableReady=!1,t.RATIOS_TABLE=new Array(l.a.SYMBOL_TABLE.length).map((function(t){return new Array(l.a.BARS_IN_MODULE)})),t}(),L=n(92),B=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},F=function(){function t(){}return t.decode=function(e,n,r,o,i,a,u){for(var l,c=new E(e,n,r,o,i),f=null,p=null,d=!0;;d=!1){if(null!=n&&(f=t.getRowIndicatorColumn(e,c,n,!0,a,u)),null!=o&&(p=t.getRowIndicatorColumn(e,c,o,!1,a,u)),null==(l=t.merge(f,p)))throw s.a.getNotFoundInstance();var h=l.getBoundingBox();if(!d||null==h||!(h.getMinY()<c.getMinY()||h.getMaxY()>c.getMaxY()))break;c=h}l.setBoundingBox(c);var g=l.getBarcodeColumnCount()+1;l.setDetectionResultColumn(0,f),l.setDetectionResultColumn(g,p);for(var y=null!=f,v=1;v<=g;v++){var m=y?v:g-v;if(void 0===l.getDetectionResultColumn(m)){var w=void 0;w=0===m||m===g?new N(c,0===m):new S(c),l.setDetectionResultColumn(m,w);for(var b=-1,_=b,C=c.getMinY();C<=c.getMaxY();C++){if((b=t.getStartColumn(l,m,C,y))<0||b>c.getMaxX()){if(-1===_)continue;b=_}var A=t.detectCodeword(e,c.getMinX(),c.getMaxX(),y,b,C,a,u);null!=A&&(w.setCodeword(C,A),_=b,a=Math.min(a,A.getWidth()),u=Math.max(u,A.getWidth()))}}}return t.createDecoderResult(l)},t.merge=function(e,n){if(null==e&&null==n)return null;var r=t.getBarcodeMetadata(e,n);if(null==r)return null;var o=E.merge(t.adjustBoundingBox(e),t.adjustBoundingBox(n));return new P(r,o)},t.adjustBoundingBox=function(e){var n,r;if(null==e)return null;var o=e.getRowHeights();if(null==o)return null;var i=t.getMax(o),a=0;try{for(var s=B(o),u=s.next();!u.done;u=s.next()){var l=u.value;if(a+=i-l,l>0)break}}catch(t){n={error:t}}finally{try{u&&!u.done&&(r=s.return)&&r.call(s)}finally{if(n)throw n.error}}for(var c=e.getCodewords(),f=0;a>0&&null==c[f];f++)a--;var p=0;for(f=o.length-1;f>=0&&(p+=i-o[f],!(o[f]>0));f--);for(f=c.length-1;p>0&&null==c[f];f--)p--;return e.getBoundingBox().addMissingRows(a,p,e.isLeft())},t.getMax=function(t){var e,n,r=-1;try{for(var o=B(t),i=o.next();!i.done;i=o.next()){var a=i.value;r=Math.max(r,a)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(e)throw e.error}}return r},t.getBarcodeMetadata=function(t,e){var n,r;return null==t||null==(n=t.getBarcodeMetadata())?null==e?null:e.getBarcodeMetadata():null==e||null==(r=e.getBarcodeMetadata())?n:n.getColumnCount()!==r.getColumnCount()&&n.getErrorCorrectionLevel()!==r.getErrorCorrectionLevel()&&n.getRowCount()!==r.getRowCount()?null:n},t.getRowIndicatorColumn=function(e,n,r,o,i,a){for(var s=new N(n,o),u=0;u<2;u++)for(var l=0===u?1:-1,c=Math.trunc(Math.trunc(r.getX())),f=Math.trunc(Math.trunc(r.getY()));f<=n.getMaxY()&&f>=n.getMinY();f+=l){var p=t.detectCodeword(e,0,e.getWidth(),o,c,f,i,a);null!=p&&(s.setCodeword(f,p),c=o?p.getStartX():p.getEndX())}return s},t.adjustCodewordCount=function(e,n){var r=n[0][1],o=r.getValue(),i=e.getBarcodeColumnCount()*e.getBarcodeRowCount()-t.getNumberOfECCodeWords(e.getBarcodeECLevel());if(0===o.length){if(i<1||i>l.a.MAX_CODEWORDS_IN_BARCODE)throw s.a.getNotFoundInstance();r.setValue(i)}else o[0]!==i&&r.setValue(i)},t.createDecoderResult=function(e){var n=t.createBarcodeMatrix(e);t.adjustCodewordCount(e,n);for(var r=new Array,o=new Int32Array(e.getBarcodeRowCount()*e.getBarcodeColumnCount()),i=[],a=new Array,s=0;s<e.getBarcodeRowCount();s++)for(var u=0;u<e.getBarcodeColumnCount();u++){var c=n[s][u+1].getValue(),f=s*e.getBarcodeColumnCount()+u;0===c.length?r.push(f):1===c.length?o[f]=c[0]:(a.push(f),i.push(c))}for(var p=new Array(i.length),d=0;d<p.length;d++)p[d]=i[d];return t.createDecoderResultFromAmbiguousValues(e.getBarcodeECLevel(),o,l.a.toIntArray(r),l.a.toIntArray(a),p)},t.createDecoderResultFromAmbiguousValues=function(e,n,r,o,a){for(var s=new Int32Array(o.length),u=100;u-- >0;){for(var l=0;l<s.length;l++)n[o[l]]=a[l][s[l]];try{return t.decodeCodewords(n,e,r)}catch(t){if(!(t instanceof i.a))throw t}if(0===s.length)throw i.a.getChecksumInstance();for(l=0;l<s.length;l++){if(s[l]<a[l].length-1){s[l]++;break}if(s[l]=0,l===s.length-1)throw i.a.getChecksumInstance()}}throw i.a.getChecksumInstance()},t.createBarcodeMatrix=function(t){for(var e,n,r,o,i=Array.from({length:t.getBarcodeRowCount()},(function(){return new Array(t.getBarcodeColumnCount()+2)})),a=0;a<i.length;a++)for(var s=0;s<i[a].length;s++)i[a][s]=new I;var u=0;try{for(var l=B(t.getDetectionResultColumns()),c=l.next();!c.done;c=l.next()){var f=c.value;if(null!=f)try{for(var p=(r=void 0,B(f.getCodewords())),d=p.next();!d.done;d=p.next()){var h=d.value;if(null!=h){var g=h.getRowNumber();if(g>=0){if(g>=i.length)continue;i[g][u].setValue(h.getValue())}}}}catch(t){r={error:t}}finally{try{d&&!d.done&&(o=p.return)&&o.call(p)}finally{if(r)throw r.error}}u++}}catch(t){e={error:t}}finally{try{c&&!c.done&&(n=l.return)&&n.call(l)}finally{if(e)throw e.error}}return i},t.isValidBarcodeColumn=function(t,e){return e>=0&&e<=t.getBarcodeColumnCount()+1},t.getStartColumn=function(e,n,r,o){var i,a,s=o?1:-1,u=null;if(t.isValidBarcodeColumn(e,n-s)&&(u=e.getDetectionResultColumn(n-s).getCodeword(r)),null!=u)return o?u.getEndX():u.getStartX();if(null!=(u=e.getDetectionResultColumn(n).getCodewordNearby(r)))return o?u.getStartX():u.getEndX();if(t.isValidBarcodeColumn(e,n-s)&&(u=e.getDetectionResultColumn(n-s).getCodewordNearby(r)),null!=u)return o?u.getEndX():u.getStartX();for(var l=0;t.isValidBarcodeColumn(e,n-s);){n-=s;try{for(var c=(i=void 0,B(e.getDetectionResultColumn(n).getCodewords())),f=c.next();!f.done;f=c.next()){var p=f.value;if(null!=p)return(o?p.getEndX():p.getStartX())+s*l*(p.getEndX()-p.getStartX())}}catch(t){i={error:t}}finally{try{f&&!f.done&&(a=c.return)&&a.call(c)}finally{if(i)throw i.error}}l++}return o?e.getBoundingBox().getMinX():e.getBoundingBox().getMaxX()},t.detectCodeword=function(e,n,r,o,i,a,s,u){i=t.adjustCodewordStartColumn(e,n,r,o,i,a);var c,f=t.getModuleBitCount(e,n,r,o,i,a);if(null==f)return null;var p=m.a.sum(f);if(o)c=i+p;else{for(var d=0;d<f.length/2;d++){var h=f[d];f[d]=f[f.length-1-d],f[f.length-1-d]=h}i=(c=i)-p}if(!t.checkCodewordSkew(p,s,u))return null;var g=M.getDecodedValue(f),y=l.a.getCodeword(g);return-1===y?null:new x(i,c,t.getCodewordBucketNumber(g),y)},t.getModuleBitCount=function(t,e,n,r,o,i){for(var a=o,s=new Int32Array(8),u=0,l=r?1:-1,c=r;(r?a<n:a>=e)&&u<s.length;)t.get(a,i)===c?(s[u]++,a+=l):(u++,c=!c);return u===s.length||a===(r?n:e)&&u===s.length-1?s:null},t.getNumberOfECCodeWords=function(t){return 2<<t},t.adjustCodewordStartColumn=function(e,n,r,o,i,a){for(var s=i,u=o?-1:1,l=0;l<2;l++){for(;(o?s>=n:s<r)&&o===e.get(s,a);){if(Math.abs(i-s)>t.CODEWORD_SKEW_SIZE)return i;s+=u}u=-u,o=!o}return s},t.checkCodewordSkew=function(e,n,r){return n-t.CODEWORD_SKEW_SIZE<=e&&e<=r+t.CODEWORD_SKEW_SIZE},t.decodeCodewords=function(e,n,r){if(0===e.length)throw a.a.getFormatInstance();var o=1<<n+1,i=t.correctErrors(e,r,o);t.verifyCodewordCount(e,o);var s=L.a.decode(e,""+n);return s.setErrorsCorrected(i),s.setErasures(r.length),s},t.correctErrors=function(e,n,r){if(null!=n&&n.length>r/2+t.MAX_ERRORS||r<0||r>t.MAX_EC_CODEWORDS)throw i.a.getChecksumInstance();return t.errorCorrection.decode(e,r,n)},t.verifyCodewordCount=function(t,e){if(t.length<4)throw a.a.getFormatInstance();var n=t[0];if(n>t.length)throw a.a.getFormatInstance();if(0===n){if(!(e<t.length))throw a.a.getFormatInstance();t[0]=t.length-e}},t.getBitCountForCodeword=function(t){for(var e=new Int32Array(8),n=0,r=e.length-1;!((1&t)!==n&&(n=1&t,--r<0));)e[r]++,t>>=1;return e},t.getCodewordBucketNumber=function(t){return t instanceof Int32Array?this.getCodewordBucketNumber_Int32Array(t):this.getCodewordBucketNumber_number(t)},t.getCodewordBucketNumber_number=function(e){return t.getCodewordBucketNumber(t.getBitCountForCodeword(e))},t.getCodewordBucketNumber_Int32Array=function(t){return(t[0]-t[2]+t[4]-t[6]+9)%9},t.toString=function(t){for(var e=new _,n=0;n<t.length;n++){e.format("Row %2d: ",n);for(var r=0;r<t[n].length;r++){var o=t[n][r];0===o.getValue().length?e.format(" ",null):e.format("%4d(%2d)",o.getValue()[0],o.getConfidence(o.getValue()[0]))}e.format("%n")}return e.toString()},t.CODEWORD_SKEW_SIZE=2,t.MAX_ERRORS=3,t.MAX_EC_CODEWORDS=512,t.errorCorrection=new w.a,t}(),U=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},z=function(){function t(){}return t.prototype.decode=function(e,n){void 0===n&&(n=null);var r=t.decode(e,n,!1);if(null==r||0===r.length||null==r[0])throw s.a.getNotFoundInstance();return r[0]},t.prototype.decodeMultiple=function(e,n){void 0===n&&(n=null);try{return t.decode(e,n,!0)}catch(t){if(t instanceof a.a||t instanceof i.a)throw s.a.getNotFoundInstance();throw t}},t.decode=function(e,n,r){var i,a,s=new Array,l=v.detectMultiple(e,n,r);try{for(var c=U(l.getPoints()),p=c.next();!p.done;p=c.next()){var d=p.value,h=F.decode(l.getBits(),d[4],d[5],d[6],d[7],t.getMinCodewordWidth(d),t.getMaxCodewordWidth(d)),g=new u.a(h.getText(),h.getRawBytes(),void 0,d,o.a.PDF_417);g.putMetadata(f.a.ERROR_CORRECTION_LEVEL,h.getECLevel());var y=h.getOther();null!=y&&g.putMetadata(f.a.PDF417_EXTRA_METADATA,y),s.push(g)}}catch(t){i={error:t}}finally{try{p&&!p.done&&(a=c.return)&&a.call(c)}finally{if(i)throw i.error}}return s.map((function(t){return t}))},t.getMaxWidth=function(t,e){return null==t||null==e?0:Math.trunc(Math.abs(t.getX()-e.getX()))},t.getMinWidth=function(t,e){return null==t||null==e?c.a.MAX_VALUE:Math.trunc(Math.abs(t.getX()-e.getX()))},t.getMaxCodewordWidth=function(e){return Math.floor(Math.max(Math.max(t.getMaxWidth(e[0],e[4]),t.getMaxWidth(e[6],e[2])*l.a.MODULES_IN_CODEWORD/l.a.MODULES_IN_STOP_PATTERN),Math.max(t.getMaxWidth(e[1],e[5]),t.getMaxWidth(e[7],e[3])*l.a.MODULES_IN_CODEWORD/l.a.MODULES_IN_STOP_PATTERN)))},t.getMinCodewordWidth=function(e){return Math.floor(Math.min(Math.min(t.getMinWidth(e[0],e[4]),t.getMinWidth(e[6],e[2])*l.a.MODULES_IN_CODEWORD/l.a.MODULES_IN_STOP_PATTERN),Math.min(t.getMinWidth(e[1],e[5]),t.getMinWidth(e[7],e[3])*l.a.MODULES_IN_CODEWORD/l.a.MODULES_IN_STOP_PATTERN)))},t.prototype.reset=function(){},t}();e.a=z},function(t,e,n){"use strict";var r,o=n(5),i=n(23),a=n(12),s=n(1),u=n(14),l=n(21),c=n(18),f=n(26),p=n(40),d=n(36),h=n(65),g=n(76),y=n(2),v=function(){function t(t){var e=t.getHeight();if(e<21||1!=(3&e))throw new y.a;this.bitMatrix=t}return t.prototype.readFormatInformation=function(){if(null!==this.parsedFormatInfo&&void 0!==this.parsedFormatInfo)return this.parsedFormatInfo;for(var t=0,e=0;e<6;e++)t=this.copyBit(e,8,t);t=this.copyBit(7,8,t),t=this.copyBit(8,8,t),t=this.copyBit(8,7,t);for(var n=5;n>=0;n--)t=this.copyBit(8,n,t);var r=this.bitMatrix.getHeight(),o=0,i=r-7;for(n=r-1;n>=i;n--)o=this.copyBit(8,n,o);for(e=r-8;e<r;e++)o=this.copyBit(e,8,o);if(this.parsedFormatInfo=h.a.decodeFormatInformation(t,o),null!==this.parsedFormatInfo)return this.parsedFormatInfo;throw new y.a},t.prototype.readVersion=function(){if(null!==this.parsedVersion&&void 0!==this.parsedVersion)return this.parsedVersion;var t=this.bitMatrix.getHeight(),e=Math.floor((t-17)/4);if(e<=6)return d.a.getVersionForNumber(e);for(var n=0,r=t-11,o=5;o>=0;o--)for(var i=t-9;i>=r;i--)n=this.copyBit(i,o,n);var a=d.a.decodeVersionInformation(n);if(null!==a&&a.getDimensionForVersion()===t)return this.parsedVersion=a,a;n=0;for(i=5;i>=0;i--)for(o=t-9;o>=r;o--)n=this.copyBit(i,o,n);if(null!==(a=d.a.decodeVersionInformation(n))&&a.getDimensionForVersion()===t)return this.parsedVersion=a,a;throw new y.a},t.prototype.copyBit=function(t,e,n){return(this.isMirror?this.bitMatrix.get(e,t):this.bitMatrix.get(t,e))?n<<1|1:n<<1},t.prototype.readCodewords=function(){var t=this.readFormatInformation(),e=this.readVersion(),n=g.a.values.get(t.getDataMask()),r=this.bitMatrix.getHeight();n.unmaskBitMatrix(this.bitMatrix,r);for(var o=e.buildFunctionPattern(),i=!0,a=new Uint8Array(e.getTotalCodewords()),s=0,u=0,l=0,c=r-1;c>0;c-=2){6===c&&c--;for(var f=0;f<r;f++)for(var p=i?r-1-f:f,d=0;d<2;d++)o.get(c-d,p)||(l++,u<<=1,this.bitMatrix.get(c-d,p)&&(u|=1),8===l&&(a[s++]=u,l=0,u=0));i=!i}if(s!==e.getTotalCodewords())throw new y.a;return a},t.prototype.remask=function(){if(null!==this.parsedFormatInfo){var t=g.a.values[this.parsedFormatInfo.getDataMask()],e=this.bitMatrix.getHeight();t.unmaskBitMatrix(this.bitMatrix,e)}},t.prototype.setMirror=function(t){this.parsedVersion=null,this.parsedFormatInfo=null,this.isMirror=t},t.prototype.mirror=function(){for(var t=this.bitMatrix,e=0,n=t.getWidth();e<n;e++)for(var r=e+1,o=t.getHeight();r<o;r++)t.get(e,r)!==t.get(r,e)&&(t.flip(r,e),t.flip(e,r))},t}(),m=n(3),w=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},E=function(){function t(t,e){this.numDataCodewords=t,this.codewords=e}return t.getDataBlocks=function(e,n,r){var o,i,a,s;if(e.length!==n.getTotalCodewords())throw new m.a;var u=n.getECBlocksForLevel(r),l=0,c=u.getECBlocks();try{for(var f=w(c),p=f.next();!p.done;p=f.next()){l+=(v=p.value).getCount()}}catch(t){o={error:t}}finally{try{p&&!p.done&&(i=f.return)&&i.call(f)}finally{if(o)throw o.error}}var d=new Array(l),h=0;try{for(var g=w(c),y=g.next();!y.done;y=g.next())for(var v=y.value,E=0;E<v.getCount();E++){var b=v.getDataCodewords(),_=u.getECCodewordsPerBlock()+b;d[h++]=new t(b,new Uint8Array(_))}}catch(t){a={error:t}}finally{try{y&&!y.done&&(s=g.return)&&s.call(g)}finally{if(a)throw a.error}}for(var C=d[0].codewords.length,S=d.length-1;S>=0;){if(d[S].codewords.length===C)break;S--}S++;var A=C-u.getECCodewordsPerBlock(),O=0;for(E=0;E<A;E++)for(var I=0;I<h;I++)d[I].codewords[E]=e[O++];for(I=S;I<h;I++)d[I].codewords[A]=e[O++];var T=d[0].codewords.length;for(E=A;E<T;E++)for(I=0;I<h;I++){var R=I<S?E:E+1;d[I].codewords[R]=e[O++]}return d},t.prototype.getNumDataCodewords=function(){return this.numDataCodewords},t.prototype.getCodewords=function(){return this.codewords},t}(),b=n(91),_=function(){function t(t){this.mirrored=t}return t.prototype.isMirrored=function(){return this.mirrored},t.prototype.applyMirroredCorrection=function(t){if(this.mirrored&&null!==t&&!(t.length<3)){var e=t[0];t[0]=t[2],t[2]=e}},t}(),C=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},S=function(){function t(){this.rsDecoder=new p.a(f.a.QR_CODE_FIELD_256)}return t.prototype.decodeBooleanArray=function(t,e){return this.decodeBitMatrix(i.a.parseFromBooleanArray(t),e)},t.prototype.decodeBitMatrix=function(t,e){var n=new v(t),r=null;try{return this.decodeBitMatrixParser(n,e)}catch(t){r=t}try{n.remask(),n.setMirror(!0),n.readVersion(),n.readFormatInformation(),n.mirror();var o=this.decodeBitMatrixParser(n,e);return o.setOther(new _(!0)),o}catch(t){if(null!==r)throw r;throw t}},t.prototype.decodeBitMatrixParser=function(t,e){var n,r,o,i,a=t.readVersion(),s=t.readFormatInformation().getErrorCorrectionLevel(),u=t.readCodewords(),l=E.getDataBlocks(u,a,s),c=0;try{for(var f=C(l),p=f.next();!p.done;p=f.next()){c+=(v=p.value).getNumDataCodewords()}}catch(t){n={error:t}}finally{try{p&&!p.done&&(r=f.return)&&r.call(f)}finally{if(n)throw n.error}}var d=new Uint8Array(c),h=0;try{for(var g=C(l),y=g.next();!y.done;y=g.next()){var v,m=(v=y.value).getCodewords(),w=v.getNumDataCodewords();this.correctErrors(m,w);for(var _=0;_<w;_++)d[h++]=m[_]}}catch(t){o={error:t}}finally{try{y&&!y.done&&(i=g.return)&&i.call(g)}finally{if(o)throw o.error}}return b.a.decode(d,a,s,e)},t.prototype.correctErrors=function(t,e){var n=new Int32Array(t);try{this.rsDecoder.decode(n,t.length-e)}catch(t){throw new c.a}for(var r=0;r<e;r++)t[r]=n[r]},t}(),A=n(10),O=n(46),I=n(47),T=n(62),R=n(4),N=(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),D=function(t){function e(e,n,r){var o=t.call(this,e,n)||this;return o.estimatedModuleSize=r,o}return N(e,t),e.prototype.aboutEquals=function(t,e,n){if(Math.abs(e-this.getY())<=t&&Math.abs(n-this.getX())<=t){var r=Math.abs(t-this.estimatedModuleSize);return r<=1||r<=this.estimatedModuleSize}return!1},e.prototype.combineEstimate=function(t,n,r){return new e((this.getX()+n)/2,(this.getY()+t)/2,(this.estimatedModuleSize+r)/2)},e}(R.a),P=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},x=function(){function t(t,e,n,r,o,i,a){this.image=t,this.startX=e,this.startY=n,this.width=r,this.height=o,this.moduleSize=i,this.resultPointCallback=a,this.possibleCenters=[],this.crossCheckStateCount=new Int32Array(3)}return t.prototype.find=function(){for(var t=this.startX,e=this.height,n=t+this.width,r=this.startY+e/2,o=new Int32Array(3),i=this.image,a=0;a<e;a++){var u=r+(0==(1&a)?Math.floor((a+1)/2):-Math.floor((a+1)/2));o[0]=0,o[1]=0,o[2]=0;for(var l=t;l<n&&!i.get(l,u);)l++;for(var c=0;l<n;){if(i.get(l,u))if(1===c)o[1]++;else if(2===c){var f;if(this.foundPatternCross(o))if(null!==(f=this.handlePossibleCenter(o,u,l)))return f;o[0]=o[2],o[1]=1,o[2]=0,c=1}else o[++c]++;else 1===c&&c++,o[c]++;l++}if(this.foundPatternCross(o))if(null!==(f=this.handlePossibleCenter(o,u,n)))return f}if(0!==this.possibleCenters.length)return this.possibleCenters[0];throw new s.a},t.centerFromEnd=function(t,e){return e-t[2]-t[1]/2},t.prototype.foundPatternCross=function(t){for(var e=this.moduleSize,n=e/2,r=0;r<3;r++)if(Math.abs(e-t[r])>=n)return!1;return!0},t.prototype.crossCheckVertical=function(e,n,r,o){var i=this.image,a=i.getHeight(),s=this.crossCheckStateCount;s[0]=0,s[1]=0,s[2]=0;for(var u=e;u>=0&&i.get(n,u)&&s[1]<=r;)s[1]++,u--;if(u<0||s[1]>r)return NaN;for(;u>=0&&!i.get(n,u)&&s[0]<=r;)s[0]++,u--;if(s[0]>r)return NaN;for(u=e+1;u<a&&i.get(n,u)&&s[1]<=r;)s[1]++,u++;if(u===a||s[1]>r)return NaN;for(;u<a&&!i.get(n,u)&&s[2]<=r;)s[2]++,u++;if(s[2]>r)return NaN;var l=s[0]+s[1]+s[2];return 5*Math.abs(l-o)>=2*o?NaN:this.foundPatternCross(s)?t.centerFromEnd(s,u):NaN},t.prototype.handlePossibleCenter=function(e,n,r){var o,i,a=e[0]+e[1]+e[2],s=t.centerFromEnd(e,r),u=this.crossCheckVertical(n,s,2*e[1],a);if(!isNaN(u)){var l=(e[0]+e[1]+e[2])/3;try{for(var c=P(this.possibleCenters),f=c.next();!f.done;f=c.next()){var p=f.value;if(p.aboutEquals(l,u,s))return p.combineEstimate(u,s,l)}}catch(t){o={error:t}}finally{try{f&&!f.done&&(i=c.return)&&i.call(c)}finally{if(o)throw o.error}}var d=new D(s,u,l);this.possibleCenters.push(d),null!==this.resultPointCallback&&void 0!==this.resultPointCallback&&this.resultPointCallback.foundPossibleResultPoint(d)}return null},t}(),k=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),M=function(t){function e(e,n,r,o){var i=t.call(this,e,n)||this;return i.estimatedModuleSize=r,i.count=o,void 0===o&&(i.count=1),i}return k(e,t),e.prototype.getEstimatedModuleSize=function(){return this.estimatedModuleSize},e.prototype.getCount=function(){return this.count},e.prototype.aboutEquals=function(t,e,n){if(Math.abs(e-this.getY())<=t&&Math.abs(n-this.getX())<=t){var r=Math.abs(t-this.estimatedModuleSize);return r<=1||r<=this.estimatedModuleSize}return!1},e.prototype.combineEstimate=function(t,n,r){var o=this.count+1;return new e((this.count*this.getX()+n)/o,(this.count*this.getY()+t)/o,(this.count*this.estimatedModuleSize+r)/o,o)},e}(R.a),L=function(){function t(t){this.bottomLeft=t[0],this.topLeft=t[1],this.topRight=t[2]}return t.prototype.getBottomLeft=function(){return this.bottomLeft},t.prototype.getTopLeft=function(){return this.topLeft},t.prototype.getTopRight=function(){return this.topRight},t}(),B=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},F=function(){function t(t,e){this.image=t,this.resultPointCallback=e,this.possibleCenters=[],this.crossCheckStateCount=new Int32Array(5),this.resultPointCallback=e}return t.prototype.getImage=function(){return this.image},t.prototype.getPossibleCenters=function(){return this.possibleCenters},t.prototype.find=function(e){var n=null!=e&&void 0!==e.get(a.a.TRY_HARDER),r=null!=e&&void 0!==e.get(a.a.PURE_BARCODE),o=this.image,i=o.getHeight(),s=o.getWidth(),u=Math.floor(3*i/(4*t.MAX_MODULES));(u<t.MIN_SKIP||n)&&(u=t.MIN_SKIP);for(var l=!1,c=new Int32Array(5),f=u-1;f<i&&!l;f+=u){c[0]=0,c[1]=0,c[2]=0,c[3]=0,c[4]=0;for(var p=0,d=0;d<s;d++)if(o.get(d,f))1==(1&p)&&p++,c[p]++;else if(0==(1&p))if(4===p)if(t.foundPatternCross(c)){if(!0!==this.handlePossibleCenter(c,f,d,r)){c[0]=c[2],c[1]=c[3],c[2]=c[4],c[3]=1,c[4]=0,p=3;continue}if(u=2,!0===this.hasSkipped)l=this.haveMultiplyConfirmedCenters();else{var h=this.findRowSkip();h>c[2]&&(f+=h-c[2]-u,d=s-1)}p=0,c[0]=0,c[1]=0,c[2]=0,c[3]=0,c[4]=0}else c[0]=c[2],c[1]=c[3],c[2]=c[4],c[3]=1,c[4]=0,p=3;else c[++p]++;else c[p]++;if(t.foundPatternCross(c))!0===this.handlePossibleCenter(c,f,s,r)&&(u=c[0],this.hasSkipped&&(l=this.haveMultiplyConfirmedCenters()))}var g=this.selectBestPatterns();return R.a.orderBestPatterns(g),new L(g)},t.centerFromEnd=function(t,e){return e-t[4]-t[3]-t[2]/2},t.foundPatternCross=function(t){for(var e=0,n=0;n<5;n++){var r=t[n];if(0===r)return!1;e+=r}if(e<7)return!1;var o=e/7,i=o/2;return Math.abs(o-t[0])<i&&Math.abs(o-t[1])<i&&Math.abs(3*o-t[2])<3*i&&Math.abs(o-t[3])<i&&Math.abs(o-t[4])<i},t.prototype.getCrossCheckStateCount=function(){var t=this.crossCheckStateCount;return t[0]=0,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t},t.prototype.crossCheckDiagonal=function(e,n,r,o){for(var i=this.getCrossCheckStateCount(),a=0,s=this.image;e>=a&&n>=a&&s.get(n-a,e-a);)i[2]++,a++;if(e<a||n<a)return!1;for(;e>=a&&n>=a&&!s.get(n-a,e-a)&&i[1]<=r;)i[1]++,a++;if(e<a||n<a||i[1]>r)return!1;for(;e>=a&&n>=a&&s.get(n-a,e-a)&&i[0]<=r;)i[0]++,a++;if(i[0]>r)return!1;var u=s.getHeight(),l=s.getWidth();for(a=1;e+a<u&&n+a<l&&s.get(n+a,e+a);)i[2]++,a++;if(e+a>=u||n+a>=l)return!1;for(;e+a<u&&n+a<l&&!s.get(n+a,e+a)&&i[3]<r;)i[3]++,a++;if(e+a>=u||n+a>=l||i[3]>=r)return!1;for(;e+a<u&&n+a<l&&s.get(n+a,e+a)&&i[4]<r;)i[4]++,a++;if(i[4]>=r)return!1;var c=i[0]+i[1]+i[2]+i[3]+i[4];return Math.abs(c-o)<2*o&&t.foundPatternCross(i)},t.prototype.crossCheckVertical=function(e,n,r,o){for(var i=this.image,a=i.getHeight(),s=this.getCrossCheckStateCount(),u=e;u>=0&&i.get(n,u);)s[2]++,u--;if(u<0)return NaN;for(;u>=0&&!i.get(n,u)&&s[1]<=r;)s[1]++,u--;if(u<0||s[1]>r)return NaN;for(;u>=0&&i.get(n,u)&&s[0]<=r;)s[0]++,u--;if(s[0]>r)return NaN;for(u=e+1;u<a&&i.get(n,u);)s[2]++,u++;if(u===a)return NaN;for(;u<a&&!i.get(n,u)&&s[3]<r;)s[3]++,u++;if(u===a||s[3]>=r)return NaN;for(;u<a&&i.get(n,u)&&s[4]<r;)s[4]++,u++;if(s[4]>=r)return NaN;var l=s[0]+s[1]+s[2]+s[3]+s[4];return 5*Math.abs(l-o)>=2*o?NaN:t.foundPatternCross(s)?t.centerFromEnd(s,u):NaN},t.prototype.crossCheckHorizontal=function(e,n,r,o){for(var i=this.image,a=i.getWidth(),s=this.getCrossCheckStateCount(),u=e;u>=0&&i.get(u,n);)s[2]++,u--;if(u<0)return NaN;for(;u>=0&&!i.get(u,n)&&s[1]<=r;)s[1]++,u--;if(u<0||s[1]>r)return NaN;for(;u>=0&&i.get(u,n)&&s[0]<=r;)s[0]++,u--;if(s[0]>r)return NaN;for(u=e+1;u<a&&i.get(u,n);)s[2]++,u++;if(u===a)return NaN;for(;u<a&&!i.get(u,n)&&s[3]<r;)s[3]++,u++;if(u===a||s[3]>=r)return NaN;for(;u<a&&i.get(u,n)&&s[4]<r;)s[4]++,u++;if(s[4]>=r)return NaN;var l=s[0]+s[1]+s[2]+s[3]+s[4];return 5*Math.abs(l-o)>=o?NaN:t.foundPatternCross(s)?t.centerFromEnd(s,u):NaN},t.prototype.handlePossibleCenter=function(e,n,r,o){var i=e[0]+e[1]+e[2]+e[3]+e[4],a=t.centerFromEnd(e,r),s=this.crossCheckVertical(n,Math.floor(a),e[2],i);if(!isNaN(s)&&(a=this.crossCheckHorizontal(Math.floor(a),Math.floor(s),e[2],i),!isNaN(a)&&(!o||this.crossCheckDiagonal(Math.floor(s),Math.floor(a),e[2],i)))){for(var u=i/7,l=!1,c=this.possibleCenters,f=0,p=c.length;f<p;f++){var d=c[f];if(d.aboutEquals(u,s,a)){c[f]=d.combineEstimate(s,a,u),l=!0;break}}if(!l){var h=new M(a,s,u);c.push(h),null!==this.resultPointCallback&&void 0!==this.resultPointCallback&&this.resultPointCallback.foundPossibleResultPoint(h)}return!0}return!1},t.prototype.findRowSkip=function(){var e,n;if(this.possibleCenters.length<=1)return 0;var r=null;try{for(var o=B(this.possibleCenters),i=o.next();!i.done;i=o.next()){var a=i.value;if(a.getCount()>=t.CENTER_QUORUM){if(null!=r)return this.hasSkipped=!0,Math.floor((Math.abs(r.getX()-a.getX())-Math.abs(r.getY()-a.getY()))/2);r=a}}}catch(t){e={error:t}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(e)throw e.error}}return 0},t.prototype.haveMultiplyConfirmedCenters=function(){var e,n,r,o,i=0,a=0,s=this.possibleCenters.length;try{for(var u=B(this.possibleCenters),l=u.next();!l.done;l=u.next()){(h=l.value).getCount()>=t.CENTER_QUORUM&&(i++,a+=h.getEstimatedModuleSize())}}catch(t){e={error:t}}finally{try{l&&!l.done&&(n=u.return)&&n.call(u)}finally{if(e)throw e.error}}if(i<3)return!1;var c=a/s,f=0;try{for(var p=B(this.possibleCenters),d=p.next();!d.done;d=p.next()){var h=d.value;f+=Math.abs(h.getEstimatedModuleSize()-c)}}catch(t){r={error:t}}finally{try{d&&!d.done&&(o=p.return)&&o.call(p)}finally{if(r)throw r.error}}return f<=.05*a},t.prototype.selectBestPatterns=function(){var t,e,n,r,o=this.possibleCenters.length;if(o<3)throw new s.a;var i,a=this.possibleCenters;if(o>3){var u=0,l=0;try{for(var c=B(this.possibleCenters),f=c.next();!f.done;f=c.next()){var p=f.value.getEstimatedModuleSize();u+=p,l+=p*p}}catch(e){t={error:e}}finally{try{f&&!f.done&&(e=c.return)&&e.call(c)}finally{if(t)throw t.error}}i=u/o;var d=Math.sqrt(l/o-i*i);a.sort((function(t,e){var n=Math.abs(e.getEstimatedModuleSize()-i),r=Math.abs(t.getEstimatedModuleSize()-i);return n<r?-1:n>r?1:0}));for(var h=Math.max(.2*i,d),g=0;g<a.length&&a.length>3;g++){var y=a[g];Math.abs(y.getEstimatedModuleSize()-i)>h&&(a.splice(g,1),g--)}}if(a.length>3){u=0;try{for(var v=B(a),m=v.next();!m.done;m=v.next()){u+=m.value.getEstimatedModuleSize()}}catch(t){n={error:t}}finally{try{m&&!m.done&&(r=v.return)&&r.call(v)}finally{if(n)throw n.error}}i=u/a.length,a.sort((function(t,e){if(e.getCount()===t.getCount()){var n=Math.abs(e.getEstimatedModuleSize()-i),r=Math.abs(t.getEstimatedModuleSize()-i);return n<r?1:n>r?-1:0}return e.getCount()-t.getCount()})),a.splice(3)}return[a[0],a[1],a[2]]},t.CENTER_QUORUM=2,t.MIN_SKIP=3,t.MAX_MODULES=57,t}(),U=function(){function t(t){this.image=t}return t.prototype.getImage=function(){return this.image},t.prototype.getResultPointCallback=function(){return this.resultPointCallback},t.prototype.detect=function(t){this.resultPointCallback=null==t?null:t.get(a.a.NEED_RESULT_POINT_CALLBACK);var e=new F(this.image,this.resultPointCallback).find(t);return this.processFinderPatternInfo(e)},t.prototype.processFinderPatternInfo=function(e){var n=e.getTopLeft(),r=e.getTopRight(),o=e.getBottomLeft(),i=this.calculateModuleSize(n,r,o);if(i<1)throw new s.a("No pattern found in proccess finder.");var a=t.computeDimension(n,r,o,i),u=d.a.getProvisionalVersionForDimension(a),l=u.getDimensionForVersion()-7,c=null;if(u.getAlignmentPatternCenters().length>0)for(var f=r.getX()-n.getX()+o.getX(),p=r.getY()-n.getY()+o.getY(),h=1-3/l,g=Math.floor(n.getX()+h*(f-n.getX())),y=Math.floor(n.getY()+h*(p-n.getY())),v=4;v<=16;v<<=1)try{c=this.findAlignmentInRegion(i,g,y,v);break}catch(t){if(!(t instanceof s.a))throw t}var m,w=t.createTransform(n,r,o,c,a),E=t.sampleGrid(this.image,w,a);return m=null===c?[o,n,r]:[o,n,r,c],new O.a(E,m)},t.createTransform=function(t,e,n,r,o){var i,a,s,u,l=o-3.5;return null!==r?(i=r.getX(),a=r.getY(),u=s=l-3):(i=e.getX()-t.getX()+n.getX(),a=e.getY()-t.getY()+n.getY(),s=l,u=l),T.a.quadrilateralToQuadrilateral(3.5,3.5,l,3.5,s,u,3.5,l,t.getX(),t.getY(),e.getX(),e.getY(),i,a,n.getX(),n.getY())},t.sampleGrid=function(t,e,n){return I.a.getInstance().sampleGridWithTransform(t,n,n,e)},t.computeDimension=function(t,e,n,r){var o=A.a.round(R.a.distance(t,e)/r),i=A.a.round(R.a.distance(t,n)/r),a=Math.floor((o+i)/2)+7;switch(3&a){case 0:a++;break;case 2:a--;break;case 3:throw new s.a("Dimensions could be not found.")}return a},t.prototype.calculateModuleSize=function(t,e,n){return(this.calculateModuleSizeOneWay(t,e)+this.calculateModuleSizeOneWay(t,n))/2},t.prototype.calculateModuleSizeOneWay=function(t,e){var n=this.sizeOfBlackWhiteBlackRunBothWays(Math.floor(t.getX()),Math.floor(t.getY()),Math.floor(e.getX()),Math.floor(e.getY())),r=this.sizeOfBlackWhiteBlackRunBothWays(Math.floor(e.getX()),Math.floor(e.getY()),Math.floor(t.getX()),Math.floor(t.getY()));return isNaN(n)?r/7:isNaN(r)?n/7:(n+r)/14},t.prototype.sizeOfBlackWhiteBlackRunBothWays=function(t,e,n,r){var o=this.sizeOfBlackWhiteBlackRun(t,e,n,r),i=1,a=t-(n-t);a<0?(i=t/(t-a),a=0):a>=this.image.getWidth()&&(i=(this.image.getWidth()-1-t)/(a-t),a=this.image.getWidth()-1);var s=Math.floor(e-(r-e)*i);return i=1,s<0?(i=e/(e-s),s=0):s>=this.image.getHeight()&&(i=(this.image.getHeight()-1-e)/(s-e),s=this.image.getHeight()-1),a=Math.floor(t+(a-t)*i),(o+=this.sizeOfBlackWhiteBlackRun(t,e,a,s))-1},t.prototype.sizeOfBlackWhiteBlackRun=function(t,e,n,r){var o=Math.abs(r-e)>Math.abs(n-t);if(o){var i=t;t=e,e=i,i=n,n=r,r=i}for(var a=Math.abs(n-t),s=Math.abs(r-e),u=-a/2,l=t<n?1:-1,c=e<r?1:-1,f=0,p=n+l,d=t,h=e;d!==p;d+=l){var g=o?h:d,y=o?d:h;if(1===f===this.image.get(g,y)){if(2===f)return A.a.distance(d,h,t,e);f++}if((u+=s)>0){if(h===r)break;h+=c,u-=a}}return 2===f?A.a.distance(n+l,r,t,e):NaN},t.prototype.findAlignmentInRegion=function(t,e,n,r){var o=Math.floor(r*t),i=Math.max(0,e-o),a=Math.min(this.image.getWidth()-1,e+o);if(a-i<3*t)throw new s.a("Alignment top exceeds estimated module size.");var u=Math.max(0,n-o),l=Math.min(this.image.getHeight()-1,n+o);if(l-u<3*t)throw new s.a("Alignment bottom exceeds estimated module size.");return new x(this.image,i,u,a-i,l-u,t,this.resultPointCallback).find()},t}(),z=function(){function t(){this.decoder=new S}return t.prototype.getDecoder=function(){return this.decoder},t.prototype.decode=function(e,n){var r,i;if(null!=n&&void 0!==n.get(a.a.PURE_BARCODE)){var s=t.extractPureBits(e.getBlackMatrix());r=this.decoder.decodeBitMatrix(s,n),i=t.NO_POINTS}else{var c=new U(e.getBlackMatrix()).detect(n);r=this.decoder.decodeBitMatrix(c.getBits(),n),i=c.getPoints()}r.getOther()instanceof _&&r.getOther().applyMirroredCorrection(i);var f=new u.a(r.getText(),r.getRawBytes(),void 0,i,o.a.QR_CODE,void 0),p=r.getByteSegments();null!==p&&f.putMetadata(l.a.BYTE_SEGMENTS,p);var d=r.getECLevel();return null!==d&&f.putMetadata(l.a.ERROR_CORRECTION_LEVEL,d),r.hasStructuredAppend()&&(f.putMetadata(l.a.STRUCTURED_APPEND_SEQUENCE,r.getStructuredAppendSequenceNumber()),f.putMetadata(l.a.STRUCTURED_APPEND_PARITY,r.getStructuredAppendParity())),f},t.prototype.reset=function(){},t.extractPureBits=function(t){var e=t.getTopLeftOnBit(),n=t.getBottomRightOnBit();if(null===e||null===n)throw new s.a;var r=this.moduleSize(e,t),o=e[1],a=n[1],u=e[0],l=n[0];if(u>=l||o>=a)throw new s.a;if(a-o!=l-u&&(l=u+(a-o))>=t.getWidth())throw new s.a;var c=Math.round((l-u+1)/r),f=Math.round((a-o+1)/r);if(c<=0||f<=0)throw new s.a;if(f!==c)throw new s.a;var p=Math.floor(r/2);o+=p;var d=(u+=p)+Math.floor((c-1)*r)-l;if(d>0){if(d>p)throw new s.a;u-=d}var h=o+Math.floor((f-1)*r)-a;if(h>0){if(h>p)throw new s.a;o-=h}for(var g=new i.a(c,f),y=0;y<f;y++)for(var v=o+Math.floor(y*r),m=0;m<c;m++)t.get(u+Math.floor(m*r),v)&&g.set(m,y);return g},t.moduleSize=function(t,e){for(var n=e.getHeight(),r=e.getWidth(),o=t[0],i=t[1],a=!0,u=0;o<r&&i<n;){if(a!==e.get(o,i)){if(5==++u)break;a=!a}o++,i++}if(o===r||i===n)throw new s.a;return(o-t[0])/7},t.NO_POINTS=new Array,t}();e.a=z},function(t,e,n){"use strict";var r=n(5),o=n(23),i=n(12),a=n(1),s=n(14),u=n(21),l=n(9),c=n(18),f=n(26),p=n(40),d=n(2),h=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},g=function(){function t(t,e,n){this.ecCodewords=t,this.ecBlocks=[e],n&&this.ecBlocks.push(n)}return t.prototype.getECCodewords=function(){return this.ecCodewords},t.prototype.getECBlocks=function(){return this.ecBlocks},t}(),y=function(){function t(t,e){this.count=t,this.dataCodewords=e}return t.prototype.getCount=function(){return this.count},t.prototype.getDataCodewords=function(){return this.dataCodewords},t}(),v=function(){function t(t,e,n,r,o,i){var a,s;this.versionNumber=t,this.symbolSizeRows=e,this.symbolSizeColumns=n,this.dataRegionSizeRows=r,this.dataRegionSizeColumns=o,this.ecBlocks=i;var u=0,l=i.getECCodewords(),c=i.getECBlocks();try{for(var f=h(c),p=f.next();!p.done;p=f.next()){var d=p.value;u+=d.getCount()*(d.getDataCodewords()+l)}}catch(t){a={error:t}}finally{try{p&&!p.done&&(s=f.return)&&s.call(f)}finally{if(a)throw a.error}}this.totalCodewords=u}return t.prototype.getVersionNumber=function(){return this.versionNumber},t.prototype.getSymbolSizeRows=function(){return this.symbolSizeRows},t.prototype.getSymbolSizeColumns=function(){return this.symbolSizeColumns},t.prototype.getDataRegionSizeRows=function(){return this.dataRegionSizeRows},t.prototype.getDataRegionSizeColumns=function(){return this.dataRegionSizeColumns},t.prototype.getTotalCodewords=function(){return this.totalCodewords},t.prototype.getECBlocks=function(){return this.ecBlocks},t.getVersionForDimensions=function(e,n){var r,o;if(0!=(1&e)||0!=(1&n))throw new d.a;try{for(var i=h(t.VERSIONS),a=i.next();!a.done;a=i.next()){var s=a.value;if(s.symbolSizeRows===e&&s.symbolSizeColumns===n)return s}}catch(t){r={error:t}}finally{try{a&&!a.done&&(o=i.return)&&o.call(i)}finally{if(r)throw r.error}}throw new d.a},t.prototype.toString=function(){return""+this.versionNumber},t.buildVersions=function(){return[new t(1,10,10,8,8,new g(5,new y(1,3))),new t(2,12,12,10,10,new g(7,new y(1,5))),new t(3,14,14,12,12,new g(10,new y(1,8))),new t(4,16,16,14,14,new g(12,new y(1,12))),new t(5,18,18,16,16,new g(14,new y(1,18))),new t(6,20,20,18,18,new g(18,new y(1,22))),new t(7,22,22,20,20,new g(20,new y(1,30))),new t(8,24,24,22,22,new g(24,new y(1,36))),new t(9,26,26,24,24,new g(28,new y(1,44))),new t(10,32,32,14,14,new g(36,new y(1,62))),new t(11,36,36,16,16,new g(42,new y(1,86))),new t(12,40,40,18,18,new g(48,new y(1,114))),new t(13,44,44,20,20,new g(56,new y(1,144))),new t(14,48,48,22,22,new g(68,new y(1,174))),new t(15,52,52,24,24,new g(42,new y(2,102))),new t(16,64,64,14,14,new g(56,new y(2,140))),new t(17,72,72,16,16,new g(36,new y(4,92))),new t(18,80,80,18,18,new g(48,new y(4,114))),new t(19,88,88,20,20,new g(56,new y(4,144))),new t(20,96,96,22,22,new g(68,new y(4,174))),new t(21,104,104,24,24,new g(56,new y(6,136))),new t(22,120,120,18,18,new g(68,new y(6,175))),new t(23,132,132,20,20,new g(62,new y(8,163))),new t(24,144,144,22,22,new g(62,new y(8,156),new y(2,155))),new t(25,8,18,6,16,new g(7,new y(1,5))),new t(26,8,32,6,14,new g(11,new y(1,10))),new t(27,12,26,10,24,new g(14,new y(1,16))),new t(28,12,36,10,16,new g(18,new y(1,22))),new t(29,16,36,14,16,new g(24,new y(1,32))),new t(30,16,48,14,22,new g(28,new y(1,49)))]},t.VERSIONS=t.buildVersions(),t}(),m=n(3),w=function(){function t(e){var n=e.getHeight();if(n<8||n>144||0!=(1&n))throw new d.a;this.version=t.readVersion(e),this.mappingBitMatrix=this.extractDataRegion(e),this.readMappingMatrix=new o.a(this.mappingBitMatrix.getWidth(),this.mappingBitMatrix.getHeight())}return t.prototype.getVersion=function(){return this.version},t.readVersion=function(t){var e=t.getHeight(),n=t.getWidth();return v.getVersionForDimensions(e,n)},t.prototype.readCodewords=function(){var t=new Int8Array(this.version.getTotalCodewords()),e=0,n=4,r=0,o=this.mappingBitMatrix.getHeight(),i=this.mappingBitMatrix.getWidth(),a=!1,s=!1,u=!1,l=!1;do{if(n!==o||0!==r||a)if(n!==o-2||0!==r||0==(3&i)||s)if(n!==o+4||2!==r||0!=(7&i)||u)if(n!==o-2||0!==r||4!=(7&i)||l){do{n<o&&r>=0&&!this.readMappingMatrix.get(r,n)&&(t[e++]=255&this.readUtah(n,r,o,i)),n-=2,r+=2}while(n>=0&&r<i);n+=1,r+=3;do{n>=0&&r<i&&!this.readMappingMatrix.get(r,n)&&(t[e++]=255&this.readUtah(n,r,o,i)),n+=2,r-=2}while(n<o&&r>=0);n+=3,r+=1}else t[e++]=255&this.readCorner4(o,i),n-=2,r+=2,l=!0;else t[e++]=255&this.readCorner3(o,i),n-=2,r+=2,u=!0;else t[e++]=255&this.readCorner2(o,i),n-=2,r+=2,s=!0;else t[e++]=255&this.readCorner1(o,i),n-=2,r+=2,a=!0}while(n<o||r<i);if(e!==this.version.getTotalCodewords())throw new d.a;return t},t.prototype.readModule=function(t,e,n,r){return t<0&&(t+=n,e+=4-(n+4&7)),e<0&&(e+=r,t+=4-(r+4&7)),this.readMappingMatrix.set(e,t),this.mappingBitMatrix.get(e,t)},t.prototype.readUtah=function(t,e,n,r){var o=0;return this.readModule(t-2,e-2,n,r)&&(o|=1),o<<=1,this.readModule(t-2,e-1,n,r)&&(o|=1),o<<=1,this.readModule(t-1,e-2,n,r)&&(o|=1),o<<=1,this.readModule(t-1,e-1,n,r)&&(o|=1),o<<=1,this.readModule(t-1,e,n,r)&&(o|=1),o<<=1,this.readModule(t,e-2,n,r)&&(o|=1),o<<=1,this.readModule(t,e-1,n,r)&&(o|=1),o<<=1,this.readModule(t,e,n,r)&&(o|=1),o},t.prototype.readCorner1=function(t,e){var n=0;return this.readModule(t-1,0,t,e)&&(n|=1),n<<=1,this.readModule(t-1,1,t,e)&&(n|=1),n<<=1,this.readModule(t-1,2,t,e)&&(n|=1),n<<=1,this.readModule(0,e-2,t,e)&&(n|=1),n<<=1,this.readModule(0,e-1,t,e)&&(n|=1),n<<=1,this.readModule(1,e-1,t,e)&&(n|=1),n<<=1,this.readModule(2,e-1,t,e)&&(n|=1),n<<=1,this.readModule(3,e-1,t,e)&&(n|=1),n},t.prototype.readCorner2=function(t,e){var n=0;return this.readModule(t-3,0,t,e)&&(n|=1),n<<=1,this.readModule(t-2,0,t,e)&&(n|=1),n<<=1,this.readModule(t-1,0,t,e)&&(n|=1),n<<=1,this.readModule(0,e-4,t,e)&&(n|=1),n<<=1,this.readModule(0,e-3,t,e)&&(n|=1),n<<=1,this.readModule(0,e-2,t,e)&&(n|=1),n<<=1,this.readModule(0,e-1,t,e)&&(n|=1),n<<=1,this.readModule(1,e-1,t,e)&&(n|=1),n},t.prototype.readCorner3=function(t,e){var n=0;return this.readModule(t-1,0,t,e)&&(n|=1),n<<=1,this.readModule(t-1,e-1,t,e)&&(n|=1),n<<=1,this.readModule(0,e-3,t,e)&&(n|=1),n<<=1,this.readModule(0,e-2,t,e)&&(n|=1),n<<=1,this.readModule(0,e-1,t,e)&&(n|=1),n<<=1,this.readModule(1,e-3,t,e)&&(n|=1),n<<=1,this.readModule(1,e-2,t,e)&&(n|=1),n<<=1,this.readModule(1,e-1,t,e)&&(n|=1),n},t.prototype.readCorner4=function(t,e){var n=0;return this.readModule(t-3,0,t,e)&&(n|=1),n<<=1,this.readModule(t-2,0,t,e)&&(n|=1),n<<=1,this.readModule(t-1,0,t,e)&&(n|=1),n<<=1,this.readModule(0,e-2,t,e)&&(n|=1),n<<=1,this.readModule(0,e-1,t,e)&&(n|=1),n<<=1,this.readModule(1,e-1,t,e)&&(n|=1),n<<=1,this.readModule(2,e-1,t,e)&&(n|=1),n<<=1,this.readModule(3,e-1,t,e)&&(n|=1),n},t.prototype.extractDataRegion=function(t){var e=this.version.getSymbolSizeRows(),n=this.version.getSymbolSizeColumns();if(t.getHeight()!==e)throw new m.a("Dimension of bitMatrix must match the version size");for(var r=this.version.getDataRegionSizeRows(),i=this.version.getDataRegionSizeColumns(),a=e/r|0,s=n/i|0,u=a*r,l=s*i,c=new o.a(l,u),f=0;f<a;++f)for(var p=f*r,d=0;d<s;++d)for(var h=d*i,g=0;g<r;++g)for(var y=f*(r+2)+1+g,v=p+g,w=0;w<i;++w){var E=d*(i+2)+1+w;if(t.get(E,y)){var b=h+w;c.set(b,v)}}return c},t}(),E=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},b=function(){function t(t,e){this.numDataCodewords=t,this.codewords=e}return t.getDataBlocks=function(e,n){var r,o,i,a,s=n.getECBlocks(),u=0,l=s.getECBlocks();try{for(var c=E(l),f=c.next();!f.done;f=c.next()){u+=(y=f.value).getCount()}}catch(t){r={error:t}}finally{try{f&&!f.done&&(o=c.return)&&o.call(c)}finally{if(r)throw r.error}}var p=new Array(u),d=0;try{for(var h=E(l),g=h.next();!g.done;g=h.next())for(var y=g.value,v=0;v<y.getCount();v++){var w=y.getDataCodewords(),b=s.getECCodewords()+w;p[d++]=new t(w,new Uint8Array(b))}}catch(t){i={error:t}}finally{try{g&&!g.done&&(a=h.return)&&a.call(h)}finally{if(i)throw i.error}}var _=p[0].codewords.length-s.getECCodewords(),C=_-1,S=0;for(v=0;v<C;v++)for(var A=0;A<d;A++)p[A].codewords[v]=e[S++];var O=24===n.getVersionNumber(),I=O?8:d;for(A=0;A<I;A++)p[A].codewords[_-1]=e[S++];var T=p[0].codewords.length;for(v=_;v<T;v++)for(A=0;A<d;A++){var R=O?(A+8)%d:A,N=O&&R>7?v-1:v;p[R].codewords[N]=e[S++]}if(S!==e.length)throw new m.a;return p},t.prototype.getNumDataCodewords=function(){return this.numDataCodewords},t.prototype.getCodewords=function(){return this.codewords},t}(),_=n(89),C=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},S=function(){function t(){this.rsDecoder=new p.a(f.a.DATA_MATRIX_FIELD_256)}return t.prototype.decode=function(t){var e,n,r=new w(t),o=r.getVersion(),i=r.readCodewords(),a=b.getDataBlocks(i,o),s=0;try{for(var u=C(a),l=u.next();!l.done;l=u.next()){s+=l.value.getNumDataCodewords()}}catch(t){e={error:t}}finally{try{l&&!l.done&&(n=u.return)&&n.call(u)}finally{if(e)throw e.error}}for(var c=new Uint8Array(s),f=a.length,p=0;p<f;p++){var d=a[p],h=d.getCodewords(),g=d.getNumDataCodewords();this.correctErrors(h,g);for(var y=0;y<g;y++)c[y*f+p]=h[y]}return _.a.decode(c)},t.prototype.correctErrors=function(t,e){var n=new Int32Array(t);try{this.rsDecoder.decode(n,t.length-e)}catch(t){throw new c.a}for(var r=0;r<e;r++)t[r]=n[r]},t}(),A=n(51),O=n(46),I=n(47),T=n(4),R=function(){function t(t){this.image=t,this.rectangleDetector=new A.a(this.image)}return t.prototype.detect=function(){var e=this.rectangleDetector.detect(),n=this.detectSolid1(e);if((n=this.detectSolid2(n))[3]=this.correctTopRight(n),!n[3])throw new a.a;var r=(n=this.shiftToModuleCenter(n))[0],o=n[1],i=n[2],s=n[3],u=this.transitionsBetween(r,s)+1,l=this.transitionsBetween(i,s)+1;1==(1&u)&&(u+=1),1==(1&l)&&(l+=1),4*u<7*l&&4*l<7*u&&(u=l=Math.max(u,l));var c=t.sampleGrid(this.image,r,o,i,s,u,l);return new O.a(c,[r,o,i,s])},t.shiftPoint=function(t,e,n){var r=(e.getX()-t.getX())/(n+1),o=(e.getY()-t.getY())/(n+1);return new T.a(t.getX()+r,t.getY()+o)},t.moveAway=function(t,e,n){var r=t.getX(),o=t.getY();return r<e?r-=1:r+=1,o<n?o-=1:o+=1,new T.a(r,o)},t.prototype.detectSolid1=function(t){var e=t[0],n=t[1],r=t[3],o=t[2],i=this.transitionsBetween(e,n),a=this.transitionsBetween(n,r),s=this.transitionsBetween(r,o),u=this.transitionsBetween(o,e),l=i,c=[o,e,n,r];return l>a&&(l=a,c[0]=e,c[1]=n,c[2]=r,c[3]=o),l>s&&(l=s,c[0]=n,c[1]=r,c[2]=o,c[3]=e),l>u&&(c[0]=r,c[1]=o,c[2]=e,c[3]=n),c},t.prototype.detectSolid2=function(e){var n=e[0],r=e[1],o=e[2],i=e[3],a=this.transitionsBetween(n,i),s=t.shiftPoint(r,o,4*(a+1)),u=t.shiftPoint(o,r,4*(a+1));return this.transitionsBetween(s,n)<this.transitionsBetween(u,i)?(e[0]=n,e[1]=r,e[2]=o,e[3]=i):(e[0]=r,e[1]=o,e[2]=i,e[3]=n),e},t.prototype.correctTopRight=function(e){var n=e[0],r=e[1],o=e[2],i=e[3],a=this.transitionsBetween(n,i),s=this.transitionsBetween(r,i),u=t.shiftPoint(n,r,4*(s+1)),l=t.shiftPoint(o,r,4*(a+1));a=this.transitionsBetween(u,i),s=this.transitionsBetween(l,i);var c=new T.a(i.getX()+(o.getX()-r.getX())/(a+1),i.getY()+(o.getY()-r.getY())/(a+1)),f=new T.a(i.getX()+(n.getX()-r.getX())/(s+1),i.getY()+(n.getY()-r.getY())/(s+1));return this.isValid(c)?this.isValid(f)?this.transitionsBetween(u,c)+this.transitionsBetween(l,c)>this.transitionsBetween(u,f)+this.transitionsBetween(l,f)?c:f:c:this.isValid(f)?f:null},t.prototype.shiftToModuleCenter=function(e){var n=e[0],r=e[1],o=e[2],i=e[3],a=this.transitionsBetween(n,i)+1,s=this.transitionsBetween(o,i)+1,u=t.shiftPoint(n,r,4*s),l=t.shiftPoint(o,r,4*a);1==(1&(a=this.transitionsBetween(u,i)+1))&&(a+=1),1==(1&(s=this.transitionsBetween(l,i)+1))&&(s+=1);var c,f,p=(n.getX()+r.getX()+o.getX()+i.getX())/4,d=(n.getY()+r.getY()+o.getY()+i.getY())/4;return n=t.moveAway(n,p,d),r=t.moveAway(r,p,d),o=t.moveAway(o,p,d),i=t.moveAway(i,p,d),u=t.shiftPoint(n,r,4*s),u=t.shiftPoint(u,i,4*a),c=t.shiftPoint(r,n,4*s),c=t.shiftPoint(c,o,4*a),l=t.shiftPoint(o,i,4*s),l=t.shiftPoint(l,r,4*a),f=t.shiftPoint(i,o,4*s),[u,c,l,f=t.shiftPoint(f,n,4*a)]},t.prototype.isValid=function(t){return t.getX()>=0&&t.getX()<this.image.getWidth()&&t.getY()>0&&t.getY()<this.image.getHeight()},t.sampleGrid=function(t,e,n,r,o,i,a){return I.a.getInstance().sampleGrid(t,i,a,.5,.5,i-.5,.5,i-.5,a-.5,.5,a-.5,e.getX(),e.getY(),o.getX(),o.getY(),r.getX(),r.getY(),n.getX(),n.getY())},t.prototype.transitionsBetween=function(t,e){var n=Math.trunc(t.getX()),r=Math.trunc(t.getY()),o=Math.trunc(e.getX()),i=Math.trunc(e.getY()),a=Math.abs(i-r)>Math.abs(o-n);if(a){var s=n;n=r,r=s,s=o,o=i,i=s}for(var u=Math.abs(o-n),l=Math.abs(i-r),c=-u/2,f=r<i?1:-1,p=n<o?1:-1,d=0,h=this.image.get(a?r:n,a?n:r),g=n,y=r;g!==o;g+=p){var v=this.image.get(a?y:g,a?g:y);if(v!==h&&(d++,h=v),(c+=l)>0){if(y===i)break;y+=f,c-=u}}return d},t}(),N=function(){function t(){this.decoder=new S}return t.prototype.decode=function(e,n){var o,a;if(void 0===n&&(n=null),null!=n&&n.has(i.a.PURE_BARCODE)){var c=t.extractPureBits(e.getBlackMatrix());o=this.decoder.decode(c),a=t.NO_POINTS}else{var f=new R(e.getBlackMatrix()).detect();o=this.decoder.decode(f.getBits()),a=f.getPoints()}var p=o.getRawBytes(),d=new s.a(o.getText(),p,8*p.length,a,r.a.DATA_MATRIX,l.a.currentTimeMillis()),h=o.getByteSegments();null!=h&&d.putMetadata(u.a.BYTE_SEGMENTS,h);var g=o.getECLevel();return null!=g&&d.putMetadata(u.a.ERROR_CORRECTION_LEVEL,g),d},t.prototype.reset=function(){},t.extractPureBits=function(t){var e=t.getTopLeftOnBit(),n=t.getBottomRightOnBit();if(null==e||null==n)throw new a.a;var r=this.moduleSize(e,t),i=e[1],s=n[1],u=e[0],l=(n[0]-u+1)/r,c=(s-i+1)/r;if(l<=0||c<=0)throw new a.a;var f=r/2;i+=f,u+=f;for(var p=new o.a(l,c),d=0;d<c;d++)for(var h=i+d*r,g=0;g<l;g++)t.get(u+g*r,h)&&p.set(g,d);return p},t.moduleSize=function(t,e){for(var n=e.getWidth(),r=t[0],o=t[1];r<n&&e.get(r,o);)r++;if(r===n)throw new a.a;var i=r-t[0];if(0===i)throw new a.a;return i},t.NO_POINTS=[],t}();e.a=N},function(t,e,n){"use strict";var r,o=n(15),i=(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.kind="ReedSolomonException",e}(o.a);e.a=a},function(t,e,n){"use strict";var r=function(){function t(t,e){this.value=t,this.checksumPortion=e}return t.prototype.getValue=function(){return this.value},t.prototype.getChecksumPortion=function(){return this.checksumPortion},t.prototype.toString=function(){return this.value+"("+this.checksumPortion+")"},t.prototype.equals=function(e){if(!(e instanceof t))return!1;var n=e;return this.value===n.value&&this.checksumPortion===n.checksumPortion},t.prototype.hashCode=function(){return this.value^this.checksumPortion},t}();e.a=r},function(t,e,n){"use strict";var r=n(3),o=function(){function t(){}return t.prototype.exp=function(t){return this.expTable[t]},t.prototype.log=function(t){if(0===t)throw new r.a;return this.logTable[t]},t.addOrSubtract=function(t,e){return t^e},t}();e.a=o},function(t,e,n){"use strict";var r=n(4),o=n(87),i=n(10),a=n(51),s=n(26),u=n(40),l=n(1),c=n(47),f=n(7),p=function(){function t(t,e){this.x=t,this.y=e}return t.prototype.toResultPoint=function(){return new r.a(this.getX(),this.getY())},t.prototype.getX=function(){return this.x},t.prototype.getY=function(){return this.y},t}(),d=function(){function t(t){this.EXPECTED_CORNER_BITS=new Int32Array([3808,476,2107,1799]),this.image=t}return t.prototype.detect=function(){return this.detectMirror(!1)},t.prototype.detectMirror=function(t){var e=this.getMatrixCenter(),n=this.getBullsEyeCorners(e);if(t){var r=n[0];n[0]=n[2],n[2]=r}this.extractParameters(n);var i=this.sampleGrid(this.image,n[this.shift%4],n[(this.shift+1)%4],n[(this.shift+2)%4],n[(this.shift+3)%4]),a=this.getMatrixCornerPoints(n);return new o.a(i,a,this.compact,this.nbDataBlocks,this.nbLayers)},t.prototype.extractParameters=function(t){if(!(this.isValidPoint(t[0])&&this.isValidPoint(t[1])&&this.isValidPoint(t[2])&&this.isValidPoint(t[3])))throw new l.a;var e=2*this.nbCenterLayers,n=new Int32Array([this.sampleLine(t[0],t[1],e),this.sampleLine(t[1],t[2],e),this.sampleLine(t[2],t[3],e),this.sampleLine(t[3],t[0],e)]);this.shift=this.getRotation(n,e);for(var r=0,o=0;o<4;o++){var i=n[(this.shift+o)%4];this.compact?(r<<=7,r+=i>>1&127):(r<<=10,r+=(i>>2&992)+(i>>1&31))}var a=this.getCorrectedParameterData(r,this.compact);this.compact?(this.nbLayers=1+(a>>6),this.nbDataBlocks=1+(63&a)):(this.nbLayers=1+(a>>11),this.nbDataBlocks=1+(2047&a))},t.prototype.getRotation=function(t,e){var n=0;t.forEach((function(t,r,o){n=(n<<3)+((t>>e-2<<1)+(1&t))})),n=((1&n)<<11)+(n>>1);for(var r=0;r<4;r++)if(f.a.bitCount(n^this.EXPECTED_CORNER_BITS[r])<=2)return r;throw new l.a},t.prototype.getCorrectedParameterData=function(t,e){var n,r;e?(n=7,r=2):(n=10,r=4);for(var o=n-r,i=new Int32Array(n),a=n-1;a>=0;--a)i[a]=15&t,t>>=4;try{new u.a(s.a.AZTEC_PARAM).decode(i,o)}catch(t){throw new l.a}var c=0;for(a=0;a<r;a++)c=(c<<4)+i[a];return c},t.prototype.getBullsEyeCorners=function(t){var e=t,n=t,o=t,i=t,a=!0;for(this.nbCenterLayers=1;this.nbCenterLayers<9;this.nbCenterLayers++){var s=this.getFirstDifferent(e,a,1,-1),u=this.getFirstDifferent(n,a,1,1),c=this.getFirstDifferent(o,a,-1,1),f=this.getFirstDifferent(i,a,-1,-1);if(this.nbCenterLayers>2){var p=this.distancePoint(f,s)*this.nbCenterLayers/(this.distancePoint(i,e)*(this.nbCenterLayers+2));if(p<.75||p>1.25||!this.isWhiteOrBlackRectangle(s,u,c,f))break}e=s,n=u,o=c,i=f,a=!a}if(5!==this.nbCenterLayers&&7!==this.nbCenterLayers)throw new l.a;this.compact=5===this.nbCenterLayers;var d=new r.a(e.getX()+.5,e.getY()-.5),h=new r.a(n.getX()+.5,n.getY()+.5),g=new r.a(o.getX()-.5,o.getY()+.5),y=new r.a(i.getX()-.5,i.getY()-.5);return this.expandSquare([d,h,g,y],2*this.nbCenterLayers-3,2*this.nbCenterLayers)},t.prototype.getMatrixCenter=function(){var t,e,n,r;try{t=(c=new a.a(this.image).detect())[0],e=c[1],n=c[2],r=c[3]}catch(i){var o=this.image.getWidth()/2,s=this.image.getHeight()/2;t=this.getFirstDifferent(new p(o+7,s-7),!1,1,-1).toResultPoint(),e=this.getFirstDifferent(new p(o+7,s+7),!1,1,1).toResultPoint(),n=this.getFirstDifferent(new p(o-7,s+7),!1,-1,1).toResultPoint(),r=this.getFirstDifferent(new p(o-7,s-7),!1,-1,-1).toResultPoint()}var u=i.a.round((t.getX()+r.getX()+e.getX()+n.getX())/4),l=i.a.round((t.getY()+r.getY()+e.getY()+n.getY())/4);try{var c;t=(c=new a.a(this.image,15,u,l).detect())[0],e=c[1],n=c[2],r=c[3]}catch(o){t=this.getFirstDifferent(new p(u+7,l-7),!1,1,-1).toResultPoint(),e=this.getFirstDifferent(new p(u+7,l+7),!1,1,1).toResultPoint(),n=this.getFirstDifferent(new p(u-7,l+7),!1,-1,1).toResultPoint(),r=this.getFirstDifferent(new p(u-7,l-7),!1,-1,-1).toResultPoint()}return u=i.a.round((t.getX()+r.getX()+e.getX()+n.getX())/4),l=i.a.round((t.getY()+r.getY()+e.getY()+n.getY())/4),new p(u,l)},t.prototype.getMatrixCornerPoints=function(t){return this.expandSquare(t,2*this.nbCenterLayers,this.getDimension())},t.prototype.sampleGrid=function(t,e,n,r,o){var i=c.a.getInstance(),a=this.getDimension(),s=a/2-this.nbCenterLayers,u=a/2+this.nbCenterLayers;return i.sampleGrid(t,a,a,s,s,u,s,u,u,s,u,e.getX(),e.getY(),n.getX(),n.getY(),r.getX(),r.getY(),o.getX(),o.getY())},t.prototype.sampleLine=function(t,e,n){for(var r=0,o=this.distanceResultPoint(t,e),a=o/n,s=t.getX(),u=t.getY(),l=a*(e.getX()-t.getX())/o,c=a*(e.getY()-t.getY())/o,f=0;f<n;f++)this.image.get(i.a.round(s+f*l),i.a.round(u+f*c))&&(r|=1<<n-f-1);return r},t.prototype.isWhiteOrBlackRectangle=function(t,e,n,r){t=new p(t.getX()-3,t.getY()+3),e=new p(e.getX()-3,e.getY()-3),n=new p(n.getX()+3,n.getY()-3),r=new p(r.getX()+3,r.getY()+3);var o=this.getColor(r,t);if(0===o)return!1;var i=this.getColor(t,e);return i===o&&((i=this.getColor(e,n))===o&&(i=this.getColor(n,r))===o)},t.prototype.getColor=function(t,e){for(var n=this.distancePoint(t,e),r=(e.getX()-t.getX())/n,o=(e.getY()-t.getY())/n,a=0,s=t.getX(),u=t.getY(),l=this.image.get(t.getX(),t.getY()),c=Math.ceil(n),f=0;f<c;f++)s+=r,u+=o,this.image.get(i.a.round(s),i.a.round(u))!==l&&a++;var p=a/n;return p>.1&&p<.9?0:p<=.1===l?1:-1},t.prototype.getFirstDifferent=function(t,e,n,r){for(var o=t.getX()+n,i=t.getY()+r;this.isValid(o,i)&&this.image.get(o,i)===e;)o+=n,i+=r;for(o-=n,i-=r;this.isValid(o,i)&&this.image.get(o,i)===e;)o+=n;for(o-=n;this.isValid(o,i)&&this.image.get(o,i)===e;)i+=r;return new p(o,i-=r)},t.prototype.expandSquare=function(t,e,n){var o=n/(2*e),i=t[0].getX()-t[2].getX(),a=t[0].getY()-t[2].getY(),s=(t[0].getX()+t[2].getX())/2,u=(t[0].getY()+t[2].getY())/2,l=new r.a(s+o*i,u+o*a),c=new r.a(s-o*i,u-o*a);return i=t[1].getX()-t[3].getX(),a=t[1].getY()-t[3].getY(),s=(t[1].getX()+t[3].getX())/2,u=(t[1].getY()+t[3].getY())/2,[l,new r.a(s+o*i,u+o*a),c,new r.a(s-o*i,u-o*a)]},t.prototype.isValid=function(t,e){return t>=0&&t<this.image.getWidth()&&e>0&&e<this.image.getHeight()},t.prototype.isValidPoint=function(t){var e=i.a.round(t.getX()),n=i.a.round(t.getY());return this.isValid(e,n)},t.prototype.distancePoint=function(t,e){return i.a.distance(t.getX(),t.getY(),e.getX(),e.getY())},t.prototype.distanceResultPoint=function(t,e){return i.a.distance(t.getX(),t.getY(),e.getX(),e.getY())},t.prototype.getDimension=function(){return this.compact?4*this.nbLayers+11:this.nbLayers<=4?4*this.nbLayers+15:4*this.nbLayers+2*(f.a.truncDivision(this.nbLayers-4,8)+1)+15},t}();e.a=d},function(t,e,n){"use strict";var r,o=n(15),i=(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.kind="ArithmeticException",e}(o.a);e.a=a},function(t,e,n){"use strict";var r=function(){function t(t,e,n,r,o,i,a,s,u){this.a11=t,this.a21=e,this.a31=n,this.a12=r,this.a22=o,this.a32=i,this.a13=a,this.a23=s,this.a33=u}return t.quadrilateralToQuadrilateral=function(e,n,r,o,i,a,s,u,l,c,f,p,d,h,g,y){var v=t.quadrilateralToSquare(e,n,r,o,i,a,s,u);return t.squareToQuadrilateral(l,c,f,p,d,h,g,y).times(v)},t.prototype.transformPoints=function(t){for(var e=t.length,n=this.a11,r=this.a12,o=this.a13,i=this.a21,a=this.a22,s=this.a23,u=this.a31,l=this.a32,c=this.a33,f=0;f<e;f+=2){var p=t[f],d=t[f+1],h=o*p+s*d+c;t[f]=(n*p+i*d+u)/h,t[f+1]=(r*p+a*d+l)/h}},t.prototype.transformPointsWithValues=function(t,e){for(var n=this.a11,r=this.a12,o=this.a13,i=this.a21,a=this.a22,s=this.a23,u=this.a31,l=this.a32,c=this.a33,f=t.length,p=0;p<f;p++){var d=t[p],h=e[p],g=o*d+s*h+c;t[p]=(n*d+i*h+u)/g,e[p]=(r*d+a*h+l)/g}},t.squareToQuadrilateral=function(e,n,r,o,i,a,s,u){var l=e-r+i-s,c=n-o+a-u;if(0===l&&0===c)return new t(r-e,i-r,e,o-n,a-o,n,0,0,1);var f=r-i,p=s-i,d=o-a,h=u-a,g=f*h-p*d,y=(l*h-p*c)/g,v=(f*c-l*d)/g;return new t(r-e+y*r,s-e+v*s,e,o-n+y*o,u-n+v*u,n,y,v,1)},t.quadrilateralToSquare=function(e,n,r,o,i,a,s,u){return t.squareToQuadrilateral(e,n,r,o,i,a,s,u).buildAdjoint()},t.prototype.buildAdjoint=function(){return new t(this.a22*this.a33-this.a23*this.a32,this.a23*this.a31-this.a21*this.a33,this.a21*this.a32-this.a22*this.a31,this.a13*this.a32-this.a12*this.a33,this.a11*this.a33-this.a13*this.a31,this.a12*this.a31-this.a11*this.a32,this.a12*this.a23-this.a13*this.a22,this.a13*this.a21-this.a11*this.a23,this.a11*this.a22-this.a12*this.a21)},t.prototype.times=function(e){return new t(this.a11*e.a11+this.a21*e.a12+this.a31*e.a13,this.a11*e.a21+this.a21*e.a22+this.a31*e.a23,this.a11*e.a31+this.a21*e.a32+this.a31*e.a33,this.a12*e.a11+this.a22*e.a12+this.a32*e.a13,this.a12*e.a21+this.a22*e.a22+this.a32*e.a23,this.a12*e.a31+this.a22*e.a32+this.a32*e.a33,this.a13*e.a11+this.a23*e.a12+this.a33*e.a13,this.a13*e.a21+this.a23*e.a22+this.a33*e.a23,this.a13*e.a31+this.a23*e.a32+this.a33*e.a33)},t}();e.a=r},function(t,e,n){"use strict";var r=n(70),o=function(){function t(t){this.information=t,this.generalDecoder=new r.a(t)}return t.prototype.getInformation=function(){return this.information},t.prototype.getGeneralDecoder=function(){return this.generalDecoder},t}();e.a=o},function(t,e,n){"use strict";var r=n(3),o=function(){function t(t){this.bytes=t,this.byteOffset=0,this.bitOffset=0}return t.prototype.getBitOffset=function(){return this.bitOffset},t.prototype.getByteOffset=function(){return this.byteOffset},t.prototype.readBits=function(t){if(t<1||t>32||t>this.available())throw new r.a(""+t);var e=0,n=this.bitOffset,o=this.byteOffset,i=this.bytes;if(n>0){var a=8-n,s=t<a?t:a,u=255>>8-s<<(l=a-s);e=(i[o]&u)>>l,t-=s,8===(n+=s)&&(n=0,o++)}if(t>0){for(;t>=8;)e=e<<8|255&i[o],o++,t-=8;if(t>0){var l;u=255>>(l=8-t)<<l;e=e<<t|(i[o]&u)>>l,n+=t}}return this.bitOffset=n,this.byteOffset=o,e},t.prototype.available=function(){return 8*(this.bytes.length-this.byteOffset)-this.bitOffset},t}();e.a=o},function(t,e,n){"use strict";var r=n(41),o=n(7),i=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},a=function(){function t(t){this.errorCorrectionLevel=r.a.forBits(t>>3&3),this.dataMask=7&t}return t.numBitsDiffering=function(t,e){return o.a.bitCount(t^e)},t.decodeFormatInformation=function(e,n){var r=t.doDecodeFormatInformation(e,n);return null!==r?r:t.doDecodeFormatInformation(e^t.FORMAT_INFO_MASK_QR,n^t.FORMAT_INFO_MASK_QR)},t.doDecodeFormatInformation=function(e,n){var r,o,a=Number.MAX_SAFE_INTEGER,s=0;try{for(var u=i(t.FORMAT_INFO_DECODE_LOOKUP),l=u.next();!l.done;l=u.next()){var c=l.value,f=c[0];if(f===e||f===n)return new t(c[1]);var p=t.numBitsDiffering(e,f);p<a&&(s=c[1],a=p),e!==n&&(p=t.numBitsDiffering(n,f))<a&&(s=c[1],a=p)}}catch(t){r={error:t}}finally{try{l&&!l.done&&(o=u.return)&&o.call(u)}finally{if(r)throw r.error}}return a<=3?new t(s):null},t.prototype.getErrorCorrectionLevel=function(){return this.errorCorrectionLevel},t.prototype.getDataMask=function(){return this.dataMask},t.prototype.hashCode=function(){return this.errorCorrectionLevel.getBits()<<3|this.dataMask},t.prototype.equals=function(e){if(!(e instanceof t))return!1;var n=e;return this.errorCorrectionLevel===n.errorCorrectionLevel&&this.dataMask===n.dataMask},t.FORMAT_INFO_MASK_QR=21522,t.FORMAT_INFO_DECODE_LOOKUP=[Int32Array.from([21522,0]),Int32Array.from([20773,1]),Int32Array.from([24188,2]),Int32Array.from([23371,3]),Int32Array.from([17913,4]),Int32Array.from([16590,5]),Int32Array.from([20375,6]),Int32Array.from([19104,7]),Int32Array.from([30660,8]),Int32Array.from([29427,9]),Int32Array.from([32170,10]),Int32Array.from([30877,11]),Int32Array.from([26159,12]),Int32Array.from([25368,13]),Int32Array.from([27713,14]),Int32Array.from([26998,15]),Int32Array.from([5769,16]),Int32Array.from([5054,17]),Int32Array.from([7399,18]),Int32Array.from([6608,19]),Int32Array.from([1890,20]),Int32Array.from([597,21]),Int32Array.from([3340,22]),Int32Array.from([2107,23]),Int32Array.from([13663,24]),Int32Array.from([12392,25]),Int32Array.from([16177,26]),Int32Array.from([14854,27]),Int32Array.from([9396,28]),Int32Array.from([8579,29]),Int32Array.from([11994,30]),Int32Array.from([11245,31])],t}();e.a=a},function(t,e,n){"use strict";var r=n(35),o=n(9),i=n(3),a=function(){function t(t){this.field=t,this.cachedGenerators=[],this.cachedGenerators.push(new r.a(t,Int32Array.from([1])))}return t.prototype.buildGenerator=function(t){var e=this.cachedGenerators;if(t>=e.length)for(var n=e[e.length-1],o=this.field,i=e.length;i<=t;i++){var a=n.multiply(new r.a(o,Int32Array.from([1,o.exp(i-1+o.getGeneratorBase())])));e.push(a),n=a}return e[t]},t.prototype.encode=function(t,e){if(0===e)throw new i.a("No error correction bytes");var n=t.length-e;if(n<=0)throw new i.a("No data bytes provided");var a=this.buildGenerator(e),s=new Int32Array(n);o.a.arraycopy(t,0,s,0,n);for(var u=new r.a(this.field,s),l=(u=u.multiplyByMonomial(e,1)).divide(a)[1].getCoefficients(),c=e-l.length,f=0;f<c;f++)t[n+f]=0;o.a.arraycopy(l,0,t,n+c,l.length)},t}();e.a=a},function(t,e,n){"use strict";var r=n(25),o=n(19),i=n(20),a=n(26),s=n(66),u=n(16),l=n(36),c=n(43),f=n(94),p=n(53),d=n(78),h=n(30),g=function(){function t(t,e){this.dataBytes=t,this.errorCorrectionBytes=e}return t.prototype.getDataBytes=function(){return this.dataBytes},t.prototype.getErrorCorrectionBytes=function(){return this.errorCorrectionBytes},t}(),y=n(17),v=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},m=function(){function t(){}return t.calculateMaskPenalty=function(t){return c.a.applyMaskPenaltyRule1(t)+c.a.applyMaskPenaltyRule2(t)+c.a.applyMaskPenaltyRule3(t)+c.a.applyMaskPenaltyRule4(t)},t.encode=function(e,n,a){void 0===a&&(a=null);var s=t.DEFAULT_BYTE_MODE_ENCODING,c=null!==a&&void 0!==a.get(r.a.CHARACTER_SET);c&&(s=a.get(r.a.CHARACTER_SET).toString());var h=this.chooseMode(e,s),g=new o.a;if(h===u.a.BYTE&&(c||t.DEFAULT_BYTE_MODE_ENCODING!==s)){var v=i.a.getCharacterSetECIByName(s);void 0!==v&&this.appendECI(v,g)}this.appendModeInfo(h,g);var m,w=new o.a;if(this.appendBytes(e,h,w,s),null!==a&&void 0!==a.get(r.a.QR_VERSION)){var E=Number.parseInt(a.get(r.a.QR_VERSION).toString(),10);m=l.a.getVersionForNumber(E);var b=this.calculateBitsNeeded(h,g,w,m);if(!this.willFit(b,m,n))throw new y.a("Data too big for requested version")}else m=this.recommendVersion(n,h,g,w);var _=new o.a;_.appendBitArray(g);var C=h===u.a.BYTE?w.getSizeInBytes():e.length;this.appendLengthInfo(C,m,h,_),_.appendBitArray(w);var S=m.getECBlocksForLevel(n),A=m.getTotalCodewords()-S.getTotalECCodewords();this.terminateBits(A,_);var O=this.interleaveWithECBytes(_,m.getTotalCodewords(),A,S.getNumBlocks()),I=new p.a;I.setECLevel(n),I.setMode(h),I.setVersion(m);var T=m.getDimensionForVersion(),R=new f.a(T,T),N=this.chooseMaskPattern(O,n,m,R);return I.setMaskPattern(N),d.a.buildMatrix(O,n,m,N,R),I.setMatrix(R),I},t.recommendVersion=function(t,e,n,r){var o=this.calculateBitsNeeded(e,n,r,l.a.getVersionForNumber(1)),i=this.chooseVersion(o,t),a=this.calculateBitsNeeded(e,n,r,i);return this.chooseVersion(a,t)},t.calculateBitsNeeded=function(t,e,n,r){return e.getSize()+t.getCharacterCountBits(r)+n.getSize()},t.getAlphanumericCode=function(e){return e<t.ALPHANUMERIC_TABLE.length?t.ALPHANUMERIC_TABLE[e]:-1},t.chooseMode=function(e,n){if(void 0===n&&(n=null),i.a.SJIS.getName()===n&&this.isOnlyDoubleByteKanji(e))return u.a.KANJI;for(var r=!1,o=!1,a=0,s=e.length;a<s;++a){var l=e.charAt(a);if(t.isDigit(l))r=!0;else{if(-1===this.getAlphanumericCode(l.charCodeAt(0)))return u.a.BYTE;o=!0}}return o?u.a.ALPHANUMERIC:r?u.a.NUMERIC:u.a.BYTE},t.isOnlyDoubleByteKanji=function(t){var e;try{e=h.a.encode(t,i.a.SJIS)}catch(t){return!1}var n=e.length;if(n%2!=0)return!1;for(var r=0;r<n;r+=2){var o=255&e[r];if((o<129||o>159)&&(o<224||o>235))return!1}return!0},t.chooseMaskPattern=function(t,e,n,r){for(var o=Number.MAX_SAFE_INTEGER,i=-1,a=0;a<p.a.NUM_MASK_PATTERNS;a++){d.a.buildMatrix(t,e,n,a,r);var s=this.calculateMaskPenalty(r);s<o&&(o=s,i=a)}return i},t.chooseVersion=function(e,n){for(var r=1;r<=40;r++){var o=l.a.getVersionForNumber(r);if(t.willFit(e,o,n))return o}throw new y.a("Data too big")},t.willFit=function(t,e,n){return e.getTotalCodewords()-e.getECBlocksForLevel(n).getTotalECCodewords()>=(t+7)/8},t.terminateBits=function(t,e){var n=8*t;if(e.getSize()>n)throw new y.a("data bits cannot fit in the QR Code"+e.getSize()+" > "+n);for(var r=0;r<4&&e.getSize()<n;++r)e.appendBit(!1);var o=7&e.getSize();if(o>0)for(r=o;r<8;r++)e.appendBit(!1);var i=t-e.getSizeInBytes();for(r=0;r<i;++r)e.appendBits(0==(1&r)?236:17,8);if(e.getSize()!==n)throw new y.a("Bits size does not equal capacity")},t.getNumDataBytesAndNumECBytesForBlockID=function(t,e,n,r,o,i){if(r>=n)throw new y.a("Block ID too large");var a=t%n,s=n-a,u=Math.floor(t/n),l=u+1,c=Math.floor(e/n),f=c+1,p=u-c,d=l-f;if(p!==d)throw new y.a("EC bytes mismatch");if(n!==s+a)throw new y.a("RS blocks mismatch");if(t!==(c+p)*s+(f+d)*a)throw new y.a("Total bytes mismatch");r<s?(o[0]=c,i[0]=p):(o[0]=f,i[0]=d)},t.interleaveWithECBytes=function(e,n,r,i){var a,s,u,l;if(e.getSizeInBytes()!==r)throw new y.a("Number of bits and data bytes does not match");for(var c=0,f=0,p=0,d=new Array,h=0;h<i;++h){var m=new Int32Array(1),w=new Int32Array(1);t.getNumDataBytesAndNumECBytesForBlockID(n,r,i,h,m,w);var E=m[0],b=new Uint8Array(E);e.toBytes(8*c,b,0,E);var _=t.generateECBytes(b,w[0]);d.push(new g(b,_)),f=Math.max(f,E),p=Math.max(p,_.length),c+=m[0]}if(r!==c)throw new y.a("Data bytes does not match offset");var C=new o.a;for(h=0;h<f;++h)try{for(var S=(a=void 0,v(d)),A=S.next();!A.done;A=S.next()){h<(b=A.value.getDataBytes()).length&&C.appendBits(b[h],8)}}catch(t){a={error:t}}finally{try{A&&!A.done&&(s=S.return)&&s.call(S)}finally{if(a)throw a.error}}for(h=0;h<p;++h)try{for(var O=(u=void 0,v(d)),I=O.next();!I.done;I=O.next()){h<(_=I.value.getErrorCorrectionBytes()).length&&C.appendBits(_[h],8)}}catch(t){u={error:t}}finally{try{I&&!I.done&&(l=O.return)&&l.call(O)}finally{if(u)throw u.error}}if(n!==C.getSizeInBytes())throw new y.a("Interleaving error: "+n+" and "+C.getSizeInBytes()+" differ.");return C},t.generateECBytes=function(t,e){for(var n=t.length,r=new Int32Array(n+e),o=0;o<n;o++)r[o]=255&t[o];new s.a(a.a.QR_CODE_FIELD_256).encode(r,e);var i=new Uint8Array(e);for(o=0;o<e;o++)i[o]=r[n+o];return i},t.appendModeInfo=function(t,e){e.appendBits(t.getBits(),4)},t.appendLengthInfo=function(t,e,n,r){var o=n.getCharacterCountBits(e);if(t>=1<<o)throw new y.a(t+" is bigger than "+((1<<o)-1));r.appendBits(t,o)},t.appendBytes=function(e,n,r,o){switch(n){case u.a.NUMERIC:t.appendNumericBytes(e,r);break;case u.a.ALPHANUMERIC:t.appendAlphanumericBytes(e,r);break;case u.a.BYTE:t.append8BitBytes(e,r,o);break;case u.a.KANJI:t.appendKanjiBytes(e,r);break;default:throw new y.a("Invalid mode: "+n)}},t.getDigit=function(t){return t.charCodeAt(0)-48},t.isDigit=function(e){var n=t.getDigit(e);return n>=0&&n<=9},t.appendNumericBytes=function(e,n){for(var r=e.length,o=0;o<r;){var i=t.getDigit(e.charAt(o));if(o+2<r){var a=t.getDigit(e.charAt(o+1)),s=t.getDigit(e.charAt(o+2));n.appendBits(100*i+10*a+s,10),o+=3}else if(o+1<r){a=t.getDigit(e.charAt(o+1));n.appendBits(10*i+a,7),o+=2}else n.appendBits(i,4),o++}},t.appendAlphanumericBytes=function(e,n){for(var r=e.length,o=0;o<r;){var i=t.getAlphanumericCode(e.charCodeAt(o));if(-1===i)throw new y.a;if(o+1<r){var a=t.getAlphanumericCode(e.charCodeAt(o+1));if(-1===a)throw new y.a;n.appendBits(45*i+a,11),o+=2}else n.appendBits(i,6),o++}},t.append8BitBytes=function(t,e,n){var r;try{r=h.a.encode(t,n)}catch(t){throw new y.a(t)}for(var o=0,i=r.length;o!==i;o++){var a=r[o];e.appendBits(a,8)}},t.appendKanjiBytes=function(t,e){var n;try{n=h.a.encode(t,i.a.SJIS)}catch(t){throw new y.a(t)}for(var r=n.length,o=0;o<r;o+=2){var a=(255&n[o])<<8&4294967295|255&n[o+1],s=-1;if(a>=33088&&a<=40956?s=a-33088:a>=57408&&a<=60351&&(s=a-49472),-1===s)throw new y.a("Invalid byte sequence");var u=192*(s>>8)+(255&s);e.appendBits(u,13)}},t.appendECI=function(t,e){e.appendBits(u.a.ECI.getBits(),4),e.appendBits(t.getValue(),8)},t.ALPHANUMERIC_TABLE=Int32Array.from([-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,36,-1,-1,-1,37,38,-1,-1,-1,-1,39,40,-1,41,42,43,0,1,2,3,4,5,6,7,8,9,44,-1,-1,-1,-1,-1,-1,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,-1,-1,-1,-1,-1]),t.DEFAULT_BYTE_MODE_ENCODING=i.a.UTF8.getName(),t}();e.a=m},function(t,e,n){"use strict";var r,o=n(15),i=(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.kind="IndexOutOfBoundsException",e}(o.a);e.a=a},function(t,e,n){"use strict";var r=n(19),o=n(3),i=n(13),a=n(23),s=n(98),u=n(66),l=n(26),c=n(101),f=n(7),p=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},d=function(){function t(){}return t.encodeBytes=function(e){return t.encode(e,t.DEFAULT_EC_PERCENT,t.DEFAULT_AZTEC_LAYERS)},t.encode=function(e,n,r){var u,l,p,d,h,g=new c.a(e).encode(),y=f.a.truncDivision(g.getSize()*n,100)+11,v=g.getSize()+y;if(r!==t.DEFAULT_AZTEC_LAYERS){if(u=r<0,(l=Math.abs(r))>(u?t.MAX_NB_BITS_COMPACT:t.MAX_NB_BITS))throw new o.a(i.a.format("Illegal value %s for layers",r));var m=(p=t.totalBitsInLayer(l,u))-p%(d=t.WORD_SIZE[l]);if((h=t.stuffBits(g,d)).getSize()+y>m)throw new o.a("Data to large for user specified layer");if(u&&h.getSize()>64*d)throw new o.a("Data to large for user specified layer")}else{d=0,h=null;for(var w=0;;w++){if(w>t.MAX_NB_BITS)throw new o.a("Data too large for an Aztec code");if(l=(u=w<=3)?w+1:w,!(v>(p=t.totalBitsInLayer(l,u)))){null!=h&&d===t.WORD_SIZE[l]||(d=t.WORD_SIZE[l],h=t.stuffBits(g,d));m=p-p%d;if(!(u&&h.getSize()>64*d)&&h.getSize()+y<=m)break}}}var E,b=t.generateCheckWords(h,p,d),_=h.getSize()/d,C=t.generateModeMessage(u,l,_),S=(u?11:14)+4*l,A=new Int32Array(S);if(u){E=S;for(w=0;w<A.length;w++)A[w]=w}else{E=S+1+2*f.a.truncDivision(f.a.truncDivision(S,2)-1,15);var O=f.a.truncDivision(S,2),I=f.a.truncDivision(E,2);for(w=0;w<O;w++){var T=w+f.a.truncDivision(w,15);A[O-w-1]=I-T-1,A[O+w]=I+T+1}}for(var R=new a.a(E),N=(w=0,0);w<l;w++){for(var D=4*(l-w)+(u?9:12),P=0;P<D;P++)for(var x=2*P,k=0;k<2;k++)b.get(N+x+k)&&R.set(A[2*w+k],A[2*w+P]),b.get(N+2*D+x+k)&&R.set(A[2*w+P],A[S-1-2*w-k]),b.get(N+4*D+x+k)&&R.set(A[S-1-2*w-k],A[S-1-2*w-P]),b.get(N+6*D+x+k)&&R.set(A[S-1-2*w-P],A[2*w+k]);N+=8*D}if(t.drawModeMessage(R,u,E,C),u)t.drawBullsEye(R,f.a.truncDivision(E,2),5);else{t.drawBullsEye(R,f.a.truncDivision(E,2),7);for(w=0,P=0;w<f.a.truncDivision(S,2)-1;w+=15,P+=16)for(k=1&f.a.truncDivision(E,2);k<E;k+=2)R.set(f.a.truncDivision(E,2)-P,k),R.set(f.a.truncDivision(E,2)+P,k),R.set(k,f.a.truncDivision(E,2)-P),R.set(k,f.a.truncDivision(E,2)+P)}var M=new s.a;return M.setCompact(u),M.setSize(E),M.setLayers(l),M.setCodeWords(_),M.setMatrix(R),M},t.drawBullsEye=function(t,e,n){for(var r=0;r<n;r+=2)for(var o=e-r;o<=e+r;o++)t.set(o,e-r),t.set(o,e+r),t.set(e-r,o),t.set(e+r,o);t.set(e-n,e-n),t.set(e-n+1,e-n),t.set(e-n,e-n+1),t.set(e+n,e-n),t.set(e+n,e-n+1),t.set(e+n,e+n-1)},t.generateModeMessage=function(e,n,o){var i=new r.a;return e?(i.appendBits(n-1,2),i.appendBits(o-1,6),i=t.generateCheckWords(i,28,4)):(i.appendBits(n-1,5),i.appendBits(o-1,11),i=t.generateCheckWords(i,40,4)),i},t.drawModeMessage=function(t,e,n,r){var o=f.a.truncDivision(n,2);if(e)for(var i=0;i<7;i++){var a=o-3+i;r.get(i)&&t.set(a,o-5),r.get(i+7)&&t.set(o+5,a),r.get(20-i)&&t.set(a,o+5),r.get(27-i)&&t.set(o-5,a)}else for(i=0;i<10;i++){a=o-5+i+f.a.truncDivision(i,5);r.get(i)&&t.set(a,o-7),r.get(i+10)&&t.set(o+7,a),r.get(29-i)&&t.set(a,o+7),r.get(39-i)&&t.set(o-7,a)}},t.generateCheckWords=function(e,n,o){var i,a,s=e.getSize()/o,l=new u.a(t.getGF(o)),c=f.a.truncDivision(n,o),d=t.bitsToWords(e,o,c);l.encode(d,c-s);var h=n%o,g=new r.a;g.appendBits(0,h);try{for(var y=p(Array.from(d)),v=y.next();!v.done;v=y.next()){var m=v.value;g.appendBits(m,o)}}catch(t){i={error:t}}finally{try{v&&!v.done&&(a=y.return)&&a.call(y)}finally{if(i)throw i.error}}return g},t.bitsToWords=function(t,e,n){var r,o,i=new Int32Array(n);for(r=0,o=t.getSize()/e;r<o;r++){for(var a=0,s=0;s<e;s++)a|=t.get(r*e+s)?1<<e-s-1:0;i[r]=a}return i},t.getGF=function(t){switch(t){case 4:return l.a.AZTEC_PARAM;case 6:return l.a.AZTEC_DATA_6;case 8:return l.a.AZTEC_DATA_8;case 10:return l.a.AZTEC_DATA_10;case 12:return l.a.AZTEC_DATA_12;default:throw new o.a("Unsupported word size "+t)}},t.stuffBits=function(t,e){for(var n=new r.a,o=t.getSize(),i=(1<<e)-2,a=0;a<o;a+=e){for(var s=0,u=0;u<e;u++)(a+u>=o||t.get(a+u))&&(s|=1<<e-1-u);(s&i)===i?(n.appendBits(s&i,e),a--):0==(s&i)?(n.appendBits(1|s,e),a--):n.appendBits(s,e)}return n},t.totalBitsInLayer=function(t,e){return((e?88:112)+16*t)*t},t.DEFAULT_EC_PERCENT=33,t.DEFAULT_AZTEC_LAYERS=0,t.MAX_NB_BITS=32,t.MAX_NB_BITS_COMPACT=4,t.WORD_SIZE=Int32Array.from([4,6,6,8,8,8,8,8,8,10,10,10,10,10,10,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,12,12]),t}();e.a=d},function(t,e,n){"use strict";var r,o=n(2),i=n(29),a=n(8),s=function(){function t(t,e){e?this.decodedInformation=null:(this.finished=t,this.decodedInformation=e)}return t.prototype.getDecodedInformation=function(){return this.decodedInformation},t.prototype.isFinished=function(){return this.finished},t}(),u=function(){function t(t){this.newPosition=t}return t.prototype.getNewPosition=function(){return this.newPosition},t}(),l=(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),c=function(t){function e(e,n){var r=t.call(this,e)||this;return r.value=n,r}return l(e,t),e.prototype.getValue=function(){return this.value},e.prototype.isFNC1=function(){return this.value===e.FNC1},e.FNC1="$",e}(u),f=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),p=function(t){function e(e,n,r){var o=t.call(this,e)||this;return r?(o.remaining=!0,o.remainingValue=o.remainingValue):(o.remaining=!1,o.remainingValue=0),o.newString=n,o}return f(e,t),e.prototype.getNewString=function(){return this.newString},e.prototype.isRemaining=function(){return this.remaining},e.prototype.getRemainingValue=function(){return this.remainingValue},e}(u),d=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),h=function(t){function e(e,n,r){var i=t.call(this,e)||this;if(n<0||n>10||r<0||r>10)throw new o.a;return i.firstDigit=n,i.secondDigit=r,i}return d(e,t),e.prototype.getFirstDigit=function(){return this.firstDigit},e.prototype.getSecondDigit=function(){return this.secondDigit},e.prototype.getValue=function(){return 10*this.firstDigit+this.secondDigit},e.prototype.isFirstDigitFNC1=function(){return this.firstDigit===e.FNC1},e.prototype.isSecondDigitFNC1=function(){return this.secondDigit===e.FNC1},e.prototype.isAnyFNC1=function(){return this.firstDigit===e.FNC1||this.secondDigit===e.FNC1},e.FNC1=10,e}(u),g=n(1),y=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},v=function(){function t(){}return t.parseFieldsInGeneralPurpose=function(e){var n,r,o,i,a,s,u,l;if(!e)return null;if(e.length<2)throw new g.a;var c=e.substring(0,2);try{for(var f=y(t.TWO_DIGIT_DATA_LENGTH),p=f.next();!p.done;p=f.next()){if((C=p.value)[0]===c)return C[1]===t.VARIABLE_LENGTH?t.processVariableAI(2,C[2],e):t.processFixedAI(2,C[1],e)}}catch(t){n={error:t}}finally{try{p&&!p.done&&(r=f.return)&&r.call(f)}finally{if(n)throw n.error}}if(e.length<3)throw new g.a;var d=e.substring(0,3);try{for(var h=y(t.THREE_DIGIT_DATA_LENGTH),v=h.next();!v.done;v=h.next()){if((C=v.value)[0]===d)return C[1]===t.VARIABLE_LENGTH?t.processVariableAI(3,C[2],e):t.processFixedAI(3,C[1],e)}}catch(t){o={error:t}}finally{try{v&&!v.done&&(i=h.return)&&i.call(h)}finally{if(o)throw o.error}}try{for(var m=y(t.THREE_DIGIT_PLUS_DIGIT_DATA_LENGTH),w=m.next();!w.done;w=m.next()){if((C=w.value)[0]===d)return C[1]===t.VARIABLE_LENGTH?t.processVariableAI(4,C[2],e):t.processFixedAI(4,C[1],e)}}catch(t){a={error:t}}finally{try{w&&!w.done&&(s=m.return)&&s.call(m)}finally{if(a)throw a.error}}if(e.length<4)throw new g.a;var E=e.substring(0,4);try{for(var b=y(t.FOUR_DIGIT_DATA_LENGTH),_=b.next();!_.done;_=b.next()){var C;if((C=_.value)[0]===E)return C[1]===t.VARIABLE_LENGTH?t.processVariableAI(4,C[2],e):t.processFixedAI(4,C[1],e)}}catch(t){u={error:t}}finally{try{_&&!_.done&&(l=b.return)&&l.call(b)}finally{if(u)throw u.error}}throw new g.a},t.processFixedAI=function(e,n,r){if(r.length<e)throw new g.a;var o=r.substring(0,e);if(r.length<e+n)throw new g.a;var i=r.substring(e,e+n),a=r.substring(e+n),s="("+o+")"+i,u=t.parseFieldsInGeneralPurpose(a);return null==u?s:s+u},t.processVariableAI=function(e,n,r){var o,i=r.substring(0,e);o=r.length<e+n?r.length:e+n;var a=r.substring(e,o),s=r.substring(o),u="("+i+")"+a,l=t.parseFieldsInGeneralPurpose(s);return null==l?u:u+l},t.VARIABLE_LENGTH=[],t.TWO_DIGIT_DATA_LENGTH=[["00",18],["01",14],["02",14],["10",t.VARIABLE_LENGTH,20],["11",6],["12",6],["13",6],["15",6],["17",6],["20",2],["21",t.VARIABLE_LENGTH,20],["22",t.VARIABLE_LENGTH,29],["30",t.VARIABLE_LENGTH,8],["37",t.VARIABLE_LENGTH,8],["90",t.VARIABLE_LENGTH,30],["91",t.VARIABLE_LENGTH,30],["92",t.VARIABLE_LENGTH,30],["93",t.VARIABLE_LENGTH,30],["94",t.VARIABLE_LENGTH,30],["95",t.VARIABLE_LENGTH,30],["96",t.VARIABLE_LENGTH,30],["97",t.VARIABLE_LENGTH,3],["98",t.VARIABLE_LENGTH,30],["99",t.VARIABLE_LENGTH,30]],t.THREE_DIGIT_DATA_LENGTH=[["240",t.VARIABLE_LENGTH,30],["241",t.VARIABLE_LENGTH,30],["242",t.VARIABLE_LENGTH,6],["250",t.VARIABLE_LENGTH,30],["251",t.VARIABLE_LENGTH,30],["253",t.VARIABLE_LENGTH,17],["254",t.VARIABLE_LENGTH,20],["400",t.VARIABLE_LENGTH,30],["401",t.VARIABLE_LENGTH,30],["402",17],["403",t.VARIABLE_LENGTH,30],["410",13],["411",13],["412",13],["413",13],["414",13],["420",t.VARIABLE_LENGTH,20],["421",t.VARIABLE_LENGTH,15],["422",3],["423",t.VARIABLE_LENGTH,15],["424",3],["425",3],["426",3]],t.THREE_DIGIT_PLUS_DIGIT_DATA_LENGTH=[["310",6],["311",6],["312",6],["313",6],["314",6],["315",6],["316",6],["320",6],["321",6],["322",6],["323",6],["324",6],["325",6],["326",6],["327",6],["328",6],["329",6],["330",6],["331",6],["332",6],["333",6],["334",6],["335",6],["336",6],["340",6],["341",6],["342",6],["343",6],["344",6],["345",6],["346",6],["347",6],["348",6],["349",6],["350",6],["351",6],["352",6],["353",6],["354",6],["355",6],["356",6],["357",6],["360",6],["361",6],["362",6],["363",6],["364",6],["365",6],["366",6],["367",6],["368",6],["369",6],["390",t.VARIABLE_LENGTH,15],["391",t.VARIABLE_LENGTH,18],["392",t.VARIABLE_LENGTH,15],["393",t.VARIABLE_LENGTH,18],["703",t.VARIABLE_LENGTH,30]],t.FOUR_DIGIT_DATA_LENGTH=[["7001",13],["7002",t.VARIABLE_LENGTH,30],["7003",10],["8001",14],["8002",t.VARIABLE_LENGTH,20],["8003",t.VARIABLE_LENGTH,30],["8004",t.VARIABLE_LENGTH,30],["8005",6],["8006",18],["8007",t.VARIABLE_LENGTH,30],["8008",t.VARIABLE_LENGTH,12],["8018",18],["8020",t.VARIABLE_LENGTH,25],["8100",6],["8101",10],["8102",2],["8110",t.VARIABLE_LENGTH,70],["8200",t.VARIABLE_LENGTH,70]],t}(),m=function(){function t(t){this.buffer=new a.a,this.information=t}return t.prototype.decodeAllCodes=function(t,e){for(var n=e,r=null;;){var o=this.decodeGeneralPurposeField(n,r),i=v.parseFieldsInGeneralPurpose(o.getNewString());if(null!=i&&t.append(i),r=o.isRemaining()?""+o.getRemainingValue():null,n===o.getNewPosition())break;n=o.getNewPosition()}return t.toString()},t.prototype.isStillNumeric=function(t){if(t+7>this.information.getSize())return t+4<=this.information.getSize();for(var e=t;e<t+3;++e)if(this.information.get(e))return!0;return this.information.get(t+3)},t.prototype.decodeNumeric=function(t){if(t+7>this.information.getSize()){var e=this.extractNumericValueFromBitArray(t,4);return new h(this.information.getSize(),0===e?h.FNC1:e-1,h.FNC1)}var n=this.extractNumericValueFromBitArray(t,7);return new h(t+7,(n-8)/11,(n-8)%11)},t.prototype.extractNumericValueFromBitArray=function(e,n){return t.extractNumericValueFromBitArray(this.information,e,n)},t.extractNumericValueFromBitArray=function(t,e,n){for(var r=0,o=0;o<n;++o)t.get(e+o)&&(r|=1<<n-o-1);return r},t.prototype.decodeGeneralPurposeField=function(t,e){this.buffer.setLengthToZero(),null!=e&&this.buffer.append(e),this.current.setPosition(t);var n=this.parseBlocks();return null!=n&&n.isRemaining()?new p(this.current.getPosition(),this.buffer.toString(),n.getRemainingValue()):new p(this.current.getPosition(),this.buffer.toString())},t.prototype.parseBlocks=function(){var t,e;do{var n=this.current.getPosition();if(t=this.current.isAlpha()?(e=this.parseAlphaBlock()).isFinished():this.current.isIsoIec646()?(e=this.parseIsoIec646Block()).isFinished():(e=this.parseNumericBlock()).isFinished(),!(n!==this.current.getPosition())&&!t)break}while(!t);return e.getDecodedInformation()},t.prototype.parseNumericBlock=function(){for(;this.isStillNumeric(this.current.getPosition());){var t=this.decodeNumeric(this.current.getPosition());if(this.current.setPosition(t.getNewPosition()),t.isFirstDigitFNC1()){var e=void 0;return e=t.isSecondDigitFNC1()?new p(this.current.getPosition(),this.buffer.toString()):new p(this.current.getPosition(),this.buffer.toString(),t.getSecondDigit()),new s(!0,e)}if(this.buffer.append(t.getFirstDigit()),t.isSecondDigitFNC1()){e=new p(this.current.getPosition(),this.buffer.toString());return new s(!0,e)}this.buffer.append(t.getSecondDigit())}return this.isNumericToAlphaNumericLatch(this.current.getPosition())&&(this.current.setAlpha(),this.current.incrementPosition(4)),new s(!1)},t.prototype.parseIsoIec646Block=function(){for(;this.isStillIsoIec646(this.current.getPosition());){var t=this.decodeIsoIec646(this.current.getPosition());if(this.current.setPosition(t.getNewPosition()),t.isFNC1()){var e=new p(this.current.getPosition(),this.buffer.toString());return new s(!0,e)}this.buffer.append(t.getValue())}return this.isAlphaOr646ToNumericLatch(this.current.getPosition())?(this.current.incrementPosition(3),this.current.setNumeric()):this.isAlphaTo646ToAlphaLatch(this.current.getPosition())&&(this.current.getPosition()+5<this.information.getSize()?this.current.incrementPosition(5):this.current.setPosition(this.information.getSize()),this.current.setAlpha()),new s(!1)},t.prototype.parseAlphaBlock=function(){for(;this.isStillAlpha(this.current.getPosition());){var t=this.decodeAlphanumeric(this.current.getPosition());if(this.current.setPosition(t.getNewPosition()),t.isFNC1()){var e=new p(this.current.getPosition(),this.buffer.toString());return new s(!0,e)}this.buffer.append(t.getValue())}return this.isAlphaOr646ToNumericLatch(this.current.getPosition())?(this.current.incrementPosition(3),this.current.setNumeric()):this.isAlphaTo646ToAlphaLatch(this.current.getPosition())&&(this.current.getPosition()+5<this.information.getSize()?this.current.incrementPosition(5):this.current.setPosition(this.information.getSize()),this.current.setIsoIec646()),new s(!1)},t.prototype.isStillIsoIec646=function(t){if(t+5>this.information.getSize())return!1;var e=this.extractNumericValueFromBitArray(t,5);if(e>=5&&e<16)return!0;if(t+7>this.information.getSize())return!1;var n=this.extractNumericValueFromBitArray(t,7);if(n>=64&&n<116)return!0;if(t+8>this.information.getSize())return!1;var r=this.extractNumericValueFromBitArray(t,8);return r>=232&&r<253},t.prototype.decodeIsoIec646=function(t){var e=this.extractNumericValueFromBitArray(t,5);if(15===e)return new c(t+5,c.FNC1);if(e>=5&&e<15)return new c(t+5,"0"+(e-5));var n,r=this.extractNumericValueFromBitArray(t,7);if(r>=64&&r<90)return new c(t+7,""+(r+1));if(r>=90&&r<116)return new c(t+7,""+(r+7));switch(this.extractNumericValueFromBitArray(t,8)){case 232:n="!";break;case 233:n='"';break;case 234:n="%";break;case 235:n="&";break;case 236:n="'";break;case 237:n="(";break;case 238:n=")";break;case 239:n="*";break;case 240:n="+";break;case 241:n=",";break;case 242:n="-";break;case 243:n=".";break;case 244:n="/";break;case 245:n=":";break;case 246:n=";";break;case 247:n="<";break;case 248:n="=";break;case 249:n=">";break;case 250:n="?";break;case 251:n="_";break;case 252:n=" ";break;default:throw new o.a}return new c(t+8,n)},t.prototype.isStillAlpha=function(t){if(t+5>this.information.getSize())return!1;var e=this.extractNumericValueFromBitArray(t,5);if(e>=5&&e<16)return!0;if(t+6>this.information.getSize())return!1;var n=this.extractNumericValueFromBitArray(t,6);return n>=16&&n<63},t.prototype.decodeAlphanumeric=function(t){var e=this.extractNumericValueFromBitArray(t,5);if(15===e)return new c(t+5,c.FNC1);if(e>=5&&e<15)return new c(t+5,"0"+(e-5));var n,r=this.extractNumericValueFromBitArray(t,6);if(r>=32&&r<58)return new c(t+6,""+(r+33));switch(r){case 58:n="*";break;case 59:n=",";break;case 60:n="-";break;case 61:n=".";break;case 62:n="/";break;default:throw new i.a("Decoding invalid alphanumeric value: "+r)}return new c(t+6,n)},t.prototype.isAlphaTo646ToAlphaLatch=function(t){if(t+1>this.information.getSize())return!1;for(var e=0;e<5&&e+t<this.information.getSize();++e)if(2===e){if(!this.information.get(t+2))return!1}else if(this.information.get(t+e))return!1;return!0},t.prototype.isAlphaOr646ToNumericLatch=function(t){if(t+3>this.information.getSize())return!1;for(var e=t;e<t+3;++e)if(this.information.get(e))return!1;return!0},t.prototype.isNumericToAlphaNumericLatch=function(t){if(t+1>this.information.getSize())return!1;for(var e=0;e<4&&e+t<this.information.getSize();++e)if(this.information.get(t+e))return!1;return!0},t}();e.a=m},function(t,e,n){"use strict";var r,o=n(39),i=n(26),a=n(40),s=n(29),u=n(2),l=n(13),c=n(7);!function(t){t[t.UPPER=0]="UPPER",t[t.LOWER=1]="LOWER",t[t.MIXED=2]="MIXED",t[t.DIGIT=3]="DIGIT",t[t.PUNCT=4]="PUNCT",t[t.BINARY=5]="BINARY"}(r||(r={}));var f=function(){function t(){}return t.prototype.decode=function(e){this.ddata=e;var n=e.getBits(),r=this.extractBits(n),i=this.correctBits(r),a=t.convertBoolArrayToByteArray(i),s=t.getEncodedData(i),u=new o.a(a,s,null,null);return u.setNumBits(i.length),u},t.highLevelDecode=function(t){return this.getEncodedData(t)},t.getEncodedData=function(e){for(var n=e.length,o=r.UPPER,i=r.UPPER,a="",s=0;s<n;)if(i===r.BINARY){if(n-s<5)break;var u=t.readCode(e,s,5);if(s+=5,0===u){if(n-s<11)break;u=t.readCode(e,s,11)+31,s+=11}for(var c=0;c<u;c++){if(n-s<8){s=n;break}var f=t.readCode(e,s,8);a+=l.a.castAsNonUtf8Char(f),s+=8}i=o}else{var p=i===r.DIGIT?4:5;if(n-s<p)break;f=t.readCode(e,s,p);s+=p;var d=t.getCharacter(i,f);d.startsWith("CTRL_")?(o=i,i=t.getTable(d.charAt(5)),"L"===d.charAt(6)&&(o=i)):(a+=d,i=o)}return a},t.getTable=function(t){switch(t){case"L":return r.LOWER;case"P":return r.PUNCT;case"M":return r.MIXED;case"D":return r.DIGIT;case"B":return r.BINARY;case"U":default:return r.UPPER}},t.getCharacter=function(e,n){switch(e){case r.UPPER:return t.UPPER_TABLE[n];case r.LOWER:return t.LOWER_TABLE[n];case r.MIXED:return t.MIXED_TABLE[n];case r.PUNCT:return t.PUNCT_TABLE[n];case r.DIGIT:return t.DIGIT_TABLE[n];default:throw new s.a("Bad table")}},t.prototype.correctBits=function(e){var n,r;this.ddata.getNbLayers()<=2?(r=6,n=i.a.AZTEC_DATA_6):this.ddata.getNbLayers()<=8?(r=8,n=i.a.AZTEC_DATA_8):this.ddata.getNbLayers()<=22?(r=10,n=i.a.AZTEC_DATA_10):(r=12,n=i.a.AZTEC_DATA_12);var o=this.ddata.getNbDatablocks(),s=e.length/r;if(s<o)throw new u.a;for(var l=e.length%r,c=new Int32Array(s),f=0;f<s;f++,l+=r)c[f]=t.readCode(e,l,r);try{new a.a(n).decode(c,s-o)}catch(t){throw new u.a(t)}var p=(1<<r)-1,d=0;for(f=0;f<o;f++){if(0===(y=c[f])||y===p)throw new u.a;1!==y&&y!==p-1||d++}var h=new Array(o*r-d),g=0;for(f=0;f<o;f++){var y;if(1===(y=c[f])||y===p-1)h.fill(y>1,g,g+r-1),g+=r-1;else for(var v=r-1;v>=0;--v)h[g++]=0!=(y&1<<v)}return h},t.prototype.extractBits=function(t){var e=this.ddata.isCompact(),n=this.ddata.getNbLayers(),r=(e?11:14)+4*n,o=new Int32Array(r),i=new Array(this.totalBitsInLayer(n,e));if(e)for(var a=0;a<o.length;a++)o[a]=a;else{var s=r+1+2*c.a.truncDivision(c.a.truncDivision(r,2)-1,15),u=r/2,l=c.a.truncDivision(s,2);for(a=0;a<u;a++){var f=a+c.a.truncDivision(a,15);o[u-a-1]=l-f-1,o[u+a]=l+f+1}}a=0;for(var p=0;a<n;a++){for(var d=4*(n-a)+(e?9:12),h=2*a,g=r-1-h,y=0;y<d;y++)for(var v=2*y,m=0;m<2;m++)i[p+v+m]=t.get(o[h+m],o[h+y]),i[p+2*d+v+m]=t.get(o[h+y],o[g-m]),i[p+4*d+v+m]=t.get(o[g-m],o[g-y]),i[p+6*d+v+m]=t.get(o[g-y],o[h+m]);p+=8*d}return i},t.readCode=function(t,e,n){for(var r=0,o=e;o<e+n;o++)r<<=1,t[o]&&(r|=1);return r},t.readByte=function(e,n){var r=e.length-n;return r>=8?t.readCode(e,n,8):t.readCode(e,n,r)<<8-r},t.convertBoolArrayToByteArray=function(e){for(var n=new Uint8Array((e.length+7)/8),r=0;r<n.length;r++)n[r]=t.readByte(e,8*r);return n},t.prototype.totalBitsInLayer=function(t,e){return((e?88:112)+16*t)*t},t.UPPER_TABLE=["CTRL_PS"," ","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","CTRL_LL","CTRL_ML","CTRL_DL","CTRL_BS"],t.LOWER_TABLE=["CTRL_PS"," ","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","CTRL_US","CTRL_ML","CTRL_DL","CTRL_BS"],t.MIXED_TABLE=["CTRL_PS"," ","\\1","\\2","\\3","\\4","\\5","\\6","\\7","\b","\t","\n","\\13","\f","\r","\\33","\\34","\\35","\\36","\\37","@","\\","^","_","`","|","~","\\177","CTRL_LL","CTRL_UL","CTRL_PL","CTRL_BS"],t.PUNCT_TABLE=["","\r","\r\n",". ",", ",": ","!",'"',"#","$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","?","[","]","{","}","CTRL_UL"],t.DIGIT_TABLE=["CTRL_PS"," ","0","1","2","3","4","5","6","7","8","9",",",".","CTRL_UL","CTRL_US"],t}();e.a=f},function(t,e,n){"use strict";var r=n(1),o=function(){function t(){}return t.checkAndNudgePoints=function(t,e){for(var n=t.getWidth(),o=t.getHeight(),i=!0,a=0;a<e.length&&i;a+=2){var s=Math.floor(e[a]),u=Math.floor(e[a+1]);if(s<-1||s>n||u<-1||u>o)throw new r.a;i=!1,-1===s?(e[a]=0,i=!0):s===n&&(e[a]=n-1,i=!0),-1===u?(e[a+1]=0,i=!0):u===o&&(e[a+1]=o-1,i=!0)}i=!0;for(a=e.length-2;a>=0&&i;a-=2){s=Math.floor(e[a]),u=Math.floor(e[a+1]);if(s<-1||s>n||u<-1||u>o)throw new r.a;i=!1,-1===s?(e[a]=0,i=!0):s===n&&(e[a]=n-1,i=!0),-1===u?(e[a+1]=0,i=!0):u===o&&(e[a+1]=o-1,i=!0)}},t}();e.a=o},function(t,e,n){"use strict";var r,o=n(5),i=n(18),a=n(12),s=n(2),u=n(1),l=n(14),c=n(4),f=n(22),p=(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),d=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return p(e,t),e.findStartPattern=function(t){for(var n=t.getSize(),r=t.getNextSet(0),o=0,i=Int32Array.from([0,0,0,0,0,0]),a=r,s=!1,l=r;l<n;l++)if(t.get(l)!==s)i[o]++;else{if(5===o){for(var c=e.MAX_AVG_VARIANCE,p=-1,d=e.CODE_START_A;d<=e.CODE_START_C;d++){var h=f.a.patternMatchVariance(i,e.CODE_PATTERNS[d],e.MAX_INDIVIDUAL_VARIANCE);h<c&&(c=h,p=d)}if(p>=0&&t.isRange(Math.max(0,a-(l-a)/2),a,!1))return Int32Array.from([a,l,p]);a+=i[0]+i[1],(i=i.slice(2,i.length-1))[o-1]=0,i[o]=0,o--}else o++;i[o]=1,s=!s}throw new u.a},e.decodeCode=function(t,n,r){f.a.recordPattern(t,r,n);for(var o=e.MAX_AVG_VARIANCE,i=-1,a=0;a<e.CODE_PATTERNS.length;a++){var s=e.CODE_PATTERNS[a],l=this.patternMatchVariance(n,s,e.MAX_INDIVIDUAL_VARIANCE);l<o&&(o=l,i=a)}if(i>=0)return i;throw new u.a},e.prototype.decodeRow=function(t,n,r){var f,p=r&&!0===r.get(a.a.ASSUME_GS1),d=e.findStartPattern(n),h=d[2],g=0,y=new Uint8Array(20);switch(y[g++]=h,h){case e.CODE_START_A:f=e.CODE_CODE_A;break;case e.CODE_START_B:f=e.CODE_CODE_B;break;case e.CODE_START_C:f=e.CODE_CODE_C;break;default:throw new s.a}for(var v=!1,m=!1,w="",E=d[0],b=d[1],_=Int32Array.from([0,0,0,0,0,0]),C=0,S=0,A=h,O=0,I=!0,T=!1,R=!1;!v;){var N=m;switch(m=!1,C=S,S=e.decodeCode(n,_,b),y[g++]=S,S!==e.CODE_STOP&&(I=!0),S!==e.CODE_STOP&&(A+=++O*S),E=b,b+=_.reduce((function(t,e){return t+e}),0),S){case e.CODE_START_A:case e.CODE_START_B:case e.CODE_START_C:throw new s.a}switch(f){case e.CODE_CODE_A:if(S<64)w+=R===T?String.fromCharCode(" ".charCodeAt(0)+S):String.fromCharCode(" ".charCodeAt(0)+S+128),R=!1;else if(S<96)w+=R===T?String.fromCharCode(S-64):String.fromCharCode(S+64),R=!1;else switch(S!==e.CODE_STOP&&(I=!1),S){case e.CODE_FNC_1:p&&(0===w.length?w+="]C1":w+=String.fromCharCode(29));break;case e.CODE_FNC_2:case e.CODE_FNC_3:break;case e.CODE_FNC_4_A:!T&&R?(T=!0,R=!1):T&&R?(T=!1,R=!1):R=!0;break;case e.CODE_SHIFT:m=!0,f=e.CODE_CODE_B;break;case e.CODE_CODE_B:f=e.CODE_CODE_B;break;case e.CODE_CODE_C:f=e.CODE_CODE_C;break;case e.CODE_STOP:v=!0}break;case e.CODE_CODE_B:if(S<96)w+=R===T?String.fromCharCode(" ".charCodeAt(0)+S):String.fromCharCode(" ".charCodeAt(0)+S+128),R=!1;else switch(S!==e.CODE_STOP&&(I=!1),S){case e.CODE_FNC_1:p&&(0===w.length?w+="]C1":w+=String.fromCharCode(29));break;case e.CODE_FNC_2:case e.CODE_FNC_3:break;case e.CODE_FNC_4_B:!T&&R?(T=!0,R=!1):T&&R?(T=!1,R=!1):R=!0;break;case e.CODE_SHIFT:m=!0,f=e.CODE_CODE_A;break;case e.CODE_CODE_A:f=e.CODE_CODE_A;break;case e.CODE_CODE_C:f=e.CODE_CODE_C;break;case e.CODE_STOP:v=!0}break;case e.CODE_CODE_C:if(S<100)S<10&&(w+="0"),w+=S;else switch(S!==e.CODE_STOP&&(I=!1),S){case e.CODE_FNC_1:p&&(0===w.length?w+="]C1":w+=String.fromCharCode(29));break;case e.CODE_CODE_A:f=e.CODE_CODE_A;break;case e.CODE_CODE_B:f=e.CODE_CODE_B;break;case e.CODE_STOP:v=!0}}N&&(f=f===e.CODE_CODE_A?e.CODE_CODE_B:e.CODE_CODE_A)}var D=b-E;if(b=n.getNextUnset(b),!n.isRange(b,Math.min(n.getSize(),b+(b-E)/2),!1))throw new u.a;if((A-=O*C)%103!==C)throw new i.a;var P=w.length;if(0===P)throw new u.a;P>0&&I&&(w=f===e.CODE_CODE_C?w.substring(0,P-2):w.substring(0,P-1));for(var x=(d[1]+d[0])/2,k=E+D/2,M=y.length,L=new Uint8Array(M),B=0;B<M;B++)L[B]=y[B];var F=[new c.a(x,t),new c.a(k,t)];return new l.a(w,L,0,F,o.a.CODE_128,(new Date).getTime())},e.CODE_PATTERNS=[Int32Array.from([2,1,2,2,2,2]),Int32Array.from([2,2,2,1,2,2]),Int32Array.from([2,2,2,2,2,1]),Int32Array.from([1,2,1,2,2,3]),Int32Array.from([1,2,1,3,2,2]),Int32Array.from([1,3,1,2,2,2]),Int32Array.from([1,2,2,2,1,3]),Int32Array.from([1,2,2,3,1,2]),Int32Array.from([1,3,2,2,1,2]),Int32Array.from([2,2,1,2,1,3]),Int32Array.from([2,2,1,3,1,2]),Int32Array.from([2,3,1,2,1,2]),Int32Array.from([1,1,2,2,3,2]),Int32Array.from([1,2,2,1,3,2]),Int32Array.from([1,2,2,2,3,1]),Int32Array.from([1,1,3,2,2,2]),Int32Array.from([1,2,3,1,2,2]),Int32Array.from([1,2,3,2,2,1]),Int32Array.from([2,2,3,2,1,1]),Int32Array.from([2,2,1,1,3,2]),Int32Array.from([2,2,1,2,3,1]),Int32Array.from([2,1,3,2,1,2]),Int32Array.from([2,2,3,1,1,2]),Int32Array.from([3,1,2,1,3,1]),Int32Array.from([3,1,1,2,2,2]),Int32Array.from([3,2,1,1,2,2]),Int32Array.from([3,2,1,2,2,1]),Int32Array.from([3,1,2,2,1,2]),Int32Array.from([3,2,2,1,1,2]),Int32Array.from([3,2,2,2,1,1]),Int32Array.from([2,1,2,1,2,3]),Int32Array.from([2,1,2,3,2,1]),Int32Array.from([2,3,2,1,2,1]),Int32Array.from([1,1,1,3,2,3]),Int32Array.from([1,3,1,1,2,3]),Int32Array.from([1,3,1,3,2,1]),Int32Array.from([1,1,2,3,1,3]),Int32Array.from([1,3,2,1,1,3]),Int32Array.from([1,3,2,3,1,1]),Int32Array.from([2,1,1,3,1,3]),Int32Array.from([2,3,1,1,1,3]),Int32Array.from([2,3,1,3,1,1]),Int32Array.from([1,1,2,1,3,3]),Int32Array.from([1,1,2,3,3,1]),Int32Array.from([1,3,2,1,3,1]),Int32Array.from([1,1,3,1,2,3]),Int32Array.from([1,1,3,3,2,1]),Int32Array.from([1,3,3,1,2,1]),Int32Array.from([3,1,3,1,2,1]),Int32Array.from([2,1,1,3,3,1]),Int32Array.from([2,3,1,1,3,1]),Int32Array.from([2,1,3,1,1,3]),Int32Array.from([2,1,3,3,1,1]),Int32Array.from([2,1,3,1,3,1]),Int32Array.from([3,1,1,1,2,3]),Int32Array.from([3,1,1,3,2,1]),Int32Array.from([3,3,1,1,2,1]),Int32Array.from([3,1,2,1,1,3]),Int32Array.from([3,1,2,3,1,1]),Int32Array.from([3,3,2,1,1,1]),Int32Array.from([3,1,4,1,1,1]),Int32Array.from([2,2,1,4,1,1]),Int32Array.from([4,3,1,1,1,1]),Int32Array.from([1,1,1,2,2,4]),Int32Array.from([1,1,1,4,2,2]),Int32Array.from([1,2,1,1,2,4]),Int32Array.from([1,2,1,4,2,1]),Int32Array.from([1,4,1,1,2,2]),Int32Array.from([1,4,1,2,2,1]),Int32Array.from([1,1,2,2,1,4]),Int32Array.from([1,1,2,4,1,2]),Int32Array.from([1,2,2,1,1,4]),Int32Array.from([1,2,2,4,1,1]),Int32Array.from([1,4,2,1,1,2]),Int32Array.from([1,4,2,2,1,1]),Int32Array.from([2,4,1,2,1,1]),Int32Array.from([2,2,1,1,1,4]),Int32Array.from([4,1,3,1,1,1]),Int32Array.from([2,4,1,1,1,2]),Int32Array.from([1,3,4,1,1,1]),Int32Array.from([1,1,1,2,4,2]),Int32Array.from([1,2,1,1,4,2]),Int32Array.from([1,2,1,2,4,1]),Int32Array.from([1,1,4,2,1,2]),Int32Array.from([1,2,4,1,1,2]),Int32Array.from([1,2,4,2,1,1]),Int32Array.from([4,1,1,2,1,2]),Int32Array.from([4,2,1,1,1,2]),Int32Array.from([4,2,1,2,1,1]),Int32Array.from([2,1,2,1,4,1]),Int32Array.from([2,1,4,1,2,1]),Int32Array.from([4,1,2,1,2,1]),Int32Array.from([1,1,1,1,4,3]),Int32Array.from([1,1,1,3,4,1]),Int32Array.from([1,3,1,1,4,1]),Int32Array.from([1,1,4,1,1,3]),Int32Array.from([1,1,4,3,1,1]),Int32Array.from([4,1,1,1,1,3]),Int32Array.from([4,1,1,3,1,1]),Int32Array.from([1,1,3,1,4,1]),Int32Array.from([1,1,4,1,3,1]),Int32Array.from([3,1,1,1,4,1]),Int32Array.from([4,1,1,1,3,1]),Int32Array.from([2,1,1,4,1,2]),Int32Array.from([2,1,1,2,1,4]),Int32Array.from([2,1,1,2,3,2]),Int32Array.from([2,3,3,1,1,1,2])],e.MAX_AVG_VARIANCE=.25,e.MAX_INDIVIDUAL_VARIANCE=.7,e.CODE_SHIFT=98,e.CODE_CODE_C=99,e.CODE_CODE_B=100,e.CODE_CODE_A=101,e.CODE_FNC_1=102,e.CODE_FNC_2=97,e.CODE_FNC_3=96,e.CODE_FNC_4_A=101,e.CODE_FNC_4_B=100,e.CODE_START_A=103,e.CODE_START_B=104,e.CODE_START_C=105,e.CODE_STOP=106,e}(f.a);e.a=d},function(t,e,n){"use strict";var r,o=n(5),i=n(18),a=n(2),s=n(1),u=n(22),l=n(14),c=n(4),f=(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),p=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},d=function(t){function e(e,n){void 0===e&&(e=!1),void 0===n&&(n=!1);var r=t.call(this)||this;return r.usingCheckDigit=e,r.extendedMode=n,r.decodeRowResult="",r.counters=new Int32Array(9),r}return f(e,t),e.prototype.decodeRow=function(t,n,r){var a,u,f,d,h=this.counters;h.fill(0),this.decodeRowResult="";var g,y,v=e.findAsteriskPattern(n,h),m=n.getNextSet(v[1]),w=n.getSize();do{e.recordPattern(n,m,h);var E=e.toNarrowWidePattern(h);if(E<0)throw new s.a;g=e.patternToChar(E),this.decodeRowResult+=g,y=m;try{for(var b=(a=void 0,p(h)),_=b.next();!_.done;_=b.next()){m+=_.value}}catch(t){a={error:t}}finally{try{_&&!_.done&&(u=b.return)&&u.call(b)}finally{if(a)throw a.error}}m=n.getNextSet(m)}while("*"!==g);this.decodeRowResult=this.decodeRowResult.substring(0,this.decodeRowResult.length-1);var C,S=0;try{for(var A=p(h),O=A.next();!O.done;O=A.next()){S+=O.value}}catch(t){f={error:t}}finally{try{O&&!O.done&&(d=A.return)&&d.call(A)}finally{if(f)throw f.error}}if(m!==w&&2*(m-y-S)<S)throw new s.a;if(this.usingCheckDigit){for(var I=this.decodeRowResult.length-1,T=0,R=0;R<I;R++)T+=e.ALPHABET_STRING.indexOf(this.decodeRowResult.charAt(R));if(this.decodeRowResult.charAt(I)!==e.ALPHABET_STRING.charAt(T%43))throw new i.a;this.decodeRowResult=this.decodeRowResult.substring(0,I)}if(0===this.decodeRowResult.length)throw new s.a;C=this.extendedMode?e.decodeExtended(this.decodeRowResult):this.decodeRowResult;var N=(v[1]+v[0])/2,D=y+S/2;return new l.a(C,null,0,[new c.a(N,t),new c.a(D,t)],o.a.CODE_39,(new Date).getTime())},e.findAsteriskPattern=function(t,n){for(var r=t.getSize(),o=t.getNextSet(0),i=0,a=o,u=!1,l=n.length,c=o;c<r;c++)if(t.get(c)!==u)n[i]++;else{if(i===l-1){if(this.toNarrowWidePattern(n)===e.ASTERISK_ENCODING&&t.isRange(Math.max(0,a-Math.floor((c-a)/2)),a,!1))return[a,c];a+=n[0]+n[1],n.copyWithin(0,2,2+i-1),n[i-1]=0,n[i]=0,i--}else i++;n[i]=1,u=!u}throw new s.a},e.toNarrowWidePattern=function(t){var e,n,r,o=t.length,i=0;do{var a=2147483647;try{for(var s=(e=void 0,p(t)),u=s.next();!u.done;u=s.next()){(d=u.value)<a&&d>i&&(a=d)}}catch(t){e={error:t}}finally{try{u&&!u.done&&(n=s.return)&&n.call(s)}finally{if(e)throw e.error}}i=a,r=0;for(var l=0,c=0,f=0;f<o;f++){(d=t[f])>i&&(c|=1<<o-1-f,r++,l+=d)}if(3===r){for(f=0;f<o&&r>0;f++){var d;if((d=t[f])>i&&(r--,2*d>=l))return-1}return c}}while(r>3);return-1},e.patternToChar=function(t){for(var n=0;n<e.CHARACTER_ENCODINGS.length;n++)if(e.CHARACTER_ENCODINGS[n]===t)return e.ALPHABET_STRING.charAt(n);if(t===e.ASTERISK_ENCODING)return"*";throw new s.a},e.decodeExtended=function(t){for(var e=t.length,n="",r=0;r<e;r++){var o=t.charAt(r);if("+"===o||"$"===o||"%"===o||"/"===o){var i=t.charAt(r+1),s="\0";switch(o){case"+":if(!(i>="A"&&i<="Z"))throw new a.a;s=String.fromCharCode(i.charCodeAt(0)+32);break;case"$":if(!(i>="A"&&i<="Z"))throw new a.a;s=String.fromCharCode(i.charCodeAt(0)-64);break;case"%":if(i>="A"&&i<="E")s=String.fromCharCode(i.charCodeAt(0)-38);else if(i>="F"&&i<="J")s=String.fromCharCode(i.charCodeAt(0)-11);else if(i>="K"&&i<="O")s=String.fromCharCode(i.charCodeAt(0)+16);else if(i>="P"&&i<="T")s=String.fromCharCode(i.charCodeAt(0)+43);else if("U"===i)s="\0";else if("V"===i)s="@";else if("W"===i)s="`";else{if("X"!==i&&"Y"!==i&&"Z"!==i)throw new a.a;s=""}break;case"/":if(i>="A"&&i<="O")s=String.fromCharCode(i.charCodeAt(0)-32);else{if("Z"!==i)throw new a.a;s=":"}}n+=s,r++}else n+=o}return n},e.ALPHABET_STRING="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-. $/+%",e.CHARACTER_ENCODINGS=[52,289,97,352,49,304,112,37,292,100,265,73,328,25,280,88,13,268,76,28,259,67,322,19,274,82,7,262,70,22,385,193,448,145,400,208,133,388,196,168,162,138,42],e.ASTERISK_ENCODING=148,e}(u.a);e.a=d},function(t,e,n){"use strict";var r,o=n(5),i=n(12),a=n(2),s=n(1),u=n(14),l=n(4),c=n(8),f=n(9),p=n(22),d=(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),h=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},g=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.narrowLineWidth=-1,e}return d(e,t),e.prototype.decodeRow=function(t,n,r){var s,f,p=this.decodeStart(n),d=this.decodeEnd(n),g=new c.a;e.decodeMiddle(n,p[1],d[0],g);var y=g.toString(),v=null;null!=r&&(v=r.get(i.a.ALLOWED_LENGTHS)),null==v&&(v=e.DEFAULT_ALLOWED_LENGTHS);var m=y.length,w=!1,E=0;try{for(var b=h(v),_=b.next();!_.done;_=b.next()){var C=_.value;if(m===C){w=!0;break}C>E&&(E=C)}}catch(t){s={error:t}}finally{try{_&&!_.done&&(f=b.return)&&f.call(b)}finally{if(s)throw s.error}}if(!w&&m>E&&(w=!0),!w)throw new a.a;var S=[new l.a(p[1],t),new l.a(d[0],t)];return new u.a(y,null,0,S,o.a.ITF,(new Date).getTime())},e.decodeMiddle=function(t,n,r,o){var i=new Int32Array(10),a=new Int32Array(5),s=new Int32Array(5);for(i.fill(0),a.fill(0),s.fill(0);n<r;){p.a.recordPattern(t,n,i);for(var u=0;u<5;u++){var l=2*u;a[u]=i[l],s[u]=i[l+1]}var c=e.decodeDigit(a);o.append(c.toString()),c=this.decodeDigit(s),o.append(c.toString()),i.forEach((function(t){n+=t}))}},e.prototype.decodeStart=function(t){var n=e.skipWhiteSpace(t),r=e.findGuardPattern(t,n,e.START_PATTERN);return this.narrowLineWidth=(r[1]-r[0])/4,this.validateQuietZone(t,r[0]),r},e.prototype.validateQuietZone=function(t,e){var n=10*this.narrowLineWidth;n=n<e?n:e;for(var r=e-1;n>0&&r>=0&&!t.get(r);r--)n--;if(0!==n)throw new s.a},e.skipWhiteSpace=function(t){var e=t.getSize(),n=t.getNextSet(0);if(n===e)throw new s.a;return n},e.prototype.decodeEnd=function(t){t.reverse();try{var n=e.skipWhiteSpace(t),r=void 0;try{r=e.findGuardPattern(t,n,e.END_PATTERN_REVERSED[0])}catch(o){o instanceof s.a&&(r=e.findGuardPattern(t,n,e.END_PATTERN_REVERSED[1]))}this.validateQuietZone(t,r[0]);var o=r[0];return r[0]=t.getSize()-r[1],r[1]=t.getSize()-o,r}finally{t.reverse()}},e.findGuardPattern=function(t,n,r){var o=r.length,i=new Int32Array(o),a=t.getSize(),u=!1,l=0,c=n;i.fill(0);for(var d=n;d<a;d++)if(t.get(d)!==u)i[l]++;else{if(l===o-1){if(p.a.patternMatchVariance(i,r,e.MAX_INDIVIDUAL_VARIANCE)<e.MAX_AVG_VARIANCE)return[c,d];c+=i[0]+i[1],f.a.arraycopy(i,2,i,0,l-1),i[l-1]=0,i[l]=0,l--}else l++;i[l]=1,u=!u}throw new s.a},e.decodeDigit=function(t){for(var n=e.MAX_AVG_VARIANCE,r=-1,o=e.PATTERNS.length,i=0;i<o;i++){var a=e.PATTERNS[i],u=p.a.patternMatchVariance(t,a,e.MAX_INDIVIDUAL_VARIANCE);u<n?(n=u,r=i):u===n&&(r=-1)}if(r>=0)return r%10;throw new s.a},e.PATTERNS=[Int32Array.from([1,1,2,2,1]),Int32Array.from([2,1,1,1,2]),Int32Array.from([1,2,1,1,2]),Int32Array.from([2,2,1,1,1]),Int32Array.from([1,1,2,1,2]),Int32Array.from([2,1,2,1,1]),Int32Array.from([1,2,2,1,1]),Int32Array.from([1,1,1,2,2]),Int32Array.from([2,1,1,2,1]),Int32Array.from([1,2,1,2,1]),Int32Array.from([1,1,3,3,1]),Int32Array.from([3,1,1,1,3]),Int32Array.from([1,3,1,1,3]),Int32Array.from([3,3,1,1,1]),Int32Array.from([1,1,3,1,3]),Int32Array.from([3,1,3,1,1]),Int32Array.from([1,3,3,1,1]),Int32Array.from([1,1,1,3,3]),Int32Array.from([3,1,1,3,1]),Int32Array.from([1,3,1,3,1])],e.MAX_AVG_VARIANCE=.38,e.MAX_INDIVIDUAL_VARIANCE=.5,e.DEFAULT_ALLOWED_LENGTHS=[6,8,10,12,14],e.START_PATTERN=Int32Array.from([1,1,1,1]),e.END_PATTERN_REVERSED=[Int32Array.from([1,1,2]),Int32Array.from([1,1,3])],e}(p.a);e.a=g},function(t,e,n){"use strict";var r;!function(t){t[t.DATA_MASK_000=0]="DATA_MASK_000",t[t.DATA_MASK_001=1]="DATA_MASK_001",t[t.DATA_MASK_010=2]="DATA_MASK_010",t[t.DATA_MASK_011=3]="DATA_MASK_011",t[t.DATA_MASK_100=4]="DATA_MASK_100",t[t.DATA_MASK_101=5]="DATA_MASK_101",t[t.DATA_MASK_110=6]="DATA_MASK_110",t[t.DATA_MASK_111=7]="DATA_MASK_111"}(r||(r={}));var o=function(){function t(t,e){this.value=t,this.isMasked=e}return t.prototype.unmaskBitMatrix=function(t,e){for(var n=0;n<e;n++)for(var r=0;r<e;r++)this.isMasked(n,r)&&t.flip(r,n)},t.values=new Map([[r.DATA_MASK_000,new t(r.DATA_MASK_000,(function(t,e){return 0==(t+e&1)}))],[r.DATA_MASK_001,new t(r.DATA_MASK_001,(function(t,e){return 0==(1&t)}))],[r.DATA_MASK_010,new t(r.DATA_MASK_010,(function(t,e){return e%3==0}))],[r.DATA_MASK_011,new t(r.DATA_MASK_011,(function(t,e){return(t+e)%3==0}))],[r.DATA_MASK_100,new t(r.DATA_MASK_100,(function(t,e){return 0==(Math.floor(t/2)+Math.floor(e/3)&1)}))],[r.DATA_MASK_101,new t(r.DATA_MASK_101,(function(t,e){return t*e%6==0}))],[r.DATA_MASK_110,new t(r.DATA_MASK_110,(function(t,e){return t*e%6<3}))],[r.DATA_MASK_111,new t(r.DATA_MASK_111,(function(t,e){return 0==(t+e+t*e%3&1)}))]]),t}();e.a=o},function(t,e,n){"use strict";var r,o=n(15),i=(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.kind="ReaderException",e}(o.a);e.a=a},function(t,e,n){"use strict";var r=n(19),o=n(7),i=n(53),a=n(43),s=n(17),u=n(3),l=function(){function t(){}return t.clearMatrix=function(t){t.clear(255)},t.buildMatrix=function(e,n,r,o,i){t.clearMatrix(i),t.embedBasicPatterns(r,i),t.embedTypeInfo(n,o,i),t.maybeEmbedVersionInfo(r,i),t.embedDataBits(e,o,i)},t.embedBasicPatterns=function(e,n){t.embedPositionDetectionPatternsAndSeparators(n),t.embedDarkDotAtLeftBottomCorner(n),t.maybeEmbedPositionAdjustmentPatterns(e,n),t.embedTimingPatterns(n)},t.embedTypeInfo=function(e,n,o){var i=new r.a;t.makeTypeInfoBits(e,n,i);for(var a=0,s=i.getSize();a<s;++a){var u=i.get(i.getSize()-1-a),l=t.TYPE_INFO_COORDINATES[a],c=l[0],f=l[1];if(o.setBoolean(c,f,u),a<8){var p=o.getWidth()-a-1,d=8;o.setBoolean(p,d,u)}else{p=8,d=o.getHeight()-7+(a-8);o.setBoolean(p,d,u)}}},t.maybeEmbedVersionInfo=function(e,n){if(!(e.getVersionNumber()<7)){var o=new r.a;t.makeVersionInfoBits(e,o);for(var i=17,a=0;a<6;++a)for(var s=0;s<3;++s){var u=o.get(i);i--,n.setBoolean(a,n.getHeight()-11+s,u),n.setBoolean(n.getHeight()-11+s,a,u)}}},t.embedDataBits=function(e,n,r){for(var o=0,i=-1,u=r.getWidth()-1,l=r.getHeight()-1;u>0;){for(6===u&&(u-=1);l>=0&&l<r.getHeight();){for(var c=0;c<2;++c){var f=u-c;if(t.isEmpty(r.get(f,l))){var p=void 0;o<e.getSize()?(p=e.get(o),++o):p=!1,255!==n&&a.a.getDataMaskBit(n,f,l)&&(p=!p),r.setBoolean(f,l,p)}}l+=i}l+=i=-i,u-=2}if(o!==e.getSize())throw new s.a("Not all bits consumed: "+o+"/"+e.getSize())},t.findMSBSet=function(t){return 32-o.a.numberOfLeadingZeros(t)},t.calculateBCHCode=function(e,n){if(0===n)throw new u.a("0 polynomial");var r=t.findMSBSet(n);for(e<<=r-1;t.findMSBSet(e)>=r;)e^=n<<t.findMSBSet(e)-r;return e},t.makeTypeInfoBits=function(e,n,o){if(!i.a.isValidMaskPattern(n))throw new s.a("Invalid mask pattern");var a=e.getBits()<<3|n;o.appendBits(a,5);var u=t.calculateBCHCode(a,t.TYPE_INFO_POLY);o.appendBits(u,10);var l=new r.a;if(l.appendBits(t.TYPE_INFO_MASK_PATTERN,15),o.xor(l),15!==o.getSize())throw new s.a("should not happen but we got: "+o.getSize())},t.makeVersionInfoBits=function(e,n){n.appendBits(e.getVersionNumber(),6);var r=t.calculateBCHCode(e.getVersionNumber(),t.VERSION_INFO_POLY);if(n.appendBits(r,12),18!==n.getSize())throw new s.a("should not happen but we got: "+n.getSize())},t.isEmpty=function(t){return 255===t},t.embedTimingPatterns=function(e){for(var n=8;n<e.getWidth()-8;++n){var r=(n+1)%2;t.isEmpty(e.get(n,6))&&e.setNumber(n,6,r),t.isEmpty(e.get(6,n))&&e.setNumber(6,n,r)}},t.embedDarkDotAtLeftBottomCorner=function(t){if(0===t.get(8,t.getHeight()-8))throw new s.a;t.setNumber(8,t.getHeight()-8,1)},t.embedHorizontalSeparationPattern=function(e,n,r){for(var o=0;o<8;++o){if(!t.isEmpty(r.get(e+o,n)))throw new s.a;r.setNumber(e+o,n,0)}},t.embedVerticalSeparationPattern=function(e,n,r){for(var o=0;o<7;++o){if(!t.isEmpty(r.get(e,n+o)))throw new s.a;r.setNumber(e,n+o,0)}},t.embedPositionAdjustmentPattern=function(e,n,r){for(var o=0;o<5;++o)for(var i=t.POSITION_ADJUSTMENT_PATTERN[o],a=0;a<5;++a)r.setNumber(e+a,n+o,i[a])},t.embedPositionDetectionPattern=function(e,n,r){for(var o=0;o<7;++o)for(var i=t.POSITION_DETECTION_PATTERN[o],a=0;a<7;++a)r.setNumber(e+a,n+o,i[a])},t.embedPositionDetectionPatternsAndSeparators=function(e){var n=t.POSITION_DETECTION_PATTERN[0].length;t.embedPositionDetectionPattern(0,0,e),t.embedPositionDetectionPattern(e.getWidth()-n,0,e),t.embedPositionDetectionPattern(0,e.getWidth()-n,e);t.embedHorizontalSeparationPattern(0,7,e),t.embedHorizontalSeparationPattern(e.getWidth()-8,7,e),t.embedHorizontalSeparationPattern(0,e.getWidth()-8,e);t.embedVerticalSeparationPattern(7,0,e),t.embedVerticalSeparationPattern(e.getHeight()-7-1,0,e),t.embedVerticalSeparationPattern(7,e.getHeight()-7,e)},t.maybeEmbedPositionAdjustmentPatterns=function(e,n){if(!(e.getVersionNumber()<2))for(var r=e.getVersionNumber()-1,o=t.POSITION_ADJUSTMENT_PATTERN_COORDINATE_TABLE[r],i=0,a=o.length;i!==a;i++){var s=o[i];if(s>=0)for(var u=0;u!==a;u++){var l=o[u];l>=0&&t.isEmpty(n.get(l,s))&&t.embedPositionAdjustmentPattern(l-2,s-2,n)}}},t.POSITION_DETECTION_PATTERN=Array.from([Int32Array.from([1,1,1,1,1,1,1]),Int32Array.from([1,0,0,0,0,0,1]),Int32Array.from([1,0,1,1,1,0,1]),Int32Array.from([1,0,1,1,1,0,1]),Int32Array.from([1,0,1,1,1,0,1]),Int32Array.from([1,0,0,0,0,0,1]),Int32Array.from([1,1,1,1,1,1,1])]),t.POSITION_ADJUSTMENT_PATTERN=Array.from([Int32Array.from([1,1,1,1,1]),Int32Array.from([1,0,0,0,1]),Int32Array.from([1,0,1,0,1]),Int32Array.from([1,0,0,0,1]),Int32Array.from([1,1,1,1,1])]),t.POSITION_ADJUSTMENT_PATTERN_COORDINATE_TABLE=Array.from([Int32Array.from([-1,-1,-1,-1,-1,-1,-1]),Int32Array.from([6,18,-1,-1,-1,-1,-1]),Int32Array.from([6,22,-1,-1,-1,-1,-1]),Int32Array.from([6,26,-1,-1,-1,-1,-1]),Int32Array.from([6,30,-1,-1,-1,-1,-1]),Int32Array.from([6,34,-1,-1,-1,-1,-1]),Int32Array.from([6,22,38,-1,-1,-1,-1]),Int32Array.from([6,24,42,-1,-1,-1,-1]),Int32Array.from([6,26,46,-1,-1,-1,-1]),Int32Array.from([6,28,50,-1,-1,-1,-1]),Int32Array.from([6,30,54,-1,-1,-1,-1]),Int32Array.from([6,32,58,-1,-1,-1,-1]),Int32Array.from([6,34,62,-1,-1,-1,-1]),Int32Array.from([6,26,46,66,-1,-1,-1]),Int32Array.from([6,26,48,70,-1,-1,-1]),Int32Array.from([6,26,50,74,-1,-1,-1]),Int32Array.from([6,30,54,78,-1,-1,-1]),Int32Array.from([6,30,56,82,-1,-1,-1]),Int32Array.from([6,30,58,86,-1,-1,-1]),Int32Array.from([6,34,62,90,-1,-1,-1]),Int32Array.from([6,28,50,72,94,-1,-1]),Int32Array.from([6,26,50,74,98,-1,-1]),Int32Array.from([6,30,54,78,102,-1,-1]),Int32Array.from([6,28,54,80,106,-1,-1]),Int32Array.from([6,32,58,84,110,-1,-1]),Int32Array.from([6,30,58,86,114,-1,-1]),Int32Array.from([6,34,62,90,118,-1,-1]),Int32Array.from([6,26,50,74,98,122,-1]),Int32Array.from([6,30,54,78,102,126,-1]),Int32Array.from([6,26,52,78,104,130,-1]),Int32Array.from([6,30,56,82,108,134,-1]),Int32Array.from([6,34,60,86,112,138,-1]),Int32Array.from([6,30,58,86,114,142,-1]),Int32Array.from([6,34,62,90,118,146,-1]),Int32Array.from([6,30,54,78,102,126,150]),Int32Array.from([6,24,50,76,102,128,154]),Int32Array.from([6,28,54,80,106,132,158]),Int32Array.from([6,32,58,84,110,136,162]),Int32Array.from([6,26,54,82,110,138,166]),Int32Array.from([6,30,58,86,114,142,170])]),t.TYPE_INFO_COORDINATES=Array.from([Int32Array.from([8,0]),Int32Array.from([8,1]),Int32Array.from([8,2]),Int32Array.from([8,3]),Int32Array.from([8,4]),Int32Array.from([8,5]),Int32Array.from([8,7]),Int32Array.from([8,8]),Int32Array.from([7,8]),Int32Array.from([5,8]),Int32Array.from([4,8]),Int32Array.from([3,8]),Int32Array.from([2,8]),Int32Array.from([1,8]),Int32Array.from([0,8])]),t.VERSION_INFO_POLY=7973,t.TYPE_INFO_POLY=1335,t.TYPE_INFO_MASK_PATTERN=21522,t}();e.a=l},function(t,e,n){"use strict";var r,o=n(45),i=n(58),a=(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),s=function(t){function e(e,n,r){var o=t.call(this,e,n)||this;return o.count=0,o.finderPattern=r,o}return a(e,t),e.prototype.getFinderPattern=function(){return this.finderPattern},e.prototype.getCount=function(){return this.count},e.prototype.incrementCount=function(){this.count++},e}(i.a),u=n(14),l=n(12),c=n(1),f=n(8),p=n(5),d=n(4),h=n(104),g=n(10),y=n(49),v=n(9),m=n(22),w=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),E=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},b=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.possibleLeftPairs=[],e.possibleRightPairs=[],e}return w(e,t),e.prototype.decodeRow=function(t,n,r){var o,i,a,s,u=this.decodePair(n,!1,t,r);e.addOrTally(this.possibleLeftPairs,u),n.reverse();var l=this.decodePair(n,!0,t,r);e.addOrTally(this.possibleRightPairs,l),n.reverse();try{for(var f=E(this.possibleLeftPairs),p=f.next();!p.done;p=f.next()){var d=p.value;if(d.getCount()>1)try{for(var h=(a=void 0,E(this.possibleRightPairs)),g=h.next();!g.done;g=h.next()){var y=g.value;if(y.getCount()>1&&e.checkChecksum(d,y))return e.constructResult(d,y)}}catch(t){a={error:t}}finally{try{g&&!g.done&&(s=h.return)&&s.call(h)}finally{if(a)throw a.error}}}}catch(t){o={error:t}}finally{try{p&&!p.done&&(i=f.return)&&i.call(f)}finally{if(o)throw o.error}}throw new c.a},e.addOrTally=function(t,e){var n,r;if(null!=e){var o=!1;try{for(var i=E(t),a=i.next();!a.done;a=i.next()){var s=a.value;if(s.getValue()===e.getValue()){s.incrementCount(),o=!0;break}}}catch(t){n={error:t}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}o||t.push(e)}},e.prototype.reset=function(){this.possibleLeftPairs.length=0,this.possibleRightPairs.length=0},e.constructResult=function(t,e){for(var n=4537077*t.getValue()+e.getValue(),r=new String(n).toString(),o=new f.a,i=13-r.length;i>0;i--)o.append("0");o.append(r);var a=0;for(i=0;i<13;i++){var s=o.charAt(i).charCodeAt(0)-"0".charCodeAt(0);a+=0==(1&i)?3*s:s}10===(a=10-a%10)&&(a=0),o.append(a.toString());var l=t.getFinderPattern().getResultPoints(),c=e.getFinderPattern().getResultPoints();return new u.a(o.toString(),null,0,[l[0],l[1],c[0],c[1]],p.a.RSS_14,(new Date).getTime())},e.checkChecksum=function(t,e){var n=(t.getChecksumPortion()+16*e.getChecksumPortion())%79,r=9*t.getFinderPattern().getValue()+e.getFinderPattern().getValue();return r>72&&r--,r>8&&r--,n===r},e.prototype.decodePair=function(t,e,n,r){try{var o=this.findFinderPattern(t,e),i=this.parseFoundFinderPattern(t,n,e,o),a=null==r?null:r.get(l.a.NEED_RESULT_POINT_CALLBACK);if(null!=a){var u=(o[0]+o[1])/2;e&&(u=t.getSize()-1-u),a.foundPossibleResultPoint(new d.a(u,n))}var c=this.decodeDataCharacter(t,i,!0),f=this.decodeDataCharacter(t,i,!1);return new s(1597*c.getValue()+f.getValue(),c.getChecksumPortion()+4*f.getChecksumPortion(),i)}catch(t){return null}},e.prototype.decodeDataCharacter=function(t,n,r){for(var o=this.getDataCharacterCounters(),a=0;a<o.length;a++)o[a]=0;if(r)m.a.recordPatternInReverse(t,n.getStartEnd()[0],o);else{m.a.recordPattern(t,n.getStartEnd()[1]+1,o);for(var s=0,u=o.length-1;s<u;s++,u--){var l=o[s];o[s]=o[u],o[u]=l}}var f=r?16:15,p=g.a.sum(new Int32Array(o))/f,d=this.getOddCounts(),h=this.getEvenCounts(),v=this.getOddRoundingErrors(),w=this.getEvenRoundingErrors();for(s=0;s<o.length;s++){var E=o[s]/p,b=Math.floor(E+.5);b<1?b=1:b>8&&(b=8);var _=Math.floor(s/2);0==(1&s)?(d[_]=b,v[_]=E-b):(h[_]=b,w[_]=E-b)}this.adjustOddEvenCounts(r,f);var C=0,S=0;for(s=d.length-1;s>=0;s--)S*=9,S+=d[s],C+=d[s];var A=0,O=0;for(s=h.length-1;s>=0;s--)A*=9,A+=h[s],O+=h[s];var I=S+3*A;if(r){if(0!=(1&C)||C>12||C<4)throw new c.a;var T=(12-C)/2,R=9-(k=e.OUTSIDE_ODD_WIDEST[T]),N=y.a.getRSSvalue(d,k,!1),D=y.a.getRSSvalue(h,R,!0),P=e.OUTSIDE_EVEN_TOTAL_SUBSET[T],x=e.OUTSIDE_GSUM[T];return new i.a(N*P+D+x,I)}if(0!=(1&O)||O>10||O<4)throw new c.a;T=(10-O)/2,R=9-(k=e.INSIDE_ODD_WIDEST[T]),N=y.a.getRSSvalue(d,k,!0),D=y.a.getRSSvalue(h,R,!1);var k,M=e.INSIDE_ODD_TOTAL_SUBSET[T];x=e.INSIDE_GSUM[T];return new i.a(D*M+N+x,I)},e.prototype.findFinderPattern=function(t,e){var n=this.getDecodeFinderCounters();n[0]=0,n[1]=0,n[2]=0,n[3]=0;for(var r=t.getSize(),i=!1,a=0;a<r&&e!==(i=!t.get(a));)a++;for(var s=0,u=a,l=a;l<r;l++)if(t.get(l)!==i)n[s]++;else{if(3===s){if(o.a.isFinderPattern(n))return[u,l];u+=n[0]+n[1],n[0]=n[2],n[1]=n[3],n[2]=0,n[3]=0,s--}else s++;n[s]=1,i=!i}throw new c.a},e.prototype.parseFoundFinderPattern=function(t,n,r,o){for(var i=t.get(o[0]),a=o[0]-1;a>=0&&i!==t.get(a);)a--;a++;var s=o[0]-a,u=this.getDecodeFinderCounters(),l=new Int32Array(u.length);v.a.arraycopy(u,0,l,1,u.length-1),l[0]=s;var c=this.parseFinderValue(l,e.FINDER_PATTERNS),f=a,p=o[1];return r&&(f=t.getSize()-1-f,p=t.getSize()-1-p),new h.a(c,[a,o[1]],f,p,n)},e.prototype.adjustOddEvenCounts=function(t,e){var n=g.a.sum(new Int32Array(this.getOddCounts())),r=g.a.sum(new Int32Array(this.getEvenCounts())),i=!1,a=!1,s=!1,u=!1;t?(n>12?a=!0:n<4&&(i=!0),r>12?u=!0:r<4&&(s=!0)):(n>11?a=!0:n<5&&(i=!0),r>10?u=!0:r<4&&(s=!0));var l=n+r-e,f=(1&n)==(t?1:0),p=1==(1&r);if(1===l)if(f){if(p)throw new c.a;a=!0}else{if(!p)throw new c.a;u=!0}else if(-1===l)if(f){if(p)throw new c.a;i=!0}else{if(!p)throw new c.a;s=!0}else{if(0!==l)throw new c.a;if(f){if(!p)throw new c.a;n<r?(i=!0,u=!0):(a=!0,s=!0)}else if(p)throw new c.a}if(i){if(a)throw new c.a;o.a.increment(this.getOddCounts(),this.getOddRoundingErrors())}if(a&&o.a.decrement(this.getOddCounts(),this.getOddRoundingErrors()),s){if(u)throw new c.a;o.a.increment(this.getEvenCounts(),this.getOddRoundingErrors())}u&&o.a.decrement(this.getEvenCounts(),this.getEvenRoundingErrors())},e.OUTSIDE_EVEN_TOTAL_SUBSET=[1,10,34,70,126],e.INSIDE_ODD_TOTAL_SUBSET=[4,20,48,81],e.OUTSIDE_GSUM=[0,161,961,2015,2715],e.INSIDE_GSUM=[0,336,1036,1516],e.OUTSIDE_ODD_WIDEST=[8,6,4,3,1],e.INSIDE_ODD_WIDEST=[2,4,6,8],e.FINDER_PATTERNS=[Int32Array.from([3,8,2,1]),Int32Array.from([3,5,5,1]),Int32Array.from([3,3,7,1]),Int32Array.from([3,1,9,1]),Int32Array.from([2,7,4,1]),Int32Array.from([2,5,6,1]),Int32Array.from([2,3,8,1]),Int32Array.from([1,5,7,1]),Int32Array.from([1,3,9,1])],e}(o.a);e.a=b},function(t,e,n){"use strict";var r=function(){function t(){}return t.floatToIntBits=function(t){return t},t.MAX_VALUE=Number.MAX_SAFE_INTEGER,t}();e.a=r},function(t,e,n){"use strict";var r=n(3),o=function(){function t(t){if(this.binarizer=t,null===t)throw new r.a("Binarizer must be non-null.")}return t.prototype.getWidth=function(){return this.binarizer.getWidth()},t.prototype.getHeight=function(){return this.binarizer.getHeight()},t.prototype.getBlackRow=function(t,e){return this.binarizer.getBlackRow(t,e)},t.prototype.getBlackMatrix=function(){return null!==this.matrix&&void 0!==this.matrix||(this.matrix=this.binarizer.getBlackMatrix()),this.matrix},t.prototype.isCropSupported=function(){return this.binarizer.getLuminanceSource().isCropSupported()},t.prototype.crop=function(e,n,r,o){var i=this.binarizer.getLuminanceSource().crop(e,n,r,o);return new t(this.binarizer.createBinarizer(i))},t.prototype.isRotateSupported=function(){return this.binarizer.getLuminanceSource().isRotateSupported()},t.prototype.rotateCounterClockwise=function(){var e=this.binarizer.getLuminanceSource().rotateCounterClockwise();return new t(this.binarizer.createBinarizer(e))},t.prototype.rotateCounterClockwise45=function(){var e=this.binarizer.getLuminanceSource().rotateCounterClockwise45();return new t(this.binarizer.createBinarizer(e))},t.prototype.toString=function(){try{return this.getBlackMatrix().toString()}catch(t){return""}},t}();e.a=o},function(t,e,n){"use strict";var r,o=n(83),i=n(23),a=(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),s=function(t){function e(e){var n=t.call(this,e)||this;return n.matrix=null,n}return a(e,t),e.prototype.getBlackMatrix=function(){if(null!==this.matrix)return this.matrix;var n=this.getLuminanceSource(),r=n.getWidth(),o=n.getHeight();if(r>=e.MINIMUM_DIMENSION&&o>=e.MINIMUM_DIMENSION){var a=n.getMatrix(),s=r>>e.BLOCK_SIZE_POWER;0!=(r&e.BLOCK_SIZE_MASK)&&s++;var u=o>>e.BLOCK_SIZE_POWER;0!=(o&e.BLOCK_SIZE_MASK)&&u++;var l=e.calculateBlackPoints(a,s,u,r,o),c=new i.a(r,o);e.calculateThresholdForBlock(a,s,u,r,o,l,c),this.matrix=c}else this.matrix=t.prototype.getBlackMatrix.call(this);return this.matrix},e.prototype.createBinarizer=function(t){return new e(t)},e.calculateThresholdForBlock=function(t,n,r,o,i,a,s){for(var u=i-e.BLOCK_SIZE,l=o-e.BLOCK_SIZE,c=0;c<r;c++){var f=c<<e.BLOCK_SIZE_POWER;f>u&&(f=u);for(var p=e.cap(c,2,r-3),d=0;d<n;d++){var h=d<<e.BLOCK_SIZE_POWER;h>l&&(h=l);for(var g=e.cap(d,2,n-3),y=0,v=-2;v<=2;v++){var m=a[p+v];y+=m[g-2]+m[g-1]+m[g]+m[g+1]+m[g+2]}var w=y/25;e.thresholdBlock(t,h,f,w,o,s)}}},e.cap=function(t,e,n){return t<e?e:t>n?n:t},e.thresholdBlock=function(t,n,r,o,i,a){for(var s=0,u=r*i+n;s<e.BLOCK_SIZE;s++,u+=i)for(var l=0;l<e.BLOCK_SIZE;l++)(255&t[u+l])<=o&&a.set(n+l,r+s)},e.calculateBlackPoints=function(t,n,r,o,i){for(var a=i-e.BLOCK_SIZE,s=o-e.BLOCK_SIZE,u=new Array(r),l=0;l<r;l++){u[l]=new Int32Array(n);var c=l<<e.BLOCK_SIZE_POWER;c>a&&(c=a);for(var f=0;f<n;f++){var p=f<<e.BLOCK_SIZE_POWER;p>s&&(p=s);for(var d=0,h=255,g=0,y=0,v=c*o+p;y<e.BLOCK_SIZE;y++,v+=o){for(var m=0;m<e.BLOCK_SIZE;m++){var w=255&t[v+m];d+=w,w<h&&(h=w),w>g&&(g=w)}if(g-h>e.MIN_DYNAMIC_RANGE)for(y++,v+=o;y<e.BLOCK_SIZE;y++,v+=o)for(m=0;m<e.BLOCK_SIZE;m++)d+=255&t[v+m]}var E=d>>2*e.BLOCK_SIZE_POWER;if(g-h<=e.MIN_DYNAMIC_RANGE&&(E=h/2,l>0&&f>0)){var b=(u[l-1][f]+2*u[l][f-1]+u[l-1][f-1])/4;h<b&&(E=b)}u[l][f]=E}}return u},e.BLOCK_SIZE_POWER=3,e.BLOCK_SIZE=1<<e.BLOCK_SIZE_POWER,e.BLOCK_SIZE_MASK=e.BLOCK_SIZE-1,e.MINIMUM_DIMENSION=5*e.BLOCK_SIZE,e.MIN_DYNAMIC_RANGE=24,e}(o.a);e.a=s},function(t,e,n){"use strict";var r,o=n(84),i=n(19),a=n(23),s=n(1),u=(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),l=function(t){function e(n){var r=t.call(this,n)||this;return r.luminances=e.EMPTY,r.buckets=new Int32Array(e.LUMINANCE_BUCKETS),r}return u(e,t),e.prototype.getBlackRow=function(t,n){var r=this.getLuminanceSource(),o=r.getWidth();null==n||n.getSize()<o?n=new i.a(o):n.clear(),this.initArrays(o);for(var a=r.getRow(t,this.luminances),s=this.buckets,u=0;u<o;u++)s[(255&a[u])>>e.LUMINANCE_SHIFT]++;var l=e.estimateBlackPoint(s);if(o<3)for(u=0;u<o;u++)(255&a[u])<l&&n.set(u);else{var c=255&a[0],f=255&a[1];for(u=1;u<o-1;u++){var p=255&a[u+1];(4*f-c-p)/2<l&&n.set(u),c=f,f=p}}return n},e.prototype.getBlackMatrix=function(){var t=this.getLuminanceSource(),n=t.getWidth(),r=t.getHeight(),o=new a.a(n,r);this.initArrays(n);for(var i=this.buckets,s=1;s<5;s++)for(var u=Math.floor(r*s/5),l=t.getRow(u,this.luminances),c=Math.floor(4*n/5),f=Math.floor(n/5);f<c;f++){i[(255&l[f])>>e.LUMINANCE_SHIFT]++}var p=e.estimateBlackPoint(i),d=t.getMatrix();for(s=0;s<r;s++){var h=s*n;for(f=0;f<n;f++){(255&d[h+f])<p&&o.set(f,s)}}return o},e.prototype.createBinarizer=function(t){return new e(t)},e.prototype.initArrays=function(t){this.luminances.length<t&&(this.luminances=new Uint8ClampedArray(t));for(var n=this.buckets,r=0;r<e.LUMINANCE_BUCKETS;r++)n[r]=0},e.estimateBlackPoint=function(t){for(var n=t.length,r=0,o=0,i=0,a=0;a<n;a++)t[a]>i&&(o=a,i=t[a]),t[a]>r&&(r=t[a]);var u=0,l=0;for(a=0;a<n;a++){var c=a-o;(h=t[a]*c*c)>l&&(u=a,l=h)}if(o>u){var f=o;o=u,u=f}if(u-o<=n/16)throw new s.a;var p=u-1,d=-1;for(a=u-1;a>o;a--){var h,g=a-o;(h=g*g*(u-a)*(r-t[a]))>d&&(p=a,d=h)}return p<<e.LUMINANCE_SHIFT},e.LUMINANCE_BITS=5,e.LUMINANCE_SHIFT=8-e.LUMINANCE_BITS,e.LUMINANCE_BUCKETS=1<<e.LUMINANCE_BITS,e.EMPTY=Uint8ClampedArray.from([0]),e}(o.a);e.a=l},function(t,e,n){"use strict";var r=function(){function t(t){this.source=t}return t.prototype.getLuminanceSource=function(){return this.source},t.prototype.getWidth=function(){return this.source.getWidth()},t.prototype.getHeight=function(){return this.source.getHeight()},t}();e.a=r},function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var r,o=n(42),i=n(38),a=n(3),s=(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),u=function(t){function e(n){var r=t.call(this,n.width,n.height)||this;return r.canvas=n,r.tempCanvasElement=null,r.buffer=e.makeBufferFromCanvasImageData(n),r}return s(e,t),e.makeBufferFromCanvasImageData=function(t){var n=t.getContext("2d").getImageData(0,0,t.width,t.height);return e.toGrayscaleBuffer(n.data,t.width,t.height)},e.toGrayscaleBuffer=function(t,e,n){for(var r=new Uint8ClampedArray(e*n),o=0,i=0,a=t.length;o<a;o+=4,i++){var s=void 0;if(0===t[o+3])s=255;else s=306*t[o]+601*t[o+1]+117*t[o+2]+512>>10;r[i]=s}return r},e.prototype.getRow=function(t,e){if(t<0||t>=this.getHeight())throw new a.a("Requested row is outside the image: "+t);var n=this.getWidth(),r=t*n;return null===e?e=this.buffer.slice(r,r+n):(e.length<n&&(e=new Uint8ClampedArray(n)),e.set(this.buffer.slice(r,r+n))),e},e.prototype.getMatrix=function(){return this.buffer},e.prototype.isCropSupported=function(){return!0},e.prototype.crop=function(e,n,r,o){return t.prototype.crop.call(this,e,n,r,o),this},e.prototype.isRotateSupported=function(){return!0},e.prototype.rotateCounterClockwise=function(){return this.rotate(-90),this},e.prototype.rotateCounterClockwise45=function(){return this.rotate(-45),this},e.prototype.getTempCanvasElement=function(){if(null===this.tempCanvasElement){var t=this.canvas.ownerDocument.createElement("canvas");t.width=this.canvas.width,t.height=this.canvas.height,this.tempCanvasElement=t}return this.tempCanvasElement},e.prototype.rotate=function(t){var n=this.getTempCanvasElement(),r=n.getContext("2d"),o=t*e.DEGREE_TO_RADIANS,i=this.canvas.width,a=this.canvas.height,s=Math.ceil(Math.abs(Math.cos(o))*i+Math.abs(Math.sin(o))*a),u=Math.ceil(Math.abs(Math.sin(o))*i+Math.abs(Math.cos(o))*a);return n.width=s,n.height=u,r.translate(s/2,u/2),r.rotate(o),r.drawImage(this.canvas,i/-2,a/-2),this.buffer=e.makeBufferFromCanvasImageData(n),this},e.prototype.invert=function(){return new o.a(this)},e.DEGREE_TO_RADIANS=Math.PI/180,e}(i.a)},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r=function(){function t(t,e,n){this.deviceId=t,this.label=e,this.kind="videoinput",this.groupId=n||void 0}return t.prototype.toJSON=function(){return{kind:this.kind,groupId:this.groupId,deviceId:this.deviceId,label:this.label}},t}()},function(t,e,n){"use strict";var r,o=n(46),i=(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),a=function(t){function e(e,n,r,o,i){var a=t.call(this,e,n)||this;return a.compact=r,a.nbDatablocks=o,a.nbLayers=i,a}return i(e,t),e.prototype.getNbLayers=function(){return this.nbLayers},e.prototype.getNbDatablocks=function(){return this.nbDatablocks},e.prototype.isCompact=function(){return this.compact},e}(o.a);e.a=a},function(t,e,n){"use strict";var r,o=n(72),i=n(23),a=n(62),s=n(1),u=(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return u(e,t),e.prototype.sampleGrid=function(t,e,n,r,o,i,s,u,l,c,f,p,d,h,g,y,v,m,w){var E=a.a.quadrilateralToQuadrilateral(r,o,i,s,u,l,c,f,p,d,h,g,y,v,m,w);return this.sampleGridWithTransform(t,e,n,E)},e.prototype.sampleGridWithTransform=function(t,e,n,r){if(e<=0||n<=0)throw new s.a;for(var a=new i.a(e,n),u=new Float32Array(2*e),l=0;l<n;l++){for(var c=u.length,f=l+.5,p=0;p<c;p+=2)u[p]=p/2+.5,u[p+1]=f;r.transformPoints(u),o.a.checkAndNudgePoints(t,u);try{for(p=0;p<c;p+=2)t.get(Math.floor(u[p]),Math.floor(u[p+1]))&&a.set(p/2,l)}catch(t){throw new s.a}}return a},e}(o.a);e.a=l},function(t,e,n){"use strict";var r,o=n(39),i=n(64),a=n(8),s=n(30),u=n(13),l=n(2),c=n(29);!function(t){t[t.PAD_ENCODE=0]="PAD_ENCODE",t[t.ASCII_ENCODE=1]="ASCII_ENCODE",t[t.C40_ENCODE=2]="C40_ENCODE",t[t.TEXT_ENCODE=3]="TEXT_ENCODE",t[t.ANSIX12_ENCODE=4]="ANSIX12_ENCODE",t[t.EDIFACT_ENCODE=5]="EDIFACT_ENCODE",t[t.BASE256_ENCODE=6]="BASE256_ENCODE"}(r||(r={}));var f=function(){function t(){}return t.decode=function(t){var e=new i.a(t),n=new a.a,s=new a.a,u=new Array,c=r.ASCII_ENCODE;do{if(c===r.ASCII_ENCODE)c=this.decodeAsciiSegment(e,n,s);else{switch(c){case r.C40_ENCODE:this.decodeC40Segment(e,n);break;case r.TEXT_ENCODE:this.decodeTextSegment(e,n);break;case r.ANSIX12_ENCODE:this.decodeAnsiX12Segment(e,n);break;case r.EDIFACT_ENCODE:this.decodeEdifactSegment(e,n);break;case r.BASE256_ENCODE:this.decodeBase256Segment(e,n,u);break;default:throw new l.a}c=r.ASCII_ENCODE}}while(c!==r.PAD_ENCODE&&e.available()>0);return s.length()>0&&n.append(s.toString()),new o.a(t,n.toString(),0===u.length?null:u,null)},t.decodeAsciiSegment=function(t,e,n){var o=!1;do{var i=t.readBits(8);if(0===i)throw new l.a;if(i<=128)return o&&(i+=128),e.append(String.fromCharCode(i-1)),r.ASCII_ENCODE;if(129===i)return r.PAD_ENCODE;if(i<=229){var a=i-130;a<10&&e.append("0"),e.append(""+a)}else switch(i){case 230:return r.C40_ENCODE;case 231:return r.BASE256_ENCODE;case 232:e.append(String.fromCharCode(29));break;case 233:case 234:break;case 235:o=!0;break;case 236:e.append("[)> 2 2 05 3 3 "),n.insert(0," … … 5 5 06 6 6 "),n.insert(0," 7 ");break;case 238:return r.ANSIX12_ENCODE;case 239:return r.TEXT_ENCODE;case 240:return r.EDIFACT_ENCODE;case 241:break;default:if(254!==i||0!==t.available())throw new l.a}}while(t.available()>0);return r.ASCII_ENCODE},t.decodeC40Segment=function(t,e){var n=!1,r=[],o=0;do{if(8===t.available())return;var i=t.readBits(8);if(254===i)return;this.parseTwoBytes(i,t.readBits(8),r);for(var a=0;a<3;a++){var s=r[a];switch(o){case 0:if(s<3)o=s+1;else{if(!(s<this.C40_BASIC_SET_CHARS.length))throw new l.a;var u=this.C40_BASIC_SET_CHARS[s];n?(e.append(String.fromCharCode(u.charCodeAt(0)+128)),n=!1):e.append(u)}break;case 1:n?(e.append(String.fromCharCode(s+128)),n=!1):e.append(String.fromCharCode(s)),o=0;break;case 2:if(s<this.C40_SHIFT2_SET_CHARS.length){u=this.C40_SHIFT2_SET_CHARS[s];n?(e.append(String.fromCharCode(u.charCodeAt(0)+128)),n=!1):e.append(u)}else switch(s){case 27:e.append(String.fromCharCode(29));break;case 30:n=!0;break;default:throw new l.a}o=0;break;case 3:n?(e.append(String.fromCharCode(s+224)),n=!1):e.append(String.fromCharCode(s+96)),o=0;break;default:throw new l.a}}}while(t.available()>0)},t.decodeTextSegment=function(t,e){var n=!1,r=[],o=0;do{if(8===t.available())return;var i=t.readBits(8);if(254===i)return;this.parseTwoBytes(i,t.readBits(8),r);for(var a=0;a<3;a++){var s=r[a];switch(o){case 0:if(s<3)o=s+1;else{if(!(s<this.TEXT_BASIC_SET_CHARS.length))throw new l.a;var u=this.TEXT_BASIC_SET_CHARS[s];n?(e.append(String.fromCharCode(u.charCodeAt(0)+128)),n=!1):e.append(u)}break;case 1:n?(e.append(String.fromCharCode(s+128)),n=!1):e.append(String.fromCharCode(s)),o=0;break;case 2:if(s<this.TEXT_SHIFT2_SET_CHARS.length){u=this.TEXT_SHIFT2_SET_CHARS[s];n?(e.append(String.fromCharCode(u.charCodeAt(0)+128)),n=!1):e.append(u)}else switch(s){case 27:e.append(String.fromCharCode(29));break;case 30:n=!0;break;default:throw new l.a}o=0;break;case 3:if(!(s<this.TEXT_SHIFT3_SET_CHARS.length))throw new l.a;u=this.TEXT_SHIFT3_SET_CHARS[s];n?(e.append(String.fromCharCode(u.charCodeAt(0)+128)),n=!1):e.append(u),o=0;break;default:throw new l.a}}}while(t.available()>0)},t.decodeAnsiX12Segment=function(t,e){var n=[];do{if(8===t.available())return;var r=t.readBits(8);if(254===r)return;this.parseTwoBytes(r,t.readBits(8),n);for(var o=0;o<3;o++){var i=n[o];switch(i){case 0:e.append("\r");break;case 1:e.append("*");break;case 2:e.append(">");break;case 3:e.append(" ");break;default:if(i<14)e.append(String.fromCharCode(i+44));else{if(!(i<40))throw new l.a;e.append(String.fromCharCode(i+51))}}}}while(t.available()>0)},t.parseTwoBytes=function(t,e,n){var r=(t<<8)+e-1,o=Math.floor(r/1600);n[0]=o,r-=1600*o,o=Math.floor(r/40),n[1]=o,n[2]=r-40*o},t.decodeEdifactSegment=function(t,e){do{if(t.available()<=16)return;for(var n=0;n<4;n++){var r=t.readBits(6);if(31===r){var o=8-t.getBitOffset();return void(8!==o&&t.readBits(o))}0==(32&r)&&(r|=64),e.append(String.fromCharCode(r))}}while(t.available()>0)},t.decodeBase256Segment=function(t,e,n){var r,o=1+t.getByteOffset(),i=this.unrandomize255State(t.readBits(8),o++);if((r=0===i?t.available()/8|0:i<250?i:250*(i-249)+this.unrandomize255State(t.readBits(8),o++))<0)throw new l.a;for(var a=new Uint8Array(r),f=0;f<r;f++){if(t.available()<8)throw new l.a;a[f]=this.unrandomize255State(t.readBits(8),o++)}n.push(a);try{e.append(s.a.decode(a,u.a.ISO88591))}catch(t){throw new c.a("Platform does not support required encoding: "+t.message)}},t.unrandomize255State=function(t,e){var n=t-(149*e%255+1);return n>=0?n:n+256},t.C40_BASIC_SET_CHARS=["*","*","*"," ","0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],t.C40_SHIFT2_SET_CHARS=["!",'"',"#","$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","?","@","[","\\","]","^","_"],t.TEXT_BASIC_SET_CHARS=["*","*","*"," ","0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"],t.TEXT_SHIFT2_SET_CHARS=t.C40_SHIFT2_SET_CHARS,t.TEXT_SHIFT3_SET_CHARS=["`","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","{","|","}","~",String.fromCharCode(127)],t}();e.a=f},function(t,e,n){"use strict";var r=n(12),o=n(5),i=n(55),a=n(50),s=n(44),u=n(56),l=n(1),c=n(54),f=n(77),p=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},d=function(){function t(){}return t.prototype.decode=function(t,e){return this.setHints(e),this.decodeInternal(t)},t.prototype.decodeWithState=function(t){return null!==this.readers&&void 0!==this.readers||this.setHints(null),this.decodeInternal(t)},t.prototype.setHints=function(t){this.hints=t;var e=null!=t&&void 0!==t.get(r.a.TRY_HARDER),n=null==t?null:t.get(r.a.POSSIBLE_FORMATS),l=new Array;if(null!=n){var f=n.some((function(t){return t===o.a.UPC_A||t===o.a.UPC_E||t===o.a.EAN_13||t===o.a.EAN_8||t===o.a.CODABAR||t===o.a.CODE_39||t===o.a.CODE_93||t===o.a.CODE_128||t===o.a.ITF||t===o.a.RSS_14||t===o.a.RSS_EXPANDED}));f&&!e&&l.push(new s.a(t)),n.includes(o.a.QR_CODE)&&l.push(new i.a),n.includes(o.a.DATA_MATRIX)&&l.push(new u.a),n.includes(o.a.AZTEC)&&l.push(new a.a),n.includes(o.a.PDF_417)&&l.push(new c.a),f&&e&&l.push(new s.a(t))}0===l.length&&(e||l.push(new s.a(t)),l.push(new i.a),l.push(new u.a),l.push(new a.a),l.push(new c.a),e&&l.push(new s.a(t))),this.readers=l},t.prototype.reset=function(){var t,e;if(null!==this.readers)try{for(var n=p(this.readers),r=n.next();!r.done;r=n.next()){r.value.reset()}}catch(e){t={error:e}}finally{try{r&&!r.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}},t.prototype.decodeInternal=function(t){var e,n;if(null===this.readers)throw new f.a("No readers where selected, nothing can be read.");try{for(var r=p(this.readers),o=r.next();!o.done;o=r.next()){var i=o.value;try{return i.decode(t,this.hints)}catch(t){if(t instanceof f.a)continue}}}catch(t){e={error:t}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(e)throw e.error}}throw new l.a("No MultiFormat Readers were able to detect the code.")},t}();e.a=d},function(t,e,n){"use strict";var r=n(64),o=n(20),i=n(39),a=n(13),s=n(2),u=n(8),l=n(30),c=n(16),f=function(){function t(){}return t.decode=function(e,n,a,l){var f=new r.a(e),p=new u.a,d=new Array,h=-1,g=-1;try{var y=null,v=!1,m=void 0;do{if(f.available()<4)m=c.a.TERMINATOR;else{var w=f.readBits(4);m=c.a.forBits(w)}switch(m){case c.a.TERMINATOR:break;case c.a.FNC1_FIRST_POSITION:case c.a.FNC1_SECOND_POSITION:v=!0;break;case c.a.STRUCTURED_APPEND:if(f.available()<16)throw new s.a;h=f.readBits(8),g=f.readBits(8);break;case c.a.ECI:var E=t.parseECIValue(f);if(null===(y=o.a.getCharacterSetECIByValue(E)))throw new s.a;break;case c.a.HANZI:var b=f.readBits(4),_=f.readBits(m.getCharacterCountBits(n));b===t.GB2312_SUBSET&&t.decodeHanziSegment(f,p,_);break;default:var C=f.readBits(m.getCharacterCountBits(n));switch(m){case c.a.NUMERIC:t.decodeNumericSegment(f,p,C);break;case c.a.ALPHANUMERIC:t.decodeAlphanumericSegment(f,p,C,v);break;case c.a.BYTE:t.decodeByteSegment(f,p,C,y,d,l);break;case c.a.KANJI:t.decodeKanjiSegment(f,p,C);break;default:throw new s.a}}}while(m!==c.a.TERMINATOR)}catch(t){throw new s.a}return new i.a(e,p.toString(),0===d.length?null:d,null===a?null:a.toString(),h,g)},t.decodeHanziSegment=function(t,e,n){if(13*n>t.available())throw new s.a;for(var r=new Uint8Array(2*n),o=0;n>0;){var i=t.readBits(13),u=i/96<<8&4294967295|i%96;u+=u<959?41377:42657,r[o]=u>>8&255,r[o+1]=255&u,o+=2,n--}try{e.append(l.a.decode(r,a.a.GB2312))}catch(t){throw new s.a(t)}},t.decodeKanjiSegment=function(t,e,n){if(13*n>t.available())throw new s.a;for(var r=new Uint8Array(2*n),o=0;n>0;){var i=t.readBits(13),u=i/192<<8&4294967295|i%192;u+=u<7936?33088:49472,r[o]=u>>8,r[o+1]=u,o+=2,n--}try{e.append(l.a.decode(r,a.a.SHIFT_JIS))}catch(t){throw new s.a(t)}},t.decodeByteSegment=function(t,e,n,r,o,i){if(8*n>t.available())throw new s.a;for(var u,c=new Uint8Array(n),f=0;f<n;f++)c[f]=t.readBits(8);u=null===r?a.a.guessEncoding(c,i):r.getName();try{e.append(l.a.decode(c,u))}catch(t){throw new s.a(t)}o.push(c)},t.toAlphaNumericChar=function(e){if(e>=t.ALPHANUMERIC_CHARS.length)throw new s.a;return t.ALPHANUMERIC_CHARS[e]},t.decodeAlphanumericSegment=function(e,n,r,o){for(var i=n.length();r>1;){if(e.available()<11)throw new s.a;var a=e.readBits(11);n.append(t.toAlphaNumericChar(Math.floor(a/45))),n.append(t.toAlphaNumericChar(a%45)),r-=2}if(1===r){if(e.available()<6)throw new s.a;n.append(t.toAlphaNumericChar(e.readBits(6)))}if(o)for(var u=i;u<n.length();u++)"%"===n.charAt(u)&&(u<n.length()-1&&"%"===n.charAt(u+1)?n.deleteCharAt(u+1):n.setCharAt(u,String.fromCharCode(29)))},t.decodeNumericSegment=function(e,n,r){for(;r>=3;){if(e.available()<10)throw new s.a;var o=e.readBits(10);if(o>=1e3)throw new s.a;n.append(t.toAlphaNumericChar(Math.floor(o/100))),n.append(t.toAlphaNumericChar(Math.floor(o/10)%10)),n.append(t.toAlphaNumericChar(o%10)),r-=3}if(2===r){if(e.available()<7)throw new s.a;var i=e.readBits(7);if(i>=100)throw new s.a;n.append(t.toAlphaNumericChar(Math.floor(i/10))),n.append(t.toAlphaNumericChar(i%10))}else if(1===r){if(e.available()<4)throw new s.a;var a=e.readBits(4);if(a>=10)throw new s.a;n.append(t.toAlphaNumericChar(a))}},t.parseECIValue=function(t){var e=t.readBits(8);if(0==(128&e))return 127&e;if(128==(192&e))return(63&e)<<8&4294967295|t.readBits(8);if(192==(224&e))return(31&e)<<16&4294967295|t.readBits(16);throw new s.a},t.ALPHANUMERIC_CHARS="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:",t.GB2312_SUBSET=1,t}();e.a=f},function(t,e,n){"use strict";(function(t){var r,o,i=n(2),a=n(20),s=n(39),u=n(93),l=n(24),c=n(8),f=n(7),p=n(108),d=n(134),h=n(30);function g(){if("undefined"!=typeof window)return window.BigInt||null;if(void 0!==t)return t.BigInt||null;if("undefined"!=typeof self)return self.BigInt||null;throw new Error("Can't search globals for BigInt!")}function y(t){if(void 0===o&&(o=g()),null===o)throw new Error("BigInt is not supported!");return o(t)}!function(t){t[t.ALPHA=0]="ALPHA",t[t.LOWER=1]="LOWER",t[t.MIXED=2]="MIXED",t[t.PUNCT=3]="PUNCT",t[t.ALPHA_SHIFT=4]="ALPHA_SHIFT",t[t.PUNCT_SHIFT=5]="PUNCT_SHIFT"}(r||(r={}));var v=function(){function t(){}return t.decode=function(e,n){var r=new c.a(""),o=a.a.ISO8859_1;r.enableDecoding(o);for(var l=1,f=e[l++],p=new u.a;l<e[0];){switch(f){case t.TEXT_COMPACTION_MODE_LATCH:l=t.textCompaction(e,l,r);break;case t.BYTE_COMPACTION_MODE_LATCH:case t.BYTE_COMPACTION_MODE_LATCH_6:l=t.byteCompaction(f,e,o,l,r);break;case t.MODE_SHIFT_TO_BYTE_COMPACTION_MODE:r.append(e[l++]);break;case t.NUMERIC_COMPACTION_MODE_LATCH:l=t.numericCompaction(e,l,r);break;case t.ECI_CHARSET:a.a.getCharacterSetECIByValue(e[l++]);break;case t.ECI_GENERAL_PURPOSE:l+=2;break;case t.ECI_USER_DEFINED:l++;break;case t.BEGIN_MACRO_PDF417_CONTROL_BLOCK:l=t.decodeMacroBlock(e,l,p);break;case t.BEGIN_MACRO_PDF417_OPTIONAL_FIELD:case t.MACRO_PDF417_TERMINATOR:throw new i.a;default:l--,l=t.textCompaction(e,l,r)}if(!(l<e.length))throw i.a.getFormatInstance();f=e[l++]}if(0===r.length())throw i.a.getFormatInstance();var d=new s.a(null,r.toString(),null,n);return d.setOther(p),d},t.decodeMacroBlock=function(e,n,r){if(n+t.NUMBER_OF_SEQUENCE_CODEWORDS>e[0])throw i.a.getFormatInstance();for(var o=new Int32Array(t.NUMBER_OF_SEQUENCE_CODEWORDS),a=0;a<t.NUMBER_OF_SEQUENCE_CODEWORDS;a++,n++)o[a]=e[n];r.setSegmentIndex(f.a.parseInt(t.decodeBase900toBase10(o,t.NUMBER_OF_SEQUENCE_CODEWORDS)));var s=new c.a;n=t.textCompaction(e,n,s),r.setFileId(s.toString());var u=-1;for(e[n]===t.BEGIN_MACRO_PDF417_OPTIONAL_FIELD&&(u=n+1);n<e[0];)switch(e[n]){case t.BEGIN_MACRO_PDF417_OPTIONAL_FIELD:switch(e[++n]){case t.MACRO_PDF417_OPTIONAL_FIELD_FILE_NAME:var d=new c.a;n=t.textCompaction(e,n+1,d),r.setFileName(d.toString());break;case t.MACRO_PDF417_OPTIONAL_FIELD_SENDER:var h=new c.a;n=t.textCompaction(e,n+1,h),r.setSender(h.toString());break;case t.MACRO_PDF417_OPTIONAL_FIELD_ADDRESSEE:var g=new c.a;n=t.textCompaction(e,n+1,g),r.setAddressee(g.toString());break;case t.MACRO_PDF417_OPTIONAL_FIELD_SEGMENT_COUNT:var y=new c.a;n=t.numericCompaction(e,n+1,y),r.setSegmentCount(f.a.parseInt(y.toString()));break;case t.MACRO_PDF417_OPTIONAL_FIELD_TIME_STAMP:var v=new c.a;n=t.numericCompaction(e,n+1,v),r.setTimestamp(p.a.parseLong(v.toString()));break;case t.MACRO_PDF417_OPTIONAL_FIELD_CHECKSUM:var m=new c.a;n=t.numericCompaction(e,n+1,m),r.setChecksum(f.a.parseInt(m.toString()));break;case t.MACRO_PDF417_OPTIONAL_FIELD_FILE_SIZE:var w=new c.a;n=t.numericCompaction(e,n+1,w),r.setFileSize(p.a.parseLong(w.toString()));break;default:throw i.a.getFormatInstance()}break;case t.MACRO_PDF417_TERMINATOR:n++,r.setLastSegment(!0);break;default:throw i.a.getFormatInstance()}if(-1!==u){var E=n-u;r.isLastSegment()&&E--,r.setOptionalData(l.a.copyOfRange(e,u,u+E))}return n},t.textCompaction=function(e,n,r){for(var o=new Int32Array(2*(e[0]-n)),i=new Int32Array(2*(e[0]-n)),a=0,s=!1;n<e[0]&&!s;){var u=e[n++];if(u<t.TEXT_COMPACTION_MODE_LATCH)o[a]=u/30,o[a+1]=u%30,a+=2;else switch(u){case t.TEXT_COMPACTION_MODE_LATCH:o[a++]=t.TEXT_COMPACTION_MODE_LATCH;break;case t.BYTE_COMPACTION_MODE_LATCH:case t.BYTE_COMPACTION_MODE_LATCH_6:case t.NUMERIC_COMPACTION_MODE_LATCH:case t.BEGIN_MACRO_PDF417_CONTROL_BLOCK:case t.BEGIN_MACRO_PDF417_OPTIONAL_FIELD:case t.MACRO_PDF417_TERMINATOR:n--,s=!0;break;case t.MODE_SHIFT_TO_BYTE_COMPACTION_MODE:o[a]=t.MODE_SHIFT_TO_BYTE_COMPACTION_MODE,u=e[n++],i[a]=u,a++}}return t.decodeTextCompaction(o,i,a,r),n},t.decodeTextCompaction=function(e,n,o,i){for(var a=r.ALPHA,s=r.ALPHA,u=0;u<o;){var l=e[u],c="";switch(a){case r.ALPHA:if(l<26)c=String.fromCharCode(65+l);else switch(l){case 26:c=" ";break;case t.LL:a=r.LOWER;break;case t.ML:a=r.MIXED;break;case t.PS:s=a,a=r.PUNCT_SHIFT;break;case t.MODE_SHIFT_TO_BYTE_COMPACTION_MODE:i.append(n[u]);break;case t.TEXT_COMPACTION_MODE_LATCH:a=r.ALPHA}break;case r.LOWER:if(l<26)c=String.fromCharCode(97+l);else switch(l){case 26:c=" ";break;case t.AS:s=a,a=r.ALPHA_SHIFT;break;case t.ML:a=r.MIXED;break;case t.PS:s=a,a=r.PUNCT_SHIFT;break;case t.MODE_SHIFT_TO_BYTE_COMPACTION_MODE:i.append(n[u]);break;case t.TEXT_COMPACTION_MODE_LATCH:a=r.ALPHA}break;case r.MIXED:if(l<t.PL)c=t.MIXED_CHARS[l];else switch(l){case t.PL:a=r.PUNCT;break;case 26:c=" ";break;case t.LL:a=r.LOWER;break;case t.AL:a=r.ALPHA;break;case t.PS:s=a,a=r.PUNCT_SHIFT;break;case t.MODE_SHIFT_TO_BYTE_COMPACTION_MODE:i.append(n[u]);break;case t.TEXT_COMPACTION_MODE_LATCH:a=r.ALPHA}break;case r.PUNCT:if(l<t.PAL)c=t.PUNCT_CHARS[l];else switch(l){case t.PAL:a=r.ALPHA;break;case t.MODE_SHIFT_TO_BYTE_COMPACTION_MODE:i.append(n[u]);break;case t.TEXT_COMPACTION_MODE_LATCH:a=r.ALPHA}break;case r.ALPHA_SHIFT:if(a=s,l<26)c=String.fromCharCode(65+l);else switch(l){case 26:c=" ";break;case t.TEXT_COMPACTION_MODE_LATCH:a=r.ALPHA}break;case r.PUNCT_SHIFT:if(a=s,l<t.PAL)c=t.PUNCT_CHARS[l];else switch(l){case t.PAL:a=r.ALPHA;break;case t.MODE_SHIFT_TO_BYTE_COMPACTION_MODE:i.append(n[u]);break;case t.TEXT_COMPACTION_MODE_LATCH:a=r.ALPHA}}""!==c&&i.append(c),u++}},t.byteCompaction=function(e,n,r,o,i){var a=new d.a,s=0,u=0,l=!1;switch(e){case t.BYTE_COMPACTION_MODE_LATCH:for(var c=new Int32Array(6),f=n[o++];o<n[0]&&!l;)switch(c[s++]=f,u=900*u+f,f=n[o++]){case t.TEXT_COMPACTION_MODE_LATCH:case t.BYTE_COMPACTION_MODE_LATCH:case t.NUMERIC_COMPACTION_MODE_LATCH:case t.BYTE_COMPACTION_MODE_LATCH_6:case t.BEGIN_MACRO_PDF417_CONTROL_BLOCK:case t.BEGIN_MACRO_PDF417_OPTIONAL_FIELD:case t.MACRO_PDF417_TERMINATOR:o--,l=!0;break;default:if(s%5==0&&s>0){for(var p=0;p<6;++p)a.write(Number(y(u)>>y(8*(5-p))));u=0,s=0}}o===n[0]&&f<t.TEXT_COMPACTION_MODE_LATCH&&(c[s++]=f);for(var g=0;g<s;g++)a.write(c[g]);break;case t.BYTE_COMPACTION_MODE_LATCH_6:for(;o<n[0]&&!l;){var v=n[o++];if(v<t.TEXT_COMPACTION_MODE_LATCH)s++,u=900*u+v;else switch(v){case t.TEXT_COMPACTION_MODE_LATCH:case t.BYTE_COMPACTION_MODE_LATCH:case t.NUMERIC_COMPACTION_MODE_LATCH:case t.BYTE_COMPACTION_MODE_LATCH_6:case t.BEGIN_MACRO_PDF417_CONTROL_BLOCK:case t.BEGIN_MACRO_PDF417_OPTIONAL_FIELD:case t.MACRO_PDF417_TERMINATOR:o--,l=!0}if(s%5==0&&s>0){for(p=0;p<6;++p)a.write(Number(y(u)>>y(8*(5-p))));u=0,s=0}}}return i.append(h.a.decode(a.toByteArray(),r)),o},t.numericCompaction=function(e,n,r){for(var o=0,i=!1,a=new Int32Array(t.MAX_NUMERIC_CODEWORDS);n<e[0]&&!i;){var s=e[n++];if(n===e[0]&&(i=!0),s<t.TEXT_COMPACTION_MODE_LATCH)a[o]=s,o++;else switch(s){case t.TEXT_COMPACTION_MODE_LATCH:case t.BYTE_COMPACTION_MODE_LATCH:case t.BYTE_COMPACTION_MODE_LATCH_6:case t.BEGIN_MACRO_PDF417_CONTROL_BLOCK:case t.BEGIN_MACRO_PDF417_OPTIONAL_FIELD:case t.MACRO_PDF417_TERMINATOR:n--,i=!0}(o%t.MAX_NUMERIC_CODEWORDS==0||s===t.NUMERIC_COMPACTION_MODE_LATCH||i)&&o>0&&(r.append(t.decodeBase900toBase10(a,o)),o=0)}return n},t.decodeBase900toBase10=function(e,n){for(var r=y(0),o=0;o<n;o++)r+=t.EXP900[n-o-1]*y(e[o]);var a=r.toString();if("1"!==a.charAt(0))throw new i.a;return a.substring(1)},t.TEXT_COMPACTION_MODE_LATCH=900,t.BYTE_COMPACTION_MODE_LATCH=901,t.NUMERIC_COMPACTION_MODE_LATCH=902,t.BYTE_COMPACTION_MODE_LATCH_6=924,t.ECI_USER_DEFINED=925,t.ECI_GENERAL_PURPOSE=926,t.ECI_CHARSET=927,t.BEGIN_MACRO_PDF417_CONTROL_BLOCK=928,t.BEGIN_MACRO_PDF417_OPTIONAL_FIELD=923,t.MACRO_PDF417_TERMINATOR=922,t.MODE_SHIFT_TO_BYTE_COMPACTION_MODE=913,t.MAX_NUMERIC_CODEWORDS=15,t.MACRO_PDF417_OPTIONAL_FIELD_FILE_NAME=0,t.MACRO_PDF417_OPTIONAL_FIELD_SEGMENT_COUNT=1,t.MACRO_PDF417_OPTIONAL_FIELD_TIME_STAMP=2,t.MACRO_PDF417_OPTIONAL_FIELD_SENDER=3,t.MACRO_PDF417_OPTIONAL_FIELD_ADDRESSEE=4,t.MACRO_PDF417_OPTIONAL_FIELD_FILE_SIZE=5,t.MACRO_PDF417_OPTIONAL_FIELD_CHECKSUM=6,t.PL=25,t.LL=27,t.AS=27,t.ML=28,t.AL=28,t.PS=29,t.PAL=29,t.PUNCT_CHARS=";<>@[\\]_`~!\r\t,:\n-.$/\"|*()?{}'",t.MIXED_CHARS="0123456789&\r\t,:#-.$/+%*=^",t.EXP900=g()?function(){var t=[];t[0]=y(1);var e=y(900);t[1]=e;for(var n=2;n<16;n++)t[n]=t[n-1]*e;return t}():[],t.NUMBER_OF_SEQUENCE_CODEWORDS=2,t}();e.a=v}).call(this,n(143))},function(t,e,n){"use strict";var r=function(){function t(){this.segmentCount=-1,this.fileSize=-1,this.timestamp=-1,this.checksum=-1}return t.prototype.getSegmentIndex=function(){return this.segmentIndex},t.prototype.setSegmentIndex=function(t){this.segmentIndex=t},t.prototype.getFileId=function(){return this.fileId},t.prototype.setFileId=function(t){this.fileId=t},t.prototype.getOptionalData=function(){return this.optionalData},t.prototype.setOptionalData=function(t){this.optionalData=t},t.prototype.isLastSegment=function(){return this.lastSegment},t.prototype.setLastSegment=function(t){this.lastSegment=t},t.prototype.getSegmentCount=function(){return this.segmentCount},t.prototype.setSegmentCount=function(t){this.segmentCount=t},t.prototype.getSender=function(){return this.sender||null},t.prototype.setSender=function(t){this.sender=t},t.prototype.getAddressee=function(){return this.addressee||null},t.prototype.setAddressee=function(t){this.addressee=t},t.prototype.getFileName=function(){return this.fileName},t.prototype.setFileName=function(t){this.fileName=t},t.prototype.getFileSize=function(){return this.fileSize},t.prototype.setFileSize=function(t){this.fileSize=t},t.prototype.getChecksum=function(){return this.checksum},t.prototype.setChecksum=function(t){this.checksum=t},t.prototype.getTimestamp=function(){return this.timestamp},t.prototype.setTimestamp=function(t){this.timestamp=t},t}();e.a=r},function(t,e,n){"use strict";var r=n(24),o=n(8),i=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},a=function(){function t(t,e){this.width=t,this.height=e;for(var n=new Array(e),r=0;r!==e;r++)n[r]=new Uint8Array(t);this.bytes=n}return t.prototype.getHeight=function(){return this.height},t.prototype.getWidth=function(){return this.width},t.prototype.get=function(t,e){return this.bytes[e][t]},t.prototype.getArray=function(){return this.bytes},t.prototype.setNumber=function(t,e,n){this.bytes[e][t]=n},t.prototype.setBoolean=function(t,e,n){this.bytes[e][t]=n?1:0},t.prototype.clear=function(t){var e,n;try{for(var o=i(this.bytes),a=o.next();!a.done;a=o.next()){var s=a.value;r.a.fill(s,t)}}catch(t){e={error:t}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(e)throw e.error}}},t.prototype.equals=function(e){if(!(e instanceof t))return!1;var n=e;if(this.width!==n.width)return!1;if(this.height!==n.height)return!1;for(var r=0,o=this.height;r<o;++r)for(var i=this.bytes[r],a=n.bytes[r],s=0,u=this.width;s<u;++s)if(i[s]!==a[s])return!1;return!0},t.prototype.toString=function(){for(var t=new o.a,e=0,n=this.height;e<n;++e){for(var r=this.bytes[e],i=0,a=this.width;i<a;++i)switch(r[i]){case 0:t.append(" 0");break;case 1:t.append(" 1");break;default:t.append(" ")}t.append("\n")}return t.toString()},t}();e.a=a},function(t,e,n){"use strict";var r=n(5),o=n(25),i=n(23),a=n(41),s=n(67),u=n(3),l=n(29),c=function(){function t(){}return t.prototype.encode=function(e,n,i,l,c){if(0===e.length)throw new u.a("Found empty contents");if(n!==r.a.QR_CODE)throw new u.a("Can only encode QR_CODE, but got "+n);if(i<0||l<0)throw new u.a("Requested dimensions are too small: "+i+"x"+l);var f=a.a.L,p=t.QUIET_ZONE_SIZE;null!==c&&(void 0!==c.get(o.a.ERROR_CORRECTION)&&(f=a.a.fromString(c.get(o.a.ERROR_CORRECTION).toString())),void 0!==c.get(o.a.MARGIN)&&(p=Number.parseInt(c.get(o.a.MARGIN).toString(),10)));var d=s.a.encode(e,f,c);return t.renderResult(d,i,l,p)},t.renderResult=function(t,e,n,r){var o=t.getMatrix();if(null===o)throw new l.a;for(var a=o.getWidth(),s=o.getHeight(),u=a+2*r,c=s+2*r,f=Math.max(e,u),p=Math.max(n,c),d=Math.min(Math.floor(f/u),Math.floor(p/c)),h=Math.floor((f-a*d)/2),g=Math.floor((p-s*d)/2),y=new i.a(f,p),v=0,m=g;v<s;v++,m+=d)for(var w=0,E=h;w<a;w++,E+=d)1===o.get(w,v)&&y.setRegion(E,m,d,d);return y},t.QUIET_ZONE_SIZE=4,t}();e.a=c},function(t,e,n){"use strict";var r,o=n(20),i=(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.forName=function(t){return this.getCharacterSetECIByName(t)},e}(o.a);e.a=a},function(t,e,n){"use strict";var r=n(20),o=function(){function t(){}return t.ISO_8859_1=r.a.ISO8859_1,t}();e.a=o},function(t,e,n){"use strict";var r=function(){function t(){}return t.prototype.isCompact=function(){return this.compact},t.prototype.setCompact=function(t){this.compact=t},t.prototype.getSize=function(){return this.size},t.prototype.setSize=function(t){this.size=t},t.prototype.getLayers=function(){return this.layers},t.prototype.setLayers=function(t){this.layers=t},t.prototype.getCodeWords=function(){return this.codeWords},t.prototype.setCodeWords=function(t){this.codeWords=t},t.prototype.getMatrix=function(){return this.matrix},t.prototype.setMatrix=function(t){this.matrix=t},t}();e.a=r},function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r,o=n(6),i=(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),a=function(t){function e(n){var r=t.call(this,n.width,n.height)||this;return r.canvas=n,r.buffer=e.makeBufferFromCanvasImageData(n),r}return i(e,t),e.makeBufferFromCanvasImageData=function(t){var n=t.getContext("2d");if(!n)throw new Error("Couldn't get canvas context.");var r=n.getImageData(0,0,t.width,t.height);return e.toGrayscaleBuffer(r.data,t.width,t.height)},e.toGrayscaleBuffer=function(t,e,n){for(var r=new Uint8ClampedArray(e*n),o=0,i=0,a=t.length;o<a;o+=4,i++){var s=void 0;if(0===t[o+3])s=255;else s=306*t[o]+601*t[o+1]+117*t[o+2]+512>>10;r[i]=s}return r},e.prototype.getRow=function(t,e){if(t<0||t>=this.getHeight())throw new o.IllegalArgumentException("Requested row is outside the image: "+t);var n=this.getWidth(),r=t*n;return null===e?e=this.buffer.slice(r,r+n):(e.length<n&&(e=new Uint8ClampedArray(n)),e.set(this.buffer.slice(r,r+n))),e},e.prototype.getMatrix=function(){return this.buffer},e.prototype.isCropSupported=function(){return!0},e.prototype.crop=function(e,n,r,o){return t.prototype.crop.call(this,e,n,r,o),this},e.prototype.isRotateSupported=function(){return!0},e.prototype.rotateCounterClockwise=function(){return this.rotate(-90),this},e.prototype.rotateCounterClockwise45=function(){return this.rotate(-45),this},e.prototype.invert=function(){return new o.InvertedLuminanceSource(this)},e.prototype.getTempCanvasElement=function(){if(null===this.tempCanvasElement){var t=this.canvas.ownerDocument.createElement("canvas");t.width=this.canvas.width,t.height=this.canvas.height,this.tempCanvasElement=t}return this.tempCanvasElement},e.prototype.rotate=function(t){var n=this.getTempCanvasElement();if(!n)throw new Error("Could not create a Canvas element.");var r=t*e.DEGREE_TO_RADIANS,o=this.canvas.width,i=this.canvas.height,a=Math.ceil(Math.abs(Math.cos(r))*o+Math.abs(Math.sin(r))*i),s=Math.ceil(Math.abs(Math.sin(r))*o+Math.abs(Math.cos(r))*i);n.width=a,n.height=s;var u=n.getContext("2d");if(!u)throw new Error("Could not create a Convas Context element.");return u.translate(a/2,s/2),u.rotate(r),u.drawImage(this.canvas,o/-2,i/-2),this.buffer=e.makeBufferFromCanvasImageData(n),this},e.DEGREE_TO_RADIANS=Math.PI/180,e}(o.LuminanceSource)},function(t,e,n){"use strict"; var r,o=function(){function t(){}return t.singletonList=function(t){return[t]},t.min=function(t,e){return t.sort(e)[0]},t}(),i=n(19),a=function(){function t(t){this.previous=t}return t.prototype.getPrevious=function(){return this.previous},t}(),s=n(7),u=(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),l=function(t){function e(e,n,r){var o=t.call(this,e)||this;return o.value=n,o.bitCount=r,o}return u(e,t),e.prototype.appendTo=function(t,e){t.appendBits(this.value,this.bitCount)},e.prototype.add=function(t,n){return new e(this,t,n)},e.prototype.addBinaryShift=function(t,n){return console.warn("addBinaryShift on SimpleToken, this simply returns a copy of this token"),new e(this,t,n)},e.prototype.toString=function(){var t=this.value&(1<<this.bitCount)-1;return t|=1<<this.bitCount,"<"+s.a.toBinaryString(t|1<<this.bitCount).substring(1)+">"},e}(a),c=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),f=function(t){function e(e,n,r){var o=t.call(this,e,0,0)||this;return o.binaryShiftStart=n,o.binaryShiftByteCount=r,o}return c(e,t),e.prototype.appendTo=function(t,e){for(var n=0;n<this.binaryShiftByteCount;n++)(0===n||31===n&&this.binaryShiftByteCount<=62)&&(t.appendBits(31,5),this.binaryShiftByteCount>62?t.appendBits(this.binaryShiftByteCount-31,16):0===n?t.appendBits(Math.min(this.binaryShiftByteCount,31),5):t.appendBits(this.binaryShiftByteCount-31,5)),t.appendBits(e[this.binaryShiftStart+n],8)},e.prototype.addBinaryShift=function(t,n){return new e(this,t,n)},e.prototype.toString=function(){return"<"+this.binaryShiftStart+"::"+(this.binaryShiftStart+this.binaryShiftByteCount-1)+">"},e}(l);function p(t,e,n){return new l(t,e,n)}var d=["UPPER","LOWER","DIGIT","MIXED","PUNCT"],h=new l(null,0,0),g=[Int32Array.from([0,327708,327710,327709,656318]),Int32Array.from([590318,0,327710,327709,656318]),Int32Array.from([262158,590300,0,590301,932798]),Int32Array.from([327709,327708,656318,0,327710]),Int32Array.from([327711,656380,656382,656381,0])],y=n(24),v=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};var m=function(t){var e,n;try{for(var r=v(t),o=r.next();!o.done;o=r.next()){var i=o.value;y.a.fill(i,-1)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(e)throw e.error}}return t[0][4]=0,t[1][4]=0,t[1][0]=28,t[3][4]=0,t[2][4]=0,t[2][0]=15,t}(y.a.createInt32Array(6,6)),w=n(13),E=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},b=function(){function t(t,e,n,r){this.token=t,this.mode=e,this.binaryShiftByteCount=n,this.bitCount=r}return t.prototype.getMode=function(){return this.mode},t.prototype.getToken=function(){return this.token},t.prototype.getBinaryShiftByteCount=function(){return this.binaryShiftByteCount},t.prototype.getBitCount=function(){return this.bitCount},t.prototype.latchAndAppend=function(e,n){var r=this.bitCount,o=this.token;if(e!==this.mode){var i=g[this.mode][e];o=p(o,65535&i,i>>16),r+=i>>16}var a=2===e?4:5;return new t(o=p(o,n,a),e,0,r+a)},t.prototype.shiftAndAppend=function(e,n){var r=this.token,o=2===this.mode?4:5;return r=p(r,m[this.mode][e],o),new t(r=p(r,n,5),this.mode,0,this.bitCount+o+5)},t.prototype.addBinaryShiftChar=function(e){var n=this.token,r=this.mode,o=this.bitCount;if(4===this.mode||2===this.mode){var i=g[r][0];n=p(n,65535&i,i>>16),o+=i>>16,r=0}var a=0===this.binaryShiftByteCount||31===this.binaryShiftByteCount?18:62===this.binaryShiftByteCount?9:8,s=new t(n,r,this.binaryShiftByteCount+1,o+a);return 2078===s.binaryShiftByteCount&&(s=s.endBinaryShift(e+1)),s},t.prototype.endBinaryShift=function(e){if(0===this.binaryShiftByteCount)return this;var n=this.token;return new t(n=function(t,e,n){return new f(t,e,n)}(n,e-this.binaryShiftByteCount,this.binaryShiftByteCount),this.mode,0,this.bitCount)},t.prototype.isBetterThanOrEqualTo=function(e){var n=this.bitCount+(g[this.mode][e.mode]>>16);return this.binaryShiftByteCount<e.binaryShiftByteCount?n+=t.calculateBinaryShiftCost(e)-t.calculateBinaryShiftCost(this):this.binaryShiftByteCount>e.binaryShiftByteCount&&e.binaryShiftByteCount>0&&(n+=10),n<=e.bitCount},t.prototype.toBitArray=function(t){for(var e,n,r=[],o=this.endBinaryShift(t.length).token;null!==o;o=o.getPrevious())r.unshift(o);var a=new i.a;try{for(var s=E(r),u=s.next();!u.done;u=s.next()){u.value.appendTo(a,t)}}catch(t){e={error:t}}finally{try{u&&!u.done&&(n=s.return)&&n.call(s)}finally{if(e)throw e.error}}return a},t.prototype.toString=function(){return w.a.format("%s bits=%d bytes=%d",d[this.mode],this.bitCount,this.binaryShiftByteCount)},t.calculateBinaryShiftCost=function(t){return t.binaryShiftByteCount>62?21:t.binaryShiftByteCount>31?20:t.binaryShiftByteCount>0?10:0},t.INITIAL_STATE=new t(h,0,0,0),t}();var _=function(t){var e=w.a.getCharCode(" "),n=w.a.getCharCode("."),r=w.a.getCharCode(",");t[0][e]=1;for(var o=w.a.getCharCode("Z"),i=w.a.getCharCode("A"),a=i;a<=o;a++)t[0][a]=a-i+2;t[1][e]=1;var s=w.a.getCharCode("z"),u=w.a.getCharCode("a");for(a=u;a<=s;a++)t[1][a]=a-u+2;t[2][e]=1;var l=w.a.getCharCode("9"),c=w.a.getCharCode("0");for(a=c;a<=l;a++)t[2][a]=a-c+2;t[2][r]=12,t[2][n]=13;for(var f=["\0"," ","","","","","","","","\b","\t","\n","\v","\f","\r","","7 ");break;case 238:return r.ANSIX12_ENCODE;case 239:return r.TEXT_ENCODE;case 240:return r.EDIFACT_ENCODE;case 241:break;default:if(254!==i||0!==t.available())throw new l.a}}while(t.available()>0);return r.ASCII_ENCODE},t.decodeC40Segment=function(t,e){var n=!1,r=[],o=0;do{if(8===t.available())return;var i=t.readBits(8);if(254===i)return;this.parseTwoBytes(i,t.readBits(8),r);for(var a=0;a<3;a++){var s=r[a];switch(o){case 0:if(s<3)o=s+1;else{if(!(s<this.C40_BASIC_SET_CHARS.length))throw new l.a;var u=this.C40_BASIC_SET_CHARS[s];n?(e.append(String.fromCharCode(u.charCodeAt(0)+128)),n=!1):e.append(u)}break;case 1:n?(e.append(String.fromCharCode(s+128)),n=!1):e.append(String.fromCharCode(s)),o=0;break;case 2:if(s<this.C40_SHIFT2_SET_CHARS.length){u=this.C40_SHIFT2_SET_CHARS[s];n?(e.append(String.fromCharCode(u.charCodeAt(0)+128)),n=!1):e.append(u)}else switch(s){case 27:e.append(String.fromCharCode(29));break;case 30:n=!0;break;default:throw new l.a}o=0;break;case 3:n?(e.append(String.fromCharCode(s+224)),n=!1):e.append(String.fromCharCode(s+96)),o=0;break;default:throw new l.a}}}while(t.available()>0)},t.decodeTextSegment=function(t,e){var n=!1,r=[],o=0;do{if(8===t.available())return;var i=t.readBits(8);if(254===i)return;this.parseTwoBytes(i,t.readBits(8),r);for(var a=0;a<3;a++){var s=r[a];switch(o){case 0:if(s<3)o=s+1;else{if(!(s<this.TEXT_BASIC_SET_CHARS.length))throw new l.a;var u=this.TEXT_BASIC_SET_CHARS[s];n?(e.append(String.fromCharCode(u.charCodeAt(0)+128)),n=!1):e.append(u)}break;case 1:n?(e.append(String.fromCharCode(s+128)),n=!1):e.append(String.fromCharCode(s)),o=0;break;case 2:if(s<this.TEXT_SHIFT2_SET_CHARS.length){u=this.TEXT_SHIFT2_SET_CHARS[s];n?(e.append(String.fromCharCode(u.charCodeAt(0)+128)),n=!1):e.append(u)}else switch(s){case 27:e.append(String.fromCharCode(29));break;case 30:n=!0;break;default:throw new l.a}o=0;break;case 3:if(!(s<this.TEXT_SHIFT3_SET_CHARS.length))throw new l.a;u=this.TEXT_SHIFT3_SET_CHARS[s];n?(e.append(String.fromCharCode(u.charCodeAt(0)+128)),n=!1):e.append(u),o=0;break;default:throw new l.a}}}while(t.available()>0)},t.decodeAnsiX12Segment=function(t,e){var n=[];do{if(8===t.available())return;var r=t.readBits(8);if(254===r)return;this.parseTwoBytes(r,t.readBits(8),n);for(var o=0;o<3;o++){var i=n[o];switch(i){case 0:e.append("\r");break;case 1:e.append("*");break;case 2:e.append(">");break;case 3:e.append(" ");break;default:if(i<14)e.append(String.fromCharCode(i+44));else{if(!(i<40))throw new l.a;e.append(String.fromCharCode(i+51))}}}}while(t.available()>0)},t.parseTwoBytes=function(t,e,n){var r=(t<<8)+e-1,o=Math.floor(r/1600);n[0]=o,r-=1600*o,o=Math.floor(r/40),n[1]=o,n[2]=r-40*o},t.decodeEdifactSegment=function(t,e){do{if(t.available()<=16)return;for(var n=0;n<4;n++){var r=t.readBits(6);if(31===r){var o=8-t.getBitOffset();return void(8!==o&&t.readBits(o))}0==(32&r)&&(r|=64),e.append(String.fromCharCode(r))}}while(t.available()>0)},t.decodeBase256Segment=function(t,e,n){var r,o=1+t.getByteOffset(),i=this.unrandomize255State(t.readBits(8),o++);if((r=0===i?t.available()/8|0:i<250?i:250*(i-249)+this.unrandomize255State(t.readBits(8),o++))<0)throw new l.a;for(var a=new Uint8Array(r),f=0;f<r;f++){if(t.available()<8)throw new l.a;a[f]=this.unrandomize255State(t.readBits(8),o++)}n.push(a);try{e.append(s.a.decode(a,u.a.ISO88591))}catch(t){throw new c.a("Platform does not support required encoding: "+t.message)}},t.unrandomize255State=function(t,e){var n=t-(149*e%255+1);return n>=0?n:n+256},t.C40_BASIC_SET_CHARS=["*","*","*"," ","0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],t.C40_SHIFT2_SET_CHARS=["!",'"',"#","$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","?","@","[","\\","]","^","_"],t.TEXT_BASIC_SET_CHARS=["*","*","*"," ","0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"],t.TEXT_SHIFT2_SET_CHARS=t.C40_SHIFT2_SET_CHARS,t.TEXT_SHIFT3_SET_CHARS=["`","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","{","|","}","~",String.fromCharCode(127)],t}();e.a=f},function(t,e,n){"use strict";var r=n(12),o=n(5),i=n(55),a=n(50),s=n(44),u=n(56),l=n(1),c=n(54),f=n(77),p=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},d=function(){function t(){}return t.prototype.decode=function(t,e){return this.setHints(e),this.decodeInternal(t)},t.prototype.decodeWithState=function(t){return null!==this.readers&&void 0!==this.readers||this.setHints(null),this.decodeInternal(t)},t.prototype.setHints=function(t){this.hints=t;var e=null!=t&&void 0!==t.get(r.a.TRY_HARDER),n=null==t?null:t.get(r.a.POSSIBLE_FORMATS),l=new Array;if(null!=n){var f=n.some((function(t){return t===o.a.UPC_A||t===o.a.UPC_E||t===o.a.EAN_13||t===o.a.EAN_8||t===o.a.CODABAR||t===o.a.CODE_39||t===o.a.CODE_93||t===o.a.CODE_128||t===o.a.ITF||t===o.a.RSS_14||t===o.a.RSS_EXPANDED}));f&&!e&&l.push(new s.a(t)),n.includes(o.a.QR_CODE)&&l.push(new i.a),n.includes(o.a.DATA_MATRIX)&&l.push(new u.a),n.includes(o.a.AZTEC)&&l.push(new a.a),n.includes(o.a.PDF_417)&&l.push(new c.a),f&&e&&l.push(new s.a(t))}0===l.length&&(e||l.push(new s.a(t)),l.push(new i.a),l.push(new u.a),l.push(new a.a),l.push(new c.a),e&&l.push(new s.a(t))),this.readers=l},t.prototype.reset=function(){var t,e;if(null!==this.readers)try{for(var n=p(this.readers),r=n.next();!r.done;r=n.next()){r.value.reset()}}catch(e){t={error:e}}finally{try{r&&!r.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}},t.prototype.decodeInternal=function(t){var e,n;if(null===this.readers)throw new f.a("No readers where selected, nothing can be read.");try{for(var r=p(this.readers),o=r.next();!o.done;o=r.next()){var i=o.value;try{return i.decode(t,this.hints)}catch(t){if(t instanceof f.a)continue}}}catch(t){e={error:t}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(e)throw e.error}}throw new l.a("No MultiFormat Readers were able to detect the code.")},t}();e.a=d},function(t,e,n){"use strict";var r=n(64),o=n(20),i=n(39),a=n(13),s=n(2),u=n(8),l=n(30),c=n(16),f=function(){function t(){}return t.decode=function(e,n,a,l){var f=new r.a(e),p=new u.a,d=new Array,h=-1,g=-1;try{var y=null,v=!1,m=void 0;do{if(f.available()<4)m=c.a.TERMINATOR;else{var w=f.readBits(4);m=c.a.forBits(w)}switch(m){case c.a.TERMINATOR:break;case c.a.FNC1_FIRST_POSITION:case c.a.FNC1_SECOND_POSITION:v=!0;break;case c.a.STRUCTURED_APPEND:if(f.available()<16)throw new s.a;h=f.readBits(8),g=f.readBits(8);break;case c.a.ECI:var E=t.parseECIValue(f);if(null===(y=o.a.getCharacterSetECIByValue(E)))throw new s.a;break;case c.a.HANZI:var b=f.readBits(4),_=f.readBits(m.getCharacterCountBits(n));b===t.GB2312_SUBSET&&t.decodeHanziSegment(f,p,_);break;default:var C=f.readBits(m.getCharacterCountBits(n));switch(m){case c.a.NUMERIC:t.decodeNumericSegment(f,p,C);break;case c.a.ALPHANUMERIC:t.decodeAlphanumericSegment(f,p,C,v);break;case c.a.BYTE:t.decodeByteSegment(f,p,C,y,d,l);break;case c.a.KANJI:t.decodeKanjiSegment(f,p,C);break;default:throw new s.a}}}while(m!==c.a.TERMINATOR)}catch(t){throw new s.a}return new i.a(e,p.toString(),0===d.length?null:d,null===a?null:a.toString(),h,g)},t.decodeHanziSegment=function(t,e,n){if(13*n>t.available())throw new s.a;for(var r=new Uint8Array(2*n),o=0;n>0;){var i=t.readBits(13),u=i/96<<8&4294967295|i%96;u+=u<959?41377:42657,r[o]=u>>8&255,r[o+1]=255&u,o+=2,n--}try{e.append(l.a.decode(r,a.a.GB2312))}catch(t){throw new s.a(t)}},t.decodeKanjiSegment=function(t,e,n){if(13*n>t.available())throw new s.a;for(var r=new Uint8Array(2*n),o=0;n>0;){var i=t.readBits(13),u=i/192<<8&4294967295|i%192;u+=u<7936?33088:49472,r[o]=u>>8,r[o+1]=u,o+=2,n--}try{e.append(l.a.decode(r,a.a.SHIFT_JIS))}catch(t){throw new s.a(t)}},t.decodeByteSegment=function(t,e,n,r,o,i){if(8*n>t.available())throw new s.a;for(var u,c=new Uint8Array(n),f=0;f<n;f++)c[f]=t.readBits(8);u=null===r?a.a.guessEncoding(c,i):r.getName();try{e.append(l.a.decode(c,u))}catch(t){throw new s.a(t)}o.push(c)},t.toAlphaNumericChar=function(e){if(e>=t.ALPHANUMERIC_CHARS.length)throw new s.a;return t.ALPHANUMERIC_CHARS[e]},t.decodeAlphanumericSegment=function(e,n,r,o){for(var i=n.length();r>1;){if(e.available()<11)throw new s.a;var a=e.readBits(11);n.append(t.toAlphaNumericChar(Math.floor(a/45))),n.append(t.toAlphaNumericChar(a%45)),r-=2}if(1===r){if(e.available()<6)throw new s.a;n.append(t.toAlphaNumericChar(e.readBits(6)))}if(o)for(var u=i;u<n.length();u++)"%"===n.charAt(u)&&(u<n.length()-1&&"%"===n.charAt(u+1)?n.deleteCharAt(u+1):n.setCharAt(u,String.fromCharCode(29)))},t.decodeNumericSegment=function(e,n,r){for(;r>=3;){if(e.available()<10)throw new s.a;var o=e.readBits(10);if(o>=1e3)throw new s.a;n.append(t.toAlphaNumericChar(Math.floor(o/100))),n.append(t.toAlphaNumericChar(Math.floor(o/10)%10)),n.append(t.toAlphaNumericChar(o%10)),r-=3}if(2===r){if(e.available()<7)throw new s.a;var i=e.readBits(7);if(i>=100)throw new s.a;n.append(t.toAlphaNumericChar(Math.floor(i/10))),n.append(t.toAlphaNumericChar(i%10))}else if(1===r){if(e.available()<4)throw new s.a;var a=e.readBits(4);if(a>=10)throw new s.a;n.append(t.toAlphaNumericChar(a))}},t.parseECIValue=function(t){var e=t.readBits(8);if(0==(128&e))return 127&e;if(128==(192&e))return(63&e)<<8&4294967295|t.readBits(8);if(192==(224&e))return(31&e)<<16&4294967295|t.readBits(16);throw new s.a},t.ALPHANUMERIC_CHARS="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:",t.GB2312_SUBSET=1,t}();e.a=f},function(t,e,n){"use strict";(function(t){var r,o,i=n(2),a=n(20),s=n(39),u=n(93),l=n(24),c=n(8),f=n(7),p=n(108),d=n(134),h=n(30);function g(){if("undefined"!=typeof window)return window.BigInt||null;if(void 0!==t)return t.BigInt||null;if("undefined"!=typeof self)return self.BigInt||null;throw new Error("Can't search globals for BigInt!")}function y(t){if(void 0===o&&(o=g()),null===o)throw new Error("BigInt is not supported!");return o(t)}!function(t){t[t.ALPHA=0]="ALPHA",t[t.LOWER=1]="LOWER",t[t.MIXED=2]="MIXED",t[t.PUNCT=3]="PUNCT",t[t.ALPHA_SHIFT=4]="ALPHA_SHIFT",t[t.PUNCT_SHIFT=5]="PUNCT_SHIFT"}(r||(r={}));var v=function(){function t(){}return t.decode=function(e,n){var r=new c.a(""),o=a.a.ISO8859_1;r.enableDecoding(o);for(var l=1,f=e[l++],p=new u.a;l<e[0];){switch(f){case t.TEXT_COMPACTION_MODE_LATCH:l=t.textCompaction(e,l,r);break;case t.BYTE_COMPACTION_MODE_LATCH:case t.BYTE_COMPACTION_MODE_LATCH_6:l=t.byteCompaction(f,e,o,l,r);break;case t.MODE_SHIFT_TO_BYTE_COMPACTION_MODE:r.append(e[l++]);break;case t.NUMERIC_COMPACTION_MODE_LATCH:l=t.numericCompaction(e,l,r);break;case t.ECI_CHARSET:a.a.getCharacterSetECIByValue(e[l++]);break;case t.ECI_GENERAL_PURPOSE:l+=2;break;case t.ECI_USER_DEFINED:l++;break;case t.BEGIN_MACRO_PDF417_CONTROL_BLOCK:l=t.decodeMacroBlock(e,l,p);break;case t.BEGIN_MACRO_PDF417_OPTIONAL_FIELD:case t.MACRO_PDF417_TERMINATOR:throw new i.a;default:l--,l=t.textCompaction(e,l,r)}if(!(l<e.length))throw i.a.getFormatInstance();f=e[l++]}if(0===r.length())throw i.a.getFormatInstance();var d=new s.a(null,r.toString(),null,n);return d.setOther(p),d},t.decodeMacroBlock=function(e,n,r){if(n+t.NUMBER_OF_SEQUENCE_CODEWORDS>e[0])throw i.a.getFormatInstance();for(var o=new Int32Array(t.NUMBER_OF_SEQUENCE_CODEWORDS),a=0;a<t.NUMBER_OF_SEQUENCE_CODEWORDS;a++,n++)o[a]=e[n];r.setSegmentIndex(f.a.parseInt(t.decodeBase900toBase10(o,t.NUMBER_OF_SEQUENCE_CODEWORDS)));var s=new c.a;n=t.textCompaction(e,n,s),r.setFileId(s.toString());var u=-1;for(e[n]===t.BEGIN_MACRO_PDF417_OPTIONAL_FIELD&&(u=n+1);n<e[0];)switch(e[n]){case t.BEGIN_MACRO_PDF417_OPTIONAL_FIELD:switch(e[++n]){case t.MACRO_PDF417_OPTIONAL_FIELD_FILE_NAME:var d=new c.a;n=t.textCompaction(e,n+1,d),r.setFileName(d.toString());break;case t.MACRO_PDF417_OPTIONAL_FIELD_SENDER:var h=new c.a;n=t.textCompaction(e,n+1,h),r.setSender(h.toString());break;case t.MACRO_PDF417_OPTIONAL_FIELD_ADDRESSEE:var g=new c.a;n=t.textCompaction(e,n+1,g),r.setAddressee(g.toString());break;case t.MACRO_PDF417_OPTIONAL_FIELD_SEGMENT_COUNT:var y=new c.a;n=t.numericCompaction(e,n+1,y),r.setSegmentCount(f.a.parseInt(y.toString()));break;case t.MACRO_PDF417_OPTIONAL_FIELD_TIME_STAMP:var v=new c.a;n=t.numericCompaction(e,n+1,v),r.setTimestamp(p.a.parseLong(v.toString()));break;case t.MACRO_PDF417_OPTIONAL_FIELD_CHECKSUM:var m=new c.a;n=t.numericCompaction(e,n+1,m),r.setChecksum(f.a.parseInt(m.toString()));break;case t.MACRO_PDF417_OPTIONAL_FIELD_FILE_SIZE:var w=new c.a;n=t.numericCompaction(e,n+1,w),r.setFileSize(p.a.parseLong(w.toString()));break;default:throw i.a.getFormatInstance()}break;case t.MACRO_PDF417_TERMINATOR:n++,r.setLastSegment(!0);break;default:throw i.a.getFormatInstance()}if(-1!==u){var E=n-u;r.isLastSegment()&&E--,r.setOptionalData(l.a.copyOfRange(e,u,u+E))}return n},t.textCompaction=function(e,n,r){for(var o=new Int32Array(2*(e[0]-n)),i=new Int32Array(2*(e[0]-n)),a=0,s=!1;n<e[0]&&!s;){var u=e[n++];if(u<t.TEXT_COMPACTION_MODE_LATCH)o[a]=u/30,o[a+1]=u%30,a+=2;else switch(u){case t.TEXT_COMPACTION_MODE_LATCH:o[a++]=t.TEXT_COMPACTION_MODE_LATCH;break;case t.BYTE_COMPACTION_MODE_LATCH:case t.BYTE_COMPACTION_MODE_LATCH_6:case t.NUMERIC_COMPACTION_MODE_LATCH:case t.BEGIN_MACRO_PDF417_CONTROL_BLOCK:case t.BEGIN_MACRO_PDF417_OPTIONAL_FIELD:case t.MACRO_PDF417_TERMINATOR:n--,s=!0;break;case t.MODE_SHIFT_TO_BYTE_COMPACTION_MODE:o[a]=t.MODE_SHIFT_TO_BYTE_COMPACTION_MODE,u=e[n++],i[a]=u,a++}}return t.decodeTextCompaction(o,i,a,r),n},t.decodeTextCompaction=function(e,n,o,i){for(var a=r.ALPHA,s=r.ALPHA,u=0;u<o;){var l=e[u],c="";switch(a){case r.ALPHA:if(l<26)c=String.fromCharCode(65+l);else switch(l){case 26:c=" ";break;case t.LL:a=r.LOWER;break;case t.ML:a=r.MIXED;break;case t.PS:s=a,a=r.PUNCT_SHIFT;break;case t.MODE_SHIFT_TO_BYTE_COMPACTION_MODE:i.append(n[u]);break;case t.TEXT_COMPACTION_MODE_LATCH:a=r.ALPHA}break;case r.LOWER:if(l<26)c=String.fromCharCode(97+l);else switch(l){case 26:c=" ";break;case t.AS:s=a,a=r.ALPHA_SHIFT;break;case t.ML:a=r.MIXED;break;case t.PS:s=a,a=r.PUNCT_SHIFT;break;case t.MODE_SHIFT_TO_BYTE_COMPACTION_MODE:i.append(n[u]);break;case t.TEXT_COMPACTION_MODE_LATCH:a=r.ALPHA}break;case r.MIXED:if(l<t.PL)c=t.MIXED_CHARS[l];else switch(l){case t.PL:a=r.PUNCT;break;case 26:c=" ";break;case t.LL:a=r.LOWER;break;case t.AL:a=r.ALPHA;break;case t.PS:s=a,a=r.PUNCT_SHIFT;break;case t.MODE_SHIFT_TO_BYTE_COMPACTION_MODE:i.append(n[u]);break;case t.TEXT_COMPACTION_MODE_LATCH:a=r.ALPHA}break;case r.PUNCT:if(l<t.PAL)c=t.PUNCT_CHARS[l];else switch(l){case t.PAL:a=r.ALPHA;break;case t.MODE_SHIFT_TO_BYTE_COMPACTION_MODE:i.append(n[u]);break;case t.TEXT_COMPACTION_MODE_LATCH:a=r.ALPHA}break;case r.ALPHA_SHIFT:if(a=s,l<26)c=String.fromCharCode(65+l);else switch(l){case 26:c=" ";break;case t.TEXT_COMPACTION_MODE_LATCH:a=r.ALPHA}break;case r.PUNCT_SHIFT:if(a=s,l<t.PAL)c=t.PUNCT_CHARS[l];else switch(l){case t.PAL:a=r.ALPHA;break;case t.MODE_SHIFT_TO_BYTE_COMPACTION_MODE:i.append(n[u]);break;case t.TEXT_COMPACTION_MODE_LATCH:a=r.ALPHA}}""!==c&&i.append(c),u++}},t.byteCompaction=function(e,n,r,o,i){var a=new d.a,s=0,u=0,l=!1;switch(e){case t.BYTE_COMPACTION_MODE_LATCH:for(var c=new Int32Array(6),f=n[o++];o<n[0]&&!l;)switch(c[s++]=f,u=900*u+f,f=n[o++]){case t.TEXT_COMPACTION_MODE_LATCH:case t.BYTE_COMPACTION_MODE_LATCH:case t.NUMERIC_COMPACTION_MODE_LATCH:case t.BYTE_COMPACTION_MODE_LATCH_6:case t.BEGIN_MACRO_PDF417_CONTROL_BLOCK:case t.BEGIN_MACRO_PDF417_OPTIONAL_FIELD:case t.MACRO_PDF417_TERMINATOR:o--,l=!0;break;default:if(s%5==0&&s>0){for(var p=0;p<6;++p)a.write(Number(y(u)>>y(8*(5-p))));u=0,s=0}}o===n[0]&&f<t.TEXT_COMPACTION_MODE_LATCH&&(c[s++]=f);for(var g=0;g<s;g++)a.write(c[g]);break;case t.BYTE_COMPACTION_MODE_LATCH_6:for(;o<n[0]&&!l;){var v=n[o++];if(v<t.TEXT_COMPACTION_MODE_LATCH)s++,u=900*u+v;else switch(v){case t.TEXT_COMPACTION_MODE_LATCH:case t.BYTE_COMPACTION_MODE_LATCH:case t.NUMERIC_COMPACTION_MODE_LATCH:case t.BYTE_COMPACTION_MODE_LATCH_6:case t.BEGIN_MACRO_PDF417_CONTROL_BLOCK:case t.BEGIN_MACRO_PDF417_OPTIONAL_FIELD:case t.MACRO_PDF417_TERMINATOR:o--,l=!0}if(s%5==0&&s>0){for(p=0;p<6;++p)a.write(Number(y(u)>>y(8*(5-p))));u=0,s=0}}}return i.append(h.a.decode(a.toByteArray(),r)),o},t.numericCompaction=function(e,n,r){for(var o=0,i=!1,a=new Int32Array(t.MAX_NUMERIC_CODEWORDS);n<e[0]&&!i;){var s=e[n++];if(n===e[0]&&(i=!0),s<t.TEXT_COMPACTION_MODE_LATCH)a[o]=s,o++;else switch(s){case t.TEXT_COMPACTION_MODE_LATCH:case t.BYTE_COMPACTION_MODE_LATCH:case t.BYTE_COMPACTION_MODE_LATCH_6:case t.BEGIN_MACRO_PDF417_CONTROL_BLOCK:case t.BEGIN_MACRO_PDF417_OPTIONAL_FIELD:case t.MACRO_PDF417_TERMINATOR:n--,i=!0}(o%t.MAX_NUMERIC_CODEWORDS==0||s===t.NUMERIC_COMPACTION_MODE_LATCH||i)&&o>0&&(r.append(t.decodeBase900toBase10(a,o)),o=0)}return n},t.decodeBase900toBase10=function(e,n){for(var r=y(0),o=0;o<n;o++)r+=t.EXP900[n-o-1]*y(e[o]);var a=r.toString();if("1"!==a.charAt(0))throw new i.a;return a.substring(1)},t.TEXT_COMPACTION_MODE_LATCH=900,t.BYTE_COMPACTION_MODE_LATCH=901,t.NUMERIC_COMPACTION_MODE_LATCH=902,t.BYTE_COMPACTION_MODE_LATCH_6=924,t.ECI_USER_DEFINED=925,t.ECI_GENERAL_PURPOSE=926,t.ECI_CHARSET=927,t.BEGIN_MACRO_PDF417_CONTROL_BLOCK=928,t.BEGIN_MACRO_PDF417_OPTIONAL_FIELD=923,t.MACRO_PDF417_TERMINATOR=922,t.MODE_SHIFT_TO_BYTE_COMPACTION_MODE=913,t.MAX_NUMERIC_CODEWORDS=15,t.MACRO_PDF417_OPTIONAL_FIELD_FILE_NAME=0,t.MACRO_PDF417_OPTIONAL_FIELD_SEGMENT_COUNT=1,t.MACRO_PDF417_OPTIONAL_FIELD_TIME_STAMP=2,t.MACRO_PDF417_OPTIONAL_FIELD_SENDER=3,t.MACRO_PDF417_OPTIONAL_FIELD_ADDRESSEE=4,t.MACRO_PDF417_OPTIONAL_FIELD_FILE_SIZE=5,t.MACRO_PDF417_OPTIONAL_FIELD_CHECKSUM=6,t.PL=25,t.LL=27,t.AS=27,t.ML=28,t.AL=28,t.PS=29,t.PAL=29,t.PUNCT_CHARS=";<>@[\\]_`~!\r\t,:\n-.$/\"|*()?{}'",t.MIXED_CHARS="0123456789&\r\t,:#-.$/+%*=^",t.EXP900=g()?function(){var t=[];t[0]=y(1);var e=y(900);t[1]=e;for(var n=2;n<16;n++)t[n]=t[n-1]*e;return t}():[],t.NUMBER_OF_SEQUENCE_CODEWORDS=2,t}();e.a=v}).call(this,n(143))},function(t,e,n){"use strict";var r=function(){function t(){this.segmentCount=-1,this.fileSize=-1,this.timestamp=-1,this.checksum=-1}return t.prototype.getSegmentIndex=function(){return this.segmentIndex},t.prototype.setSegmentIndex=function(t){this.segmentIndex=t},t.prototype.getFileId=function(){return this.fileId},t.prototype.setFileId=function(t){this.fileId=t},t.prototype.getOptionalData=function(){return this.optionalData},t.prototype.setOptionalData=function(t){this.optionalData=t},t.prototype.isLastSegment=function(){return this.lastSegment},t.prototype.setLastSegment=function(t){this.lastSegment=t},t.prototype.getSegmentCount=function(){return this.segmentCount},t.prototype.setSegmentCount=function(t){this.segmentCount=t},t.prototype.getSender=function(){return this.sender||null},t.prototype.setSender=function(t){this.sender=t},t.prototype.getAddressee=function(){return this.addressee||null},t.prototype.setAddressee=function(t){this.addressee=t},t.prototype.getFileName=function(){return this.fileName},t.prototype.setFileName=function(t){this.fileName=t},t.prototype.getFileSize=function(){return this.fileSize},t.prototype.setFileSize=function(t){this.fileSize=t},t.prototype.getChecksum=function(){return this.checksum},t.prototype.setChecksum=function(t){this.checksum=t},t.prototype.getTimestamp=function(){return this.timestamp},t.prototype.setTimestamp=function(t){this.timestamp=t},t}();e.a=r},function(t,e,n){"use strict";var r=n(24),o=n(8),i=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},a=function(){function t(t,e){this.width=t,this.height=e;for(var n=new Array(e),r=0;r!==e;r++)n[r]=new Uint8Array(t);this.bytes=n}return t.prototype.getHeight=function(){return this.height},t.prototype.getWidth=function(){return this.width},t.prototype.get=function(t,e){return this.bytes[e][t]},t.prototype.getArray=function(){return this.bytes},t.prototype.setNumber=function(t,e,n){this.bytes[e][t]=n},t.prototype.setBoolean=function(t,e,n){this.bytes[e][t]=n?1:0},t.prototype.clear=function(t){var e,n;try{for(var o=i(this.bytes),a=o.next();!a.done;a=o.next()){var s=a.value;r.a.fill(s,t)}}catch(t){e={error:t}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(e)throw e.error}}},t.prototype.equals=function(e){if(!(e instanceof t))return!1;var n=e;if(this.width!==n.width)return!1;if(this.height!==n.height)return!1;for(var r=0,o=this.height;r<o;++r)for(var i=this.bytes[r],a=n.bytes[r],s=0,u=this.width;s<u;++s)if(i[s]!==a[s])return!1;return!0},t.prototype.toString=function(){for(var t=new o.a,e=0,n=this.height;e<n;++e){for(var r=this.bytes[e],i=0,a=this.width;i<a;++i)switch(r[i]){case 0:t.append(" 0");break;case 1:t.append(" 1");break;default:t.append(" ")}t.append("\n")}return t.toString()},t}();e.a=a},function(t,e,n){"use strict";var r=n(5),o=n(25),i=n(23),a=n(41),s=n(67),u=n(3),l=n(29),c=function(){function t(){}return t.prototype.encode=function(e,n,i,l,c){if(0===e.length)throw new u.a("Found empty contents");if(n!==r.a.QR_CODE)throw new u.a("Can only encode QR_CODE, but got "+n);if(i<0||l<0)throw new u.a("Requested dimensions are too small: "+i+"x"+l);var f=a.a.L,p=t.QUIET_ZONE_SIZE;null!==c&&(void 0!==c.get(o.a.ERROR_CORRECTION)&&(f=a.a.fromString(c.get(o.a.ERROR_CORRECTION).toString())),void 0!==c.get(o.a.MARGIN)&&(p=Number.parseInt(c.get(o.a.MARGIN).toString(),10)));var d=s.a.encode(e,f,c);return t.renderResult(d,i,l,p)},t.renderResult=function(t,e,n,r){var o=t.getMatrix();if(null===o)throw new l.a;for(var a=o.getWidth(),s=o.getHeight(),u=a+2*r,c=s+2*r,f=Math.max(e,u),p=Math.max(n,c),d=Math.min(Math.floor(f/u),Math.floor(p/c)),h=Math.floor((f-a*d)/2),g=Math.floor((p-s*d)/2),y=new i.a(f,p),v=0,m=g;v<s;v++,m+=d)for(var w=0,E=h;w<a;w++,E+=d)1===o.get(w,v)&&y.setRegion(E,m,d,d);return y},t.QUIET_ZONE_SIZE=4,t}();e.a=c},function(t,e,n){"use strict";var r,o=n(20),i=(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.forName=function(t){return this.getCharacterSetECIByName(t)},e}(o.a);e.a=a},function(t,e,n){"use strict";var r=n(20),o=function(){function t(){}return t.ISO_8859_1=r.a.ISO8859_1,t}();e.a=o},function(t,e,n){"use strict";var r=function(){function t(){}return t.prototype.isCompact=function(){return this.compact},t.prototype.setCompact=function(t){this.compact=t},t.prototype.getSize=function(){return this.size},t.prototype.setSize=function(t){this.size=t},t.prototype.getLayers=function(){return this.layers},t.prototype.setLayers=function(t){this.layers=t},t.prototype.getCodeWords=function(){return this.codeWords},t.prototype.setCodeWords=function(t){this.codeWords=t},t.prototype.getMatrix=function(){return this.matrix},t.prototype.setMatrix=function(t){this.matrix=t},t}();e.a=r},function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r,o=n(6),i=(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),a=function(t){function e(n){var r=t.call(this,n.width,n.height)||this;return r.canvas=n,r.buffer=e.makeBufferFromCanvasImageData(n),r}return i(e,t),e.makeBufferFromCanvasImageData=function(t){var n=t.getContext("2d");if(!n)throw new Error("Couldn't get canvas context.");var r=n.getImageData(0,0,t.width,t.height);return e.toGrayscaleBuffer(r.data,t.width,t.height)},e.toGrayscaleBuffer=function(t,e,n){for(var r=new Uint8ClampedArray(e*n),o=0,i=0,a=t.length;o<a;o+=4,i++){var s=void 0;if(0===t[o+3])s=255;else s=306*t[o]+601*t[o+1]+117*t[o+2]+512>>10;r[i]=s}return r},e.prototype.getRow=function(t,e){if(t<0||t>=this.getHeight())throw new o.IllegalArgumentException("Requested row is outside the image: "+t);var n=this.getWidth(),r=t*n;return null===e?e=this.buffer.slice(r,r+n):(e.length<n&&(e=new Uint8ClampedArray(n)),e.set(this.buffer.slice(r,r+n))),e},e.prototype.getMatrix=function(){return this.buffer},e.prototype.isCropSupported=function(){return!0},e.prototype.crop=function(e,n,r,o){return t.prototype.crop.call(this,e,n,r,o),this},e.prototype.isRotateSupported=function(){return!0},e.prototype.rotateCounterClockwise=function(){return this.rotate(-90),this},e.prototype.rotateCounterClockwise45=function(){return this.rotate(-45),this},e.prototype.invert=function(){return new o.InvertedLuminanceSource(this)},e.prototype.getTempCanvasElement=function(){if(null===this.tempCanvasElement){var t=this.canvas.ownerDocument.createElement("canvas");t.width=this.canvas.width,t.height=this.canvas.height,this.tempCanvasElement=t}return this.tempCanvasElement},e.prototype.rotate=function(t){var n=this.getTempCanvasElement();if(!n)throw new Error("Could not create a Canvas element.");var r=t*e.DEGREE_TO_RADIANS,o=this.canvas.width,i=this.canvas.height,a=Math.ceil(Math.abs(Math.cos(r))*o+Math.abs(Math.sin(r))*i),s=Math.ceil(Math.abs(Math.sin(r))*o+Math.abs(Math.cos(r))*i);n.width=a,n.height=s;var u=n.getContext("2d");if(!u)throw new Error("Could not create a Convas Context element.");return u.translate(a/2,s/2),u.rotate(r),u.drawImage(this.canvas,o/-2,i/-2),this.buffer=e.makeBufferFromCanvasImageData(n),this},e.DEGREE_TO_RADIANS=Math.PI/180,e}(o.LuminanceSource)},function(t,e,n){"use strict";n.d(e,"a",(function(){return R}));var r,o=n(29),i=n(70),a=n(63),s=(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),u=function(t){function e(e){return t.call(this,e)||this}return s(e,t),e.prototype.encodeCompressedGtin=function(t,e){t.append("(01)");var n=t.length();t.append("9"),this.encodeCompressedGtinWithoutAI(t,e,n)},e.prototype.encodeCompressedGtinWithoutAI=function(t,n,r){for(var o=0;o<4;++o){var i=this.getGeneralDecoder().extractNumericValueFromBitArray(n+10*o,10);i/100==0&&t.append("0"),i/10==0&&t.append("0"),t.append(i)}e.appendCheckDigit(t,r)},e.appendCheckDigit=function(t,e){for(var n=0,r=0;r<13;r++){var o=t.charAt(r+e).charCodeAt(0)-"0".charCodeAt(0);n+=0==(1&r)?3*o:o}10===(n=10-n%10)&&(n=0),t.append(n)},e.GTIN_SIZE=40,e}(a.a),l=n(8),c=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),f=function(t){function e(e){return t.call(this,e)||this}return c(e,t),e.prototype.parseInformation=function(){var t=new l.a;t.append("(01)");var n=t.length(),r=this.getGeneralDecoder().extractNumericValueFromBitArray(e.HEADER_SIZE,4);return t.append(r),this.encodeCompressedGtinWithoutAI(t,e.HEADER_SIZE+4,n),this.getGeneralDecoder().decodeAllCodes(t,e.HEADER_SIZE+44)},e.HEADER_SIZE=4,e}(u),p=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),d=function(t){function e(e){return t.call(this,e)||this}return p(e,t),e.prototype.parseInformation=function(){var t=new l.a;return this.getGeneralDecoder().decodeAllCodes(t,e.HEADER_SIZE)},e.HEADER_SIZE=5,e}(a.a),h=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),g=function(t){function e(e){return t.call(this,e)||this}return h(e,t),e.prototype.encodeCompressedWeight=function(t,e,n){var r=this.getGeneralDecoder().extractNumericValueFromBitArray(e,n);this.addWeightCode(t,r);for(var o=this.checkWeight(r),i=1e5,a=0;a<5;++a)o/i==0&&t.append("0"),i/=10;t.append(o)},e}(u),y=n(1),v=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),m=function(t){function e(e){return t.call(this,e)||this}return v(e,t),e.prototype.parseInformation=function(){if(this.getInformation().getSize()!=e.HEADER_SIZE+g.GTIN_SIZE+e.WEIGHT_SIZE)throw new y.a;var t=new l.a;return this.encodeCompressedGtin(t,e.HEADER_SIZE),this.encodeCompressedWeight(t,e.HEADER_SIZE+g.GTIN_SIZE,e.WEIGHT_SIZE),t.toString()},e.HEADER_SIZE=5,e.WEIGHT_SIZE=15,e}(g),w=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),E=function(t){function e(e){return t.call(this,e)||this}return w(e,t),e.prototype.addWeightCode=function(t,e){t.append("(3103)")},e.prototype.checkWeight=function(t){return t},e}(m),b=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),_=function(t){function e(e){return t.call(this,e)||this}return b(e,t),e.prototype.addWeightCode=function(t,e){e<1e4?t.append("(3202)"):t.append("(3203)")},e.prototype.checkWeight=function(t){return t<1e4?t:t-1e4},e}(m),C=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),S=function(t){function e(e){return t.call(this,e)||this}return C(e,t),e.prototype.parseInformation=function(){if(this.getInformation().getSize()<e.HEADER_SIZE+u.GTIN_SIZE)throw new y.a;var t=new l.a;this.encodeCompressedGtin(t,e.HEADER_SIZE);var n=this.getGeneralDecoder().extractNumericValueFromBitArray(e.HEADER_SIZE+u.GTIN_SIZE,e.LAST_DIGIT_SIZE);t.append("(392"),t.append(n),t.append(")");var r=this.getGeneralDecoder().decodeGeneralPurposeField(e.HEADER_SIZE+u.GTIN_SIZE+e.LAST_DIGIT_SIZE,null);return t.append(r.getNewString()),t.toString()},e.HEADER_SIZE=8,e.LAST_DIGIT_SIZE=2,e}(u),A=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),O=function(t){function e(e){return t.call(this,e)||this}return A(e,t),e.prototype.parseInformation=function(){if(this.getInformation().getSize()<e.HEADER_SIZE+u.GTIN_SIZE)throw new y.a;var t=new l.a;this.encodeCompressedGtin(t,e.HEADER_SIZE);var n=this.getGeneralDecoder().extractNumericValueFromBitArray(e.HEADER_SIZE+u.GTIN_SIZE,e.LAST_DIGIT_SIZE);t.append("(393"),t.append(n),t.append(")");var r=this.getGeneralDecoder().extractNumericValueFromBitArray(e.HEADER_SIZE+u.GTIN_SIZE+e.LAST_DIGIT_SIZE,e.FIRST_THREE_DIGITS_SIZE);r/100==0&&t.append("0"),r/10==0&&t.append("0"),t.append(r);var o=this.getGeneralDecoder().decodeGeneralPurposeField(e.HEADER_SIZE+u.GTIN_SIZE+e.LAST_DIGIT_SIZE+e.FIRST_THREE_DIGITS_SIZE,null);return t.append(o.getNewString()),t.toString()},e.HEADER_SIZE=8,e.LAST_DIGIT_SIZE=2,e.FIRST_THREE_DIGITS_SIZE=10,e}(u),I=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),T=function(t){function e(e,n,r){var o=t.call(this,e)||this;return o.dateCode=r,o.firstAIdigits=n,o}return I(e,t),e.prototype.parseInformation=function(){if(this.getInformation().getSize()!=e.HEADER_SIZE+e.GTIN_SIZE+e.WEIGHT_SIZE+e.DATE_SIZE)throw new y.a;var t=new l.a;return this.encodeCompressedGtin(t,e.HEADER_SIZE),this.encodeCompressedWeight(t,e.HEADER_SIZE+e.GTIN_SIZE,e.WEIGHT_SIZE),this.encodeCompressedDate(t,e.HEADER_SIZE+e.GTIN_SIZE+e.WEIGHT_SIZE),t.toString()},e.prototype.encodeCompressedDate=function(t,n){var r=this.getGeneralDecoder().extractNumericValueFromBitArray(n,e.DATE_SIZE);if(38400!=r){t.append("("),t.append(this.dateCode),t.append(")");var o=r%32,i=(r/=32)%12+1,a=r/=12;a/10==0&&t.append("0"),t.append(a),i/10==0&&t.append("0"),t.append(i),o/10==0&&t.append("0"),t.append(o)}},e.prototype.addWeightCode=function(t,e){t.append("("),t.append(this.firstAIdigits),t.append(e/1e5),t.append(")")},e.prototype.checkWeight=function(t){return t%1e5},e.HEADER_SIZE=8,e.WEIGHT_SIZE=20,e.DATE_SIZE=16,e}(g);function R(t){try{if(t.get(1))return new f(t);if(!t.get(2))return new d(t);switch(i.a.extractNumericValueFromBitArray(t,1,4)){case 4:return new E(t);case 5:return new _(t)}switch(i.a.extractNumericValueFromBitArray(t,1,5)){case 12:return new S(t);case 13:return new O(t)}switch(i.a.extractNumericValueFromBitArray(t,1,7)){case 56:return new T(t,"310","11");case 57:return new T(t,"320","11");case 58:return new T(t,"310","13");case 59:return new T(t,"320","13");case 60:return new T(t,"310","15");case 61:return new T(t,"320","15");case 62:return new T(t,"310","17");case 63:return new T(t,"320","17")}}catch(e){throw console.log(e),new o.a("unknown decoder: "+t)}}},function(t,e,n){"use strict";var r,o=function(){function t(){}return t.singletonList=function(t){return[t]},t.min=function(t,e){return t.sort(e)[0]},t}(),i=n(19),a=function(){function t(t){this.previous=t}return t.prototype.getPrevious=function(){return this.previous},t}(),s=n(7),u=(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),l=function(t){function e(e,n,r){var o=t.call(this,e)||this;return o.value=n,o.bitCount=r,o}return u(e,t),e.prototype.appendTo=function(t,e){t.appendBits(this.value,this.bitCount)},e.prototype.add=function(t,n){return new e(this,t,n)},e.prototype.addBinaryShift=function(t,n){return console.warn("addBinaryShift on SimpleToken, this simply returns a copy of this token"),new e(this,t,n)},e.prototype.toString=function(){var t=this.value&(1<<this.bitCount)-1;return t|=1<<this.bitCount,"<"+s.a.toBinaryString(t|1<<this.bitCount).substring(1)+">"},e}(a),c=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),f=function(t){function e(e,n,r){var o=t.call(this,e,0,0)||this;return o.binaryShiftStart=n,o.binaryShiftByteCount=r,o}return c(e,t),e.prototype.appendTo=function(t,e){for(var n=0;n<this.binaryShiftByteCount;n++)(0===n||31===n&&this.binaryShiftByteCount<=62)&&(t.appendBits(31,5),this.binaryShiftByteCount>62?t.appendBits(this.binaryShiftByteCount-31,16):0===n?t.appendBits(Math.min(this.binaryShiftByteCount,31),5):t.appendBits(this.binaryShiftByteCount-31,5)),t.appendBits(e[this.binaryShiftStart+n],8)},e.prototype.addBinaryShift=function(t,n){return new e(this,t,n)},e.prototype.toString=function(){return"<"+this.binaryShiftStart+"::"+(this.binaryShiftStart+this.binaryShiftByteCount-1)+">"},e}(l);function p(t,e,n){return new l(t,e,n)}var d=["UPPER","LOWER","DIGIT","MIXED","PUNCT"],h=new l(null,0,0),g=[Int32Array.from([0,327708,327710,327709,656318]),Int32Array.from([590318,0,327710,327709,656318]),Int32Array.from([262158,590300,0,590301,932798]),Int32Array.from([327709,327708,656318,0,327710]),Int32Array.from([327711,656380,656382,656381,0])],y=n(24),v=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};var m=function(t){var e,n;try{for(var r=v(t),o=r.next();!o.done;o=r.next()){var i=o.value;y.a.fill(i,-1)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(e)throw e.error}}return t[0][4]=0,t[1][4]=0,t[1][0]=28,t[3][4]=0,t[2][4]=0,t[2][0]=15,t}(y.a.createInt32Array(6,6)),w=n(13),E=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},b=function(){function t(t,e,n,r){this.token=t,this.mode=e,this.binaryShiftByteCount=n,this.bitCount=r}return t.prototype.getMode=function(){return this.mode},t.prototype.getToken=function(){return this.token},t.prototype.getBinaryShiftByteCount=function(){return this.binaryShiftByteCount},t.prototype.getBitCount=function(){return this.bitCount},t.prototype.latchAndAppend=function(e,n){var r=this.bitCount,o=this.token;if(e!==this.mode){var i=g[this.mode][e];o=p(o,65535&i,i>>16),r+=i>>16}var a=2===e?4:5;return new t(o=p(o,n,a),e,0,r+a)},t.prototype.shiftAndAppend=function(e,n){var r=this.token,o=2===this.mode?4:5;return r=p(r,m[this.mode][e],o),new t(r=p(r,n,5),this.mode,0,this.bitCount+o+5)},t.prototype.addBinaryShiftChar=function(e){var n=this.token,r=this.mode,o=this.bitCount;if(4===this.mode||2===this.mode){var i=g[r][0];n=p(n,65535&i,i>>16),o+=i>>16,r=0}var a=0===this.binaryShiftByteCount||31===this.binaryShiftByteCount?18:62===this.binaryShiftByteCount?9:8,s=new t(n,r,this.binaryShiftByteCount+1,o+a);return 2078===s.binaryShiftByteCount&&(s=s.endBinaryShift(e+1)),s},t.prototype.endBinaryShift=function(e){if(0===this.binaryShiftByteCount)return this;var n=this.token;return new t(n=function(t,e,n){return new f(t,e,n)}(n,e-this.binaryShiftByteCount,this.binaryShiftByteCount),this.mode,0,this.bitCount)},t.prototype.isBetterThanOrEqualTo=function(e){var n=this.bitCount+(g[this.mode][e.mode]>>16);return this.binaryShiftByteCount<e.binaryShiftByteCount?n+=t.calculateBinaryShiftCost(e)-t.calculateBinaryShiftCost(this):this.binaryShiftByteCount>e.binaryShiftByteCount&&e.binaryShiftByteCount>0&&(n+=10),n<=e.bitCount},t.prototype.toBitArray=function(t){for(var e,n,r=[],o=this.endBinaryShift(t.length).token;null!==o;o=o.getPrevious())r.unshift(o);var a=new i.a;try{for(var s=E(r),u=s.next();!u.done;u=s.next()){u.value.appendTo(a,t)}}catch(t){e={error:t}}finally{try{u&&!u.done&&(n=s.return)&&n.call(s)}finally{if(e)throw e.error}}return a},t.prototype.toString=function(){return w.a.format("%s bits=%d bytes=%d",d[this.mode],this.bitCount,this.binaryShiftByteCount)},t.calculateBinaryShiftCost=function(t){return t.binaryShiftByteCount>62?21:t.binaryShiftByteCount>31?20:t.binaryShiftByteCount>0?10:0},t.INITIAL_STATE=new t(h,0,0,0),t}();var _=function(t){var e=w.a.getCharCode(" "),n=w.a.getCharCode("."),r=w.a.getCharCode(",");t[0][e]=1;for(var o=w.a.getCharCode("Z"),i=w.a.getCharCode("A"),a=i;a<=o;a++)t[0][a]=a-i+2;t[1][e]=1;var s=w.a.getCharCode("z"),u=w.a.getCharCode("a");for(a=u;a<=s;a++)t[1][a]=a-u+2;t[2][e]=1;var l=w.a.getCharCode("9"),c=w.a.getCharCode("0");for(a=c;a<=l;a++)t[2][a]=a-c+2;t[2][r]=12,t[2][n]=13;for(var f=["\0"," ","","","","","","","","\b","\t","\n","\v","\f","\r",""," 8 8 "," 9 9 "," 10 ","","@","\\","^","_","`","|","~",""],p=0;p<f.length;p++)t[3][w.a.getCharCode(f[p])]=p;var d=["\0","\r","\0","\0","\0","\0","!","'","#","$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","?","[","]","{","}"];for(p=0;p<d.length;p++)w.a.getCharCode(d[p])>0&&(t[4][w.a.getCharCode(d[p])]=p);return t}(y.a.createInt32Array(5,256)),C=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},S=function(){function t(t){this.text=t}return t.prototype.encode=function(){for(var e=w.a.getCharCode(" "),n=w.a.getCharCode("\n"),r=o.singletonList(b.INITIAL_STATE),i=0;i<this.text.length;i++){var a=void 0,s=i+1<this.text.length?this.text[i+1]:0;switch(this.text[i]){case w.a.getCharCode("\r"):a=s===n?2:0;break;case w.a.getCharCode("."):a=s===e?3:0;break;case w.a.getCharCode(","):a=s===e?4:0;break;case w.a.getCharCode(":"):a=s===e?5:0;break;default:a=0}a>0?(r=t.updateStateListForPair(r,i,a),i++):r=this.updateStateListForChar(r,i)}return o.min(r,(function(t,e){return t.getBitCount()-e.getBitCount()})).toBitArray(this.text)},t.prototype.updateStateListForChar=function(e,n){var r,o,i=[];try{for(var a=C(e),s=a.next();!s.done;s=a.next()){var u=s.value;this.updateStateForChar(u,n,i)}}catch(t){r={error:t}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(r)throw r.error}}return t.simplifyStates(i)},t.prototype.updateStateForChar=function(t,e,n){for(var r=255&this.text[e],o=_[t.getMode()][r]>0,i=null,a=0;a<=4;a++){var s=_[a][r];if(s>0){if(null==i&&(i=t.endBinaryShift(e)),!o||a===t.getMode()||2===a){var u=i.latchAndAppend(a,s);n.push(u)}if(!o&&m[t.getMode()][a]>=0){var l=i.shiftAndAppend(a,s);n.push(l)}}}if(t.getBinaryShiftByteCount()>0||0===_[t.getMode()][r]){var c=t.addBinaryShiftChar(e);n.push(c)}},t.updateStateListForPair=function(t,e,n){var r,o,i=[];try{for(var a=C(t),s=a.next();!s.done;s=a.next()){var u=s.value;this.updateStateForPair(u,e,n,i)}}catch(t){r={error:t}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(r)throw r.error}}return this.simplifyStates(i)},t.updateStateForPair=function(t,e,n,r){var o=t.endBinaryShift(e);if(r.push(o.latchAndAppend(4,n)),4!==t.getMode()&&r.push(o.shiftAndAppend(4,n)),3===n||4===n){var i=o.latchAndAppend(2,16-n).latchAndAppend(2,1);r.push(i)}if(t.getBinaryShiftByteCount()>0){var a=t.addBinaryShiftChar(e).addBinaryShiftChar(e+1);r.push(a)}},t.simplifyStates=function(t){var e,n,r,o,i=[];try{for(var a=C(t),s=a.next();!s.done;s=a.next()){var u=s.value,l=!0,c=function(t){if(t.isBetterThanOrEqualTo(u))return l=!1,"break";u.isBetterThanOrEqualTo(t)&&(i=i.filter((function(e){return e!==t})))};try{for(var f=(r=void 0,C(i)),p=f.next();!p.done;p=f.next()){if("break"===c(p.value))break}}catch(t){r={error:t}}finally{try{p&&!p.done&&(o=f.return)&&o.call(f)}finally{if(r)throw r.error}}l&&i.push(u)}}catch(t){e={error:t}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(e)throw e.error}}return i},t}();e.a=S},function(t,e,n){"use strict"; n.d(e,"a",(function(){return R}));var r,o=n(29),i=n(70),a=n(63),s=(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),u=function(t){function e(e){return t.call(this,e)||this}return s(e,t),e.prototype.encodeCompressedGtin=function(t,e){t.append("(01)");var n=t.length();t.append("9"),this.encodeCompressedGtinWithoutAI(t,e,n)},e.prototype.encodeCompressedGtinWithoutAI=function(t,n,r){for(var o=0;o<4;++o){var i=this.getGeneralDecoder().extractNumericValueFromBitArray(n+10*o,10);i/100==0&&t.append("0"),i/10==0&&t.append("0"),t.append(i)}e.appendCheckDigit(t,r)},e.appendCheckDigit=function(t,e){for(var n=0,r=0;r<13;r++){var o=t.charAt(r+e).charCodeAt(0)-"0".charCodeAt(0);n+=0==(1&r)?3*o:o}10===(n=10-n%10)&&(n=0),t.append(n)},e.GTIN_SIZE=40,e}(a.a),l=n(8),c=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),f=function(t){function e(e){return t.call(this,e)||this}return c(e,t),e.prototype.parseInformation=function(){var t=new l.a;t.append("(01)");var n=t.length(),r=this.getGeneralDecoder().extractNumericValueFromBitArray(e.HEADER_SIZE,4);return t.append(r),this.encodeCompressedGtinWithoutAI(t,e.HEADER_SIZE+4,n),this.getGeneralDecoder().decodeAllCodes(t,e.HEADER_SIZE+44)},e.HEADER_SIZE=4,e}(u),p=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),d=function(t){function e(e){return t.call(this,e)||this}return p(e,t),e.prototype.parseInformation=function(){var t=new l.a;return this.getGeneralDecoder().decodeAllCodes(t,e.HEADER_SIZE)},e.HEADER_SIZE=5,e}(a.a),h=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),g=function(t){function e(e){return t.call(this,e)||this}return h(e,t),e.prototype.encodeCompressedWeight=function(t,e,n){var r=this.getGeneralDecoder().extractNumericValueFromBitArray(e,n);this.addWeightCode(t,r);for(var o=this.checkWeight(r),i=1e5,a=0;a<5;++a)o/i==0&&t.append("0"),i/=10;t.append(o)},e}(u),y=n(1),v=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),m=function(t){function e(e){return t.call(this,e)||this}return v(e,t),e.prototype.parseInformation=function(){if(this.getInformation().getSize()!=e.HEADER_SIZE+g.GTIN_SIZE+e.WEIGHT_SIZE)throw new y.a;var t=new l.a;return this.encodeCompressedGtin(t,e.HEADER_SIZE),this.encodeCompressedWeight(t,e.HEADER_SIZE+g.GTIN_SIZE,e.WEIGHT_SIZE),t.toString()},e.HEADER_SIZE=5,e.WEIGHT_SIZE=15,e}(g),w=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),E=function(t){function e(e){return t.call(this,e)||this}return w(e,t),e.prototype.addWeightCode=function(t,e){t.append("(3103)")},e.prototype.checkWeight=function(t){return t},e}(m),b=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),_=function(t){function e(e){return t.call(this,e)||this}return b(e,t),e.prototype.addWeightCode=function(t,e){e<1e4?t.append("(3202)"):t.append("(3203)")},e.prototype.checkWeight=function(t){return t<1e4?t:t-1e4},e}(m),C=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),S=function(t){function e(e){return t.call(this,e)||this}return C(e,t),e.prototype.parseInformation=function(){if(this.getInformation().getSize()<e.HEADER_SIZE+u.GTIN_SIZE)throw new y.a;var t=new l.a;this.encodeCompressedGtin(t,e.HEADER_SIZE);var n=this.getGeneralDecoder().extractNumericValueFromBitArray(e.HEADER_SIZE+u.GTIN_SIZE,e.LAST_DIGIT_SIZE);t.append("(392"),t.append(n),t.append(")");var r=this.getGeneralDecoder().decodeGeneralPurposeField(e.HEADER_SIZE+u.GTIN_SIZE+e.LAST_DIGIT_SIZE,null);return t.append(r.getNewString()),t.toString()},e.HEADER_SIZE=8,e.LAST_DIGIT_SIZE=2,e}(u),A=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),O=function(t){function e(e){return t.call(this,e)||this}return A(e,t),e.prototype.parseInformation=function(){if(this.getInformation().getSize()<e.HEADER_SIZE+u.GTIN_SIZE)throw new y.a;var t=new l.a;this.encodeCompressedGtin(t,e.HEADER_SIZE);var n=this.getGeneralDecoder().extractNumericValueFromBitArray(e.HEADER_SIZE+u.GTIN_SIZE,e.LAST_DIGIT_SIZE);t.append("(393"),t.append(n),t.append(")");var r=this.getGeneralDecoder().extractNumericValueFromBitArray(e.HEADER_SIZE+u.GTIN_SIZE+e.LAST_DIGIT_SIZE,e.FIRST_THREE_DIGITS_SIZE);r/100==0&&t.append("0"),r/10==0&&t.append("0"),t.append(r);var o=this.getGeneralDecoder().decodeGeneralPurposeField(e.HEADER_SIZE+u.GTIN_SIZE+e.LAST_DIGIT_SIZE+e.FIRST_THREE_DIGITS_SIZE,null);return t.append(o.getNewString()),t.toString()},e.HEADER_SIZE=8,e.LAST_DIGIT_SIZE=2,e.FIRST_THREE_DIGITS_SIZE=10,e}(u),I=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),T=function(t){function e(e,n,r){var o=t.call(this,e)||this;return o.dateCode=r,o.firstAIdigits=n,o}return I(e,t),e.prototype.parseInformation=function(){if(this.getInformation().getSize()!=e.HEADER_SIZE+e.GTIN_SIZE+e.WEIGHT_SIZE+e.DATE_SIZE)throw new y.a;var t=new l.a;return this.encodeCompressedGtin(t,e.HEADER_SIZE),this.encodeCompressedWeight(t,e.HEADER_SIZE+e.GTIN_SIZE,e.WEIGHT_SIZE),this.encodeCompressedDate(t,e.HEADER_SIZE+e.GTIN_SIZE+e.WEIGHT_SIZE),t.toString()},e.prototype.encodeCompressedDate=function(t,n){var r=this.getGeneralDecoder().extractNumericValueFromBitArray(n,e.DATE_SIZE);if(38400!=r){t.append("("),t.append(this.dateCode),t.append(")");var o=r%32,i=(r/=32)%12+1,a=r/=12;a/10==0&&t.append("0"),t.append(a),i/10==0&&t.append("0"),t.append(i),o/10==0&&t.append("0"),t.append(o)}},e.prototype.addWeightCode=function(t,e){t.append("("),t.append(this.firstAIdigits),t.append(e/1e5),t.append(")")},e.prototype.checkWeight=function(t){return t%1e5},e.HEADER_SIZE=8,e.WEIGHT_SIZE=20,e.DATE_SIZE=16,e}(g);function R(t){try{if(t.get(1))return new f(t);if(!t.get(2))return new d(t);switch(i.a.extractNumericValueFromBitArray(t,1,4)){case 4:return new E(t);case 5:return new _(t)}switch(i.a.extractNumericValueFromBitArray(t,1,5)){case 12:return new S(t);case 13:return new O(t)}switch(i.a.extractNumericValueFromBitArray(t,1,7)){case 56:return new T(t,"310","11");case 57:return new T(t,"320","11");case 58:return new T(t,"310","13");case 59:return new T(t,"320","13");case 60:return new T(t,"310","15");case 61:return new T(t,"320","15");case 62:return new T(t,"310","17");case 63:return new T(t,"320","17")}}catch(e){throw console.log(e),new o.a("unknown decoder: "+t)}}},function(t,e,n){"use strict";var r,o=n(5),i=n(10),a=n(1),s=n(14),u=n(9),l=n(45),c=n(58),f=n(104),p=n(49),d=n(19),h=function(){function t(){}return t.buildBitArray=function(t){var e=2*t.length-1;null==t[t.length-1].getRightChar()&&(e-=1);for(var n=12*e,r=new d.a(n),o=0,i=t[0].getRightChar().getValue(),a=11;a>=0;--a)0!=(i&1<<a)&&r.set(o),o++;for(a=1;a<t.length;++a){for(var s=t[a],u=s.getLeftChar().getValue(),l=11;l>=0;--l)0!=(u&1<<l)&&r.set(o),o++;if(null!=s.getRightChar()){var c=s.getRightChar().getValue();for(l=11;l>=0;--l)0!=(c&1<<l)&&r.set(o),o++}}return r},t}(),g=n(101),y=function(){function t(t,e,n,r){this.leftchar=t,this.rightchar=e,this.finderpattern=n,this.maybeLast=r}return t.prototype.mayBeLast=function(){return this.maybeLast},t.prototype.getLeftChar=function(){return this.leftchar},t.prototype.getRightChar=function(){return this.rightchar},t.prototype.getFinderPattern=function(){return this.finderpattern},t.prototype.mustBeLast=function(){return null==this.rightchar},t.prototype.toString=function(){return"[ "+this.leftchar+", "+this.rightchar+" : "+(null==this.finderpattern?"null":this.finderpattern.getValue())+" ]"},t.equals=function(e,n){return e instanceof t&&(t.equalsOrNull(e.leftchar,n.leftchar)&&t.equalsOrNull(e.rightchar,n.rightchar)&&t.equalsOrNull(e.finderpattern,n.finderpattern))},t.equalsOrNull=function(e,n){return null===e?null===n:t.equals(e,n)},t.prototype.hashCode=function(){return this.leftchar.getValue()^this.rightchar.getValue()^this.finderpattern.getValue()},t}(),v=function(){function t(t,e,n){this.pairs=t,this.rowNumber=e,this.wasReversed=n}return t.prototype.getPairs=function(){return this.pairs},t.prototype.getRowNumber=function(){return this.rowNumber},t.prototype.isReversed=function(){return this.wasReversed},t.prototype.isEquivalent=function(t){return this.checkEqualitity(this,t)},t.prototype.toString=function(){return"{ "+this.pairs+" }"},t.prototype.equals=function(e,n){return e instanceof t&&(this.checkEqualitity(e,n)&&e.wasReversed===n.wasReversed)},t.prototype.checkEqualitity=function(t,e){var n;if(t&&e)return t.forEach((function(t,r){e.forEach((function(e){t.getLeftChar().getValue()===e.getLeftChar().getValue()&&t.getRightChar().getValue()===e.getRightChar().getValue()&&t.getFinderPatter().getValue()===e.getFinderPatter().getValue()&&(n=!0)}))})),n},t}(),m=(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),w=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},E=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.pairs=new Array(e.MAX_PAIRS),n.rows=new Array,n.startEnd=[2],n}return m(e,t),e.prototype.decodeRow=function(t,n,r){this.pairs.length=0,this.startFromEven=!1;try{return e.constructResult(this.decodeRow2pairs(t,n))}catch(t){}return this.pairs.length=0,this.startFromEven=!0,e.constructResult(this.decodeRow2pairs(t,n))},e.prototype.reset=function(){this.pairs.length=0,this.rows.length=0},e.prototype.decodeRow2pairs=function(t,e){for(var n,r=!1;!r;)try{this.pairs.push(this.retrieveNextPair(e,this.pairs,t))}catch(t){if(t instanceof a.a){if(!this.pairs.length)throw new a.a;r=!0}}if(this.checkChecksum())return this.pairs;if(n=!!this.rows.length,this.storeRow(t,!1),n){var o=this.checkRowsBoolean(!1);if(null!=o)return o;if(null!=(o=this.checkRowsBoolean(!0)))return o}throw new a.a},e.prototype.checkRowsBoolean=function(t){if(this.rows.length>25)return this.rows.length=0,null;this.pairs.length=0,t&&(this.rows=this.rows.reverse());var e=null;try{e=this.checkRows(new Array,0)}catch(t){console.log(t)}return t&&(this.rows=this.rows.reverse()),e},e.prototype.checkRows=function(t,n){for(var r,o,i=n;i<this.rows.length;i++){var s=this.rows[i];this.pairs.length=0;try{for(var u=(r=void 0,w(t)),l=u.next();!l.done;l=u.next()){var c=l.value;this.pairs.push(c.getPairs())}}catch(t){r={error:t}}finally{try{l&&!l.done&&(o=u.return)&&o.call(u)}finally{if(r)throw r.error}}if(this.pairs.push(s.getPairs()),e.isValidSequence(this.pairs)){if(this.checkChecksum())return this.pairs;var f=new Array(t);f.push(s);try{return this.checkRows(f,i+1)}catch(t){console.log(t)}}}throw new a.a},e.isValidSequence=function(t){var n,r;try{for(var o=w(e.FINDER_PATTERN_SEQUENCES),i=o.next();!i.done;i=o.next()){var a=i.value;if(!(t.length>a.length)){for(var s=!0,u=0;u<t.length;u++)if(t[u].getFinderPattern().getValue()!=a[u]){s=!1;break}if(s)return!0}}}catch(t){n={error:t}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return!1},e.prototype.storeRow=function(t,n){for(var r=0,o=!1,i=!1;r<this.rows.length;){var a=this.rows[r];if(a.getRowNumber()>t){i=a.isEquivalent(this.pairs);break}o=a.isEquivalent(this.pairs),r++}i||o||e.isPartialRow(this.pairs,this.rows)||(this.rows.push(r,new v(this.pairs,t,n)),this.removePartialRows(this.pairs,this.rows))},e.prototype.removePartialRows=function(t,e){var n,r,o,i,a,s;try{for(var u=w(e),l=u.next();!l.done;l=u.next()){var c=l.value;if(c.getPairs().length!==t.length){try{for(var f=(o=void 0,w(c.getPairs())),p=f.next();!p.done;p=f.next()){var d=p.value,h=!1;try{for(var g=(a=void 0,w(t)),v=g.next();!v.done;v=g.next()){var m=v.value;if(y.equals(d,m)){h=!0;break}}}catch(t){a={error:t}}finally{try{v&&!v.done&&(s=g.return)&&s.call(g)}finally{if(a)throw a.error}}h||!1}}catch(t){o={error:t}}finally{try{p&&!p.done&&(i=f.return)&&i.call(f)}finally{if(o)throw o.error}}}}}catch(t){n={error:t}}finally{try{l&&!l.done&&(r=u.return)&&r.call(u)}finally{if(n)throw n.error}}},e.isPartialRow=function(t,e){var n,r,o,i,a,s;try{for(var u=w(e),l=u.next();!l.done;l=u.next()){var c=l.value,f=!0;try{for(var p=(o=void 0,w(t)),d=p.next();!d.done;d=p.next()){var h=d.value,g=!1;try{for(var y=(a=void 0,w(c.getPairs())),v=y.next();!v.done;v=y.next()){var m=v.value;if(h.equals(m)){g=!0;break}}}catch(t){a={error:t}}finally{try{v&&!v.done&&(s=y.return)&&s.call(y)}finally{if(a)throw a.error}}if(!g){f=!1;break}}}catch(t){o={error:t}}finally{try{d&&!d.done&&(i=p.return)&&i.call(p)}finally{if(o)throw o.error}}if(f)return!0}}catch(t){n={error:t}}finally{try{l&&!l.done&&(r=u.return)&&r.call(u)}finally{if(n)throw n.error}}return!1},e.prototype.getRows=function(){return this.rows},e.constructResult=function(t){var e=h.buildBitArray(t),n=Object(g.a)(e).parseInformation(),r=t[0].getFinderPattern().getResultPoints(),i=t[t.length-1].getFinderPattern().getResultPoints(),a=[r[0],r[1],i[0],i[1]];return new s.a(n,null,null,a,o.a.RSS_EXPANDED,null)},e.prototype.checkChecksum=function(){var t=this.pairs.get(0),e=t.getLeftChar(),n=t.getRightChar();if(null==n)return!1;for(var r=n.getChecksumPortion(),o=2,i=1;i<this.pairs.size();++i){var a=this.pairs.get(i);r+=a.getLeftChar().getChecksumPortion(),o++;var s=a.getRightChar();null!=s&&(r+=s.getChecksumPortion(),o++)}return 211*(o-4)+(r%=211)==e.getValue()},e.getNextSecondBar=function(t,e){var n;return t.get(e)?(n=t.getNextUnset(e),n=t.getNextSet(n)):(n=t.getNextSet(e),n=t.getNextUnset(n)),n},e.prototype.retrieveNextPair=function(t,n,r){var o,i=n.length%2==0;this.startFromEven&&(i=!i);var s=!0,u=-1;do{this.findNextPair(t,n,u),null==(o=this.parseFoundFinderPattern(t,r,i))?u=e.getNextSecondBar(t,this.startEnd[0]):s=!1}while(s);var l,c=this.decodeDataCharacter(t,o,i,!0);if(!this.isEmptyPair(n)&&n[n.length-1].mustBeLast())throw new a.a;try{l=this.decodeDataCharacter(t,o,i,!1)}catch(t){l=null,console.log(t)}return new y(c,l,o,!0)},e.prototype.isEmptyPair=function(t){return 0===t.length},e.prototype.findNextPair=function(t,n,r){var o=this.getDecodeFinderCounters();o[0]=0,o[1]=0,o[2]=0,o[3]=0;var i,s=t.getSize();if(r>=0)i=r;else if(this.isEmptyPair(n))i=0;else{i=n[n.length-1].getFinderPattern().getStartEnd()[1]}var u=n.length%2!=0;this.startFromEven&&(u=!u);for(var l=!1;i<s&&(l=!t.get(i));)i++;for(var c=0,f=i,p=i;p<s;p++)if(t.get(p)!=l)o[c]++;else{if(3==c){if(u&&e.reverseCounters(o),e.isFinderPattern(o))return this.startEnd[0]=f,void(this.startEnd[1]=p);u&&e.reverseCounters(o),f+=o[0]+o[1],o[0]=o[2],o[1]=o[3],o[2]=0,o[3]=0,c--}else c++;o[c]=1,l=!l}throw new a.a},e.reverseCounters=function(t){for(var e=t.length,n=0;n<e/2;++n){var r=t[n];t[n]=t[e-n-1],t[e-n-1]=r}},e.prototype.parseFoundFinderPattern=function(t,n,r){var o,i,a;if(r){for(var s=this.startEnd[0]-1;s>=0&&!t.get(s);)s--;s++,o=this.startEnd[0]-s,i=s,a=this.startEnd[1]}else i=this.startEnd[0],o=(a=t.getNextUnset(this.startEnd[1]+1))-this.startEnd[1];var l,c=this.getDecodeFinderCounters();u.a.arraycopy(c,0,c,1,c.length-1),c[0]=o;try{l=this.parseFinderValue(c,e.FINDER_PATTERNS)}catch(t){return null}return new f.a(l,[i,a],i,a,n)},e.prototype.decodeDataCharacter=function(t,n,r,o){for(var s=this.getDataCharacterCounters(),u=0;u<s.length;u++)s[u]=0;if(o)e.recordPatternInReverse(t,n.getStartEnd()[0],s);else{e.recordPattern(t,n.getStartEnd()[1],s);for(var l=0,f=s.length-1;l<f;l++,f--){var d=s[l];s[l]=s[f],s[f]=d}}var h=i.a.sum(new Int32Array(s))/17,g=(n.getStartEnd()[1]-n.getStartEnd()[0])/15;if(Math.abs(h-g)/g>.3)throw new a.a;var y=this.getOddCounts(),v=this.getEvenCounts(),m=this.getOddRoundingErrors(),w=this.getEvenRoundingErrors();for(l=0;l<s.length;l++){var E=1*s[l]/h,b=E+.5;if(b<1){if(E<.3)throw new a.a;b=1}else if(b>8){if(E>8.7)throw new a.a;b=8}var _=l/2;0==(1&l)?(y[_]=b,m[_]=E-b):(v[_]=b,w[_]=E-b)}this.adjustOddEvenCounts(17);var C=4*n.getValue()+(r?0:2)+(o?0:1)-1,S=0,A=0;for(l=y.length-1;l>=0;l--){if(e.isNotA1left(n,r,o)){var O=e.WEIGHTS[C][2*l];A+=y[l]*O}S+=y[l]}var I=0;for(l=v.length-1;l>=0;l--)if(e.isNotA1left(n,r,o)){O=e.WEIGHTS[C][2*l+1];I+=v[l]*O}var T=A+I;if(0!=(1&S)||S>13||S<4)throw new a.a;var R=(13-S)/2,N=e.SYMBOL_WIDEST[R],D=9-N,P=p.a.getRSSvalue(y,N,!0),x=p.a.getRSSvalue(v,D,!1),k=P*e.EVEN_TOTAL_SUBSET[R]+x+e.GSUM[R];return new c.a(k,T)},e.isNotA1left=function(t,e,n){return!(0==t.getValue()&&e&&n)},e.prototype.adjustOddEvenCounts=function(t){var n=i.a.sum(new Int32Array(this.getOddCounts())),r=i.a.sum(new Int32Array(this.getEvenCounts())),o=!1,s=!1;n>13?s=!0:n<4&&(o=!0);var u=!1,l=!1;r>13?l=!0:r<4&&(u=!0);var c=n+r-t,f=1==(1&n),p=0==(1&r);if(1==c)if(f){if(p)throw new a.a;s=!0}else{if(!p)throw new a.a;l=!0}else if(-1==c)if(f){if(p)throw new a.a;o=!0}else{if(!p)throw new a.a;u=!0}else{if(0!=c)throw new a.a;if(f){if(!p)throw new a.a;n<r?(o=!0,l=!0):(s=!0,u=!0)}else if(p)throw new a.a}if(o){if(s)throw new a.a;e.increment(this.getOddCounts(),this.getOddRoundingErrors())}if(s&&e.decrement(this.getOddCounts(),this.getOddRoundingErrors()),u){if(l)throw new a.a;e.increment(this.getEvenCounts(),this.getOddRoundingErrors())}l&&e.decrement(this.getEvenCounts(),this.getEvenRoundingErrors())},e.SYMBOL_WIDEST=[7,5,4,3,1],e.EVEN_TOTAL_SUBSET=[4,20,52,104,204],e.GSUM=[0,348,1388,2948,3988],e.FINDER_PATTERNS=[Int32Array.from([1,8,4,1]),Int32Array.from([3,6,4,1]),Int32Array.from([3,4,6,1]),Int32Array.from([3,2,8,1]),Int32Array.from([2,6,5,1]),Int32Array.from([2,2,9,1])],e.WEIGHTS=[[1,3,9,27,81,32,96,77],[20,60,180,118,143,7,21,63],[189,145,13,39,117,140,209,205],[193,157,49,147,19,57,171,91],[62,186,136,197,169,85,44,132],[185,133,188,142,4,12,36,108],[113,128,173,97,80,29,87,50],[150,28,84,41,123,158,52,156],[46,138,203,187,139,206,196,166],[76,17,51,153,37,111,122,155],[43,129,176,106,107,110,119,146],[16,48,144,10,30,90,59,177],[109,116,137,200,178,112,125,164],[70,210,208,202,184,130,179,115],[134,191,151,31,93,68,204,190],[148,22,66,198,172,94,71,2],[6,18,54,162,64,192,154,40],[120,149,25,75,14,42,126,167],[79,26,78,23,69,207,199,175],[103,98,83,38,114,131,182,124],[161,61,183,127,170,88,53,159],[55,165,73,8,24,72,5,15],[45,135,194,160,58,174,100,89]],e.FINDER_PAT_A=0,e.FINDER_PAT_B=1,e.FINDER_PAT_C=2,e.FINDER_PAT_D=3,e.FINDER_PAT_E=4,e.FINDER_PAT_F=5,e.FINDER_PATTERN_SEQUENCES=[[e.FINDER_PAT_A,e.FINDER_PAT_A],[e.FINDER_PAT_A,e.FINDER_PAT_B,e.FINDER_PAT_B],[e.FINDER_PAT_A,e.FINDER_PAT_C,e.FINDER_PAT_B,e.FINDER_PAT_D],[e.FINDER_PAT_A,e.FINDER_PAT_E,e.FINDER_PAT_B,e.FINDER_PAT_D,e.FINDER_PAT_C],[e.FINDER_PAT_A,e.FINDER_PAT_E,e.FINDER_PAT_B,e.FINDER_PAT_D,e.FINDER_PAT_D,e.FINDER_PAT_F],[e.FINDER_PAT_A,e.FINDER_PAT_E,e.FINDER_PAT_B,e.FINDER_PAT_D,e.FINDER_PAT_E,e.FINDER_PAT_F,e.FINDER_PAT_F],[e.FINDER_PAT_A,e.FINDER_PAT_A,e.FINDER_PAT_B,e.FINDER_PAT_B,e.FINDER_PAT_C,e.FINDER_PAT_C,e.FINDER_PAT_D,e.FINDER_PAT_D],[e.FINDER_PAT_A,e.FINDER_PAT_A,e.FINDER_PAT_B,e.FINDER_PAT_B,e.FINDER_PAT_C,e.FINDER_PAT_C,e.FINDER_PAT_D,e.FINDER_PAT_E,e.FINDER_PAT_E],[e.FINDER_PAT_A,e.FINDER_PAT_A,e.FINDER_PAT_B,e.FINDER_PAT_B,e.FINDER_PAT_C,e.FINDER_PAT_C,e.FINDER_PAT_D,e.FINDER_PAT_E,e.FINDER_PAT_F,e.FINDER_PAT_F],[e.FINDER_PAT_A,e.FINDER_PAT_A,e.FINDER_PAT_B,e.FINDER_PAT_B,e.FINDER_PAT_C,e.FINDER_PAT_D,e.FINDER_PAT_D,e.FINDER_PAT_E,e.FINDER_PAT_E,e.FINDER_PAT_F,e.FINDER_PAT_F]],e.MAX_PAIRS=11,e}(l.a);e.a=E},function(t,e,n){"use strict";var r,o=n(18),i=n(3),a=n(9),s=n(8),u=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},l=function(){function t(t,e){if(0===e.length)throw new i.a;this.field=t;var n=e.length;if(n>1&&0===e[0]){for(var r=1;r<n&&0===e[r];)r++;r===n?this.coefficients=new Int32Array([0]):(this.coefficients=new Int32Array(n-r),a.a.arraycopy(e,r,this.coefficients,0,this.coefficients.length))}else this.coefficients=e}return t.prototype.getCoefficients=function(){return this.coefficients},t.prototype.getDegree=function(){return this.coefficients.length-1},t.prototype.isZero=function(){return 0===this.coefficients[0]},t.prototype.getCoefficient=function(t){return this.coefficients[this.coefficients.length-1-t]},t.prototype.evaluateAt=function(t){var e,n;if(0===t)return this.getCoefficient(0);if(1===t){var r=0;try{for(var o=u(this.coefficients),i=o.next();!i.done;i=o.next()){var a=i.value;r=this.field.add(r,a)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(e)throw e.error}}return r}for(var s=this.coefficients[0],l=this.coefficients.length,c=1;c<l;c++)s=this.field.add(this.field.multiply(t,s),this.coefficients[c]);return s},t.prototype.add=function(e){if(!this.field.equals(e.field))throw new i.a("ModulusPolys do not have same ModulusGF field");if(this.isZero())return e;if(e.isZero())return this;var n=this.coefficients,r=e.coefficients;if(n.length>r.length){var o=n;n=r,r=o}var s=new Int32Array(r.length),u=r.length-n.length;a.a.arraycopy(r,0,s,0,u);for(var l=u;l<r.length;l++)s[l]=this.field.add(n[l-u],r[l]);return new t(this.field,s)},t.prototype.subtract=function(t){if(!this.field.equals(t.field))throw new i.a("ModulusPolys do not have same ModulusGF field");return t.isZero()?this:this.add(t.negative())},t.prototype.multiply=function(e){return e instanceof t?this.multiplyOther(e):this.multiplyScalar(e)},t.prototype.multiplyOther=function(e){if(!this.field.equals(e.field))throw new i.a("ModulusPolys do not have same ModulusGF field");if(this.isZero()||e.isZero())return new t(this.field,new Int32Array([0]));for(var n=this.coefficients,r=n.length,o=e.coefficients,a=o.length,s=new Int32Array(r+a-1),u=0;u<r;u++)for(var l=n[u],c=0;c<a;c++)s[u+c]=this.field.add(s[u+c],this.field.multiply(l,o[c]));return new t(this.field,s)},t.prototype.negative=function(){for(var e=this.coefficients.length,n=new Int32Array(e),r=0;r<e;r++)n[r]=this.field.subtract(0,this.coefficients[r]);return new t(this.field,n)},t.prototype.multiplyScalar=function(e){if(0===e)return new t(this.field,new Int32Array([0]));if(1===e)return this;for(var n=this.coefficients.length,r=new Int32Array(n),o=0;o<n;o++)r[o]=this.field.multiply(this.coefficients[o],e);return new t(this.field,r)},t.prototype.multiplyByMonomial=function(e,n){if(e<0)throw new i.a;if(0===n)return new t(this.field,new Int32Array([0]));for(var r=this.coefficients.length,o=new Int32Array(r+e),a=0;a<r;a++)o[a]=this.field.multiply(this.coefficients[a],n);return new t(this.field,o)},t.prototype.toString=function(){for(var t=new s.a,e=this.getDegree();e>=0;e--){var n=this.getCoefficient(e);0!==n&&(n<0?(t.append(" - "),n=-n):t.length()>0&&t.append(" + "),0!==e&&1===n||t.append(n),0!==e&&(1===e?t.append("x"):(t.append("x^"),t.append(e))))}return t.toString()},t}(),c=n(11),f=n(61),p=function(){function t(){}return t.prototype.add=function(t,e){return(t+e)%this.modulus},t.prototype.subtract=function(t,e){return(this.modulus+t-e)%this.modulus},t.prototype.exp=function(t){return this.expTable[t]},t.prototype.log=function(t){if(0===t)throw new i.a;return this.logTable[t]},t.prototype.inverse=function(t){if(0===t)throw new f.a;return this.expTable[this.modulus-this.logTable[t]-1]},t.prototype.multiply=function(t,e){return 0===t||0===e?0:this.expTable[(this.logTable[t]+this.logTable[e])%(this.modulus-1)]},t.prototype.getSize=function(){return this.modulus},t.prototype.equals=function(t){return t===this},t}(),d=(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),h=function(t){function e(e,n){var r=t.call(this)||this;r.modulus=e,r.expTable=new Int32Array(e),r.logTable=new Int32Array(e);for(var o=1,i=0;i<e;i++)r.expTable[i]=o,o=o*n%e;for(i=0;i<e-1;i++)r.logTable[r.expTable[i]]=i;return r.zero=new l(r,new Int32Array([0])),r.one=new l(r,new Int32Array([1])),r}return d(e,t),e.prototype.getZero=function(){return this.zero},e.prototype.getOne=function(){return this.one},e.prototype.buildMonomial=function(t,e){if(t<0)throw new i.a;if(0===e)return this.zero;var n=new Int32Array(t+1);return n[0]=e,new l(this,n)},e.PDF417_GF=new e(c.a.NUMBER_OF_CODEWORDS,3),e}(p),g=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},y=function(){function t(){this.field=h.PDF417_GF}return t.prototype.decode=function(t,e,n){for(var r,i,a=new l(this.field,t),s=new Int32Array(e),u=!1,c=e;c>0;c--){var f=a.evaluateAt(this.field.exp(c));s[e-c]=f,0!==f&&(u=!0)}if(!u)return 0;var p=this.field.getOne();if(null!=n)try{for(var d=g(n),h=d.next();!h.done;h=d.next()){var y=h.value,v=this.field.exp(t.length-1-y),m=new l(this.field,new Int32Array([this.field.subtract(0,v),1]));p=p.multiply(m)}}catch(t){r={error:t}}finally{try{h&&!h.done&&(i=d.return)&&i.call(d)}finally{if(r)throw r.error}}var w=new l(this.field,s),E=this.runEuclideanAlgorithm(this.field.buildMonomial(e,1),w,e),b=E[0],_=E[1],C=this.findErrorLocations(b),S=this.findErrorMagnitudes(_,b,C);for(c=0;c<C.length;c++){var A=t.length-1-this.field.log(C[c]);if(A<0)throw o.a.getChecksumInstance();t[A]=this.field.subtract(t[A],S[c])}return C.length},t.prototype.runEuclideanAlgorithm=function(t,e,n){if(t.getDegree()<e.getDegree()){var r=t;t=e,e=r}for(var i=t,a=e,s=this.field.getZero(),u=this.field.getOne();a.getDegree()>=Math.round(n/2);){var l=i,c=s;if(s=u,(i=a).isZero())throw o.a.getChecksumInstance();a=l;for(var f=this.field.getZero(),p=i.getCoefficient(i.getDegree()),d=this.field.inverse(p);a.getDegree()>=i.getDegree()&&!a.isZero();){var h=a.getDegree()-i.getDegree(),g=this.field.multiply(a.getCoefficient(a.getDegree()),d);f=f.add(this.field.buildMonomial(h,g)),a=a.subtract(i.multiplyByMonomial(h,g))}u=f.multiply(s).subtract(c).negative()}var y=u.getCoefficient(0);if(0===y)throw o.a.getChecksumInstance();var v=this.field.inverse(y);return[u.multiply(v),a.multiply(v)]},t.prototype.findErrorLocations=function(t){for(var e=t.getDegree(),n=new Int32Array(e),r=0,i=1;i<this.field.getSize()&&r<e;i++)0===t.evaluateAt(i)&&(n[r]=this.field.inverse(i),r++);if(r!==e)throw o.a.getChecksumInstance();return n},t.prototype.findErrorMagnitudes=function(t,e,n){for(var r=e.getDegree(),o=new Int32Array(r),i=1;i<=r;i++)o[r-i]=this.field.multiply(i,e.getCoefficient(i));var a=new l(this.field,o),s=n.length,u=new Int32Array(s);for(i=0;i<s;i++){var c=this.field.inverse(n[i]),f=this.field.subtract(0,t.evaluateAt(c)),p=this.field.inverse(a.evaluateAt(c));u[i]=this.field.multiply(f,p)}return u},t}();e.a=y},function(t,e,n){"use strict";var r=n(4),o=function(){function t(t,e,n,o,i){this.value=t,this.startEnd=e,this.value=t,this.startEnd=e,this.resultPoints=new Array,this.resultPoints.push(new r.a(n,i)),this.resultPoints.push(new r.a(o,i))}return t.prototype.getValue=function(){return this.value},t.prototype.getStartEnd=function(){return this.startEnd},t.prototype.getResultPoints=function(){return this.resultPoints},t.prototype.equals=function(e){if(!(e instanceof t))return!1;var n=e;return this.value===n.value},t.prototype.hashCode=function(){return this.value},t}();e.a=o},function(t,e,n){"use strict";10 ","","@","\\","^","_","`","|","~",""],p=0;p<f.length;p++)t[3][w.a.getCharCode(f[p])]=p;var d=["\0","\r","\0","\0","\0","\0","!","'","#","$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","?","[","]","{","}"];for(p=0;p<d.length;p++)w.a.getCharCode(d[p])>0&&(t[4][w.a.getCharCode(d[p])]=p);return t}(y.a.createInt32Array(5,256)),C=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},S=function(){function t(t){this.text=t}return t.prototype.encode=function(){for(var e=w.a.getCharCode(" "),n=w.a.getCharCode("\n"),r=o.singletonList(b.INITIAL_STATE),i=0;i<this.text.length;i++){var a=void 0,s=i+1<this.text.length?this.text[i+1]:0;switch(this.text[i]){case w.a.getCharCode("\r"):a=s===n?2:0;break;case w.a.getCharCode("."):a=s===e?3:0;break;case w.a.getCharCode(","):a=s===e?4:0;break;case w.a.getCharCode(":"):a=s===e?5:0;break;default:a=0}a>0?(r=t.updateStateListForPair(r,i,a),i++):r=this.updateStateListForChar(r,i)}return o.min(r,(function(t,e){return t.getBitCount()-e.getBitCount()})).toBitArray(this.text)},t.prototype.updateStateListForChar=function(e,n){var r,o,i=[];try{for(var a=C(e),s=a.next();!s.done;s=a.next()){var u=s.value;this.updateStateForChar(u,n,i)}}catch(t){r={error:t}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(r)throw r.error}}return t.simplifyStates(i)},t.prototype.updateStateForChar=function(t,e,n){for(var r=255&this.text[e],o=_[t.getMode()][r]>0,i=null,a=0;a<=4;a++){var s=_[a][r];if(s>0){if(null==i&&(i=t.endBinaryShift(e)),!o||a===t.getMode()||2===a){var u=i.latchAndAppend(a,s);n.push(u)}if(!o&&m[t.getMode()][a]>=0){var l=i.shiftAndAppend(a,s);n.push(l)}}}if(t.getBinaryShiftByteCount()>0||0===_[t.getMode()][r]){var c=t.addBinaryShiftChar(e);n.push(c)}},t.updateStateListForPair=function(t,e,n){var r,o,i=[];try{for(var a=C(t),s=a.next();!s.done;s=a.next()){var u=s.value;this.updateStateForPair(u,e,n,i)}}catch(t){r={error:t}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(r)throw r.error}}return this.simplifyStates(i)},t.updateStateForPair=function(t,e,n,r){var o=t.endBinaryShift(e);if(r.push(o.latchAndAppend(4,n)),4!==t.getMode()&&r.push(o.shiftAndAppend(4,n)),3===n||4===n){var i=o.latchAndAppend(2,16-n).latchAndAppend(2,1);r.push(i)}if(t.getBinaryShiftByteCount()>0){var a=t.addBinaryShiftChar(e).addBinaryShiftChar(e+1);r.push(a)}},t.simplifyStates=function(t){var e,n,r,o,i=[];try{for(var a=C(t),s=a.next();!s.done;s=a.next()){var u=s.value,l=!0,c=function(t){if(t.isBetterThanOrEqualTo(u))return l=!1,"break";u.isBetterThanOrEqualTo(t)&&(i=i.filter((function(e){return e!==t})))};try{for(var f=(r=void 0,C(i)),p=f.next();!p.done;p=f.next()){if("break"===c(p.value))break}}catch(t){r={error:t}}finally{try{p&&!p.done&&(o=f.return)&&o.call(f)}finally{if(r)throw r.error}}l&&i.push(u)}}catch(t){e={error:t}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(e)throw e.error}}return i},t}();e.a=S},function(t,e,n){"use strict";var r,o=n(5),i=n(10),a=n(1),s=n(14),u=n(9),l=n(45),c=n(58),f=n(104),p=n(49),d=n(19),h=function(){function t(){}return t.buildBitArray=function(t){var e=2*t.length-1;null==t[t.length-1].getRightChar()&&(e-=1);for(var n=12*e,r=new d.a(n),o=0,i=t[0].getRightChar().getValue(),a=11;a>=0;--a)0!=(i&1<<a)&&r.set(o),o++;for(a=1;a<t.length;++a){for(var s=t[a],u=s.getLeftChar().getValue(),l=11;l>=0;--l)0!=(u&1<<l)&&r.set(o),o++;if(null!=s.getRightChar()){var c=s.getRightChar().getValue();for(l=11;l>=0;--l)0!=(c&1<<l)&&r.set(o),o++}}return r},t}(),g=n(100),y=function(){function t(t,e,n,r){this.leftchar=t,this.rightchar=e,this.finderpattern=n,this.maybeLast=r}return t.prototype.mayBeLast=function(){return this.maybeLast},t.prototype.getLeftChar=function(){return this.leftchar},t.prototype.getRightChar=function(){return this.rightchar},t.prototype.getFinderPattern=function(){return this.finderpattern},t.prototype.mustBeLast=function(){return null==this.rightchar},t.prototype.toString=function(){return"[ "+this.leftchar+", "+this.rightchar+" : "+(null==this.finderpattern?"null":this.finderpattern.getValue())+" ]"},t.equals=function(e,n){return e instanceof t&&(t.equalsOrNull(e.leftchar,n.leftchar)&&t.equalsOrNull(e.rightchar,n.rightchar)&&t.equalsOrNull(e.finderpattern,n.finderpattern))},t.equalsOrNull=function(e,n){return null===e?null===n:t.equals(e,n)},t.prototype.hashCode=function(){return this.leftchar.getValue()^this.rightchar.getValue()^this.finderpattern.getValue()},t}(),v=function(){function t(t,e,n){this.pairs=t,this.rowNumber=e,this.wasReversed=n}return t.prototype.getPairs=function(){return this.pairs},t.prototype.getRowNumber=function(){return this.rowNumber},t.prototype.isReversed=function(){return this.wasReversed},t.prototype.isEquivalent=function(t){return this.checkEqualitity(this,t)},t.prototype.toString=function(){return"{ "+this.pairs+" }"},t.prototype.equals=function(e,n){return e instanceof t&&(this.checkEqualitity(e,n)&&e.wasReversed===n.wasReversed)},t.prototype.checkEqualitity=function(t,e){var n;if(t&&e)return t.forEach((function(t,r){e.forEach((function(e){t.getLeftChar().getValue()===e.getLeftChar().getValue()&&t.getRightChar().getValue()===e.getRightChar().getValue()&&t.getFinderPatter().getValue()===e.getFinderPatter().getValue()&&(n=!0)}))})),n},t}(),m=(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),w=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},E=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.pairs=new Array(e.MAX_PAIRS),n.rows=new Array,n.startEnd=[2],n}return m(e,t),e.prototype.decodeRow=function(t,n,r){this.pairs.length=0,this.startFromEven=!1;try{return e.constructResult(this.decodeRow2pairs(t,n))}catch(t){}return this.pairs.length=0,this.startFromEven=!0,e.constructResult(this.decodeRow2pairs(t,n))},e.prototype.reset=function(){this.pairs.length=0,this.rows.length=0},e.prototype.decodeRow2pairs=function(t,e){for(var n,r=!1;!r;)try{this.pairs.push(this.retrieveNextPair(e,this.pairs,t))}catch(t){if(t instanceof a.a){if(!this.pairs.length)throw new a.a;r=!0}}if(this.checkChecksum())return this.pairs;if(n=!!this.rows.length,this.storeRow(t,!1),n){var o=this.checkRowsBoolean(!1);if(null!=o)return o;if(null!=(o=this.checkRowsBoolean(!0)))return o}throw new a.a},e.prototype.checkRowsBoolean=function(t){if(this.rows.length>25)return this.rows.length=0,null;this.pairs.length=0,t&&(this.rows=this.rows.reverse());var e=null;try{e=this.checkRows(new Array,0)}catch(t){console.log(t)}return t&&(this.rows=this.rows.reverse()),e},e.prototype.checkRows=function(t,n){for(var r,o,i=n;i<this.rows.length;i++){var s=this.rows[i];this.pairs.length=0;try{for(var u=(r=void 0,w(t)),l=u.next();!l.done;l=u.next()){var c=l.value;this.pairs.push(c.getPairs())}}catch(t){r={error:t}}finally{try{l&&!l.done&&(o=u.return)&&o.call(u)}finally{if(r)throw r.error}}if(this.pairs.push(s.getPairs()),e.isValidSequence(this.pairs)){if(this.checkChecksum())return this.pairs;var f=new Array(t);f.push(s);try{return this.checkRows(f,i+1)}catch(t){console.log(t)}}}throw new a.a},e.isValidSequence=function(t){var n,r;try{for(var o=w(e.FINDER_PATTERN_SEQUENCES),i=o.next();!i.done;i=o.next()){var a=i.value;if(!(t.length>a.length)){for(var s=!0,u=0;u<t.length;u++)if(t[u].getFinderPattern().getValue()!=a[u]){s=!1;break}if(s)return!0}}}catch(t){n={error:t}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return!1},e.prototype.storeRow=function(t,n){for(var r=0,o=!1,i=!1;r<this.rows.length;){var a=this.rows[r];if(a.getRowNumber()>t){i=a.isEquivalent(this.pairs);break}o=a.isEquivalent(this.pairs),r++}i||o||e.isPartialRow(this.pairs,this.rows)||(this.rows.push(r,new v(this.pairs,t,n)),this.removePartialRows(this.pairs,this.rows))},e.prototype.removePartialRows=function(t,e){var n,r,o,i,a,s;try{for(var u=w(e),l=u.next();!l.done;l=u.next()){var c=l.value;if(c.getPairs().length!==t.length){try{for(var f=(o=void 0,w(c.getPairs())),p=f.next();!p.done;p=f.next()){var d=p.value,h=!1;try{for(var g=(a=void 0,w(t)),v=g.next();!v.done;v=g.next()){var m=v.value;if(y.equals(d,m)){h=!0;break}}}catch(t){a={error:t}}finally{try{v&&!v.done&&(s=g.return)&&s.call(g)}finally{if(a)throw a.error}}h||!1}}catch(t){o={error:t}}finally{try{p&&!p.done&&(i=f.return)&&i.call(f)}finally{if(o)throw o.error}}}}}catch(t){n={error:t}}finally{try{l&&!l.done&&(r=u.return)&&r.call(u)}finally{if(n)throw n.error}}},e.isPartialRow=function(t,e){var n,r,o,i,a,s;try{for(var u=w(e),l=u.next();!l.done;l=u.next()){var c=l.value,f=!0;try{for(var p=(o=void 0,w(t)),d=p.next();!d.done;d=p.next()){var h=d.value,g=!1;try{for(var y=(a=void 0,w(c.getPairs())),v=y.next();!v.done;v=y.next()){var m=v.value;if(h.equals(m)){g=!0;break}}}catch(t){a={error:t}}finally{try{v&&!v.done&&(s=y.return)&&s.call(y)}finally{if(a)throw a.error}}if(!g){f=!1;break}}}catch(t){o={error:t}}finally{try{d&&!d.done&&(i=p.return)&&i.call(p)}finally{if(o)throw o.error}}if(f)return!0}}catch(t){n={error:t}}finally{try{l&&!l.done&&(r=u.return)&&r.call(u)}finally{if(n)throw n.error}}return!1},e.prototype.getRows=function(){return this.rows},e.constructResult=function(t){var e=h.buildBitArray(t),n=Object(g.a)(e).parseInformation(),r=t[0].getFinderPattern().getResultPoints(),i=t[t.length-1].getFinderPattern().getResultPoints(),a=[r[0],r[1],i[0],i[1]];return new s.a(n,null,null,a,o.a.RSS_EXPANDED,null)},e.prototype.checkChecksum=function(){var t=this.pairs.get(0),e=t.getLeftChar(),n=t.getRightChar();if(null==n)return!1;for(var r=n.getChecksumPortion(),o=2,i=1;i<this.pairs.size();++i){var a=this.pairs.get(i);r+=a.getLeftChar().getChecksumPortion(),o++;var s=a.getRightChar();null!=s&&(r+=s.getChecksumPortion(),o++)}return 211*(o-4)+(r%=211)==e.getValue()},e.getNextSecondBar=function(t,e){var n;return t.get(e)?(n=t.getNextUnset(e),n=t.getNextSet(n)):(n=t.getNextSet(e),n=t.getNextUnset(n)),n},e.prototype.retrieveNextPair=function(t,n,r){var o,i=n.length%2==0;this.startFromEven&&(i=!i);var s=!0,u=-1;do{this.findNextPair(t,n,u),null==(o=this.parseFoundFinderPattern(t,r,i))?u=e.getNextSecondBar(t,this.startEnd[0]):s=!1}while(s);var l,c=this.decodeDataCharacter(t,o,i,!0);if(!this.isEmptyPair(n)&&n[n.length-1].mustBeLast())throw new a.a;try{l=this.decodeDataCharacter(t,o,i,!1)}catch(t){l=null,console.log(t)}return new y(c,l,o,!0)},e.prototype.isEmptyPair=function(t){return 0===t.length},e.prototype.findNextPair=function(t,n,r){var o=this.getDecodeFinderCounters();o[0]=0,o[1]=0,o[2]=0,o[3]=0;var i,s=t.getSize();if(r>=0)i=r;else if(this.isEmptyPair(n))i=0;else{i=n[n.length-1].getFinderPattern().getStartEnd()[1]}var u=n.length%2!=0;this.startFromEven&&(u=!u);for(var l=!1;i<s&&(l=!t.get(i));)i++;for(var c=0,f=i,p=i;p<s;p++)if(t.get(p)!=l)o[c]++;else{if(3==c){if(u&&e.reverseCounters(o),e.isFinderPattern(o))return this.startEnd[0]=f,void(this.startEnd[1]=p);u&&e.reverseCounters(o),f+=o[0]+o[1],o[0]=o[2],o[1]=o[3],o[2]=0,o[3]=0,c--}else c++;o[c]=1,l=!l}throw new a.a},e.reverseCounters=function(t){for(var e=t.length,n=0;n<e/2;++n){var r=t[n];t[n]=t[e-n-1],t[e-n-1]=r}},e.prototype.parseFoundFinderPattern=function(t,n,r){var o,i,a;if(r){for(var s=this.startEnd[0]-1;s>=0&&!t.get(s);)s--;s++,o=this.startEnd[0]-s,i=s,a=this.startEnd[1]}else i=this.startEnd[0],o=(a=t.getNextUnset(this.startEnd[1]+1))-this.startEnd[1];var l,c=this.getDecodeFinderCounters();u.a.arraycopy(c,0,c,1,c.length-1),c[0]=o;try{l=this.parseFinderValue(c,e.FINDER_PATTERNS)}catch(t){return null}return new f.a(l,[i,a],i,a,n)},e.prototype.decodeDataCharacter=function(t,n,r,o){for(var s=this.getDataCharacterCounters(),u=0;u<s.length;u++)s[u]=0;if(o)e.recordPatternInReverse(t,n.getStartEnd()[0],s);else{e.recordPattern(t,n.getStartEnd()[1],s);for(var l=0,f=s.length-1;l<f;l++,f--){var d=s[l];s[l]=s[f],s[f]=d}}var h=i.a.sum(new Int32Array(s))/17,g=(n.getStartEnd()[1]-n.getStartEnd()[0])/15;if(Math.abs(h-g)/g>.3)throw new a.a;var y=this.getOddCounts(),v=this.getEvenCounts(),m=this.getOddRoundingErrors(),w=this.getEvenRoundingErrors();for(l=0;l<s.length;l++){var E=1*s[l]/h,b=E+.5;if(b<1){if(E<.3)throw new a.a;b=1}else if(b>8){if(E>8.7)throw new a.a;b=8}var _=l/2;0==(1&l)?(y[_]=b,m[_]=E-b):(v[_]=b,w[_]=E-b)}this.adjustOddEvenCounts(17);var C=4*n.getValue()+(r?0:2)+(o?0:1)-1,S=0,A=0;for(l=y.length-1;l>=0;l--){if(e.isNotA1left(n,r,o)){var O=e.WEIGHTS[C][2*l];A+=y[l]*O}S+=y[l]}var I=0;for(l=v.length-1;l>=0;l--)if(e.isNotA1left(n,r,o)){O=e.WEIGHTS[C][2*l+1];I+=v[l]*O}var T=A+I;if(0!=(1&S)||S>13||S<4)throw new a.a;var R=(13-S)/2,N=e.SYMBOL_WIDEST[R],D=9-N,P=p.a.getRSSvalue(y,N,!0),x=p.a.getRSSvalue(v,D,!1),k=P*e.EVEN_TOTAL_SUBSET[R]+x+e.GSUM[R];return new c.a(k,T)},e.isNotA1left=function(t,e,n){return!(0==t.getValue()&&e&&n)},e.prototype.adjustOddEvenCounts=function(t){var n=i.a.sum(new Int32Array(this.getOddCounts())),r=i.a.sum(new Int32Array(this.getEvenCounts())),o=!1,s=!1;n>13?s=!0:n<4&&(o=!0);var u=!1,l=!1;r>13?l=!0:r<4&&(u=!0);var c=n+r-t,f=1==(1&n),p=0==(1&r);if(1==c)if(f){if(p)throw new a.a;s=!0}else{if(!p)throw new a.a;l=!0}else if(-1==c)if(f){if(p)throw new a.a;o=!0}else{if(!p)throw new a.a;u=!0}else{if(0!=c)throw new a.a;if(f){if(!p)throw new a.a;n<r?(o=!0,l=!0):(s=!0,u=!0)}else if(p)throw new a.a}if(o){if(s)throw new a.a;e.increment(this.getOddCounts(),this.getOddRoundingErrors())}if(s&&e.decrement(this.getOddCounts(),this.getOddRoundingErrors()),u){if(l)throw new a.a;e.increment(this.getEvenCounts(),this.getOddRoundingErrors())}l&&e.decrement(this.getEvenCounts(),this.getEvenRoundingErrors())},e.SYMBOL_WIDEST=[7,5,4,3,1],e.EVEN_TOTAL_SUBSET=[4,20,52,104,204],e.GSUM=[0,348,1388,2948,3988],e.FINDER_PATTERNS=[Int32Array.from([1,8,4,1]),Int32Array.from([3,6,4,1]),Int32Array.from([3,4,6,1]),Int32Array.from([3,2,8,1]),Int32Array.from([2,6,5,1]),Int32Array.from([2,2,9,1])],e.WEIGHTS=[[1,3,9,27,81,32,96,77],[20,60,180,118,143,7,21,63],[189,145,13,39,117,140,209,205],[193,157,49,147,19,57,171,91],[62,186,136,197,169,85,44,132],[185,133,188,142,4,12,36,108],[113,128,173,97,80,29,87,50],[150,28,84,41,123,158,52,156],[46,138,203,187,139,206,196,166],[76,17,51,153,37,111,122,155],[43,129,176,106,107,110,119,146],[16,48,144,10,30,90,59,177],[109,116,137,200,178,112,125,164],[70,210,208,202,184,130,179,115],[134,191,151,31,93,68,204,190],[148,22,66,198,172,94,71,2],[6,18,54,162,64,192,154,40],[120,149,25,75,14,42,126,167],[79,26,78,23,69,207,199,175],[103,98,83,38,114,131,182,124],[161,61,183,127,170,88,53,159],[55,165,73,8,24,72,5,15],[45,135,194,160,58,174,100,89]],e.FINDER_PAT_A=0,e.FINDER_PAT_B=1,e.FINDER_PAT_C=2,e.FINDER_PAT_D=3,e.FINDER_PAT_E=4,e.FINDER_PAT_F=5,e.FINDER_PATTERN_SEQUENCES=[[e.FINDER_PAT_A,e.FINDER_PAT_A],[e.FINDER_PAT_A,e.FINDER_PAT_B,e.FINDER_PAT_B],[e.FINDER_PAT_A,e.FINDER_PAT_C,e.FINDER_PAT_B,e.FINDER_PAT_D],[e.FINDER_PAT_A,e.FINDER_PAT_E,e.FINDER_PAT_B,e.FINDER_PAT_D,e.FINDER_PAT_C],[e.FINDER_PAT_A,e.FINDER_PAT_E,e.FINDER_PAT_B,e.FINDER_PAT_D,e.FINDER_PAT_D,e.FINDER_PAT_F],[e.FINDER_PAT_A,e.FINDER_PAT_E,e.FINDER_PAT_B,e.FINDER_PAT_D,e.FINDER_PAT_E,e.FINDER_PAT_F,e.FINDER_PAT_F],[e.FINDER_PAT_A,e.FINDER_PAT_A,e.FINDER_PAT_B,e.FINDER_PAT_B,e.FINDER_PAT_C,e.FINDER_PAT_C,e.FINDER_PAT_D,e.FINDER_PAT_D],[e.FINDER_PAT_A,e.FINDER_PAT_A,e.FINDER_PAT_B,e.FINDER_PAT_B,e.FINDER_PAT_C,e.FINDER_PAT_C,e.FINDER_PAT_D,e.FINDER_PAT_E,e.FINDER_PAT_E],[e.FINDER_PAT_A,e.FINDER_PAT_A,e.FINDER_PAT_B,e.FINDER_PAT_B,e.FINDER_PAT_C,e.FINDER_PAT_C,e.FINDER_PAT_D,e.FINDER_PAT_E,e.FINDER_PAT_F,e.FINDER_PAT_F],[e.FINDER_PAT_A,e.FINDER_PAT_A,e.FINDER_PAT_B,e.FINDER_PAT_B,e.FINDER_PAT_C,e.FINDER_PAT_D,e.FINDER_PAT_D,e.FINDER_PAT_E,e.FINDER_PAT_E,e.FINDER_PAT_F,e.FINDER_PAT_F]],e.MAX_PAIRS=11,e}(l.a);e.a=E},function(t,e,n){"use strict";var r,o=n(18),i=n(3),a=n(9),s=n(8),u=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},l=function(){function t(t,e){if(0===e.length)throw new i.a;this.field=t;var n=e.length;if(n>1&&0===e[0]){for(var r=1;r<n&&0===e[r];)r++;r===n?this.coefficients=new Int32Array([0]):(this.coefficients=new Int32Array(n-r),a.a.arraycopy(e,r,this.coefficients,0,this.coefficients.length))}else this.coefficients=e}return t.prototype.getCoefficients=function(){return this.coefficients},t.prototype.getDegree=function(){return this.coefficients.length-1},t.prototype.isZero=function(){return 0===this.coefficients[0]},t.prototype.getCoefficient=function(t){return this.coefficients[this.coefficients.length-1-t]},t.prototype.evaluateAt=function(t){var e,n;if(0===t)return this.getCoefficient(0);if(1===t){var r=0;try{for(var o=u(this.coefficients),i=o.next();!i.done;i=o.next()){var a=i.value;r=this.field.add(r,a)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(e)throw e.error}}return r}for(var s=this.coefficients[0],l=this.coefficients.length,c=1;c<l;c++)s=this.field.add(this.field.multiply(t,s),this.coefficients[c]);return s},t.prototype.add=function(e){if(!this.field.equals(e.field))throw new i.a("ModulusPolys do not have same ModulusGF field");if(this.isZero())return e;if(e.isZero())return this;var n=this.coefficients,r=e.coefficients;if(n.length>r.length){var o=n;n=r,r=o}var s=new Int32Array(r.length),u=r.length-n.length;a.a.arraycopy(r,0,s,0,u);for(var l=u;l<r.length;l++)s[l]=this.field.add(n[l-u],r[l]);return new t(this.field,s)},t.prototype.subtract=function(t){if(!this.field.equals(t.field))throw new i.a("ModulusPolys do not have same ModulusGF field");return t.isZero()?this:this.add(t.negative())},t.prototype.multiply=function(e){return e instanceof t?this.multiplyOther(e):this.multiplyScalar(e)},t.prototype.multiplyOther=function(e){if(!this.field.equals(e.field))throw new i.a("ModulusPolys do not have same ModulusGF field");if(this.isZero()||e.isZero())return new t(this.field,new Int32Array([0]));for(var n=this.coefficients,r=n.length,o=e.coefficients,a=o.length,s=new Int32Array(r+a-1),u=0;u<r;u++)for(var l=n[u],c=0;c<a;c++)s[u+c]=this.field.add(s[u+c],this.field.multiply(l,o[c]));return new t(this.field,s)},t.prototype.negative=function(){for(var e=this.coefficients.length,n=new Int32Array(e),r=0;r<e;r++)n[r]=this.field.subtract(0,this.coefficients[r]);return new t(this.field,n)},t.prototype.multiplyScalar=function(e){if(0===e)return new t(this.field,new Int32Array([0]));if(1===e)return this;for(var n=this.coefficients.length,r=new Int32Array(n),o=0;o<n;o++)r[o]=this.field.multiply(this.coefficients[o],e);return new t(this.field,r)},t.prototype.multiplyByMonomial=function(e,n){if(e<0)throw new i.a;if(0===n)return new t(this.field,new Int32Array([0]));for(var r=this.coefficients.length,o=new Int32Array(r+e),a=0;a<r;a++)o[a]=this.field.multiply(this.coefficients[a],n);return new t(this.field,o)},t.prototype.toString=function(){for(var t=new s.a,e=this.getDegree();e>=0;e--){var n=this.getCoefficient(e);0!==n&&(n<0?(t.append(" - "),n=-n):t.length()>0&&t.append(" + "),0!==e&&1===n||t.append(n),0!==e&&(1===e?t.append("x"):(t.append("x^"),t.append(e))))}return t.toString()},t}(),c=n(11),f=n(61),p=function(){function t(){}return t.prototype.add=function(t,e){return(t+e)%this.modulus},t.prototype.subtract=function(t,e){return(this.modulus+t-e)%this.modulus},t.prototype.exp=function(t){return this.expTable[t]},t.prototype.log=function(t){if(0===t)throw new i.a;return this.logTable[t]},t.prototype.inverse=function(t){if(0===t)throw new f.a;return this.expTable[this.modulus-this.logTable[t]-1]},t.prototype.multiply=function(t,e){return 0===t||0===e?0:this.expTable[(this.logTable[t]+this.logTable[e])%(this.modulus-1)]},t.prototype.getSize=function(){return this.modulus},t.prototype.equals=function(t){return t===this},t}(),d=(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),h=function(t){function e(e,n){var r=t.call(this)||this;r.modulus=e,r.expTable=new Int32Array(e),r.logTable=new Int32Array(e);for(var o=1,i=0;i<e;i++)r.expTable[i]=o,o=o*n%e;for(i=0;i<e-1;i++)r.logTable[r.expTable[i]]=i;return r.zero=new l(r,new Int32Array([0])),r.one=new l(r,new Int32Array([1])),r}return d(e,t),e.prototype.getZero=function(){return this.zero},e.prototype.getOne=function(){return this.one},e.prototype.buildMonomial=function(t,e){if(t<0)throw new i.a;if(0===e)return this.zero;var n=new Int32Array(t+1);return n[0]=e,new l(this,n)},e.PDF417_GF=new e(c.a.NUMBER_OF_CODEWORDS,3),e}(p),g=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},y=function(){function t(){this.field=h.PDF417_GF}return t.prototype.decode=function(t,e,n){for(var r,i,a=new l(this.field,t),s=new Int32Array(e),u=!1,c=e;c>0;c--){var f=a.evaluateAt(this.field.exp(c));s[e-c]=f,0!==f&&(u=!0)}if(!u)return 0;var p=this.field.getOne();if(null!=n)try{for(var d=g(n),h=d.next();!h.done;h=d.next()){var y=h.value,v=this.field.exp(t.length-1-y),m=new l(this.field,new Int32Array([this.field.subtract(0,v),1]));p=p.multiply(m)}}catch(t){r={error:t}}finally{try{h&&!h.done&&(i=d.return)&&i.call(d)}finally{if(r)throw r.error}}var w=new l(this.field,s),E=this.runEuclideanAlgorithm(this.field.buildMonomial(e,1),w,e),b=E[0],_=E[1],C=this.findErrorLocations(b),S=this.findErrorMagnitudes(_,b,C);for(c=0;c<C.length;c++){var A=t.length-1-this.field.log(C[c]);if(A<0)throw o.a.getChecksumInstance();t[A]=this.field.subtract(t[A],S[c])}return C.length},t.prototype.runEuclideanAlgorithm=function(t,e,n){if(t.getDegree()<e.getDegree()){var r=t;t=e,e=r}for(var i=t,a=e,s=this.field.getZero(),u=this.field.getOne();a.getDegree()>=Math.round(n/2);){var l=i,c=s;if(s=u,(i=a).isZero())throw o.a.getChecksumInstance();a=l;for(var f=this.field.getZero(),p=i.getCoefficient(i.getDegree()),d=this.field.inverse(p);a.getDegree()>=i.getDegree()&&!a.isZero();){var h=a.getDegree()-i.getDegree(),g=this.field.multiply(a.getCoefficient(a.getDegree()),d);f=f.add(this.field.buildMonomial(h,g)),a=a.subtract(i.multiplyByMonomial(h,g))}u=f.multiply(s).subtract(c).negative()}var y=u.getCoefficient(0);if(0===y)throw o.a.getChecksumInstance();var v=this.field.inverse(y);return[u.multiply(v),a.multiply(v)]},t.prototype.findErrorLocations=function(t){for(var e=t.getDegree(),n=new Int32Array(e),r=0,i=1;i<this.field.getSize()&&r<e;i++)0===t.evaluateAt(i)&&(n[r]=this.field.inverse(i),r++);if(r!==e)throw o.a.getChecksumInstance();return n},t.prototype.findErrorMagnitudes=function(t,e,n){for(var r=e.getDegree(),o=new Int32Array(r),i=1;i<=r;i++)o[r-i]=this.field.multiply(i,e.getCoefficient(i));var a=new l(this.field,o),s=n.length,u=new Int32Array(s);for(i=0;i<s;i++){var c=this.field.inverse(n[i]),f=this.field.subtract(0,t.evaluateAt(c)),p=this.field.inverse(a.evaluateAt(c));u[i]=this.field.multiply(f,p)}return u},t}();e.a=y},function(t,e,n){"use strict";var r=n(4),o=function(){function t(t,e,n,o,i){this.value=t,this.startEnd=e,this.value=t,this.startEnd=e,this.resultPoints=new Array,this.resultPoints.push(new r.a(n,i)),this.resultPoints.push(new r.a(o,i))}return t.prototype.getValue=function(){return this.value},t.prototype.getStartEnd=function(){return this.startEnd},t.prototype.getResultPoints=function(){return this.resultPoints},t.prototype.equals=function(e){if(!(e instanceof t))return!1;var n=e;return this.value===n.value},t.prototype.hashCode=function(){return this.value},t}();e.a=o},function(t,e,n){"use strict"; 11 11 /* 12 12 object-assign … … 45 45 * This source code is licensed under the MIT license found in the 46 46 * LICENSE file in the root directory of this source tree. 47 */var r,o,i,a;if("object"==typeof performance&&"function"==typeof performance.now){var s=performance;e.unstable_now=function(){return s.now()}}else{var u=Date,l=u.now();e.unstable_now=function(){return u.now()-l}}if("undefined"==typeof window||"function"!=typeof MessageChannel){var c=null,f=null,p=function(){if(null!==c)try{var t=e.unstable_now();c(!0,t),c=null}catch(t){throw setTimeout(p,0),t}};r=function(t){null!==c?setTimeout(r,0,t):(c=t,setTimeout(p,0))},o=function(t,e){f=setTimeout(t,e)},i=function(){clearTimeout(f)},e.unstable_shouldYield=function(){return!1},a=e.unstable_forceFrameRate=function(){}}else{var d=window.setTimeout,h=window.clearTimeout;if("undefined"!=typeof console){var g=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),"function"!=typeof g&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var y=!1,v=null,m=-1,w=5,E=0;e.unstable_shouldYield=function(){return e.unstable_now()>=E},a=function(){},e.unstable_forceFrameRate=function(t){0>t||125<t?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):w=0<t?Math.floor(1e3/t):5};var b=new MessageChannel,_=b.port2;b.port1.onmessage=function(){if(null!==v){var t=e.unstable_now();E=t+w;try{v(!0,t)?_.postMessage(null):(y=!1,v=null)}catch(t){throw _.postMessage(null),t}}else y=!1},r=function(t){v=t,y||(y=!0,_.postMessage(null))},o=function(t,n){m=d((function(){t(e.unstable_now())}),n)},i=function(){h(m),m=-1}}function C(t,e){var n=t.length;t.push(e);t:for(;;){var r=n-1>>>1,o=t[r];if(!(void 0!==o&&0<O(o,e)))break t;t[r]=e,t[n]=o,n=r}}function S(t){return void 0===(t=t[0])?null:t}function A(t){var e=t[0];if(void 0!==e){var n=t.pop();if(n!==e){t[0]=n;t:for(var r=0,o=t.length;r<o;){var i=2*(r+1)-1,a=t[i],s=i+1,u=t[s];if(void 0!==a&&0>O(a,n))void 0!==u&&0>O(u,a)?(t[r]=u,t[s]=n,r=s):(t[r]=a,t[i]=n,r=i);else{if(!(void 0!==u&&0>O(u,n)))break t;t[r]=u,t[s]=n,r=s}}}return e}return null}function O(t,e){var n=t.sortIndex-e.sortIndex;return 0!==n?n:t.id-e.id}var I=[],T=[],R=1,N=null,D=3,P=!1,x=!1,k=!1;function M(t){for(var e=S(T);null!==e;){if(null===e.callback)A(T);else{if(!(e.startTime<=t))break;A(T),e.sortIndex=e.expirationTime,C(I,e)}e=S(T)}}function L(t){if(k=!1,M(t),!x)if(null!==S(I))x=!0,r(B);else{var e=S(T);null!==e&&o(L,e.startTime-t)}}function B(t,n){x=!1,k&&(k=!1,i()),P=!0;var r=D;try{for(M(n),N=S(I);null!==N&&(!(N.expirationTime>n)||t&&!e.unstable_shouldYield());){var a=N.callback;if("function"==typeof a){N.callback=null,D=N.priorityLevel;var s=a(N.expirationTime<=n);n=e.unstable_now(),"function"==typeof s?N.callback=s:N===S(I)&&A(I),M(n)}else A(I);N=S(I)}if(null!==N)var u=!0;else{var l=S(T);null!==l&&o(L,l.startTime-n),u=!1}return u}finally{N=null,D=r,P=!1}}var F=a;e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(t){t.callback=null},e.unstable_continueExecution=function(){x||P||(x=!0,r(B))},e.unstable_getCurrentPriorityLevel=function(){return D},e.unstable_getFirstCallbackNode=function(){return S(I)},e.unstable_next=function(t){switch(D){case 1:case 2:case 3:var e=3;break;default:e=D}var n=D;D=e;try{return t()}finally{D=n}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=F,e.unstable_runWithPriority=function(t,e){switch(t){case 1:case 2:case 3:case 4:case 5:break;default:t=3}var n=D;D=t;try{return e()}finally{D=n}},e.unstable_scheduleCallback=function(t,n,a){var s=e.unstable_now();switch("object"==typeof a&&null!==a?a="number"==typeof(a=a.delay)&&0<a?s+a:s:a=s,t){case 1:var u=-1;break;case 2:u=250;break;case 5:u=1073741823;break;case 4:u=1e4;break;default:u=5e3}return t={id:R++,callback:n,priorityLevel:t,startTime:a,expirationTime:u=a+u,sortIndex:-1},a>s?(t.sortIndex=a,C(T,t),null===S(I)&&t===S(T)&&(k?i():k=!0,o(L,a-s))):(t.sortIndex=u,C(I,t),x||P||(x=!0,r(B))),t},e.unstable_wrapCallback=function(t){var e=D;return function(){var n=D;D=e;try{return t.apply(this,arguments)}finally{D=n}}}},function(t,e,n){},function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){"use strict";var r=n(149);function o(){}function i(){}i.resetWarningCache=o,t.exports=function(){function t(t,e,n,o,i,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function e(){return t}t.isRequired=t;var n={array:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},function(t,e,n){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(t,e,n){},function(t,e,n){"use strict";n.r(e);var r=n(27),o=n(0),i=n.n(o),a=n(37),s=n.n(a),u=n(31),l=n.n(u),c=(n(142),n(107)),f=function(){function t(){}return t.selectFile=function(){return new Promise((function(t,e){var n=document.createElement("input");n.type="file",n.style.display="none",n.onchange=function(e){var n=e.target.files[0];t(n||null)},document.body.appendChild(n),n.click()}))},t.readFileAsBase64=function(t){return new Promise((function(e,n){try{var r=new FileReader;r.onload=function(t){e(t.target.result)},r.readAsDataURL(t)}catch(t){return Promise.reject(t)}}))},t.readImageFromFile=function(t){return new Promise((function(e,n){try{var r=new FileReader,o=new Image;o.onload=function(){e(o)},r.onload=function(t){o.src=t.target.result},r.readAsDataURL(t)}catch(t){return Promise.reject(t)}}))},t}(),p=function(t,e,n,r){return new(n||(n=Promise))((function(o,i){function a(t){try{u(r.next(t))}catch(t){i(t)}}function s(t){try{u(r.throw(t))}catch(t){i(t)}}function u(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,s)}u((r=r.apply(t,e||[])).next())}))},d=function(t,e){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=e.call(t,a)}catch(t){i=[6,t],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},h=function(){function t(){}return t.isLive=function(){var t,e;return"live"===(null===(e=null===(t=l.a.CameraAccess)||void 0===t?void 0:t.getActiveTrack())||void 0===e?void 0:e.readyState)},t.isEnabled=function(){return l.a.hasOwnProperty("enabled")&&!0===l.a.enabled},t.setEnabled=function(t){l.a.enabled=t},t.stop=function(){t.isLive()&&l.a.stop()},t.start=function(e,n){void 0===e&&(e=null),null!==e&&(t.currentConfig=e),!t.isLive()&&t.isEnabled()&&l.a.init(t.currentConfig,(function(e){return e&&console.log(e,"error msg"),l.a.start(),void 0!==n&&n(),function(){t.stop()}}))},t.onDetected=function(e){l.a.onDetected((function(n){void 0!==n&&t.isEnabled()&&e(n.codeResult.code)}))},t.scanBarcodeFromFile=function(e){return new Promise((function(n,r){t.stop();try{l.a.decodeSingle({inputStream:{size:800,singleChannel:!1},locator:{patchSize:"medium",halfSample:!0},decoder:{readers:t.readers},locate:!0,src:URL.createObjectURL(e)},(function(e){void 0!==e&&e.codeResult?n(e.codeResult.code):(n(null),setTimeout((function(){return t.start()}),250))}))}catch(t){console.log(t),n(null)}}))},t.scanQRCodeFromFile=function(t){return new Promise((function(e,n){f.readImageFromFile(t).then((function(t){(new c.BrowserQRCodeReader).decodeFromImageElement(t).then((function(t){e(null!=t?t.getText():null)})).catch((function(t){return n(t)}))})).catch((function(t){return n(t)}))}))},t.scanCodeFromFile=function(e){var n=this;return new Promise((function(r,o){return p(n,void 0,void 0,(function(){var n;return d(this,(function(o){switch(o.label){case 0:return o.trys.push([0,4,,5]),[4,t.scanBarcodeFromFile(e)];case 1:return null!==(n=o.sent())?[3,3]:[4,t.scanQRCodeFromFile(e)];case 2:n=o.sent(),o.label=3;case 3:return r(n),[3,5];case 4:return o.sent(),r(null),[3,5];case 5:return[2]}}))}))}))},t.readers=["ean_reader","upc_reader"],t.browserQRCodeReader=new c.BrowserQRCodeReader,t.currentConfig={},t}(),g=i.a.forwardRef((function(t,e){var n=Object(o.useRef)(null);function i(t){if(h.isEnabled()&&h.isLive()){var e=l.a.canvas.ctx.overlay,n=l.a.canvas.dom.overlay;t&&(t.boxes&&(e.clearRect(0,0,Number(n.getAttribute("width")),Number(n.getAttribute("height"))),t.boxes.filter((function(e){return e!==t.box})).forEach((function(t){l.a.ImageDebug.drawPath(t,{x:0,y:1},e,{color:"green",lineWidth:2})}))),t.box&&l.a.ImageDebug.drawPath(t.box,{x:0,y:1},e,{color:"#00F",lineWidth:2}),t.codeResult&&t.codeResult.code&&l.a.ImageDebug.drawPath(t.line,{x:"x",y:"y"},e,{color:"red",lineWidth:3}))}}function a( e){h.stop(),t.onFetchCode(e)}return Object(o.useImperativeHandle)(e,(function(){return{close:function(){h.setEnabled(!1),h.stop()},start:function(){null===n.current||null===t.deviceId||h.isEnabled()||h.isLive()||(h.setEnabled(!0),h.stop(),h.start({inputStream:{type:"LiveStream",target:n.current,constraints:{deviceId:{exact:t.deviceId}}},locator:{patchSize:"medium",halfSample:!0},numOfWorkers:2,frequency:10,decoder:{readers:h.readers},locate:!0},(function(){null!==n.current&&Array.from(n.current.getElementsByTagName("video")).forEach((function(t,e,n){h.browserQRCodeReader.decodeFromVideoElement(t,(function(t){void 0!==t&&h.isEnabled()&&h.isLive()&&a(t.getText())}))}))})),l.a.onProcessed(i),h.onDetected((function(t){a(t)})))}}})),Object(r.jsx)("div",{id:"scannerRoot",ref:n},void 0)}));n(144),n(145),n(146),n(147);function y(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var v=function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)};y(v,"ripple",!1),y(v,"locale","en"),y(v,"autoZIndex",!0),y(v,"zIndex",{modal:1100,overlay:1e3,menu:1e3,tooltip:1100,toast:1200}),y(v,"appendTo",null);Object.freeze({ALIGN_CENTER:"pi pi-align-center",ALIGN_JUSTIFY:"pi pi-align-justify",ALIGN_LEFT:"pi pi-align-left",ALIGN_RIGHT:"pi pi-align-right",AMAZON:"pi pi-amazon",ANDROID:"pi pi-android",ANGLE_DOUBLE_DOWN:"pi pi-angle-double-down",ANGLE_DOUBLE_LEFT:"pi pi-angle-double-left",ANGLE_DOUBLE_RIGHT:"pi pi-angle-double-right",ANGLE_DOUBLE_UP:"pi pi-angle-double-up",ANGLE_DOWN:"pi pi-angle-down",ANGLE_LEFT:"pi pi-angle-left",ANGLE_RIGHT:"pi pi-angle-right",ANGLE_UP:"pi pi-angle-up",APPLE:"pi pi-apple",ARROW_CIRCLE_DOWN:"pi pi-arrow-circle-down",ARROW_CIRCLE_LEFT:"pi pi-arrow-circle-left",ARROW_CIRCLE_RIGHT:"pi pi-arrow-circle-right",ARROW_CIRCLE_UP:"pi pi-arrow-circle-up",ARROW_DOWN:"pi pi-arrow-down",ARROW_LEFT:"pi pi-arrow-left",ARROW_RIGHT:"pi pi-arrow-right",ARROW_UP:"pi pi-arrow-up",BACKWARD:"pi pi-backward",BAN:"pi pi-ban",BARS:"pi pi-bars",BELL:"pi pi-bell",BOOK:"pi pi-book",BOOKMARK:"pi pi-bookmark",BRIEFCASE:"pi pi-briefcase",CALENDAR_MINUS:"pi pi-calendar-minus",CALENDAR_PLUS:"pi pi-calendar-plus",CALENDAR_TIMES:"pi pi-calendar-times",CALENDAR:"pi pi-calendar",CAMERA:"pi pi-camera",CARET_DOWN:"pi pi-caret-down",CARET_LEFT:"pi pi-caret-left",CARET_RIGHT:"pi pi-caret-right",CARET_UP:"pi pi-caret-up",CHART_BAR:"pi pi-chart-bar",CHART_LINE:"pi pi-chart-line",CHECK_CIRCLE:"pi pi-check-circle",CHECK_SQUARE:"pi pi-check-square",CHECK:"pi pi-check",CHEVRON_CIRCLE_DOWN:"pi pi-chevron-circle-down",CHEVRON_CIRCLE_LEFT:"pi pi-chevron-circle-left",CHEVRON_CIRCLE_RIGHT:"pi pi-chevron-circle-right",CHEVRON_CIRCLE_UP:"pi pi-chevron-circle-up",CHEVRON_DOWN:"pi pi-chevron-down",CHEVRON_LEFT:"pi pi-chevron-left",CHEVRON_RIGHT:"pi pi-chevron-right",CHEVRON_UP:"pi pi-chevron-up",CLOCK:"pi pi-clock",CLONE:"pi pi-clone",CLOUD_DOWNLOAD:"pi pi-cloud-download",CLOUD_UPLOAD:"pi pi-cloud-upload",CLOUD:"pi pi-cloud",COG:"pi pi-cog",COMMENT:"pi pi-comment",COMMENTS:"pi pi-comments",COMPASS:"pi pi-compass",COPY:"pi pi-copy",CREDIT_CARD:"pi pi-credit-card",DESKTOP:"pi pi-desktop",DISCORD:"pi pi-discord",DIRECTIONS_ALT:"pi pi-directions-alt",DIRECTIONS:"pi pi-directions",DOLLAR:"pi pi-dollar",DOWNLOAD:"pi pi-download",EJECT:"pi pi-eject",ELLIPSIS_H:"pi pi-ellipsis-h",ELLIPSIS_V:"pi pi-ellipsis-v",ENVELOPE:"pi pi-envelope",EXCLAMATION_CIRCLE:"pi pi-exclamation-circle",EXCLAMATION_TRIANGLE:"pi pi-exclamation-triangle ",EXTERNAL_LINK:"pi pi-external-link",EYE_SLASH:"pi pi-eye-slash",EYE:"pi pi-eye",FACEBOOK:"pi pi-facebook",FAST_BACKWARD:"pi pi-fast-backward",FAST_FORWARD:"pi pi-fast-forward",FILE_EXCEL:"pi pi-file-excel",FILE_O:"pi pi-file-o",FILE_PDF:"pi pi-file-pdf",FILE:"pi pi-file",FILTER:"pi pi-filter",FILTER_SLASH:"pi pi-filter-slash",FLAG:"pi pi-flag",FOLDER_OPEN:"pi pi-folder-open",FOLDER:"pi pi-folder",FORWARD:"pi pi-forward",GITHUB:"pi pi-github",GLOBE:"pi pi-globe",GOOGLE:"pi pi-google",HEART:"pi pi-heart",HOME:"pi pi-home",ID_CARD:"pi pi-id-card",IMAGE:"pi pi-image",IMAGES:"pi pi-images",INBOX:"pi pi-inbox",INFO_CIRCLE:"pi pi-info-circle",INFO:"pi pi-info",KEY:"pi pi-key",LINK:"pi pi-link",LIST:"pi pi-list",LOCK_OPEN:"pi pi-lock-open",LOCK:"pi pi-lock",MAP:"pi pi-map",MAP_MARKER:"pi pi-map-marker",MICROSOFT:"pi pi-microsoft",MINUS_CIRCLE:"pi pi-minus-circle",MINUS:"pi pi-minus",MOBILE:"pi pi-mobile",MONEY_BILL:"pi pi-money-bill",MOON:"pi pi-moon",PALETTE:"pi pi-palette",PAPERCLIP:"pi pi-paperclip",PAUSE:"pi pi-pause",PAYPAL:"pi pi-paypal",PENCIL:"pi pi-pencil",PERCENTAGE:"pi pi-percentage",PHONE:"pi pi-phone",PLAY:"pi pi-play",PLUS_CIRCLE:"pi pi-plus-circle",PLUS:"pi pi-plus",POWER_OFF:"pi pi-power-off",PRINT:"pi pi-print",QUESTION_CIRCLE:"pi pi-question-circle",QUESTION:"pi pi-question",RADIO_OFF:"pi pi-radio-off",RADIO_ON:"pi pi-radio-on",REFRESH:"pi pi-refresh",REPLAY:"pi pi-replay",REPLY:"pi pi-reply",SAVE:"pi pi-save",SEARCH_MINUS:"pi pi-search-minus",SEARCH_PLUS:"pi pi-search-plus",SEARCH:"pi pi-search",SEND:"pi pi-send",SHARE_ALT:"pi pi-share-alt",SHIELD:"pi pi-shield",SHOPPING_CART:"pi pi-shopping-cart",SIGN_IN:"pi pi-sign-in",SIGN_OUT:"pi pi-sign-out",SITEMAP:"pi pi-sitemap",SLACK:"pi pi-slack",SLIDERS_H:"pi pi-sliders-h",SLIDERS_V:"pi pi-sliders-v",SORT_ALPHA_ALT_DOWN:"pi pi-sort-alpha-alt-down",SORT_ALPHA_ALT_UP:"pi pi-sort-alpha-alt-up",SORT_ALPHA_DOWN:"pi pi-sort-alpha-down",SORT_ALPHA_UP:"pi pi-sort-alpha-up",SORT_ALT:"pi pi-sort-alt",SORT_AMOUNT_DOWN_ALT:"pi pi-sort-amount-down-alt",SORT_AMOUNT_DOWN:"pi pi-sort-amount-down",SORT_AMOUNT_UP_ALT:"pi pi-sort-amount-up-alt",SORT_AMOUNT_UP:"pi pi-sort-amount-up",SORT_DOWN:"pi pi-sort-down",SORT_NUMERIC_ALT_DOWN:"pi pi-sort-numeric-alt-down",SORT_NUMERIC_ALT_UP:"pi pi-sort-numeric-alt-up",SORT_NUMERIC_DOWN:"pi pi-sort-numeric-down",SORT_NUMERIC_UP:"pi pi-sort-numeric-up",SORT_UP:"pi pi-sort-up",SORT:"pi pi-sort",SPINNER:"pi pi-spinner",STAR_O:"pi pi-star-o",STAR:"pi pi-star",STEP_BACKWARD_ALT:"pi pi-step-backward-alt",STEP_BACKWARD:"pi pi-step-backward",STEP_FORWARD_ALT:"pi pi-step-forward-alt",STEP_FORWARD:"pi pi-step-forward",SUN:"pi pi-sun",TABLE:"pi pi-table",TABLET:"pi pi-tablet",TAG:"pi pi-tag",TAGS:"pi pi-tags",TH_LARGE:"pi pi-th-large",THUMBS_DOWN:"pi pi-thumbs-down",THUMBS_UP:"pi pi-thumbs-up",TICKET:"pi pi-ticket",TIMES_CIRCLE:"pi pi-times-circle",TIMES:"pi pi-times",TRASH:"pi pi-trash",TWITTER:"pi pi-twitter",UNDO:"pi pi-undo",UNLOCK:"pi pi-unlock",UPLOAD:"pi pi-upload",USER_EDIT:"pi pi-user-edit",USER_MINUS:"pi pi-user-minus",USER_PLUS:"pi pi-user-plus",USER:"pi pi-user",USERS:"pi pi-users",VIDEO:"pi pi-video",VIMEO:"pi pi-vimeo",VOLUME_DOWN:"pi pi-volume-down",VOLUME_OFF:"pi pi-volume-off",VOLUME_UP:"pi pi-volume-up",YOUTUBE:"pi pi-youtube",WALLET:"pi pi-wallet",WIFI:"pi pi-wifi",WINDOW_MAXIMIZE:"pi pi-window-maximize",WINDOW_MINIMIZE:"pi pi-window-minimize"}),Object.freeze({SUCCESS:"success",INFO:"info",WARN:"warn",ERROR:"error"});var m=v;function w(){return(w=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function E(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}function b(t,e){return(b=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function _(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,b(t,e)}n(106);function C(t,e){return t.replace(new RegExp("(^|\\s)"+e+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}var S=!1,A=i.a.createContext(null),O=function(t){function e(e,n){var r;r=t.call(this,e,n)||this;var o,i=n&&!n.isMounting?e.enter:e.appear;return r.appearStatus=null,e.in?i?(o="exited",r.appearStatus="entering"):o="entered":o=e.unmountOnExit||e.mountOnEnter?"unmounted":"exited",r.state={status:o},r.nextCallback=null,r}_(e,t),e.getDerivedStateFromProps=function(t,e){return t.in&&"unmounted"===e.status?{status:"exited"}:null};var n=e.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(t){var e=null;if(t!==this.props){var n=this.state.status;this.props.in?"entering"!==n&&"entered"!==n&&(e="entering"):"entering"!==n&&"entered"!==n||(e="exiting")}this.updateStatus(!1,e)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var t,e,n,r=this.props.timeout;return t=e=n=r,null!=r&&"number"!=typeof r&&(t=r.exit,e=r.enter,n=void 0!==r.appear?r.appear:e),{exit:t,enter:e,appear:n}},n.updateStatus=function(t,e){void 0===t&&(t=!1),null!==e?(this.cancelNextCallback(),"entering"===e?this.performEnter(t):this.performExit()):this.props.unmountOnExit&&"exited"===this.state.status&&this.setState({status:"unmounted"})},n.performEnter=function(t){var e=this,n=this.props.enter,r=this.context?this.context.isMounting:t,o=this.props.nodeRef?[r]:[s.a.findDOMNode(this),r],i=o[0],a=o[1],u=this.getTimeouts(),l=r?u.appear:u.enter;!t&&!n||S?this.safeSetState({status:"entered"},(function(){e.props.onEntered(i)})):(this.props.onEnter(i,a),this.safeSetState({status:"entering"},(function(){e.props.onEntering(i,a),e.onTransitionEnd(l,(function(){e.safeSetState({status:"entered"},(function(){e.props.onEntered(i,a)}))}))})))},n.performExit=function(){var t=this,e=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:s.a.findDOMNode(this);e&&!S?(this.props.onExit(r),this.safeSetState({status:"exiting"},(function(){t.props.onExiting(r),t.onTransitionEnd(n.exit,(function(){t.safeSetState({status:"exited"},(function(){t.props.onExited(r)}))}))}))):this.safeSetState({status:"exited"},(function(){t.props.onExited(r)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(t,e){e=this.setNextCallback(e),this.setState(t,e)},n.setNextCallback=function(t){var e=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,e.nextCallback=null,t(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(t,e){this.setNextCallback(e);var n=this.props.nodeRef?this.props.nodeRef.current:s.a.findDOMNode(this),r=null==t&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],i=o[0],a=o[1];this.props.addEndListener(i,a)}null!=t&&setTimeout(this.nextCallback,t)}else setTimeout(this.nextCallback,0)},n.render=function(){var t=this.state.status;if("unmounted"===t)return null;var e=this.props,n=e.children,r=(e.in,e.mountOnEnter,e.unmountOnExit,e.appear,e.enter,e.exit,e.timeout,e.addEndListener,e.onEnter,e.onEntering,e.onEntered,e.onExit,e.onExiting,e.onExited,e.nodeRef,E(e,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return i.a.createElement(A.Provider,{value:null},"function"==typeof n?n(t,r):i.a.cloneElement(i.a.Children.only(n),r))},e}(i.a.Component);function I(){}O.contextType=A,O.propTypes={},O.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:I,onEntering:I,onEntered:I,onExit:I,onExiting:I,onExited:I},O.UNMOUNTED="unmounted",O.EXITED="exited",O.ENTERING="entering",O.ENTERED="entered",O.EXITING="exiting";var T=O,R=function(t,e){return t&&e&&e.split(" ").forEach((function(e){return r=e,void((n=t).classList?n.classList.remove(r):"string"==typeof n.className?n.className=C(n.className,r):n.setAttribute("class",C(n.className&&n.className.baseVal||"",r)));var n,r}))},N=function(t){function e(){for(var e,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(e=t.call.apply(t,[this].concat(r))||this).appliedClasses={appear:{},enter:{},exit:{}},e.onEnter=function(t,n){var r=e.resolveArguments(t,n),o=r[0],i=r[1];e.removeClasses(o,"exit"),e.addClass(o,i?"appear":"enter","base"),e.props.onEnter&&e.props.onEnter(t,n)},e.onEntering=function(t,n){var r=e.resolveArguments(t,n),o=r[0],i=r[1]?"appear":"enter";e.addClass(o,i,"active"),e.props.onEntering&&e.props.onEntering(t,n)},e.onEntered=function(t,n){var r=e.resolveArguments(t,n),o=r[0],i=r[1]?"appear":"enter";e.removeClasses(o,i),e.addClass(o,i,"done"),e.props.onEntered&&e.props.onEntered(t,n)},e.onExit=function(t){var n=e.resolveArguments(t)[0];e.removeClasses(n,"appear"),e.removeClasses(n,"enter"),e.addClass(n,"exit","base"),e.props.onExit&&e.props.onExit(t)},e.onExiting=function(t){var n=e.resolveArguments(t)[0];e.addClass(n,"exit","active"),e.props.onExiting&&e.props.onExiting(t)},e.onExited=function(t){var n=e.resolveArguments(t)[0];e.removeClasses(n,"exit"),e.addClass(n,"exit","done"),e.props.onExited&&e.props.onExited(t)},e.resolveArguments=function(t,n){return e.props.nodeRef?[e.props.nodeRef.current,t]:[t,n]},e.getClassNames=function(t){var n=e.props.classNames,r="string"==typeof n,o=r?""+(r&&n?n+"-":"")+t:n[t];return{baseClassName:o,activeClassName:r?o+"-active":n[t+"Active"],doneClassName:r?o+"-done":n[t+"Done"]}},e}_(e,t);var n=e.prototype;return n.addClass=function(t,e,n){var r=this.getClassNames(e)[n+"ClassName"],o=this.getClassNames("enter").doneClassName;"appear"===e&&"done"===n&&o&&(r+=" "+o),"active"===n&&t&&t.scrollTop,r&&(this.appliedClasses[e][n]=r,function(t,e){t&&e&&e.split(" ").forEach((function(e){return r=e,void((n=t).classList?n.classList.add(r):function(t,e){return t.classList?!!e&&t.classList.contains(e):-1!==(" "+(t.className.baseVal||t.className)+" ").indexOf(" "+e+" ")}(n,r)||("string"==typeof n.className?n.className=n.className+" "+r:n.setAttribute("class",(n.className&&n.className.baseVal||"")+" "+r)));var n,r}))}(t,r))},n.removeClasses=function(t,e){var n=this.appliedClasses[e],r=n.base,o=n.active,i=n.done;this.appliedClasses[e]={},r&&R(t,r),o&&R(t,o),i&&R(t,i)},n.render=function(){var t=this.props,e=(t.classNames,E(t,["classNames"]));return i.a.createElement(T,w({},e,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},e}(i.a.Component);N.defaultProps={classNames:""},N.propTypes={};var D=N;function P(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function x(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=t&&("undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"]);if(null!=n){var r,o,i=[],a=!0,s=!1;try{for(n=n.call(t);!(a=(r=n.next()).done)&&(i.push(r.value),!e||i.length!==e);a=!0);}catch(t){s=!0,o=t}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}}(t,e)||function(t,e){if(t){if("string"==typeof t)return P(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?P(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function k(t){return(k="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function M(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];if(e){for(var r=[],o=0;o<e.length;o++){var i=e[o];if(i){var a=k(i);if("string"===a||"number"===a)r.push(i);else if("object"===a){var s=Array.isArray(i)?i:Object.entries(i).map((function(t){var e=x(t,2),n=e[0];return e[1]?n:null}));r=s.length?r.concat(s.filter((function(t){return!!t}))):r}}}return r.join(" ")}}function L(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function B(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function F(t,e,n){return e&&B(t.prototype,e),n&&B(t,n),t}function U(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return z(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return z(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,o=function(){};return{s:o,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){s=!0,i=t},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function z(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var V=function(){function t(){L(this,t)}return F(t,null,[{key:"innerWidth",value:function(t){if(t){var e=t.offsetWidth,n=getComputedStyle(t);return e+=parseFloat(n.paddingLeft)+parseFloat(n.paddingRight)}return 0}},{key:"width",value:function(t){if(t){var e=t.offsetWidth,n=getComputedStyle(t);return e-=parseFloat(n.paddingLeft)+parseFloat(n.paddingRight),e}return 0}},{key:"getWindowScrollTop",value:function(){var t=document.documentElement;return(window.pageYOffset||t.scrollTop)-(t.clientTop||0)}},{key:"getWindowScrollLeft",value:function(){var t=document.documentElement;return(window.pageXOffset||t.scrollLeft)-(t.clientLeft||0)}},{key:"getOuterWidth",value:function(t,e){if(t){var n=t.offsetWidth;if(e){var r=getComputedStyle(t);n+=parseFloat(r.marginLeft)+parseFloat(r.marginRight)}return n}return 0}},{key:"getOuterHeight",value:function(t,e){if(t){var n=t.offsetHeight;if(e){var r=getComputedStyle(t);n+=parseFloat(r.marginTop)+parseFloat(r.marginBottom)}return n}return 0}},{key:"getClientHeight",value:function(t,e){if(t){var n=t.clientHeight;if(e){var r=getComputedStyle(t);n+=parseFloat(r.marginTop)+parseFloat(r.marginBottom)}return n}return 0}},{key:"getViewport",value:function(){var t=window,e=document,n=e.documentElement,r=e.getElementsByTagName("body")[0];return{width:t.innerWidth||n.clientWidth||r.clientWidth,height:t.innerHeight||n.clientHeight||r.clientHeight}}},{key:"getOffset",value:function(t){if(t){var e=t.getBoundingClientRect();return{top:e.top+(window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0),left:e.left+(window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0)}}return{top:"auto",left:"auto"}}},{key:"index",value:function(t){if(t)for(var e=t.parentNode.childNodes,n=0,r=0;r<e.length;r++){if(e[r]===t)return n;1===e[r].nodeType&&n++}return-1}},{key:"addMultipleClasses",value:function(t,e){if(t&&e)if(t.classList)for(var n=e.split(" "),r=0;r<n.length;r++)t.classList.add(n[r]);else for(var o=e.split(" "),i=0;i<o.length;i++)t.className+=" "+o[i]}},{key:"addClass",value:function(t,e){t&&e&&(t.classList?t.classList.add(e):t.className+=" "+e)}},{key:"removeClass",value:function(t,e){t&&e&&(t.classList?t.classList.remove(e):t.className=t.className.replace(new RegExp("(^|\\b)"+e.split(" ").join("|")+"(\\b|$)","gi")," "))}},{key:"hasClass",value:function(t,e){if(t)return t.classList?t.classList.contains(e):new RegExp("(^| )"+e+"( |$)","gi").test(t.className)}},{key:"find",value:function(t,e){return t?Array.from(t.querySelectorAll(e)):[]}},{key:"findSingle",value:function(t,e){return t?t.querySelector(e):null}},{key:"getHeight",value:function(t){if(t){var e=t.offsetHeight,n=getComputedStyle(t);return e-=parseFloat(n.paddingTop)+parseFloat(n.paddingBottom)+parseFloat(n.borderTopWidth)+parseFloat(n.borderBottomWidth)}return 0}},{key:"getWidth",value:function(t){if(t){var e=t.offsetWidth,n=getComputedStyle(t);return e-=parseFloat(n.paddingLeft)+parseFloat(n.paddingRight)+parseFloat(n.borderLeftWidth)+parseFloat(n.borderRightWidth)}return 0}},{key:"alignOverlay",value:function(e,n,r){e&&n&&("self"===r?this.relativePosition(e,n):(e.style.minWidth=t.getOuterWidth(n)+"px",this.absolutePosition(e,n)))}},{key:"absolutePosition",value:function(t,e){if(t){var n,r,o=t.offsetParent?{width:t.offsetWidth,height:t.offsetHeight}:this.getHiddenElementDimensions(t),i=o.height,a=o.width,s=e.offsetHeight,u=e.offsetWidth,l=e.getBoundingClientRect(),c=this.getWindowScrollTop(),f=this.getWindowScrollLeft(),p=this.getViewport();l.top+s+i>p.height?((n=l.top+c-i)<0&&(n=c),t.style.transformOrigin="bottom"):(n=s+l.top+c,t.style.transformOrigin="top"),r=l.left+u+a>p.width?Math.max(0,l.left+f+u-a):l.left+f,t.style.top=n+"px",t.style.left=r+"px"}}},{key:"relativePosition",value:function(t,e){if(t){var n,r,o=t.offsetParent?{width:t.offsetWidth,height:t.offsetHeight}:this.getHiddenElementDimensions(t),i=e.offsetHeight,a=e.getBoundingClientRect(),s=this.getViewport();a.top+i+o.height>s.height?(n=-1*o.height,a.top+n<0&&(n=-1*a.top),t.style.transformOrigin="bottom"):(n=i,t.style.transformOrigin="top"),r=o.width>s.width?-1*a.left:a.left+o.width>s.width?-1*(a.left+o.width-s.width):0,t.style.top=n+"px",t.style.left=r+"px"}}},{key:"flipfitCollision",value:function(e,n){var r=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"left top",i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"left bottom",a=arguments.length>4?arguments[4]:void 0,s=n.getBoundingClientRect(),u=this.getViewport(),l=o.split(" "),c=i.split(" "),f=function(t,e){return e?+t.substring(t.search(/(\+|-)/g))||0:t.substring(0,t.search(/(\+|-)/g))||t},p={my:{x:f(l[0]),y:f(l[1]||l[0]),offsetX:f(l[0],!0),offsetY:f(l[1]||l[0],!0)},at:{x:f(c[0]),y:f(c[1]||c[0]),offsetX:f(c[0],!0),offsetY:f(c[1]||c[0],!0)}},d={left:function(){return p.my.offsetX+p.at.offsetX+s.left+("left"===p.my.x?0:-1*("center"===p.my.x?r.getOuterWidth(e)/2:r.getOuterWidth(e)))},top:function(){return p.my.offsetY+p.at.offsetY+s.top+("top"===p.my.y?0:-1*("center"===p.my.y?r.getOuterHeight(e)/2:r.getOuterHeight(e)))}},h={count:{x:0,y:0},left:function(){var n=d.left(),r=t.getWindowScrollLeft();e.style.left=n+r+"px",2===this.count.x?(e.style.left=r+"px",this.count.x=0):n<0&&(this.count.x++,p.my.x="left",p.at.x="right",p.my.offsetX*=-1,p.at.offsetX*=-1,this.right())},right:function(){var r=d.left()+t.getOuterWidth(n),o=t.getWindowScrollLeft();e.style.left=r+o+"px",2===this.count.x?(e.style.left=u.width-t.getOuterWidth(e)+o+"px",this.count.x=0):r+t.getOuterWidth(e)>u.width&&(this.count.x++,p.my.x="right",p.at.x="left",p.my.offsetX*=-1,p.at.offsetX*=-1,this.left())},top:function(){var n=d.top(),r=t.getWindowScrollTop();e.style.top=n+r+"px",2===this.count.y?(e.style.left=r+"px",this.count.y=0):n<0&&(this.count.y++,p.my.y="top",p.at.y="bottom",p.my.offsetY*=-1,p.at.offsetY*=-1,this.bottom())},bottom:function(){var r=d.top()+t.getOuterHeight(n),o=t.getWindowScrollTop();e.style.top=r+o+"px",2===this.count.y?(e.style.left=u.height-t.getOuterHeight(e)+o+"px",this.count.y=0):r+t.getOuterHeight(n)>u.height&&(this.count.y++,p.my.y="bottom",p.at.y="top",p.my.offsetY*=-1,p.at.offsetY*=-1,this.top())},center:function(r){if("y"===r){var o=d.top()+t.getOuterHeight(n)/2;e.style.top=o+t.getWindowScrollTop()+"px",o<0?this.bottom():o+t.getOuterHeight(n)>u.height&&this.top()}else{var i=d.left()+t.getOuterWidth(n)/2;e.style.left=i+t.getWindowScrollLeft()+"px",i<0?this.left():i+t.getOuterWidth(e)>u.width&&this.right()}}};h[p.at.x]("x"),h[p.at.y]("y"),this.isFunction(a)&&a(p)}},{key:"findCollisionPosition",value:function(t){if(t){var e="left"===t?"right":"left";return"top"===t||"bottom"===t?{axis:"y",my:"center ".concat("top"===t?"bottom":"top"),at:"center ".concat(t)}:{axis:"x",my:"".concat(e," center"),at:"".concat(t," center")}}}},{key:"getParents",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return null===t.parentNode?e:this.getParents(t.parentNode,e.concat([t.parentNode]))}},{key:"getScrollableParents",value:function(t){var e=[];if(t){var n,r=this.getParents(t),o=/(auto|scroll)/,i=function(t){var e=window.getComputedStyle(t,null);return o.test(e.getPropertyValue("overflow"))||o.test(e.getPropertyValue("overflowX"))||o.test(e.getPropertyValue("overflowY"))},a=U(r);try{for(a.s();!(n=a.n()).done;){var s=n.value,u=1===s.nodeType&&s.dataset.scrollselectors;if(u){var l,c=U(u.split(","));try{for(c.s();!(l=c.n()).done;){var f=l.value,p=this.findSingle(s,f);p&&i(p)&&e.push(p)}}catch(t){c.e(t)}finally{c.f()}}9!==s.nodeType&&i(s)&&e.push(s)}}catch(t){a.e(t)}finally{a.f()}}return e}},{key:"getHiddenElementOuterHeight",value:function(t){if(t){t.style.visibility="hidden",t.style.display="block";var e=t.offsetHeight;return t.style.display="",t.style.visibility="",e}return 0}},{key:"getHiddenElementOuterWidth",value:function(t){if(t){t.style.visibility="hidden",t.style.display="block";var e=t.offsetWidth;return t.style.display="",t.style.visibility="",e}return 0}},{key:"getHiddenElementDimensions",value:function(t){var e={};return t&&(t.style.visibility="hidden",t.style.display="block",e.width=t.offsetWidth,e.height=t.offsetHeight,t.style.display="",t.style.visibility=""),e}},{key:"fadeIn",value:function(t,e){if(t){t.style.opacity=0;var n=+new Date,r=0;!function o(){r=+t.style.opacity+((new Date).getTime()-n)/e,t.style.opacity=r,n=+new Date,+r<1&&(window.requestAnimationFrame&&requestAnimationFrame(o)||setTimeout(o,16))}()}}},{key:"fadeOut",value:function(t,e){if(t)var n=1,r=50/e,o=setInterval((function(){(n-=r)<=0&&(n=0,clearInterval(o)),t.style.opacity=n}),50)}},{key:"getUserAgent",value:function(){return navigator.userAgent}},{key:"isIOS",value:function(){return/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream}},{key:"isAndroid",value:function(){return/(android)/i.test(navigator.userAgent)}},{key:"isTouchDevice",value:function(){return"ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0}},{key:"isFunction",value:function(t){return!!(t&&t.constructor&&t.call&&t.apply)}},{key:"appendChild",value:function(t,e){if(this.isElement(e))e.appendChild(t);else{if(!e.el||!e.el.nativeElement)throw new Error("Cannot append "+e+" to "+t);e.el.nativeElement.appendChild(t)}}},{key:"removeChild",value:function(t,e){if(this.isElement(e))e.removeChild(t);else{if(!e.el||!e.el.nativeElement)throw new Error("Cannot remove "+t+" from "+e);e.el.nativeElement.removeChild(t)}}},{key:"isElement",value:function(t){return"object"===("undefined"==typeof HTMLElement?"undefined":k(HTMLElement))?t instanceof HTMLElement:t&&"object"===k(t)&&null!==t&&1===t.nodeType&&"string"==typeof t.nodeName}},{key:"scrollInView",value:function(t,e){var n=getComputedStyle(t).getPropertyValue("borderTopWidth"),r=n?parseFloat(n):0,o=getComputedStyle(t).getPropertyValue("paddingTop"),i=o?parseFloat(o):0,a=t.getBoundingClientRect(),s=e.getBoundingClientRect().top+document.body.scrollTop-(a.top+document.body.scrollTop)-r-i,u=t.scrollTop,l=t.clientHeight,c=this.getOuterHeight(e);s<0?t.scrollTop=u+s:s+c>l&&(t.scrollTop=u+s-l+c)}},{key:"clearSelection",value:function(){if(window.getSelection)window.getSelection().empty?window.getSelection().empty():window.getSelection().removeAllRanges&&window.getSelection().rangeCount>0&&window.getSelection().getRangeAt(0).getClientRects().length>0&&window.getSelection().removeAllRanges();else if(document.selection&&document.selection.empty)try{document.selection.empty()}catch(t){}}},{key:"calculateScrollbarWidth",value:function(t){if(t){var e=getComputedStyle(t);return t.offsetWidth-t.clientWidth-parseFloat(e.borderLeftWidth)-parseFloat(e.borderRightWidth)}if(null!=this.calculatedScrollbarWidth)return this.calculatedScrollbarWidth;var n=document.createElement("div");n.className="p-scrollbar-measure",document.body.appendChild(n);var r=n.offsetWidth-n.clientWidth;return document.body.removeChild(n),this.calculatedScrollbarWidth=r,r}},{key:"getBrowser",value:function(){if(!this.browser){var t=this.resolveUserAgent();this.browser={},t.browser&&(this.browser[t.browser]=!0,this.browser.version=t.version),this.browser.chrome?this.browser.webkit=!0:this.browser.webkit&&(this.browser.safari=!0)}return this.browser}},{key:"resolveUserAgent",value:function(){var t=navigator.userAgent.toLowerCase(),e=/(chrome)[ ]([\w.]+)/.exec(t)||/(webkit)[ ]([\w.]+)/.exec(t)||/(opera)(?:.*version|)[ ]([\w.]+)/.exec(t)||/(msie) ([\w.]+)/.exec(t)||t.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(t)||[];return{browser:e[1]||"",version:e[2]||"0"}}},{key:"isVisible",value:function(t){return t&&null!=t.offsetParent}},{key:"getFocusableElements",value:function(e){var n,r=[],o=U(t.find(e,'button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]),\n [href][clientHeight][clientWidth]:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]),\n input:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]), select:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]),\n textarea:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]), [tabIndex]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]),\n [contenteditable]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])'));try{for(o.s();!(n=o.n()).done;){var i=n.value;"none"!==getComputedStyle(i).display&&"hidden"!==getComputedStyle(i).visibility&&r.push(i)}}catch(t){o.e(t)}finally{o.f()}return r}},{key:"getFirstFocusableElement",value:function(e){var n=t.getFocusableElements(e);return n.length>0?n[0]:null}},{key:"getLastFocusableElement",value:function(e){var n=t.getFocusableElements(e);return n.length>0?n[n.length-1]:null}},{key:"getCursorOffset",value:function(t,e,n,r){if(t){var o=getComputedStyle(t),i=document.createElement("div");i.style.position="absolute",i.style.top="0px",i.style.left="0px",i.style.visibility="hidden",i.style.pointerEvents="none",i.style.overflow=o.overflow,i.style.width=o.width,i.style.height=o.height,i.style.padding=o.padding,i.style.border=o.border,i.style.overflowWrap=o.overflowWrap,i.style.whiteSpace=o.whiteSpace,i.style.lineHeight=o.lineHeight,i.innerHTML=e.replace(/\r\n|\r|\n/g,"<br />");var a=document.createElement("span");a.textContent=r,i.appendChild(a);var s=document.createTextNode(n);i.appendChild(s),document.body.appendChild(i);var u=a.offsetLeft,l=a.offsetTop,c=a.clientHeight;return document.body.removeChild(i),{left:Math.abs(u-t.scrollLeft),top:Math.abs(l-t.scrollTop)+c}}return{top:"auto",left:"auto"}}}]),t}(),j=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){};L(this,t),this.element=e,this.listener=n}return F(t,[{key:"bindScrollListener",value:function(){this.scrollableParents=V.getScrollableParents(this.element);for(var t=0;t<this.scrollableParents.length;t++)this.scrollableParents[t].addEventListener("scroll",this.listener)}},{key:"unbindScrollListener",value:function(){if(this.scrollableParents)for(var t=0;t<this.scrollableParents.length;t++)this.scrollableParents[t].removeEventListener("scroll",this.listener)}},{key:"destroy",value:function(){this.unbindScrollListener(),this.element=null,this.listener=null,this.scrollableParents=null}}]),t}();var H=function(){function t(){L(this,t)}return F(t,null,[{key:"equals",value:function(t,e,n){return n&&t&&"object"===k(t)&&e&&"object"===k(e)?this.resolveFieldData(t,n)===this.resolveFieldData(e,n):this.deepEquals(t,e)}},{key:"deepEquals",value:function(t,e){if(t===e)return!0;if(t&&e&&"object"==k(t)&&"object"==k(e)){var n,r,o,i=Array.isArray(t),a=Array.isArray(e);if(i&&a){if((r=t.length)!==e.length)return!1;for(n=r;0!=n--;)if(!this.deepEquals(t[n],e[n]))return!1;return!0}if(i!==a)return!1;var s=t instanceof Date,u=e instanceof Date;if(s!==u)return!1;if(s&&u)return t.getTime()===e.getTime();var l=t instanceof RegExp,c=e instanceof RegExp;if(l!==c)return!1;if(l&&c)return t.toString()===e.toString();var f=Object.keys(t);if((r=f.length)!==Object.keys(e).length)return!1;for(n=r;0!=n--;)if(!Object.prototype.hasOwnProperty.call(e,f[n]))return!1;for(n=r;0!=n--;)if(o=f[n],!this.deepEquals(t[o],e[o]))return!1;return!0}return t!=t&&e!=e}},{key:"resolveFieldData",value:function(t,e){if(t&&Object.keys(t).length&&e){if(this.isFunction(e))return e(t);if(-1===e.indexOf("."))return t[e];for(var n=e.split("."),r=t,o=0,i=n.length;o<i;++o){if(null==r)return null;r=r[n[o]]}return r}return null}},{key:"isFunction",value:function(t){return!!(t&&t.constructor&&t.call&&t.apply)}},{key:"findDiffKeys",value:function(t,e){return t&&e?Object.keys(t).filter((function(t){return!e.hasOwnProperty(t)})).reduce((function(e,n){return e[n]=t[n],e}),{}):{}}},{key:"reorderArray",value:function(t,e,n){var r;if(t&&e!==n){if(n>=t.length)for(r=n-t.length;1+r--;)t.push(void 0);t.splice(n,0,t.splice(e,1)[0])}}},{key:"findIndexInList",value:function(t,e,n){var r=this;return e?n?e.findIndex((function(e){return r.equals(e,t,n)})):e.findIndex((function(e){return e===t})):-1}},{key:"getJSXElement",value:function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return this.isFunction(t)?t.apply(void 0,n):t}},{key:"removeAccents",value:function(t){return t&&t.search(/[\xC0-\xFF]/g)>-1&&(t=t.replace(/[\xC0-\xC5]/g,"A").replace(/[\xC6]/g,"AE").replace(/[\xC7]/g,"C").replace(/[\xC8-\xCB]/g,"E").replace(/[\xCC-\xCF]/g,"I").replace(/[\xD0]/g,"D").replace(/[\xD1]/g,"N").replace(/[\xD2-\xD6\xD8]/g,"O").replace(/[\xD9-\xDC]/g,"U").replace(/[\xDD]/g,"Y").replace(/[\xDE]/g,"P").replace(/[\xE0-\xE5]/g,"a").replace(/[\xE6]/g,"ae").replace(/[\xE7]/g,"c").replace(/[\xE8-\xEB]/g,"e").replace(/[\xEC-\xEF]/g,"i").replace(/[\xF1]/g,"n").replace(/[\xF2-\xF6\xF8]/g,"o").replace(/[\xF9-\xFC]/g,"u").replace(/[\xFE]/g,"p").replace(/[\xFD\xFF]/g,"y")),t}},{key:"isEmpty",value:function(t){return null==t||""===t||Array.isArray(t)&&0===t.length||"object"===k(t)&&0===Object.keys(t).length}},{key:"isNotEmpty",value:function(t){return!this.isEmpty(t)}}]),t}();function W(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return G(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return G(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,o=function(){};return{s:o,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){s=!0,i=t},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function G(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var X=function(){function t(){L(this,t)}return F(t,null,[{key:"filter",value:function(e,n,r,o,i){var a=[],s=H.removeAccents(r).toLocaleLowerCase(i);if(e){var u,l=W(e);try{for(l.s();!(u=l.n()).done;){var c,f=u.value,p=W(n);try{for(p.s();!(c=p.n()).done;){var d=c.value,h=H.removeAccents(String(H.resolveFieldData(f,d))).toLocaleLowerCase(i);if(t[o](h,s,i)){a.push(f);break}}}catch(t){p.e(t)}finally{p.f()}}}catch(t){l.e(t)}finally{l.f()}}return a}},{key:"startsWith",value:function(t,e,n){if(null==e||""===e.trim())return!0;if(null==t)return!1;var r=H.removeAccents(e.toString()).toLocaleLowerCase(n);return H.removeAccents(t.toString()).toLocaleLowerCase(n).slice(0,r.length)===r}},{key:"contains",value:function(t,e,n){if(null==e||"string"==typeof e&&""===e.trim())return!0;if(null==t)return!1;var r=H.removeAccents(e.toString()).toLocaleLowerCase(n);return-1!==H.removeAccents(t.toString()).toLocaleLowerCase(n).indexOf(r)}},{key:"endsWith",value:function(t,e,n){if(null==e||""===e.trim())return!0;if(null==t)return!1;var r=H.removeAccents(e.toString()).toLocaleLowerCase(n),o=H.removeAccents(t.toString()).toLocaleLowerCase(n);return-1!==o.indexOf(r,o.length-r.length)}},{key:"equals",value:function(t,e,n){return null==e||"string"==typeof e&&""===e.trim()||null!=t&&(t.getTime&&e.getTime?t.getTime()===e.getTime():H.removeAccents(t.toString()).toLocaleLowerCase(n)===H.removeAccents(e.toString()).toLocaleLowerCase(n))}},{key:"notEquals",value:function(t,e,n){return null!=e&&("string"!=typeof e||""!==e.trim())&&(null==t||(t.getTime&&e.getTime?t.getTime()!==e.getTime():H.removeAccents(t.toString()).toLocaleLowerCase(n)!==H.removeAccents(e.toString()).toLocaleLowerCase(n)))}},{key:"in",value:function(t,e,n){if(null==e||0===e.length)return!0;if(null==t)return!1;for(var r=0;r<e.length;r++)if(H.equals(t,e[r]))return!0;return!1}},{key:"lt",value:function(t,e,n){return!!(null==e||e.trim&&0===e.trim().length)||null!=t&&(t.getTime&&e.getTime?t.getTime()<e.getTime():t<parseFloat(e))}},{key:"lte",value:function(t,e,n){return!!(null==e||e.trim&&0===e.trim().length)||null!=t&&(t.getTime&&e.getTime?t.getTime()<=e.getTime():t<=parseFloat(e))}},{key:"gt",value:function(t,e,n){return!!(null==e||e.trim&&0===e.trim().length)||null!=t&&(t.getTime&&e.getTime?t.getTime()>e.getTime():t>parseFloat(e))}},{key:"gte",value:function(t,e,n){return!!(null==e||e.trim&&0===e.trim().length)||null!=t&&(t.getTime&&e.getTime?t.getTime()>=e.getTime():t>=parseFloat(e))}}]),t}();function Y(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var K=0;function Z(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"pr_id_";return K++,"".concat(t).concat(K)}var q,Q,$,J=(q=[],Q=function(t){return m.zIndex[t]||999},$=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(q||[]).reverse().find((function(e){return!!m.autoZIndex||e.key===t}))||{key:t,value:e}},{get:function(t){return t&&parseInt(t.style.zIndex,10)||0},set:function(t,e,n){e&&(e.style.zIndex=String(function(t,e){e=e||Q(t);var n=$(t,e),r=n.value+(n.key===t?0:e)+1;return q.push({key:t,value:r}),r}(t,n)))},clear:function(t){var e;t&&(e=J.get(t),q=q.filter((function(t){return t.value!==e})),t.style.zIndex="")},getBase:function(t){return Q(t)},getCurrent:function(t){return function(t){return $(t).value}(t)}});function tt(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function et(t,e){return(et=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function nt(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&et(t,e)}function rt(t,e){return!e||"object"!==k(e)&&"function"!=typeof e?tt(t):e}function ot(t){return(ot=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function it(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=ot(t);if(e){var o=ot(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return rt(this,n)}}var at=function(t){nt(n,t);var e=it(n);function n(t){var r;return L(this,n),(r=e.call(this,t)).onMouseDown=r.onMouseDown.bind(tt(r)),r}return F(n,[{key:"getTarget",value:function(){return this.ink&&this.ink.parentElement}},{key:"bindEvents",value:function(){this.target&&this.target.addEventListener("mousedown",this.onMouseDown)}},{key:"unbindEvents",value:function(){this.target&&this.target.removeEventListener("mousedown",this.onMouseDown)}},{key:"onMouseDown",value:function(t){if(this.ink&&"none"!==getComputedStyle(this.ink,null).display){if(V.removeClass(this.ink,"p-ink-active"),!V.getHeight(this.ink)&&!V.getWidth(this.ink)){var e=Math.max(V.getOuterWidth(this.target),V.getOuterHeight(this.target));this.ink.style.height=e+"px",this.ink.style.width=e+"px"}var n=V.getOffset(this.target),r=t.pageX-n.left+document.body.scrollTop-V.getWidth(this.ink)/2,o=t.pageY-n.top+document.body.scrollLeft-V.getHeight(this.ink)/2;this.ink.style.top=o+"px",this.ink.style.left=r+"px",V.addClass(this.ink,"p-ink-active")}}},{key:"onAnimationEnd",value:function(t){V.removeClass(t.currentTarget,"p-ink-active")}},{key:"componentDidMount",value:function(){this.ink&&(this.target=this.getTarget(),this.bindEvents())}},{key:"componentDidUpdate",value:function(){this.ink&&!this.target&&(this.target=this.getTarget(),this.bindEvents())}},{key:"componentWillUnmount",value:function(){this.ink&&(this.target=null,this.unbindEvents())}},{key:"render",value:function(){var t=this;return m.ripple&&i.a.createElement("span",{ref:function(e){return t.ink=e},className:"p-ink",onAnimationEnd:this.onAnimationEnd})}}]),n}(o.Component),st=function(){function t(){L(this,t)}return F(t,null,[{key:"isNavKeyPress",value:function(e){var n=e.keyCode;return(n=V.getBrowser().safari&&t.SAFARI_KEYS[n]||n)>=33&&n<=40||n===t.KEYS.RETURN||n===t.KEYS.TAB||n===t.KEYS.ESC}},{key:"isSpecialKey",value:function(t){var e=t.keyCode;return 9===e||13===e||27===e||16===e||17===e||e>=18&&e<=20||V.getBrowser().opera&&!t.shiftKey&&(8===e||e>=33&&e<=35||e>=36&&e<=39||e>=44&&e<=45)}},{key:"getKey",value:function(e){var n=e.keyCode||e.charCode;return V.getBrowser().safari&&t.SAFARI_KEYS[n]||n}},{key:"getCharCode",value:function(t){return t.charCode||t.keyCode||t.which}},{key:"onKeyPress",value:function(e,n,r){if(!r){var o=t.DEFAULT_MASKS[n]?t.DEFAULT_MASKS[n]:n,i=V.getBrowser();if(!e.ctrlKey&&!e.altKey){var a=this.getKey(e);if(!i.mozilla||!(this.isNavKeyPress(e)||a===t.KEYS.BACKSPACE||a===t.KEYS.DELETE&&0===e.charCode)){var s=this.getCharCode(e),u=String.fromCharCode(s);(!i.mozilla||!this.isSpecialKey(e)&&u)&&(o.test(u)||e.preventDefault())}}}}},{key:"validate",value:function(t,e){var n=t.target.value,r=!0;return n&&!e.test(n)&&(r=!1),r}}]),t}();function ut(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=ot(t);if(e){var o=ot(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return rt(this,n)}}Y(st,"DEFAULT_MASKS",{pint:/[\d]/,int:/[\d\-]/,pnum:/[\d\.]/,money:/[\d\.\s,]/,num:/[\d\-\.]/,hex:/[0-9a-f]/i,email:/[a-z0-9_\.\-@]/i,alpha:/[a-z_]/i,alphanum:/[a-z0-9_]/i}),Y(st,"KEYS",{TAB:9,RETURN:13,ESC:27,BACKSPACE:8,DELETE:46}),Y(st,"SAFARI_KEYS",{63234:37,63235:39,63232:38,63233:40,63276:33,63277:34,63272:46,63273:36,63275:35});var lt=function(t){nt(n,t);var e=ut(n);function n(t){var r;return L(this,n),(r=e.call(this,t)).state={mounted:t.visible},r}return F(n,[{key:"hasDOM",value:function(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}},{key:"componentDidMount",value:function(){this.hasDOM()&&!this.state.mounted&&this.setState({mounted:!0},this.props.onMounted)}},{key:"componentWillUnmount",value:function(){this.props.onUnmounted&&this.props.onUnmounted()}},{key:"render",value:function(){if(this.props.element&&this.state.mounted){var t=this.props.appendTo||m.appendTo||document.body;return"self"===t?this.props.element:s.a.createPortal(this.props.element,t)}return null}}]),n}(o.Component);function ct(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=ot(t);if(e){var o=ot(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return rt(this,n)}}function ft(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function pt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ft(Object(n),!0).forEach((function(e){Y(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ft(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function dt(t){var e=t.appendTo||document.body,n=document.createDocumentFragment();V.appendChild(n,e),t=pt(pt({},t),t.options);var r=i.a.createElement(ht,t);s.a.render(r,n);var o=function(e){t=pt(pt({},t),e),s.a.render(i.a.cloneElement(r,t),n)};return{destroy:function(){s.a.unmountComponentAtNode(n)},updateContent:function(t){console.warn("The 'updateContent' method has been deprecated on Tooltip. Use update(newProps) method."),o({content:t})},update:function(t){o(t)}}}Y(lt,"defaultProps",{element:null,appendTo:null,visible:!1,onMounted:null,onUnmounted:null});var ht=function(t){nt(n,t);var e=ct(n);function n(t){var r;return L(this,n),(r=e.call(this,t)).state={visible:!1,position:r.props.position},r.show=r.show.bind(tt(r)),r.hide=r.hide.bind(tt(r)),r.onMouseEnter=r.onMouseEnter.bind(tt(r)),r.onMouseLeave=r.onMouseLeave.bind(tt(r)),r}return F(n,[{key:"isTargetContentEmpty",value:function(t){return!(this.props.content||this.getTargetOption(t,"tooltip"))}},{key:"isContentEmpty",value:function(t){return!(this.props.content||this.getTargetOption(t,"tooltip")||this.props.children)}},{key:"isMouseTrack",value:function(t){return this.getTargetOption(t,"mousetrack")||this.props.mouseTrack}},{key:"isDisabled",value:function(t){return"true"===this.getTargetOption(t,"disabled")||this.hasTargetOption(t,"disabled")||this.props.disabled}},{key:"isAutoHide",value:function(){return this.getTargetOption(this.currentTarget,"autohide")||this.props.autoHide}},{key:"getTargetOption",value:function(t,e){return this.hasTargetOption(t,"data-pr-".concat(e))?t.getAttribute("data-pr-".concat(e)):null}},{key:"hasTargetOption",value:function(t,e){return t&&t.hasAttribute(e)}},{key:"getEvents",value:function(t){var e=this.getTargetOption(t,"showevent")||this.props.showEvent,n=this.getTargetOption(t,"hideevent")||this.props.hideEvent;this.isMouseTrack(t)?(e="mousemove",n="mouseleave"):"focus"===(this.getTargetOption(t,"event")||this.props.event)&&(e="focus",n="blur");return{showEvent:e,hideEvent:n}}},{key:"getPosition",value:function(t){return this.getTargetOption(t,"position")||this.state.position}},{key:"getMouseTrackPosition",value:function(t){return{top:this.getTargetOption(t,"mousetracktop")||this.props.mouseTrackTop,left:this.getTargetOption(t,"mousetrackleft")||this.props.mouseTrackLeft}}},{key:"updateText",value:function(t,e){if(this.tooltipTextEl){var n=this.getTargetOption(t,"tooltip")||this.props.content;n?(this.tooltipTextEl.innerHTML="",this.tooltipTextEl.appendChild(document.createTextNode(n)),e()):this.props.children&&e()}}},{key:"show",value:function(t){var e=this;if(this.currentTarget=t.currentTarget,!this.isContentEmpty(this.currentTarget)&&!this.isDisabled(this.currentTarget)){var n=function(){e.updateText(e.currentTarget,(function(){e.props.autoZIndex&&!J.get(e.containerEl)&&J.set("tooltip",e.containerEl,e.props.baseZIndex),e.containerEl.style.left="",e.containerEl.style.top="",e.isMouseTrack(e.currentTarget)&&!e.containerSize&&(e.containerSize={width:V.getOuterWidth(e.containerEl),height:V.getOuterHeight(e.containerEl)}),e.align(e.currentTarget,{x:t.pageX,y:t.pageY})}))};this.state.visible?this.applyDelay("updateDelay",n):(this.sendCallback(this.props.onBeforeShow,{originalEvent:t,target:this.currentTarget}),this.applyDelay("showDelay",(function(){e.setState({visible:!0,position:e.getPosition(e.currentTarget)},(function(){n(),e.sendCallback(e.props.onShow,{originalEvent:t,target:e.currentTarget})})),e.bindDocumentResizeListener(),e.bindScrollListener(),V.addClass(e.currentTarget,e.getTargetOption(e.currentTarget,"classname"))})))}}},{key:"hide",value:function(t){var e=this;this.clearTimeouts(),this.state.visible&&(V.removeClass(this.currentTarget,this.getTargetOption(this.currentTarget,"classname")),this.sendCallback(this.props.onBeforeHide,{originalEvent:t,target:this.currentTarget}),this.applyDelay("hideDelay",(function(){J.clear(e.containerEl),V.removeClass(e.containerEl,"p-tooltip-active"),(e.isAutoHide()||!1!==e.allowHide)&&e.setState({visible:!1,position:e.props.position},(function(){e.tooltipTextEl&&s.a.unmountComponentAtNode(e.tooltipTextEl),e.unbindDocumentResizeListener(),e.unbindScrollListener(),e.currentTarget=null,e.scrollHandler=null,e.containerSize=null,e.allowHide=!0,e.sendCallback(e.props.onHide,{originalEvent:t,target:e.currentTarget})}))})))}},{key:"align",value:function(t,e){var n=this,r=0,o=0;if(this.isMouseTrack(t)&&e){var i={width:V.getOuterWidth(this.containerEl),height:V.getOuterHeight(this.containerEl)};r=e.x,o=e.y;var a=this.getMouseTrackPosition(t),s=a.top,u=a.left;switch(this.state.position){case"left":r-=i.width+u,o-=i.height/2-s;break;case"right":r+=u,o-=i.height/2-s;break;case"top":r-=i.width/2-u,o-=i.height+s;break;case"bottom":r-=i.width/2-u,o+=s}r<=0||this.containerSize.width>i.width?(this.containerEl.style.left="0px",this.containerEl.style.right=window.innerWidth-i.width-r+"px"):(this.containerEl.style.right="",this.containerEl.style.left=r+"px"),this.containerEl.style.top=o+"px",V.addClass(this.containerEl,"p-tooltip-active")}else{var l=V.findCollisionPosition(this.state.position),c=this.getTargetOption(t,"my")||this.props.my||l.my,f=this.getTargetOption(t,"at")||this.props.at||l.at;this.containerEl.style.padding="0px",V.flipfitCollision(this.containerEl,t,c,f,(function(t){var e=t.at,r=e.x,o=e.y,i=t.my.x,a=n.props.at?"center"!==r&&r!==i?r:o:t.at["".concat(l.axis)];n.containerEl.style.padding="",n.setState({position:a},(function(){n.updateContainerPosition(),V.addClass(n.containerEl,"p-tooltip-active")}))}))}}},{key:"updateContainerPosition",value:function(){if(this.containerEl){var t=getComputedStyle(this.containerEl);"left"===this.state.position?this.containerEl.style.left=parseFloat(t.left)-2*parseFloat(t.paddingLeft)+"px":"top"===this.state.position&&(this.containerEl.style.top=parseFloat(t.top)-2*parseFloat(t.paddingTop)+"px")}}},{key:"onMouseEnter",value:function(){this.isAutoHide()||(this.allowHide=!1)}},{key:"onMouseLeave",value:function(t){this.isAutoHide()||(this.allowHide=!0,this.hide(t))}},{key:"bindDocumentResizeListener",value:function(){var t=this;this.documentResizeListener=function(e){V.isAndroid()||t.hide(e)},window.addEventListener("resize",this.documentResizeListener)}},{key:"unbindDocumentResizeListener",value:function(){this.documentResizeListener&&(window.removeEventListener("resize",this.documentResizeListener),this.documentResizeListener=null)}},{key:"bindScrollListener",value:function(){var t=this;this.scrollHandler||(this.scrollHandler=new j(this.currentTarget,(function(e){t.state.visible&&t.hide(e)}))),this.scrollHandler.bindScrollListener()}},{key:"unbindScrollListener",value:function(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()}},{key:"bindTargetEvent",value:function(t){if(t){var e=this.getEvents(t),n=e.showEvent,r=e.hideEvent;t.addEventListener(n,this.show),t.addEventListener(r,this.hide)}}},{key:"unbindTargetEvent",value:function(t){if(t){var e=this.getEvents(t),n=e.showEvent,r=e.hideEvent;t.removeEventListener(n,this.show),t.removeEventListener(r,this.hide)}}},{key:"applyDelay",value:function(t,e){this.clearTimeouts();var n=this.getTargetOption(this.currentTarget,t.toLowerCase())||this.props[t];n?this["".concat(t,"Timeout")]=setTimeout((function(){return e()}),n):e()}},{key:"sendCallback",value:function(t){if(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];t.apply(void 0,n)}}},{key:"clearTimeouts",value:function(){clearTimeout(this.showDelayTimeout),clearTimeout(this.updateDelayTimeout),clearTimeout(this.hideDelayTimeout)}},{key:"updateTargetEvents",value:function(t){this.unloadTargetEvents(t),this.loadTargetEvents(t)}},{key:"loadTargetEvents",value:function(t){this.setTargetEventOperations(t||this.props.target,"bindTargetEvent")}},{key:"unloadTargetEvents",value:function(t){this.setTargetEventOperations(t||this.props.target,"unbindTargetEvent")}},{key:"setTargetEventOperations",value:function(t,e){var n=this;if(t)if(V.isElement(t))this[e](t);else{var r=function(t){V.find(document,t).forEach((function(t){n[e](t)}))};t instanceof Array?t.forEach((function(t){r(t)})):r(t)}}},{key:"componentDidMount",value:function(){this.props.target&&this.loadTargetEvents()}},{key:"componentDidUpdate",value:function(t,e){var n=this;t.target!==this.props.target&&(this.unloadTargetEvents(t.target),this.loadTargetEvents()),this.state.visible&&(t.content!==this.props.content&&this.applyDelay("updateDelay",(function(){n.updateText(n.currentTarget,(function(){n.align(n.currentTarget)}))})),this.currentTarget&&this.isDisabled(this.currentTarget)&&this.hide())}},{key:"componentWillUnmount",value:function(){this.clearTimeouts(),this.unbindDocumentResizeListener(),this.unloadTargetEvents(),this.scrollHandler&&(this.scrollHandler.destroy(),this.scrollHandler=null),J.clear(this.containerEl)}},{key:"renderElement",value:function(){var t=this,e=M("p-tooltip p-component",Y({},"p-tooltip-".concat(this.state.position),!0),this.props.className),n=this.isTargetContentEmpty(this.currentTarget);return i.a.createElement("div",{id:this.props.id,ref:function(e){return t.containerEl=e},className:e,style:this.props.style,role:"tooltip","aria-hidden":this.state.visible,onMouseEnter:this.onMouseEnter,onMouseLeave:this.onMouseLeave},i.a.createElement("div",{className:"p-tooltip-arrow"}),i.a.createElement("div",{ref:function(e){return t.tooltipTextEl=e},className:"p-tooltip-text"},n&&this.props.children))}},{key:"render",value:function(){if(this.state.visible){var t=this.renderElement();return i.a.createElement(lt,{element:t,appendTo:this.props.appendTo,visible:!0})}return null}}]),n}(o.Component);Y(ht,"defaultProps",{id:null,target:null,content:null,disabled:!1,className:null,style:null,appendTo:null,position:"right",my:null,at:null,event:null,showEvent:"mouseenter",hideEvent:"mouseleave",autoZIndex:!0,baseZIndex:0,mouseTrack:!1,mouseTrackTop:5,mouseTrackLeft:5,showDelay:0,updateDelay:0,hideDelay:0,autoHide:!0,onBeforeShow:null,onBeforeHide:null,onShow:null,onHide:null});var gt,yt=(gt=new Map,{on:function(t,e){var n=gt.get(t);n?n.push(e):n=[e],gt.set(t,n)},off:function(t,e){var n=gt.get(t);n&&n.splice(n.indexOf(e)>>>0,1)},emit:function(t,e){var n=gt.get(t);n&&n.slice().forEach((function(t){return t(e)}))}});function vt(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function mt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?vt(Object(n),!0).forEach((function(e){Y(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):vt(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function wt(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=ot(t);if(e){var o=ot(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return rt(this,n)}}var Et=function(t){nt(n,t);var e=wt(n);function n(t){var r;return L(this,n),(r=e.call(this,t)).onEnter=r.onEnter.bind(tt(r)),r.onEntering=r.onEntering.bind(tt(r)),r.onEntered=r.onEntered.bind(tt(r)),r.onExit=r.onExit.bind(tt(r)),r.onExiting=r.onExiting.bind(tt(r)),r.onExited=r.onExited.bind(tt(r)),r}return F(n,[{key:"onEnter",value:function(t,e){this.props.onEnter&&this.props.onEnter(t,e),this.props.options&&this.props.options.onEnter&&this.props.options.onEnter(t,e)}},{key:"onEntering",value:function(t,e){this.props.onEntering&&this.props.onEntering(t,e),this.props.options&&this.props.options.onEntering&&this.props.options.onEntering(t,e)}},{key:"onEntered",value:function(t,e){this.props.onEntered&&this.props.onEntered(t,e),this.props.options&&this.props.options.onEntered&&this.props.options.onEntered(t,e)}},{key:"onExit",value:function(t){this.props.onExit&&this.props.onExit(t),this.props.options&&this.props.options.onExit&&this.props.options.onExit(t)}},{key:"onExiting",value:function(t){this.props.onExiting&&this.props.onExiting(t),this.props.options&&this.props.options.onExiting&&this.props.options.onExiting(t)}},{key:"onExited",value:function(t){this.props.onExited&&this.props.onExited(t),this.props.options&&this.props.options.onExited&&this.props.options.onExited(t)}},{key:"render",value:function(){var t={nodeRef:this.props.nodeRef,in:this.props.in,onEnter:this.onEnter,onEntering:this.onEntering,onEntered:this.onEntered,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited},e=mt(mt(mt({},{classNames:this.props.classNames,timeout:this.props.timeout,unmountOnExit:this.props.unmountOnExit}),this.props.options||{}),t);return i.a.createElement(D,e,this.props.children)}}]),n}(o.Component);function bt(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function _t(t){return function(t){if(Array.isArray(t))return bt(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return bt(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?bt(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ct(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function St(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function At(t,e){return(At=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Ot(t){return(Ot="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function It(t,e){return!e||"object"!==Ot(e)&&"function"!=typeof e?St(t):e}function Tt(t){return(Tt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Rt(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Tt(t);if(e){var o=Tt(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return It(this,n)}}var Nt,Dt,Pt,xt=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&At(t,e)}(a,t);var e,n,r,o=Rt(a);function a(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),(e=o.call(this,t)).state={id:t.id,maskVisible:t.visible,visible:!1},e.props.onMaximize||(e.state.maximized=t.maximized),e.onClose=e.onClose.bind(St(e)),e.toggleMaximize=e.toggleMaximize.bind(St(e)),e.onDragStart=e.onDragStart.bind(St(e)),e.onResizeStart=e.onResizeStart.bind(St(e)),e.onMaskClick=e.onMaskClick.bind(St(e)),e.onEnter=e.onEnter.bind(St(e)),e.onEntered=e.onEntered.bind(St(e)),e.onExited=e.onExited.bind(St(e)),e.attributeSelector=Z(),e.dialogRef=i.a.createRef(),e}return e=a,(n=[{key:"onClose",value:function(t){this.props.onHide(),t.preventDefault()}},{key:"focus",value:function(){var t=document.activeElement;!(t&&this.dialogRef&&this.dialogRef.current.contains(t))&&this.props.closable&&this.props.showHeader&&this.closeElement.focus()}},{key:"onMaskClick",value:function(t){this.props.dismissableMask&&this.props.modal&&this.mask===t.target&&this.onClose(t),this.props.onMaskClick&&this.props.onMaskClick(t)}},{key:"toggleMaximize",value:function(t){var e=!this.maximized;this.props.onMaximize?this.props.onMaximize({originalEvent:t,maximized:e}):this.setState({maximized:e},this.changeScrollOnMaximizable),t.preventDefault()}},{key:"onDragStart",value:function(t){V.hasClass(t.target,"p-dialog-header-icon")||V.hasClass(t.target.parentElement,"p-dialog-header-icon")||this.props.draggable&&(this.dragging=!0,this.lastPageX=t.pageX,this.lastPageY=t.pageY,this.dialogEl.style.margin="0",V.addClass(document.body,"p-unselectable-text"),this.props.onDragStart&&this.props.onDragStart(t))}},{key:"onDrag",value:function(t){if(this.dragging){var e=V.getOuterWidth(this.dialogEl),n=V.getOuterHeight(this.dialogEl),r=t.pageX-this.lastPageX,o=t.pageY-this.lastPageY,i=this.dialogEl.getBoundingClientRect(),a=i.left+r,s=i.top+o,u=V.getViewport();this.dialogEl.style.position="fixed",this.props.keepInViewport?(a>=this.props.minX&&a+e<u.width&&(this.lastPageX=t.pageX,this.dialogEl.style.left=a+"px"),s>=this.props.minY&&s+n<u.height&&(this.lastPageY=t.pageY,this.dialogEl.style.top=s+"px")):(this.lastPageX=t.pageX,this.dialogEl.style.left=a+"px",this.lastPageY=t.pageY,this.dialogEl.style.top=s+"px"),this.props.onDrag&&this.props.onDrag(t)}}},{key:"onDragEnd",value:function(t){this.dragging&&(this.dragging=!1,V.removeClass(document.body,"p-unselectable-text"),this.props.onDragEnd&&this.props.onDragEnd(t))}},{key:"onResizeStart",value:function(t){this.props.resizable&&(this.resizing=!0,this.lastPageX=t.pageX,this.lastPageY=t.pageY,V.addClass(document.body,"p-unselectable-text"),this.props.onResizeStart&&this.props.onResizeStart(t))}},{key:"convertToPx",value:function(t,e,n){!n&&(n=V.getViewport());var r=parseInt(t);return/^(\d+|(\.\d+))(\.\d+)?%$/.test(t)?r*(n[e]/100):r}},{key:"onResize",value:function(t){if(this.resizing){var e=t.pageX-this.lastPageX,n=t.pageY-this.lastPageY,r=V.getOuterWidth(this.dialogEl),o=V.getOuterHeight(this.dialogEl),i=this.dialogEl.getBoundingClientRect(),a=V.getViewport(),s=r+e,u=o+n,l=this.convertToPx(this.dialogEl.style.minWidth,"width",a),c=this.convertToPx(this.dialogEl.style.minHeight,"height",a);(!parseInt(this.dialogEl.style.top)||!parseInt(this.dialogEl.style.left))&&(s+=e,u+=n),(!l||s>l)&&i.left+s<a.width&&(this.dialogEl.style.width=s+"px"),(!c||u>c)&&i.top+u<a.height&&(this.dialogEl.style.height=u+"px"),this.lastPageX=t.pageX,this.lastPageY=t.pageY,this.props.onResize&&this.props.onResize(t)}}},{key:"onResizeEnd",value:function(t){this.resizing&&(this.resizing=!1,V.removeClass(document.body,"p-unselectable-text"),this.props.onResizeEnd&&this.props.onResizeEnd(t))}},{key:"resetPosition",value:function(){this.dialogEl.style.position="",this.dialogEl.style.left="",this.dialogEl.style.top="",this.dialogEl.style.margin=""}},{key:"getPositionClass",value:function(){var t=this,e=["center","left","right","top","top-left","top-right","bottom","bottom-left","bottom-right"].find((function(e){return e===t.props.position||e.replace("-","")===t.props.position}));return e?"p-dialog-".concat(e):""}},{key:"maximized",get:function(){return this.props.onMaximize?this.props.maximized:this.state.maximized}},{key:"dialogEl",get:function(){return this.dialogRef.current}},{key:"onEnter",value:function(){this.dialogEl.setAttribute(this.attributeSelector,"")}},{key:"onEntered",value:function(){this.props.onShow&&this.props.onShow(),this.props.focusOnShow&&this.focus(),this.enableDocumentSettings()}},{key:"onExited",value:function(){this.dragging=!1,J.clear(this.mask),this.setState({maskVisible:!1}),V.addClass(this.mask,"p-component-overlay-leave"),this.disableDocumentSettings()}},{key:"enableDocumentSettings",value:function(){this.bindGlobalListeners(),(this.props.blockScroll||this.props.maximizable&&this.maximized)&&V.addClass(document.body,"p-overflow-hidden")}},{key:"disableDocumentSettings",value:function(){this.unbindGlobalListeners(),this.props.modal?document.primeDialogParams&&document.primeDialogParams.some((function(t){return t.hasBlockScroll}))||V.removeClass(document.body,"p-overflow-hidden"):(this.props.blockScroll||this.props.maximizable&&this.maximized)&&V.removeClass(document.body,"p-overflow-hidden")}},{key:"bindGlobalListeners",value:function(){this.props.draggable&&this.bindDocumentDragListener(),this.props.resizable&&this.bindDocumentResizeListeners(),this.props.closeOnEscape&&this.props.closable&&this.bindDocumentKeyDownListener()}},{key:"unbindGlobalListeners",value:function(){this.unbindDocumentDragListener(),this.unbindDocumentResizeListeners(),this.unbindDocumentKeyDownListener()}},{key:"bindDocumentDragListener",value:function(){this.documentDragListener=this.onDrag.bind(this),this.documentDragEndListener=this.onDragEnd.bind(this),window.document.addEventListener("mousemove",this.documentDragListener),window.document.addEventListener("mouseup",this.documentDragEndListener)}},{key:"unbindDocumentDragListener",value:function(){this.documentDragListener&&this.documentDragEndListener&&(window.document.removeEventListener("mousemove",this.documentDragListener),window.document.removeEventListener("mouseup",this.documentDragEndListener),this.documentDragListener=null,this.documentDragEndListener=null)}},{key:"bindDocumentResizeListeners",value:function(){this.documentResizeListener=this.onResize.bind(this),this.documentResizeEndListener=this.onResizeEnd.bind(this),window.document.addEventListener("mousemove",this.documentResizeListener),window.document.addEventListener("mouseup",this.documentResizeEndListener)}},{key:"unbindDocumentResizeListeners",value:function(){this.documentResizeListener&&this.documentResizeEndListener&&(window.document.removeEventListener("mousemove",this.documentResizeListener),window.document.removeEventListener("mouseup",this.documentResizeEndListener),this.documentResizeListener=null,this.documentResizeEndListener=null)}},{key:"bindDocumentKeyDownListener",value:function(){var t=this;this.documentKeyDownListener=function(e){var n=e.currentTarget;if(n&&n.primeDialogParams){var r=n.primeDialogParams,o=r.length,i=r[o-1]?r[o-1].id:void 0;if(i===t.state.id){var a=document.getElementById(i);if(27===e.which)t.onClose(e),e.stopImmediatePropagation(),r.splice(o-1,1);else if(9===e.which){e.preventDefault();var s=V.getFocusableElements(a);if(s&&s.length>0)if(document.activeElement){var u=s.indexOf(document.activeElement);e.shiftKey?-1===u||0===u?s[s.length-1].focus():s[u-1].focus():-1===u||u===s.length-1?s[0].focus():s[u+1].focus()}else s[0].focus()}}}};var e={id:this.state.id,hasBlockScroll:this.props.blockScroll};document.primeDialogParams=document.primeDialogParams?[].concat(_t(document.primeDialogParams),[e]):[e],document.addEventListener("keydown",this.documentKeyDownListener)}},{key:"unbindDocumentKeyDownListener",value:function(){var t=this;this.documentKeyDownListener&&(document.removeEventListener("keydown",this.documentKeyDownListener),document.primeDialogParams=document.primeDialogParams&&document.primeDialogParams.filter((function(e){return e.id!==t.state.id})),this.documentKeyDownListener=null)}},{key:"createStyle",value:function(){if(!this.styleElement){this.styleElement=document.createElement("style"),document.head.appendChild(this.styleElement);var t="";for(var e in this.props.breakpoints)t+="\n @media screen and (max-width: ".concat(e,") {\n .p-dialog[").concat(this.attributeSelector,"] {\n width: ").concat(this.props.breakpoints[e]," !important;\n }\n }\n ");this.styleElement.innerHTML=t}}},{key:"componentDidMount",value:function(){var t=this;this.state.id||this.setState({id:Z()}),this.props.visible&&this.setState({visible:!0},(function(){J.set("modal",t.mask,t.props.baseZIndex)})),this.props.breakpoints&&this.createStyle()}},{key:"componentDidUpdate",value:function(t){var e=this;this.props.visible&&!this.state.maskVisible&&this.setState({maskVisible:!0},(function(){J.set("modal",e.mask,e.props.baseZIndex)})),this.props.visible!==this.state.visible&&this.state.maskVisible&&this.setState({visible:this.props.visible}),t.maximized!==this.props.maximized&&this.props.onMaximize&&this.changeScrollOnMaximizable()}},{key:"changeScrollOnMaximizable",value:function(){if(!this.props.blockScroll){var t=this.maximized?"addClass":"removeClass";V[t](document.body,"p-overflow-hidden")}}},{key:"componentWillUnmount",value:function(){this.disableDocumentSettings(),this.styleElement&&(document.head.removeChild(this.styleElement),this.styleElement=null),J.clear(this.mask)}},{key:"renderCloseIcon",value:function(){var t=this;return this.props.closable?i.a.createElement("button",{ref:function(e){return t.closeElement=e},type:"button",className:"p-dialog-header-icon p-dialog-header-close p-link","aria-label":this.props.ariaCloseIconLabel,onClick:this.onClose},i.a.createElement("span",{className:"p-dialog-header-close-icon pi pi-times"}),i.a.createElement(at,null)):null}},{key:"renderMaximizeIcon",value:function(){var t=M("p-dialog-header-maximize-icon pi",{"pi-window-maximize":!this.maximized,"pi-window-minimize":this.maximized});return this.props.maximizable?i.a.createElement("button",{type:"button",className:"p-dialog-header-icon p-dialog-header-maximize p-link",onClick:this.toggleMaximize},i.a.createElement("span",{className:t}),i.a.createElement(at,null)):null}},{key:"renderHeader",value:function(){var t=this;if(this.props.showHeader){var e=this.renderCloseIcon(),n=this.renderMaximizeIcon(),r=H.getJSXElement(this.props.icons,this.props),o=H.getJSXElement(this.props.header,this.props);return i.a.createElement("div",{ref:function(e){return t.headerEl=e},className:"p-dialog-header",onMouseDown:this.onDragStart},i.a.createElement("div",{id:this.state.id+"_header",className:"p-dialog-title"},o),i.a.createElement("div",{className:"p-dialog-header-icons"},r,n,e))}return null}},{key:"renderContent",value:function(){var t=this,e=M("p-dialog-content",this.props.contentClassName);return i.a.createElement("div",{id:this.state.id+"_content",ref:function(e){return t.contentEl=e},className:e,style:this.props.contentStyle},this.props.children)}},{key:"renderFooter",value:function(){var t=this,e=H.getJSXElement(this.props.footer,this.props);return e&&i.a.createElement("div",{ref:function(e){return t.footerElement=e},className:"p-dialog-footer"},e)}},{key:"renderResizer",value:function(){return this.props.resizable?i.a.createElement("div",{className:"p-resizable-handle",style:{zIndex:90},onMouseDown:this.onResizeStart}):null}},{key:"renderElement",value:function(){var t=this,e=M("p-dialog p-component",this.props.className,{"p-dialog-rtl":this.props.rtl,"p-dialog-maximized":this.maximized}),n=M("p-dialog-mask",{"p-component-overlay p-component-overlay-enter":this.props.modal,"p-dialog-visible":this.state.maskVisible,"p-dialog-draggable":this.props.draggable,"p-dialog-resizable":this.props.resizable},this.props.maskClassName,this.getPositionClass()),r=this.renderHeader(),o=this.renderContent(),a=this.renderFooter(),s=this.renderResizer(),u={enter:"center"===this.props.position?150:300,exit:"center"===this.props.position?150:300};return i.a.createElement("div",{ref:function(e){return t.mask=e},className:n,onClick:this.onMaskClick},i.a.createElement(Et,{nodeRef:this.dialogRef,classNames:"p-dialog",timeout:u,in:this.state.visible,options:this.props.transitionOptions,unmountOnExit:!0,onEnter:this.onEnter,onEntered:this.onEntered,onExited:this.onExited},i.a.createElement("div",{ref:this.dialogRef,id:this.state.id,className:e,style:this.props.style,onClick:this.props.onClick,role:"dialog","aria-labelledby":this.state.id+"_header","aria-describedby":this.state.id+"_content","aria-modal":this.props.modal},r,o,a,s)))}},{key:"render",value:function(){if(this.state.maskVisible){var t=this.renderElement();return i.a.createElement(lt,{element:t,appendTo:this.props.appendTo,visible:!0})}return null}}])&&Ct(e.prototype,n),r&&Ct(e,r),a}(o.Component);function kt(t,e){var n=Object.create(null);return t&&o.Children.map(t,(function(t){return t})).forEach((function(t){n[t.key]=function(t){return e&&Object(o.isValidElement)(t)?e(t):t}(t)})),n}function Mt(t,e,n){return null!=n[e]?n[e]:t.props[e]}function Lt(t,e,n){var r=kt(t.children),i=function(t,e){function n(n){return n in e?e[n]:t[n]}t=t||{},e=e||{};var r,o=Object.create(null),i=[];for(var a in t)a in e?i.length&&(o[a]=i,i=[]):i.push(a);var s={};for(var u in e){if(o[u])for(r=0;r<o[u].length;r++){var l=o[u][r];s[o[u][r]]=n(l)}s[u]=n(u)}for(r=0;r<i.length;r++)s[i[r]]=n(i[r]);return s}(e,r);return Object.keys(i).forEach((function(a){var s=i[a];if(Object(o.isValidElement)(s)){var u=a in e,l=a in r,c=e[a],f=Object(o.isValidElement)(c)&&!c.props.in;!l||u&&!f?l||!u||f?l&&u&&Object(o.isValidElement)(c)&&(i[a]=Object(o.cloneElement)(s,{onExited:n.bind(null,s),in:c.props.in,exit:Mt(s,"exit",t),enter:Mt(s,"enter",t)})):i[a]=Object(o.cloneElement)(s,{in:!1}):i[a]=Object(o.cloneElement)(s,{onExited:n.bind(null,s),in:!0,exit:Mt(s,"exit",t),enter:Mt(s,"enter",t)})}})),i}Pt={id:null,header:null,footer:null,visible:!1,position:"center",draggable:!0,resizable:!0,modal:!0,onHide:null,onShow:null,contentStyle:null,contentClassName:null,closeOnEscape:!0,dismissableMask:!1,rtl:!1,closable:!0,style:null,className:null,maskClassName:null,showHeader:!0,appendTo:null,baseZIndex:0,maximizable:!1,blockScroll:!1,icons:null,ariaCloseIconLabel:"Close",focusOnShow:!0,minX:0,minY:0,keepInViewport:!0,maximized:!1,breakpoints:null,transitionOptions:null,onMaximize:null,onDragStart:null,onDrag:null,onDragEnd:null,onResizeStart:null,onResize:null,onResizeEnd:null,onClick:null,onMaskClick:null},(Dt="defaultProps")in(Nt=xt)?Object.defineProperty(Nt,Dt,{value:Pt,enumerable:!0,configurable:!0,writable:!0}):Nt[Dt]=Pt;var Bt=Object.values||function(t){return Object.keys(t).map((function(e){return t[e]}))},Ft=function(t){function e(e,n){var r,o=(r=t.call(this,e,n)||this).handleExited.bind(function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(r));return r.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},r}_(e,t);var n=e.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},e.getDerivedStateFromProps=function(t,e){var n,r,i=e.children,a=e.handleExited;return{children:e.firstRender?(n=t,r=a,kt(n.children,(function(t){return Object(o.cloneElement)(t,{onExited:r.bind(null,t),in:!0,appear:Mt(t,"appear",n),enter:Mt(t,"enter",n),exit:Mt(t,"exit",n)})}))):Lt(t,i,a),firstRender:!1}},n.handleExited=function(t,e){var n=kt(this.props.children);t.key in n||(t.props.onExited&&t.props.onExited(e),this.mounted&&this.setState((function(e){var n=w({},e.children);return delete n[t.key],{children:n}})))},n.render=function(){var t=this.props,e=t.component,n=t.childFactory,r=E(t,["component","childFactory"]),o=this.state.contextValue,a=Bt(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===e?i.a.createElement(A.Provider,{value:o},a):i.a.createElement(A.Provider,{value:o},i.a.createElement(e,r,a))},e}(i.a.Component);Ft.propTypes={},Ft.defaultProps={component:"div",childFactory:function(t){return t}};var Ut=Ft;function zt(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function Vt(t){return function(t){if(Array.isArray(t))return zt(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return zt(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?zt(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function jt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ht(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Wt(t,e,n){return e&&Ht(t.prototype,e),n&&Ht(t,n),t}function Gt(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Xt(t,e){return(Xt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Yt(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Xt(t,e)}function Kt(t){return(Kt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Zt(t,e){return!e||"object"!==Kt(e)&&"function"!=typeof e?Gt(t):e}function qt(t){return(qt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Qt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function $t(){return($t=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function Jt(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function te(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Jt(Object(n),!0).forEach((function(e){Qt(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Jt(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function ee(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=qt(t);if(e){var o=qt(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Zt(this,n)}}var ne=function(t){Yt(n,t);var e=ee(n);function n(t){var r;return jt(this,n),(r=e.call(this,t)).onClick=r.onClick.bind(Gt(r)),r.onClose=r.onClose.bind(Gt(r)),r}return Wt(n,[{key:"componentWillUnmount",value:function(){this.timeout&&clearTimeout(this.timeout)}},{key:"componentDidMount",value:function(){var t=this;this.props.message.sticky||(this.timeout=setTimeout((function(){t.onClose(null)}),this.props.message.life||3e3))}},{key:"onClose",value:function(){this.timeout&&clearTimeout(this.timeout),this.props.onClose&&this.props.onClose(this.props.message)}},{key:"onClick",value:function(t){!this.props.onClick||V.hasClass(t.target,"p-toast-icon-close")||V.hasClass(t.target,"p-toast-icon-close-icon")||this.props.onClick(this.props.message)}},{key:"renderCloseIcon",value:function(){return!1!==this.props.message.closable?i.a.createElement("button",{type:"button",className:"p-toast-icon-close p-link",onClick:this.onClose},i.a.createElement("span",{className:"p-toast-icon-close-icon pi pi-times"}),i.a.createElement(at,null)):null}},{key:"renderMessage",value:function(){if(this.props.message){var t=this.props.message,e=t.severity,n=t.content,r=t.summary,o=t.detail,a=H.getJSXElement(n,te(te({},this.props),{},{onClose:this.onClose})),s=M("p-toast-message-icon pi",{"pi-info-circle":"info"===e,"pi-exclamation-triangle":"warn"===e,"pi-times":"error"===e,"pi-check":"success"===e});return a||i.a.createElement(i.a.Fragment,null,i.a.createElement("span",{className:s}),i.a.createElement("div",{className:"p-toast-message-text"},i.a.createElement("span",{className:"p-toast-summary"},r),o&&i.a.createElement("div",{className:"p-toast-detail"},o)))}return null}},{key:"render",value:function(){var t=this.props.message.severity,e=this.props.message.contentClassName,n=this.props.message.contentStyle,r=this.props.message.style,o=M("p-toast-message",{"p-toast-message-info":"info"===t,"p-toast-message-warn":"warn"===t,"p-toast-message-error":"error"===t,"p-toast-message-success":"success"===t},this.props.message.className),a=this.renderMessage(),s=this.renderCloseIcon();return i.a.createElement("div",{ref:this.props.forwardRef,className:o,style:r,role:"alert","aria-live":"assertive","aria-atomic":"true",onClick:this.onClick},i.a.createElement("div",{className:M("p-toast-message-content",e),style:n},a,s))}}]),n}(o.Component);Qt(ne,"defaultProps",{message:null,onClose:null,onClick:null});var re=i.a.forwardRef((function(t,e){return i.a.createElement(ne,$t({forwardRef:e},t))}));function oe(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=qt(t);if(e){var o=qt(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Zt(this,n)}}var ie=0,ae=function(t){Yt(n,t);var e=oe(n);function n(t){var r;return jt(this,n),(r=e.call(this,t)).state={messages:[]},r.onClose=r.onClose.bind(Gt(r)),r.onEntered=r.onEntered.bind(Gt(r)),r.onExited=r.onExited.bind(Gt(r)),r}return Wt(n,[{key:"show",value:function(t){if(t){var e;if(Array.isArray(t))for(var n=0;n<t.length;n++)t[n].id=ie++,e=[].concat(Vt(this.state.messages),Vt(t));else t.id=ie++,e=this.state.messages?[].concat(Vt(this.state.messages),[t]):[t];0===this.state.messages.length&&J.set("toast",this.container,this.props.baseZIndex),this.setState({messages:e})}}},{key:"clear",value:function(){J.clear(this.container),this.setState({messages:[]})}},{key:"onClose",value:function(t){var e=this.state.messages.filter((function(e){return e.id!==t.id}));this.setState({messages:e}),this.props.onRemove&&this.props.onRemove(t)}},{key:"onEntered",value:function(){this.props.onShow&&this.props.onShow()}},{key:"onExited",value:function(){0===this.state.messages.length&&J.clear(this.container),this.props.onHide&&this.props.onHide()}},{key:"componentWillUnmount",value:function(){J.clear(this.container)}},{key:"render",value:function(){var t=this,e=M("p-toast p-component p-toast-"+this.props.position,this.props.className);return i.a.createElement("div",{ref:function(e){t.container=e},id:this.props.id,className:e,style:this.props.style},i.a.createElement(Ut,null,this.state.messages.map((function(e){var n=i.a.createRef();return i.a.createElement(Et,{nodeRef:n,key:e.id,classNames:"p-toast-message",unmountOnExit:!0,timeout:{enter:300,exit:300},onEntered:t.onEntered,onExited:t.onExited,options:t.props.transitionOptions},i.a.createElement(re,{ref:n,message:e,onClick:t.props.onClick,onClose:t.onClose}))}))))}}]),n}(o.Component);Qt(ae,"defaultProps",{id:null,className:null,style:null,baseZIndex:0,position:"top-right",transitionOptions:null,onClick:null,onRemove:null,onShow:null,onHide:null});var se=function(){function t(){}return t.isMobile=function(){return/iPhone|iPad|iPod|Android/i.test(navigator.userAgent)},t.isIOSMobile=function(){return/iPhone|iPad|iPod/i.test(navigator.userAgent)},t}();function ue(){return(ue=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function le(t){return(le="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ce(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function fe(t,e){return(fe=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function pe(t,e){return!e||"object"!==le(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function de(t){return(de=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function he(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ge(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function ye(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=de(t);if(e){var o=de(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return pe(this,n)}}var ve=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&fe(t,e)}(s,t);var e,n,r,a=ye(s);function s(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(e=a.call(this,t)).elementRef=Object(o.createRef)(e.props.forwardRef),e}return e=s,(n=[{key:"updateForwardRef",value:function(){var t=this.props.forwardRef;t&&("function"==typeof t?t(this.elementRef.current):t.current=this.elementRef.current)}},{key:"isDisabled",value:function(){return this.props.disabled||this.props.loading}},{key:"componentDidMount",value:function(){this.updateForwardRef(),this.props.tooltip&&this.renderTooltip()}},{key:"componentDidUpdate",value:function(t){t.tooltip===this.props.tooltip&&t.tooltipOptions===this.props.tooltipOptions||(this.tooltip?this.tooltip.update(function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ge(Object(n),!0).forEach((function(e){he(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ge(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({content:this.props.tooltip},this.props.tooltipOptions||{})):this.renderTooltip())}},{key:"componentWillUnmount",value:function(){this.tooltip&&(this.tooltip.destroy(),this.tooltip=null)}},{key:"renderTooltip",value:function(){this.tooltip=dt({target:this.elementRef.current,content:this.props.tooltip,options:this.props.tooltipOptions})}},{key:"renderIcon",value:function(){var t=this.props.loading?this.props.loadingIcon:this.props.icon,e=null;if(t){var n,r=le(t),o=M("p-button-icon p-c",(he(n={"p-button-loading-icon":this.props.loading},"".concat(t),"string"===r),he(n,"p-button-icon-left","left"===this.props.iconPos&&this.props.label),he(n,"p-button-icon-right","right"===this.props.iconPos&&this.props.label),he(n,"p-button-icon-top","top"===this.props.iconPos&&this.props.label),he(n,"p-button-icon-bottom","bottom"===this.props.iconPos&&this.props.label),n));if(e=i.a.createElement("span",{className:o}),"string"!==r){var a={className:o,element:e,props:this.props};e=H.getJSXElement(t,a)}}return e}},{key:"renderLabel",value:function(){return this.props.label?i.a.createElement("span",{className:"p-button-label p-c"},this.props.label):!this.props.children&&!this.props.label&&i.a.createElement("span",{className:"p-button-label p-c",dangerouslySetInnerHTML:{__html:" "}})}},{key:"renderBadge",value:function(){if(this.props.badge){var t=M("p-badge",this.props.badgeClassName);return i.a.createElement("span",{className:t},this.props.badge)}return null}},{key:"render",value:function(){var t=this.isDisabled(),e=M("p-button p-component",this.props.className,he({"p-button-icon-only":(this.props.icon||this.props.loading&&this.props.loadingIcon)&&!this.props.label,"p-button-vertical":("top"===this.props.iconPos||"bottom"===this.props.iconPos)&&this.props.label,"p-disabled":t,"p-button-loading":this.props.loading,"p-button-loading-label-only":this.props.loading&&!this.props.icon&&this.props.label},"p-button-loading-".concat(this.props.iconPos),this.props.loading&&this.props.loadingIcon&&this.props.label)),n=this.renderIcon(),r=this.renderLabel(),o=this.renderBadge(),a=H.findDiffKeys(this.props,s.defaultProps);return i.a.createElement("button",ue({ref:this.elementRef},a,{className:e,disabled:t}),n,r,this.props.children,o,i.a.createElement(at,null))}}])&&ce(e.prototype,n),r&&ce(e,r),s}(o.Component);he(ve,"defaultProps",{label:null,icon:null,iconPos:"left",badge:null,badgeClassName:null,tooltip:null,tooltipOptions:null,forwardRef:null,disabled:!1,loading:!1,loadingIcon:"pi pi-spinner pi-spin"});var me=i.a.forwardRef((function(t,e){return i.a.createElement(ve,ue({forwardRef:e},t))})),we=function(){return(we=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};function Ee(t){function e(){window.removeEventListener("focus",e)}return Object(r.jsxs)("div",we({className:"ios-file-dialog-wrapper"},{children:[Object(r.jsx)(me,{icon:"pi pi-upload",iconPos:"top"},void 0),Object(r.jsx)("input",{type:"file",className:"p-button p-component ios-file-dialog-button",accept:".png, .jpg, .jpeg",onChange:function(n){window.removeEventListener("focus",e),void 0!==n.target.files&&(n.persist(),function(e,n){var r=e[0];r?(n.target.value="",t.onSelectFile(r)):t.onSelectFile(null)}(n.target.files,n))},onClick:function(){t.onSelectFile(null),window.addEventListener("focus",e)},capture:"environment"},void 0)]}),void 0)}function be(t){return Object(r.jsx)(me,{icon:"pi pi-upload",iconPos:"top",onClick:function(){f.selectFile().then(t.onSelect)},autoFocus:!0},void 0)}n(150);function _e(t){var e=Object(o.useState)(!1),n=e[0],i=e[1];return Object(o.useEffect)((function(){return i(t.loading)}),[t.loading]),n?Object(r.jsx)(me,{loading:!0},void 0):se.isIOSMobile()?Object(r.jsx)(Ee,{onSelectFile:t.onSelectFile},void 0):Object(r.jsx)(be,{onSelect:t.onSelectFile},void 0)}var Ce=function(t,e,n,r){return new(n||(n=Promise))((function(o,i){function a(t){try{u(r.next(t))}catch(t){i(t)}}function s(t){try{u(r.throw(t))}catch(t){i(t)}}function u(t){t.done?o(t.value):function(t){return t instanceof n?t:new n((function(e){e(t)}))}(t.value).then(a,s)}u((r=r.apply(t,e||[])).next())}))},Se=function(t,e){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=e.call(t,a)}catch(t){i=[6,t],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},Ae=function(){function t(){}return t.getVideoMediaDevices=function(){var t=this;return new Promise((function(e,n){return Ce(t,void 0,void 0,(function(){var t,r,o;return Se(this,(function(i){switch(i.label){case 0:return i.trys.push([0,2,,3]),[4,navigator.mediaDevices.enumerateDevices()];case 1:return t=i.sent(),r=t.filter((function(t){return t.deviceId.length>0&&"videoinput"===t.kind})).map((function(t){return{label:t.label.replace(/ (\(.*?\))/g,""),id:t.deviceId}})),e(r),[3,3];case 2:return o=i.sent(),n(o),[3,3];case 3:return[2]}}))}))}))},t.getPermission=function(){var e=this;return new Promise((function(n,r){return Ce(e,void 0,void 0,(function(){var e;return Se(this,(function(r){switch(r.label){case 0:return r.trys.push([0,5,,6]),[4,t.getVideoMediaDevices()];case 1:return 0!==r.sent().length?[3,3]:(e=n,[4,t.getMediaDevicesPermission()]);case 2:return e.apply(void 0,[r.sent()]),[3,4];case 3:n(!0),r.label=4;case 4:return[3,6];case 5:return r.sent(),n(!1),[3,6];case 6:return[2]}}))}))}))},t.getMediaDevicesPermission=function(){return new Promise((function(t,e){navigator.mediaDevices.getUserMedia({video:!0}).then((function(e){e.getTracks().forEach((function(t){t.stop()})),t(!0)})).catch((function(e){return t(!1)}))}))},t}();function Oe(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Ie(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Te(t,e){return(Te=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Re(t){return(Re="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Ne(t,e){return!e||"object"!==Re(e)&&"function"!=typeof e?Ie(t):e}function De(t){return(De=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Pe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function xe(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function ke(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?xe(Object(n),!0).forEach((function(e){Pe(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):xe(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Me(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=De(t);if(e){var o=De(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Ne(this,n)}}var Le=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Te(t,e)}(a,t);var e,n,r,o=Me(a);function a(t){var e;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a);var n=(e=o.call(this,t)).isBoth();return e.state={first:n?{rows:0,cols:0}:0,last:n?{rows:0,cols:0}:0,numItemsInViewport:n?{rows:0,cols:0}:0,numToleratedItems:t.numToleratedItems,loading:!1},e.onScroll=e.onScroll.bind(Ie(e)),e.lastScrollPos=n?{top:0,left:0}:0,e}return e=a,(n=[{key:"scrollTo",value:function(t){this.element&&this.element.scrollTo(t)}},{key:"scrollToIndex",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"auto",r=this.isBoth(),o=this.isHorizontal(),i=this.state.first,a=this.props.itemSize,s=this.getContentPadding(),u=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return t<=e.state.numToleratedItems?0:t},l=function(t,e,n){return t*e+n},c=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return e.scrollTo({left:t,top:r,behavior:n})};if(r){var f={rows:u(t[0]),cols:u(t[1])};(f.rows!==i.rows||f.cols!==i.cols)&&c(l(f.cols,a[1],s.left),l(f.rows,a[0],s.top))}else{var p=u(t);p!==i&&(o?c(l(p,a,s.left),0):c(0,l(p,a,s.top)))}}},{key:"scrollInView",value:function(t,e){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"auto";if(e){var o=this.isBoth(),i=this.isHorizontal(),a=this.getRenderedRange(),s=a.first,u=a.viewport,l=this.props.itemSize,c=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return n.scrollTo({left:t,top:e,behavior:r})},f="to-start"===e,p="to-end"===e;if(f){if(o)u.first.rows-s.rows>t[0]?c(u.first.cols*l,(u.first.rows-1)*l):u.first.cols-s.cols>t[1]&&c((u.first.cols-1)*l,u.first.rows*l);else if(u.first-s>t){var d=(u.first-1)*l;i?c(d,0):c(0,d)}}else if(p)if(o)u.last.rows-s.rows<=t[0]+1?c(u.first.cols*l,(u.first.rows+1)*l):u.last.cols-s.cols<=t[1]+1&&c((u.first.cols+1)*l,u.first.rows*l);else if(u.last-s<=t+1){var h=(u.first+1)*l;i?c(h,0):c(0,h)}}else this.scrollToIndex(t,r)}},{key:"getRenderedRange",value:function(){var t=this.isBoth(),e=this.isHorizontal(),n=this.state,r=n.first,o=n.last,i=n.numItemsInViewport,a=this.props.itemSize,s=function(t,e){return Math.floor(t/(e||t))},u=r,l=0;if(this.element){var c=this.element.scrollTop,f=this.element.scrollLeft;l=t?{rows:(u={rows:s(c,a[0]),cols:s(f,a[1])}).rows+i.rows,cols:u.cols+i.cols}:(u=s(e?f:c,a))+i}return{first:r,last:o,viewport:{first:u,last:l}}}},{key:"isHorizontal",value:function(){return"horizontal"===this.props.orientation}},{key:"isBoth",value:function(){return"both"===this.props.orientation}},{key:"calculateOptions",value:function(){var t=this,e=this.isBoth(),n=this.isHorizontal(),r=this.state.first,o=this.props.itemSize,i=this.getContentPadding(),a=this.element?this.element.offsetWidth-i.left:0,s=this.element?this.element.offsetHeight-i.top:0,u=function(t,e){return Math.ceil(t/(e||t))},l=e?{rows:u(s,o[0]),cols:u(a,o[1])}:u(n?a:s,o),c=this.state.numToleratedItems||Math.ceil((e?l.rows:l)/2),f=function(e,n,r){return t.getLast(e+n+(e<c?2:3)*c,r)},p={numItemsInViewport:l,last:e?{rows:f(r.rows,l.rows),cols:f(r.cols,l.cols,!0)}:f(r,l),numToleratedItems:c};this.props.showLoader&&(p.loaderArr=Array.from({length:e?l.rows:l})),this.setState(p,(function(){t.props.lazy&&t.props.onLazyLoad&&t.props.onLazyLoad({first:t.state.first,last:t.state.last})}))}},{key:"getLast",value:function(t,e){return this.props.items?Math.min(e?this.props.items[0].length:this.props.items.length,t):0}},{key:"getContentPadding",value:function(){if(this.content){var t=getComputedStyle(this.content),e=parseInt(t.paddingLeft,10),n=parseInt(t.paddingRight,10),r=parseInt(t.paddingTop,10),o=parseInt(t.paddingBottom,10);return{left:e,right:n,top:r,bottom:o,x:e+n,y:r+o}}return{left:0,right:0,top:0,bottom:0,x:0,y:0}}},{key:"setSize",value:function(){var t=this;if(this.element){var e=this.isBoth(),n=this.isHorizontal(),r=this.element.parentElement,o=this.props.scrollWidth||"".concat(this.element.offsetWidth||r.offsetWidth,"px"),i=this.props.scrollHeight||"".concat(this.element.offsetHeight||r.offsetHeight,"px"),a=function(e,n){return t.element.style[e]=n};e?(a("height",i),a("width",o)):n?a("width",o):a("height",i)}}},{key:"setSpacerSize",value:function(){var t=this,e=this.props.items;if(this.spacer&&e){var n=this.isBoth(),r=this.isHorizontal(),o=this.props.itemSize,i=this.getContentPadding(),a=function(e,n,r){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;return t.spacer.style[e]=(n||[]).length*r+o+"px"};n?(a("height",e[0],o[0],i.y),a("width",e[1],o[1],i.x)):r?a("width",e,o,i.x):a("height",e,o,i.y)}}},{key:"setContentPosition",value:function(t){var e=this;if(this.content){var n=this.isBoth(),r=this.isHorizontal(),o=t?t.first:this.state.first,i=this.props.itemSize,a=function(t,e){return t*e},s=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return e.content.style.transform="translate3d(".concat(t,"px, ").concat(n,"px, 0)")};if(n)s(a(o.cols,i[1]),a(o.rows,i[0]));else{var u=a(o,i);r?s(u,0):s(0,u)}}}},{key:"onScrollPositionChange",value:function(t){var e=this,n=t.target,r=this.isBoth(),o=this.isHorizontal(),i=this.state,a=i.first,s=i.last,u=i.numItemsInViewport,l=i.numToleratedItems,c=this.props.itemSize,f=this.getContentPadding(),p=function(t,e){return t?t>e?t-e:t:0},d=function(t,e){return Math.floor(t/(e||t))},h=function(t,e,n,r,o){return t<=l?l:o?n-r-l:e+l-1},g=function(t,e,n,r,o,i){return t<=l?0:i?t<e?n:t-l:t>e?n:t-2*l},y=function(t,n,r,o,i){var a=n+o+2*l;return t>=l&&(a+=l+1),e.getLast(a,i)},v=p(n.scrollTop,f.top),m=p(n.scrollLeft,f.left),w=0,E=s,b=!1;if(r){var _=this.lastScrollPos.top<=v,C=this.lastScrollPos.left<=m,S={rows:d(v,c[0]),cols:d(m,c[1])},A={rows:h(S.rows,a.rows,s.rows,u.rows,_),cols:h(S.cols,a.cols,s.cols,u.cols,C)};w={rows:g(S.rows,A.rows,a.rows,s.rows,u.rows,_),cols:g(S.cols,A.cols,a.cols,s.cols,u.cols,C)},E={rows:y(S.rows,w.rows,s.rows,u.rows),cols:y(S.cols,w.cols,s.cols,u.cols,!0)},b=w.rows!==a.rows||w.cols!==a.cols||E.rows!==s.rows||E.cols!==s.cols,this.lastScrollPos={top:v,left:m}}else{var O=o?m:v,I=this.lastScrollPos<=O,T=d(O,c);E=y(T,w=g(T,h(T,a,s,u,I),a,0,0,I),0,u),b=w!==a||E!==s,this.lastScrollPos=O}return{first:w,last:E,isRangeChanged:b}}},{key:"onScrollChange",value:function(t){var e=this,n=this.onScrollPositionChange(t),r=n.first,o=n.last;if(n.isRangeChanged){var i={first:r,last:o};this.setContentPosition(i),this.props.lazy&&this.props.onLazyLoad&&this.props.onLazyLoad(i),this.setState(i,(function(){e.props.onScrollIndexChange&&e.props.onScrollIndexChange(i)}))}}},{key:"onScroll",value:function(t){var e=this;this.props.onScroll&&this.props.onScroll(t),this.props.delay?(this.scrollTimeout&&clearTimeout(this.scrollTimeout),!this.state.loading&&this.props.showLoader&&this.onScrollPositionChange(t).isRangeChanged&&this.setState({loading:!0}),this.scrollTimeout=setTimeout((function(){e.onScrollChange(t),e.state.loading&&e.props.showLoader&&!e.props.lazy&&e.setState({loading:!1})}),this.props.delay)):this.onScrollChange(t)}},{key:"getOptions",value:function(t,e){return{index:t,count:e,first:0===t,last:t===e-1,even:t%2==0,odd:t%2!=0,props:this.props}}},{key:"init",value:function(){this.setSize(),this.calculateOptions(),this.setSpacerSize()}},{key:"componentDidMount",value:function(){this.init()}},{key:"componentDidUpdate",value:function(t,e){t.itemSize===this.props.itemSize&&t.items&&t.items.length===(this.props.items||[]).length||this.init(),this.props.lazy&&t.loading!==this.props.loading&&this.state.loading!==this.props.loading&&this.setState({loading:this.props.loading}),t.orientation!==this.props.orientation&&(this.lastScrollPos=this.isBoth()?{top:0,left:0}:0)}},{key:"renderItem",value:function(t,e,n,r){var o=this.getOptions(e,n),a=H.getJSXElement(this.props.itemTemplate,r||t,o);return i.a.createElement(i.a.Fragment,{key:e},a)}},{key:"renderItems",value:function(){var t=this,e=this.props.items;if(e&&!this.state.loading){var n=this.isBoth(),r=this.state,o=r.first,i=r.last,a=e.length;return n?e.slice(o.rows,i.rows).map((function(e,n){var r=e.slice(o.cols,i.cols),s=o.rows+n;return t.renderItem(e,s,a,r)})):e.slice(o,i).map((function(e,n){var r=o+n;return t.renderItem(e,r,a)}))}return null}},{key:"renderLoaderItem",value:function(t,e,n){var r=ke(ke({},this.getOptions(t,e)),n||{}),o=H.getJSXElement(this.props.loadingTemplate,r);return i.a.createElement(i.a.Fragment,{key:t},o)}},{key:"renderLoader",value:function(){var t=this;if(this.state.loading){var e=M("p-virtualscroller-loader",{"p-component-overlay":!this.props.loadingTemplate}),n=i.a.createElement("i",{className:"p-virtualscroller-loading-icon pi pi-spinner pi-spin"});if(this.props.loadingTemplate){var r=this.isBoth(),o=this.state.numItemsInViewport,a=r?o.rows:o;n=this.state.loaderArr.map((function(e,n){return t.renderLoaderItem(n,a,r&&{numCols:o.cols})}))}return i.a.createElement("div",{className:e},n)}return null}},{key:"renderContent",value:function(){var t=this,e=this.renderItems(),n=i.a.createElement("div",{className:"p-virtualscroller-content",ref:function(e){return t.content=e}},e);if(this.props.contentTemplate){var r=this.state,o=r.loading,a=r.first,s=r.last,u={className:"p-virtualscroller-content",ref:function(e){return t.content=e},children:e,element:n,props:this.props,loading:o,first:a,last:s};return H.getJSXElement(this.props.contentTemplate,u)}return n}},{key:"render",value:function(){var t=this,e=M("p-virtualscroller",{"p-both-scroll":this.isBoth(),"p-horizontal-scroll":this.isHorizontal()},this.props.className),n=this.renderLoader(),r=this.renderContent();return i.a.createElement("div",{ref:function(e){return t.element=e},className:e,tabIndex:0,style:this.props.style,onScroll:this.onScroll},r,i.a.createElement("div",{ref:function(e){return t.spacer=e},className:"p-virtualscroller-spacer"}),n)}}])&&Oe(e.prototype,n),r&&Oe(e,r),a}(o.Component);function Be(){return(Be=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function Fe(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ue(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function ze(t,e,n){return e&&Ue(t.prototype,e),n&&Ue(t,n),t}function Ve(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function je(t,e){return(je=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function He(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&je(t,e)}function We(t){return(We="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Ge(t,e){return!e||"object"!==We(e)&&"function"!=typeof e?Ve(t):e}function Xe(t){return(Xe=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Ye(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ke(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Xe(t);if(e){var o=Xe(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Ge(this,n)}}Pe(Le,"defaultProps",{id:null,style:null,className:null,items:null,itemSize:0,scrollHeight:null,scrollWidth:null,orientation:"vertical",numToleratedItems:null,delay:0,lazy:!1,showLoader:!1,loadingTemplate:null,itemTemplate:null,contentTemplate:null,onScroll:null,onScrollIndexChange:null,onLazyLoad:null});var Ze=function(t){He(n,t);var e=Ke(n);function n(t){var r;return Fe(this,n),(r=e.call(this,t)).onClick=r.onClick.bind(Ve(r)),r}return ze(n,[{key:"onClick",value:function(t){this.props.onClick&&this.props.onClick({originalEvent:t,option:this.props.option})}},{key:"render",value:function(){var t=M("p-dropdown-item",{"p-highlight":this.props.selected,"p-disabled":this.props.disabled,"p-dropdown-item-empty":!this.props.label||0===this.props.label.length},this.props.option.className),e=this.props.template?H.getJSXElement(this.props.template,this.props.option):this.props.label;return i.a.createElement("li",{className:t,onClick:this.onClick,"aria-label":this.props.label,key:this.props.label,role:"option","aria-selected":this.props.selected},e,i.a.createElement(at,null))}}]),n}(o.Component);function qe(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Qe(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?qe(Object(n),!0).forEach((function(e){Ye(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):qe(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function $e(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Xe(t);if(e){var o=Xe(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Ge(this,n)}}Ye(Ze,"defaultProps",{option:null,label:null,template:null,selected:!1,disabled:!1,onClick:null});var Je=function(t){He(n,t);var e=$e(n);function n(t){var r;return Fe(this,n),(r=e.call(this,t)).onEnter=r.onEnter.bind(Ve(r)),r.onEntered=r.onEntered.bind(Ve(r)),r.onFilterInputChange=r.onFilterInputChange.bind(Ve(r)),r}return ze(n,[{key:"onEnter",value:function(){var t=this;this.props.onEnter((function(){if(t.virtualScrollerRef){var e=t.props.getSelectedOptionIndex();-1!==e&&t.virtualScrollerRef.scrollToIndex(e)}}))}},{key:"onEntered",value:function(){var t=this;this.props.onEntered((function(){t.props.filter&&t.props.filterInputAutoFocus&&t.filterInput.focus()}))}},{key:"onFilterInputChange",value:function(t){this.virtualScrollerRef&&this.virtualScrollerRef.scrollToIndex(0),this.props.onFilterInputChange&&this.props.onFilterInputChange(t)}},{key:"isEmptyFilter",value:function(){return!(this.props.visibleOptions&&this.props.visibleOptions.length)&&this.props.hasFilter()}},{key:"renderGroupChildren",value:function(t){var e=this;return this.props.getOptionGroupChildren(t).map((function(t,n){var r=e.props.getOptionLabel(t),o=n+"_"+e.props.getOptionRenderKey(t),a=e.props.isOptionDisabled(t);return i.a.createElement(Ze,{key:o,label:r,option:t,template:e.props.itemTemplate,selected:e.props.isSelected(t),disabled:a,onClick:e.props.onOptionClick})}))}},{key:"renderEmptyMessage",value:function(t){var e=H.getJSXElement(t,this.props);return i.a.createElement("li",{className:"p-dropdown-empty-message"},e)}},{key:"renderItem",value:function(t,e){if(this.props.optionGroupLabel){var n=this.props.optionGroupTemplate?H.getJSXElement(this.props.optionGroupTemplate,t,e):this.props.getOptionGroupLabel(t),r=this.renderGroupChildren(t),o=e+"_"+this.props.getOptionGroupRenderKey(t);return i.a.createElement(i.a.Fragment,{key:o},i.a.createElement("li",{className:"p-dropdown-item-group"},n),r)}var a=this.props.getOptionLabel(t),s=e+"_"+this.props.getOptionRenderKey(t),u=this.props.isOptionDisabled(t);return i.a.createElement(Ze,{key:s,label:a,option:t,template:this.props.itemTemplate,selected:this.props.isSelected(t),disabled:u,onClick:this.props.onOptionClick})}},{key:"renderItems",value:function(){var t=this;return this.props.visibleOptions&&this.props.visibleOptions.length?this.props.visibleOptions.map((function(e,n){return t.renderItem(e,n)})):this.props.hasFilter()?this.renderEmptyMessage(this.props.emptyFilterMessage):this.renderEmptyMessage(this.props.emptyMessage)}},{key:"renderFilterClearIcon",value:function(){var t=this;return this.props.showFilterClear&&this.props.filterValue?i.a.createElement("i",{className:"p-dropdown-filter-clear-icon pi pi-times",onClick:function(){return t.props.onFilterClearIconClick((function(){return t.filterInput.focus()}))}}):null}},{key:"renderFilter",value:function(){var t=this;if(this.props.filter){var e=this.renderFilterClearIcon(),n=M("p-dropdown-filter-container",{"p-dropdown-clearable-filter":!!e});return i.a.createElement("div",{className:"p-dropdown-header"},i.a.createElement("div",{className:n},i.a.createElement("input",{ref:function(e){return t.filterInput=e},type:"text",autoComplete:"off",className:"p-dropdown-filter p-inputtext p-component",placeholder:this.props.filterPlaceholder,onKeyDown:this.props.onFilterInputKeyDown,onChange:this.onFilterInputChange,value:this.props.filterValue}),e,i.a.createElement("i",{className:"p-dropdown-filter-icon pi pi-search"})))}return null}},{key:"renderContent",value:function(){var t=this;if(this.props.virtualScrollerOptions){var e=Qe(Qe({},this.props.virtualScrollerOptions),{style:Qe(Qe({},this.props.virtualScrollerOptions.style),{height:this.props.scrollHeight}),className:M("p-dropdown-items-wrapper",this.props.virtualScrollerOptions.className),items:this.props.visibleOptions,onLazyLoad:function(e){return t.props.virtualScrollerOptions.onLazyLoad(Qe(Qe({},e),{filter:t.props.filterValue}))},itemTemplate:function(e,n){return e&&t.renderItem(e,n.index)},contentTemplate:function(e){var n=M("p-dropdown-items",e.className),r=t.isEmptyFilter()?t.renderEmptyMessage():e.children;return i.a.createElement("ul",{ref:e.ref,className:n,role:"listbox"},r)}});return i.a.createElement(Le,Be({ref:function(e){return t.virtualScrollerRef=e}},e))}var n=this.renderItems();return i.a.createElement("div",{className:"p-dropdown-items-wrapper",style:{maxHeight:this.props.scrollHeight||"auto"}},i.a.createElement("ul",{className:"p-dropdown-items",role:"listbox"},n))}},{key:"renderElement",value:function(){var t=M("p-dropdown-panel p-component",this.props.panelClassName),e=this.renderFilter(),n=this.renderContent();return i.a.createElement(Et,{nodeRef:this.props.forwardRef,classNames:"p-connected-overlay",in:this.props.in,timeout:{enter:120,exit:100},options:this.props.transitionOptions,unmountOnExit:!0,onEnter:this.onEnter,onEntering:this.props.onEntering,onEntered:this.onEntered,onExit:this.props.onExit,onExited:this.props.onExited},i.a.createElement("div",{ref:this.props.forwardRef,className:t,style:this.props.panelStyle,onClick:this.props.onClick},e,n))}},{key:"render",value:function(){var t=this.renderElement();return i.a.createElement(lt,{element:t,appendTo:this.props.appendTo})}}]),n}(o.Component),tn=i.a.forwardRef((function(t,e){return i.a.createElement(Je,Be({forwardRef:e},t))}));function en(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function nn(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?en(Object(n),!0).forEach((function(e){Ye(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):en(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function rn(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return on(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return on(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,o=function(){};return{s:o,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){s=!0,i=t},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function on(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function an(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Xe(t);if(e){var o=Xe(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Ge(this,n)}}var sn=function(t){He(n,t);var e=an(n);function n(t){var r;return Fe(this,n),(r=e.call(this,t)).state={filter:"",focused:!1,overlayVisible:!1},r.onClick=r.onClick.bind(Ve(r)),r.onInputFocus=r.onInputFocus.bind(Ve(r)),r.onInputBlur=r.onInputBlur.bind(Ve(r)),r.onInputKeyDown=r.onInputKeyDown.bind(Ve(r)),r.onEditableInputChange=r.onEditableInputChange.bind(Ve(r)),r.onEditableInputFocus=r.onEditableInputFocus.bind(Ve(r)),r.onOptionClick=r.onOptionClick.bind(Ve(r)),r.onFilterInputChange=r.onFilterInputChange.bind(Ve(r)),r.onFilterInputKeyDown=r.onFilterInputKeyDown.bind(Ve(r)),r.onFilterClearIconClick=r.onFilterClearIconClick.bind(Ve(r)),r.onPanelClick=r.onPanelClick.bind(Ve(r)),r.onOverlayEnter=r.onOverlayEnter.bind(Ve(r)),r.onOverlayEntered=r.onOverlayEntered.bind(Ve(r)),r.onOverlayExit=r.onOverlayExit.bind(Ve(r)),r.onOverlayExited=r.onOverlayExited.bind(Ve(r)),r.resetFilter=r.resetFilter.bind(Ve(r)),r.clear=r.clear.bind(Ve(r)),r.hasFilter=r.hasFilter.bind(Ve(r)),r.getOptionLabel=r.getOptionLabel.bind(Ve(r)),r.getOptionRenderKey=r.getOptionRenderKey.bind(Ve(r)),r.isOptionDisabled=r.isOptionDisabled.bind(Ve(r)),r.getOptionGroupChildren=r.getOptionGroupChildren.bind(Ve(r)),r.getOptionGroupLabel=r.getOptionGroupLabel.bind(Ve(r)),r.getOptionGroupRenderKey=r.getOptionGroupRenderKey.bind(Ve(r)),r.getSelectedOptionIndex=r.getSelectedOptionIndex.bind(Ve(r)),r.isSelected=r.isSelected.bind(Ve(r)),r.overlayRef=Object(o.createRef)(),r.inputRef=Object(o.createRef)(r.props.inputRef),r}return ze(n,[{key:"onClick",value:function(t){this.props.disabled||V.hasClass(t.target,"p-dropdown-clear-icon")||"INPUT"===t.target.tagName||this.overlayRef.current&&this.overlayRef.current&&this.overlayRef.current.contains(t.target)||(this.focusInput.focus(),this.state.overlayVisible?this.hideOverlay():this.showOverlay())}},{key:"onInputFocus",value:function(t){var e=this;t.persist(),this.props.showOnFocus&&!this.state.overlayVisible&&this.showOverlay(),this.setState({focused:!0},(function(){e.props.onFocus&&e.props.onFocus(t)}))}},{key:"onInputBlur",value:function(t){var e=this;t.persist(),this.setState({focused:!1},(function(){e.props.onBlur&&e.props.onBlur(t)}))}},{key:"onPanelClick",value:function(t){yt.emit("overlay-click",{originalEvent:t,target:this.container})}},{key:"onInputKeyDown",value:function(t){switch(t.which){case 40:this.onDownKey(t);break;case 38:this.onUpKey(t);break;case 32:this.state.overlayVisible?this.hideOverlay():this.showOverlay(),t.preventDefault();break;case 13:this.hideOverlay(),t.preventDefault();break;case 27:case 9:this.hideOverlay();break;default:this.search(t)}}},{key:"onFilterInputKeyDown",value:function(t){switch(t.which){case 40:this.onDownKey(t);break;case 38:this.onUpKey(t);break;case 13:case 27:this.hideOverlay(),t.preventDefault()}}},{key:"onUpKey",value:function(t){if(this.getVisibleOptions()){var e=this.findPrevOption(this.getSelectedOptionIndex());e&&this.selectItem({originalEvent:t,option:e})}t.preventDefault()}},{key:"onDownKey",value:function(t){if(this.getVisibleOptions())if(!this.state.overlayVisible&&t.altKey)this.showOverlay();else{var e=this.findNextOption(this.getSelectedOptionIndex());e&&this.selectItem({originalEvent:t,option:e})}t.preventDefault()}},{key:"findNextOption",value:function(t){var e=this.getVisibleOptions();if(this.props.optionGroupLabel){var n=-1===t?0:t.group,r=-1===t?-1:t.option,o=this.findNextOptionInList(this.getOptionGroupChildren(e[n]),r);return o||(n+1!==e.length?this.findNextOption({group:n+1,option:-1}):null)}return this.findNextOptionInList(e,t)}},{key:"findNextOptionInList",value:function(t,e){var n=e+1;if(n===t.length)return null;var r=t[n];return this.isOptionDisabled(r)?this.findNextOptionInList(n):r}},{key:"findPrevOption",value:function(t){if(-1===t)return null;var e=this.getVisibleOptions();if(this.props.optionGroupLabel){var n=t.group,r=t.option,o=this.findPrevOptionInList(this.getOptionGroupChildren(e[n]),r);return o||(n>0?this.findPrevOption({group:n-1,option:this.getOptionGroupChildren(e[n-1]).length}):null)}return this.findPrevOptionInList(e,t)}},{key:"findPrevOptionInList",value:function(t,e){var n=e-1;if(n<0)return null;var r=t[n];return this.isOptionDisabled(r)?this.findPrevOption(n):r}},{key:"search",value:function(t){var e=this;this.searchTimeout&&clearTimeout(this.searchTimeout);var n=t.key;if(this.previousSearchChar=this.currentSearchChar,this.currentSearchChar=n,this.previousSearchChar===this.currentSearchChar?this.searchValue=this.currentSearchChar:this.searchValue=this.searchValue?this.searchValue+n:n,this.searchValue){var r=this.getSelectedOptionIndex(),o=this.props.optionGroupLabel?this.searchOptionInGroup(r):this.searchOption(++r);o&&(this.selectItem({originalEvent:t,option:o}),this.selectedOptionUpdated=!0)}this.searchTimeout=setTimeout((function(){e.searchValue=null}),250)}},{key:"searchOption",value:function(t){var e;if(this.searchValue){var n=this.getVisibleOptions();(e=this.searchOptionInRange(t,n.length))||(e=this.searchOptionInRange(0,t))}return e}},{key:"searchOptionInRange",value:function(t,e){for(var n=this.getVisibleOptions(),r=t;r<e;r++){var o=n[r];if(this.matchesSearchValue(o))return o}return null}},{key:"searchOptionInGroup",value:function(t){for(var e=-1===t?{group:0,option:-1}:t,n=this.getVisibleOptions(),r=e.group;r<n.length;r++)for(var o=this.getOptionGroupChildren(n[r]),i=e.group===r?e.option+1:0;i<o.length;i++)if(this.matchesSearchValue(o[i]))return o[i];for(var a=0;a<=e.group;a++)for(var s=this.getOptionGroupChildren(n[a]),u=0;u<(e.group===a?e.option:s.length);u++)if(this.matchesSearchValue(s[u]))return s[u];return null}},{key:"matchesSearchValue",value:function(t){return this.getOptionLabel(t).toLocaleLowerCase(this.props.filterLocale).startsWith(this.searchValue.toLocaleLowerCase(this.props.filterLocale))}},{key:"onEditableInputChange",value:function(t){this.props.onChange&&this.props.onChange({originalEvent:t.originalEvent,value:t.target.value,stopPropagation:function(){},preventDefault:function(){},target:{name:this.props.name,id:this.props.id,value:t.target.value}})}},{key:"onEditableInputFocus",value:function(t){var e=this;t.persist(),this.setState({focused:!0},(function(){e.hideOverlay(),e.props.onFocus&&e.props.onFocus(t)}))}},{key:"onOptionClick",value:function(t){t.option.disabled||(this.selectItem(t),this.focusInput.focus()),this.hideOverlay()}},{key:"onFilterInputChange",value:function(t){var e=this,n=t.target.value;this.setState({filter:n},(function(){e.props.onFilter&&e.props.onFilter({originalEvent:t,filter:n})}))}},{key:"onFilterClearIconClick",value:function(t){this.resetFilter(t)}},{key:"resetFilter",value:function(t){var e=this;this.setState({filter:""},(function(){e.props.onFilter&&e.props.onFilter({filter:""}),t&&t()}))}},{key:"clear",value:function(t){this.props.onChange&&this.props.onChange({originalEvent:t,value:void 0,stopPropagation:function(){},preventDefault:function(){},target:{name:this.props.name,id:this.props.id,value:void 0}}),this.updateEditableLabel()}},{key:"selectItem",value:function(t){if(this.getSelectedOption()!==t.option){this.updateEditableLabel(t.option);var e=this.getOptionValue(t.option);this.props.onChange&&this.props.onChange({originalEvent:t.originalEvent,value:e,stopPropagation:function(){},preventDefault:function(){},target:{name:this.props.name,id:this.props.id,value:e}})}}},{key:"getSelectedOption",value:function(){var t=this.getSelectedOptionIndex(),e=this.getVisibleOptions();return-1!==t?this.props.optionGroupLabel?this.getOptionGroupChildren(e[t.group])[t.option]:e[t]:null}},{key:"getSelectedOptionIndex",value:function(){var t=this.getVisibleOptions();if(null!=this.props.value&&t){if(!this.props.optionGroupLabel)return this.findOptionIndexInList(this.props.value,t);for(var e=0;e<t.length;e++){var n=this.findOptionIndexInList(this.props.value,this.getOptionGroupChildren(t[e]));if(-1!==n)return{group:e,option:n}}}return-1}},{key:"findOptionIndexInList",value:function(t,e){for(var n=this.equalityKey(),r=0;r<e.length;r++)if(H.equals(t,this.getOptionValue(e[r]),n))return r;return-1}},{key:"isSelected",value:function(t){return H.equals(this.props.value,this.getOptionValue(t),this.equalityKey())}},{key:"equalityKey",value:function(){return this.props.optionValue?null:this.props.dataKey}},{key:"showOverlay",value:function(){this.setState({overlayVisible:!0})}},{key:"hideOverlay",value:function(){this.setState({overlayVisible:!1})}},{key:"onOverlayEnter",value:function(t){J.set("overlay",this.overlayRef.current),this.alignOverlay(),t&&t()}},{key:"onOverlayEntered",value:function(t){this.bindDocumentClickListener(),this.bindScrollListener(),this.bindResizeListener(),t&&t(),this.props.onShow&&this.props.onShow()}},{key:"onOverlayExit",value:function(){this.unbindDocumentClickListener(),this.unbindScrollListener(),this.unbindResizeListener()}},{key:"onOverlayExited",value:function(){this.props.filter&&this.props.resetFilterOnHide&&this.resetFilter(),J.clear(this.overlayRef.current),this.props.onHide&&this.props.onHide()}},{key:"alignOverlay",value:function(){V.alignOverlay(this.overlayRef.current,this.input.parentElement,this.props.appendTo||m.appendTo)}},{key:"scrollInView",value:function(){var t=V.findSingle(this.overlayRef.current,"li.p-highlight");t&&t.scrollIntoView({block:"nearest",inline:"start"})}},{key:"bindDocumentClickListener",value:function(){var t=this;this.documentClickListener||(this.documentClickListener=function(e){t.state.overlayVisible&&t.isOutsideClicked(e)&&t.hideOverlay()},document.addEventListener("click",this.documentClickListener))}},{key:"unbindDocumentClickListener",value:function(){this.documentClickListener&&(document.removeEventListener("click",this.documentClickListener),this.documentClickListener=null)}},{key:"bindScrollListener",value:function(){var t=this;this.scrollHandler||(this.scrollHandler=new j(this.container,(function(){t.state.overlayVisible&&t.hideOverlay()}))),this.scrollHandler.bindScrollListener()}},{key:"unbindScrollListener",value:function(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()}},{key:"bindResizeListener",value:function(){var t=this;this.resizeListener||(this.resizeListener=function(){t.state.overlayVisible&&!V.isTouchDevice()&&t.hideOverlay()},window.addEventListener("resize",this.resizeListener))}},{key:"unbindResizeListener",value:function(){this.resizeListener&&(window.removeEventListener("resize",this.resizeListener),this.resizeListener=null)}},{key:"isOutsideClicked",value:function(t){return this.container&&!(this.container.isSameNode(t.target)||this.isClearClicked(t)||this.container.contains(t.target)||this.overlayRef&&this.overlayRef.current.contains(t.target))}},{key:"isClearClicked",value:function(t){return V.hasClass(t.target,"p-dropdown-clear-icon")}},{key:"updateEditableLabel",value:function(t){this.input&&(this.input.value=t?this.getOptionLabel(t):this.props.value||"")}},{key:"hasFilter",value:function(){return this.state.filter&&this.state.filter.trim().length>0}},{key:"getOptionLabel",value:function(t){return this.props.optionLabel?H.resolveFieldData(t,this.props.optionLabel):t&&void 0!==t.label?t.label:t}},{key:"getOptionValue",value:function(t){return this.props.optionValue?H.resolveFieldData(t,this.props.optionValue):t&&void 0!==t.value?t.value:t}},{key:"getOptionRenderKey",value:function(t){return this.props.dataKey?H.resolveFieldData(t,this.props.dataKey):this.getOptionLabel(t)}},{key:"isOptionDisabled",value:function(t){return this.props.optionDisabled?H.isFunction(this.props.optionDisabled)?this.props.optionDisabled(t):H.resolveFieldData(t,this.props.optionDisabled):!(!t||void 0===t.disabled)&&t.disabled}},{key:"getOptionGroupRenderKey",value:function(t){return H.resolveFieldData(t,this.props.optionGroupLabel)}},{key:"getOptionGroupLabel",value:function(t){return H.resolveFieldData(t,this.props.optionGroupLabel)}},{key:"getOptionGroupChildren",value:function(t){return H.resolveFieldData(t,this.props.optionGroupChildren)}},{key:"checkValidity",value:function(){return this.inputRef.current.checkValidity()}},{key:"getVisibleOptions",value:function(){if(this.hasFilter()){var t=this.state.filter.trim().toLocaleLowerCase(this.props.filterLocale),e=this.props.filterBy?this.props.filterBy.split(","):[this.props.optionLabel||"label"];if(this.props.optionGroupLabel){var n,r=[],o=rn(this.props.options);try{for(o.s();!(n=o.n()).done;){var i=n.value,a=X.filter(this.getOptionGroupChildren(i),e,t,this.props.filterMatchMode,this.props.filterLocale);a&&a.length&&r.push(nn(nn({},i),{items:a}))}}catch(t){o.e(t)}finally{o.f()}return r}return X.filter(this.props.options,e,t,this.props.filterMatchMode,this.props.filterLocale)}return this.props.options}},{key:"updateInputField",value:function(){if(this.props.editable&&this.input){var t=this.getSelectedOption(),e=(t?this.getOptionLabel(t):null)||this.props.value||"";this.input.value=e}}},{key:"updateInputRef",value:function(){var t=this.props.inputRef;t&&("function"==typeof t?t(this.inputRef.current):t.current=this.inputRef.current)}},{key:"componentDidMount",value:function(){this.updateInputRef(),this.props.autoFocus&&this.focusInput&&this.focusInput.focus(),this.props.tooltip&&this.renderTooltip(),this.updateInputField(),this.inputRef.current.selectedIndex=1}},{key:"componentWillUnmount",value:function(){this.unbindDocumentClickListener(),this.unbindResizeListener(),this.scrollHandler&&(this.scrollHandler.destroy(),this.scrollHandler=null),this.tooltip&&(this.tooltip.destroy(),this.tooltip=null),this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=null),J.clear(this.overlayRef.current)}},{key:"componentDidUpdate",value:function(t){this.state.overlayVisible&&(this.props.filter&&this.alignOverlay(),t.value!==this.props.value&&this.scrollInView()),t.tooltip===this.props.tooltip&&t.tooltipOptions===this.props.tooltipOptions||(this.tooltip?this.tooltip.update(nn({content:this.props.tooltip},this.props.tooltipOptions||{})):this.renderTooltip()),!this.state.filter||this.props.options&&0!==this.props.options.length||this.setState({filter:""}),this.updateInputField(),this.inputRef.current.selectedIndex=1}},{key:"renderHiddenSelect",value:function(t){var e=i.a.createElement("option",{value:""},this.props.placeholder),n=t?i.a.createElement("option",{value:t.value},this.getOptionLabel(t)):null;return i.a.createElement("div",{className:"p-hidden-accessible p-dropdown-hidden-select"},i.a.createElement("select",{ref:this.inputRef,required:this.props.required,name:this.props.name,tabIndex:-1,"aria-hidden":"true"},e,n))}},{key:"renderTooltip",value:function(){this.tooltip=dt({target:this.container,content:this.props.tooltip,options:this.props.tooltipOptions})}},{key:"renderKeyboardHelper",value:function(){var t=this;return i.a.createElement("div",{className:"p-hidden-accessible"},i.a.createElement("input",{ref:function(e){return t.focusInput=e},id:this.props.inputId,type:"text",readOnly:!0,"aria-haspopup":"listbox",onFocus:this.onInputFocus,onBlur:this.onInputBlur,onKeyDown:this.onInputKeyDown,disabled:this.props.disabled,tabIndex:this.props.tabIndex,"aria-label":this.props.ariaLabel,"aria-labelledby":this.props.ariaLabelledBy}))}},{key:"renderLabel",value:function(t){var e=this,n=t?this.getOptionLabel(t):null;if(this.props.editable){var r=n||this.props.value||"";return i.a.createElement("input",{ref:function(t){return e.input=t},type:"text",defaultValue:r,className:"p-dropdown-label p-inputtext",disabled:this.props.disabled,placeholder:this.props.placeholder,maxLength:this.props.maxLength,onInput:this.onEditableInputChange,onFocus:this.onEditableInputFocus,onBlur:this.onInputBlur,"aria-label":this.props.ariaLabel,"aria-labelledby":this.props.ariaLabelledBy,"aria-haspopup":"listbox"})}var o=M("p-dropdown-label p-inputtext",{"p-placeholder":null===n&&this.props.placeholder,"p-dropdown-label-empty":null===n&&!this.props.placeholder}),a=this.props.valueTemplate?H.getJSXElement(this.props.valueTemplate,t,this.props):n||this.props.placeholder||"empty";return i.a.createElement("span",{ref:function(t){return e.input=t},className:o},a)}},{key:"renderClearIcon",value:function(){return null!=this.props.value&&this.props.showClear&&!this.props.disabled?i.a.createElement("i",{className:"p-dropdown-clear-icon pi pi-times",onClick:this.clear}):null}},{key:"renderDropdownIcon",value:function(){var t=this,e=M("p-dropdown-trigger-icon p-clickable",this.props.dropdownIcon);return i.a.createElement("div",{ref:function(e){return t.trigger=e},className:"p-dropdown-trigger",role:"button","aria-haspopup":"listbox","aria-expanded":this.state.overlayVisible},i.a.createElement("span",{className:e}))}},{key:"render",value:function(){var t=this,e=M("p-dropdown p-component p-inputwrapper",this.props.className,{"p-disabled":this.props.disabled,"p-focus":this.state.focused,"p-dropdown-clearable":this.props.showClear&&!this.props.disabled,"p-inputwrapper-filled":this.props.value,"p-inputwrapper-focus":this.state.focused||this.state.overlayVisible}),n=this.getVisibleOptions(),r=this.getSelectedOption(),o=this.renderHiddenSelect(r),a=this.renderKeyboardHelper(),s=this.renderLabel(r),u=this.renderDropdownIcon(),l=this.renderClearIcon();return i.a.createElement("div",{id:this.props.id,ref:function(e){return t.container=e},className:e,style:this.props.style,onClick:this.onClick,onMouseDown:this.props.onMouseDown,onContextMenu:this.props.onContextMenu},a,o,s,l,u,i.a.createElement(tn,Be({ref:this.overlayRef,visibleOptions:n},this.props,{onClick:this.onPanelClick,onOptionClick:this.onOptionClick,filterValue:this.state.filter,hasFilter:this.hasFilter,onFilterClearIconClick:this.onFilterClearIconClick,onFilterInputKeyDown:this.onFilterInputKeyDown,onFilterInputChange:this.onFilterInputChange,getOptionLabel:this.getOptionLabel,getOptionRenderKey:this.getOptionRenderKey,isOptionDisabled:this.isOptionDisabled,getOptionGroupChildren:this.getOptionGroupChildren,getOptionGroupLabel:this.getOptionGroupLabel,getOptionGroupRenderKey:this.getOptionGroupRenderKey,isSelected:this.isSelected,getSelectedOptionIndex:this.getSelectedOptionIndex,in:this.state.overlayVisible,onEnter:this.onOverlayEnter,onEntered:this.onOverlayEntered,onExit:this.onOverlayExit,onExited:this.onOverlayExited})))}}]),n}(o.Component);Ye(sn,"defaultProps",{id:null,inputRef:null,name:null,value:null,options:null,optionLabel:null,optionValue:null,optionDisabled:null,optionGroupLabel:null,optionGroupChildren:null,optionGroupTemplate:null,valueTemplate:null,itemTemplate:null,style:null,className:null,virtualScrollerOptions:null,scrollHeight:"200px",filter:!1,filterBy:null,filterMatchMode:"contains",filterPlaceholder:null,filterLocale:void 0,emptyMessage:"No records found",emptyFilterMessage:"No results found",editable:!1,placeholder:null,required:!1,disabled:!1,appendTo:null,tabIndex:null,autoFocus:!1,filterInputAutoFocus:!0,resetFilterOnHide:!1,showFilterClear:!1,panelClassName:null,panelStyle:null,dataKey:null,inputId:null,showClear:!1,maxLength:null,tooltip:null,tooltipOptions:null,ariaLabel:null,ariaLabelledBy:null,transitionOptions:null,dropdownIcon:"pi pi-chevron-down",showOnFocus:!1,onChange:null,onFocus:null,onBlur:null,onMouseDown:null,onContextMenu:null,onShow:null,onHide:null,onFilter:null});var un=function(){function t(){}return t.getPrefixName=function(){return"wp-scanner"},t.getKeyWithPrefix=function(e){return[t.getPrefixName(),e].join(",")},t.get=function(e){return localStorage.getItem(t.getKeyWithPrefix(e))},t.getValueOrDefault=function(e,n){var r=t.get(e);return null!==r?r:n},t.set=function(e,n){localStorage.setItem(t.getKeyWithPrefix(e),n)},t.delete=function(e){localStorage.removeItem(t.getKeyWithPrefix(e))},t}(),ln=function(){function t(){}return t.getDefaultSettings=function(){return{dialogTitle:"Input-Scanner",msgSuccessTitle:"Success",msgSuccessBody:"Code found.",msgFailedTitle:"Failed to scan",msgFailedBody:"No Code found.",noPermissionTitle:"You have no Permission",noPermissionBody:"Your browser has no rights to the camera."}},t.init=function(e){void 0===e&&(e={}),t.data=Object.assign({},t.getDefaultSettings(),e)},t.getDialogTitle=function(){return t.data.dialogTitle},t.getMsgSuccessTitle=function(){return t.data.msgSuccessTitle},t.getMsgSuccessBody=function(){return t.data.msgSuccessBody},t.getMsgFailedTitle=function(){return t.data.msgFailedTitle},t.getMsgFailedBody=function(){return t.data.msgFailedBody},t.getNoPermissionTitle=function(){return t.data.noPermissionTitle},t.getNoPermissionBody=function(){return t.data.noPermissionBody},t.data={},t}(),cn=function(){return(cn=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},fn=null,pn=i.a.forwardRef((function(t,e){var n=Object(o.useState)(!1),i=n[0],a=n[1],s=Object(o.useState)([]),u=s[0],l=s[1],c=Object(o.useState)(null),f=c[0],p=c[1],d=Object(o.useState)(!1),y=d[0],v=d[1],m=Object(o.useRef)(null),w=Object(o.useRef)(null);function E(t){null!==w.current&&(w.current.clear(),w.current.show({severity:"success",summary:ln.getMsgSuccessTitle(),detail:ln.getMsgSuccessBody(),life:3e3})),null!==fn&&t.length>0&&(b(),fn(t),fn=null)}Object(o.useImperativeHandle)(e,(function(){return{start:function(t){Ae.getPermission().then((function(e){e?(Ae.getVideoMediaDevices().then((function(t){p(un.getValueOrDefault("selected-device",t[0].id)),l(t),a(!0),null!==m.current&&m.current.start()})),fn=t):null!==w.current&&(w.current.clear(),w.current.show({severity:"error",summary:ln.getNoPermissionTitle(),detail:ln.getNoPermissionBody(),life:6e3}))}))}}}));var b=function(){null!==m.current&&m.current.close(),p(null),a(!1)};function _(t){null!==t&&(v(!0),setTimeout((function(){return h.scanCodeFromFile(t).then((function(t){v(!1),null===t?null!==w.current&&w.current.show({severity:"error",summary:ln.getMsgFailedTitle(),detail:ln.getMsgFailedBody(),life:3e3}):E(t)})).catch((function(t){console.warn(t)}))}),500))}function C(t){un.set("selected-device",t.value),p(t.value)}return Object(r.jsxs)("div",cn({className:"wp-input-scanner-root"},{children:[Object(r.jsx)(ae,{ref:w},void 0),Object(r.jsx)(xt,cn({header:ln.getDialogTitle(),visible:i,style:{width:"50vw"},maximized:!0,maximizable:!0,footer:function(){return Object(r.jsxs)("span",cn({className:"p-buttonset scanner-dialog-footer"},{children:[Object(r.jsx)(_e,{loading:y,onSelectFile:_},void 0),Object(r.jsx)(sn,{value:f,options:u,onChange:C,optionValue:"id",optionLabel:"label"},void 0)]}),void 0)},onHide:b},{children:Object(r.jsx)(g,{ref:m,deviceId:f,onFetchCode:E},void 0)}),void 0)]}),void 0)})),dn=function(t,e,n){if(n||2===arguments.length)for(var r,o=0,i=e.length;o<i;o++)!r&&o in e||(r||(r=Array.prototype.slice.call(e,0,o)),r[o]=e[o]);return t.concat(r||Array.prototype.slice.call(e))},hn=function(){function t(){}return t.initInstance=function(e){if(void 0===e&&(e={}),t.addEventListenerByQuerySelector([".input-scanner-open"]),t.addInputLabelByQuerySelector([".input-scanner-open-label"]),null===t.appRef){ln.init(e);var n=document.createElement("div");document.getElementsByTagName("body")[0].append(n),t.render(n)}},t.addEventListenerByQuerySelector=function(e){for(var n=0,r=e;n<r.length;n++){var o=r[n];dn([],document.querySelectorAll(o),!0).forEach((function(e){e.addEventListener("click",(function(){return t.start(e)}))}))}},t.addInputLabelByQuerySelector=function(e){for(var n=0,r=e;n<r.length;n++){var o=r[n];dn([],document.querySelectorAll(o),!0).forEach((function(e){var n=document.createElement("div");n.className="p-inputgroup";var r=e.parentElement,o=document.createElement("span");o.className="p-button p-component p-inputgroup-addon p-button-icon p-c pi pi-camera",o.addEventListener("click",(function(){return t.start(e)})),n.append(e),n.append(o),null==r||r.append(n)}))}},t.start=function(e){t.appRef&&t.appRef.start((function(t){console.log(t),e.value=t}))},t.render=function(e){s.a.render(Object(r.jsx)(i.a.StrictMode,{children:Object(r.jsx)(pn,{ref:function(e){return t.appRef=e}},void 0)},void 0),e)},t.appRef=null,t}();window.InputScanner=hn}]);47 */var r,o,i,a;if("object"==typeof performance&&"function"==typeof performance.now){var s=performance;e.unstable_now=function(){return s.now()}}else{var u=Date,l=u.now();e.unstable_now=function(){return u.now()-l}}if("undefined"==typeof window||"function"!=typeof MessageChannel){var c=null,f=null,p=function(){if(null!==c)try{var t=e.unstable_now();c(!0,t),c=null}catch(t){throw setTimeout(p,0),t}};r=function(t){null!==c?setTimeout(r,0,t):(c=t,setTimeout(p,0))},o=function(t,e){f=setTimeout(t,e)},i=function(){clearTimeout(f)},e.unstable_shouldYield=function(){return!1},a=e.unstable_forceFrameRate=function(){}}else{var d=window.setTimeout,h=window.clearTimeout;if("undefined"!=typeof console){var g=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),"function"!=typeof g&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var y=!1,v=null,m=-1,w=5,E=0;e.unstable_shouldYield=function(){return e.unstable_now()>=E},a=function(){},e.unstable_forceFrameRate=function(t){0>t||125<t?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):w=0<t?Math.floor(1e3/t):5};var b=new MessageChannel,_=b.port2;b.port1.onmessage=function(){if(null!==v){var t=e.unstable_now();E=t+w;try{v(!0,t)?_.postMessage(null):(y=!1,v=null)}catch(t){throw _.postMessage(null),t}}else y=!1},r=function(t){v=t,y||(y=!0,_.postMessage(null))},o=function(t,n){m=d((function(){t(e.unstable_now())}),n)},i=function(){h(m),m=-1}}function C(t,e){var n=t.length;t.push(e);t:for(;;){var r=n-1>>>1,o=t[r];if(!(void 0!==o&&0<O(o,e)))break t;t[r]=e,t[n]=o,n=r}}function S(t){return void 0===(t=t[0])?null:t}function A(t){var e=t[0];if(void 0!==e){var n=t.pop();if(n!==e){t[0]=n;t:for(var r=0,o=t.length;r<o;){var i=2*(r+1)-1,a=t[i],s=i+1,u=t[s];if(void 0!==a&&0>O(a,n))void 0!==u&&0>O(u,a)?(t[r]=u,t[s]=n,r=s):(t[r]=a,t[i]=n,r=i);else{if(!(void 0!==u&&0>O(u,n)))break t;t[r]=u,t[s]=n,r=s}}}return e}return null}function O(t,e){var n=t.sortIndex-e.sortIndex;return 0!==n?n:t.id-e.id}var I=[],T=[],R=1,N=null,D=3,P=!1,x=!1,k=!1;function M(t){for(var e=S(T);null!==e;){if(null===e.callback)A(T);else{if(!(e.startTime<=t))break;A(T),e.sortIndex=e.expirationTime,C(I,e)}e=S(T)}}function L(t){if(k=!1,M(t),!x)if(null!==S(I))x=!0,r(B);else{var e=S(T);null!==e&&o(L,e.startTime-t)}}function B(t,n){x=!1,k&&(k=!1,i()),P=!0;var r=D;try{for(M(n),N=S(I);null!==N&&(!(N.expirationTime>n)||t&&!e.unstable_shouldYield());){var a=N.callback;if("function"==typeof a){N.callback=null,D=N.priorityLevel;var s=a(N.expirationTime<=n);n=e.unstable_now(),"function"==typeof s?N.callback=s:N===S(I)&&A(I),M(n)}else A(I);N=S(I)}if(null!==N)var u=!0;else{var l=S(T);null!==l&&o(L,l.startTime-n),u=!1}return u}finally{N=null,D=r,P=!1}}var F=a;e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(t){t.callback=null},e.unstable_continueExecution=function(){x||P||(x=!0,r(B))},e.unstable_getCurrentPriorityLevel=function(){return D},e.unstable_getFirstCallbackNode=function(){return S(I)},e.unstable_next=function(t){switch(D){case 1:case 2:case 3:var e=3;break;default:e=D}var n=D;D=e;try{return t()}finally{D=n}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=F,e.unstable_runWithPriority=function(t,e){switch(t){case 1:case 2:case 3:case 4:case 5:break;default:t=3}var n=D;D=t;try{return e()}finally{D=n}},e.unstable_scheduleCallback=function(t,n,a){var s=e.unstable_now();switch("object"==typeof a&&null!==a?a="number"==typeof(a=a.delay)&&0<a?s+a:s:a=s,t){case 1:var u=-1;break;case 2:u=250;break;case 5:u=1073741823;break;case 4:u=1e4;break;default:u=5e3}return t={id:R++,callback:n,priorityLevel:t,startTime:a,expirationTime:u=a+u,sortIndex:-1},a>s?(t.sortIndex=a,C(T,t),null===S(I)&&t===S(T)&&(k?i():k=!0,o(L,a-s))):(t.sortIndex=u,C(I,t),x||P||(x=!0,r(B))),t},e.unstable_wrapCallback=function(t){var e=D;return function(){var n=D;D=e;try{return t.apply(this,arguments)}finally{D=n}}}},function(t,e,n){},function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){"use strict";var r=n(149);function o(){}function i(){}i.resetWarningCache=o,t.exports=function(){function t(t,e,n,o,i,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function e(){return t}t.isRequired=t;var n={array:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},function(t,e,n){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(t,e,n){},function(t,e,n){"use strict";n.r(e);var r=n(27),o=n(0),i=n.n(o),a=n(37),s=n.n(a),u=n(31),l=n.n(u),c=(n(142),n(107)),f=function(){function t(){}return t.selectFile=function(){return new Promise((function(t,e){var n=document.createElement("input");n.type="file",n.style.display="none",n.onchange=function(e){var n=e.target.files[0];t(n||null)},document.body.appendChild(n),n.click()}))},t.readFileAsBase64=function(t){return new Promise((function(e,n){try{var r=new FileReader;r.onload=function(t){e(t.target.result)},r.readAsDataURL(t)}catch(t){return Promise.reject(t)}}))},t.readImageFromFile=function(t){return new Promise((function(e,n){try{var r=new FileReader,o=new Image;o.onload=function(){e(o)},r.onload=function(t){o.src=t.target.result},r.readAsDataURL(t)}catch(t){return Promise.reject(t)}}))},t}(),p=function(t,e,n,r){return new(n||(n=Promise))((function(o,i){function a(t){try{u(r.next(t))}catch(t){i(t)}}function s(t){try{u(r.throw(t))}catch(t){i(t)}}function u(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,s)}u((r=r.apply(t,e||[])).next())}))},d=function(t,e){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=e.call(t,a)}catch(t){i=[6,t],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},h=function(){function t(){}return t.isLive=function(){var t,e;return"live"===(null===(e=null===(t=l.a.CameraAccess)||void 0===t?void 0:t.getActiveTrack())||void 0===e?void 0:e.readyState)},t.isEnabled=function(){return l.a.hasOwnProperty("enabled")&&!0===l.a.enabled},t.setEnabled=function(t){l.a.enabled=t},t.stop=function(){t.isLive()&&l.a.stop()},t.start=function(e,n){void 0===e&&(e=null),null!==e&&(t.currentConfig=e),!t.isLive()&&t.isEnabled()&&l.a.init(t.currentConfig,(function(e){return e&&console.log(e,"error msg"),l.a.start(),void 0!==n&&n(),function(){t.stop()}}))},t.onDetected=function(e){l.a.onDetected((function(n){void 0!==n&&t.isEnabled()&&e(n.codeResult.code)}))},t.scanBarcodeFromFile=function(e){return new Promise((function(n,r){t.stop();try{l.a.decodeSingle({inputStream:{size:800,singleChannel:!1},locator:{patchSize:"medium",halfSample:!0},decoder:{readers:t.readers},locate:!0,src:URL.createObjectURL(e)},(function(e){void 0!==e&&e.codeResult?n(e.codeResult.code):(n(null),setTimeout((function(){return t.start()}),250))}))}catch(t){console.log(t),n(null)}}))},t.scanQRCodeFromFile=function(t){return new Promise((function(e,n){f.readImageFromFile(t).then((function(t){(new c.BrowserQRCodeReader).decodeFromImageElement(t).then((function(t){e(null!=t?t.getText():null)})).catch((function(t){return n(t)}))})).catch((function(t){return n(t)}))}))},t.scanCodeFromFile=function(e){var n=this;return new Promise((function(r,o){return p(n,void 0,void 0,(function(){var n;return d(this,(function(o){switch(o.label){case 0:return o.trys.push([0,4,,5]),[4,t.scanBarcodeFromFile(e)];case 1:return null!==(n=o.sent())?[3,3]:[4,t.scanQRCodeFromFile(e)];case 2:n=o.sent(),o.label=3;case 3:return r(n),[3,5];case 4:return o.sent(),r(null),[3,5];case 5:return[2]}}))}))}))},t.readers=["ean_reader","upc_reader"],t.browserQRCodeReader=new c.BrowserQRCodeReader,t.currentConfig={},t}(),g=i.a.forwardRef((function(t,e){var n=Object(o.useRef)(null);function i(t){if(h.isEnabled()&&h.isLive()){var e=l.a.canvas.ctx.overlay,n=l.a.canvas.dom.overlay;t&&(t.boxes&&(e.clearRect(0,0,Number(n.getAttribute("width")),Number(n.getAttribute("height"))),t.boxes.filter((function(e){return e!==t.box})).forEach((function(t){l.a.ImageDebug.drawPath(t,{x:0,y:1},e,{color:"green",lineWidth:2})}))),t.box&&l.a.ImageDebug.drawPath(t.box,{x:0,y:1},e,{color:"#00F",lineWidth:2}),t.codeResult&&t.codeResult.code&&l.a.ImageDebug.drawPath(t.line,{x:"x",y:"y"},e,{color:"red",lineWidth:3}))}}function a(){h.setEnabled(!0),h.stop(),h.start({inputStream:{type:"LiveStream",target:n.current,constraints:{deviceId:{exact:t.deviceId}}},locator:{patchSize:"medium",halfSample:!0},numOfWorkers:2,frequency:10,decoder:{readers:h.readers},locate:!0},(function(){null!==n.current&&Array.from(n.current.getElementsByTagName("video")).forEach((function(t,e,n){h.browserQRCodeReader.decodeFromVideoElement(t,(function(t){void 0!==t&&h.isEnabled()&&h.isLive()&&s(t.getText())}))}))}))}function s(e){h.stop(),t.onFetchCode(e)}return Object(o.useImperativeHandle)(e,(function(){return{close:function(){h.setEnabled(!1),h.stop()},start:function(){null===n.current||null===t.deviceId||h.isEnabled()||h.isLive()||(a(),l.a.onProcessed(i),h.onDetected((function(t){s(t)})))},change:function(){null!==n.current&&null!==t.deviceId&&a()}}})),Object(r.jsx)("div",{id:"scannerRoot",ref:n},void 0)}));n(144),n(145),n(146),n(147);function y(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var v=function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)};y(v,"ripple",!1),y(v,"locale","en"),y(v,"autoZIndex",!0),y(v,"zIndex",{modal:1100,overlay:1e3,menu:1e3,tooltip:1100,toast:1200}),y(v,"appendTo",null);Object.freeze({ALIGN_CENTER:"pi pi-align-center",ALIGN_JUSTIFY:"pi pi-align-justify",ALIGN_LEFT:"pi pi-align-left",ALIGN_RIGHT:"pi pi-align-right",AMAZON:"pi pi-amazon",ANDROID:"pi pi-android",ANGLE_DOUBLE_DOWN:"pi pi-angle-double-down",ANGLE_DOUBLE_LEFT:"pi pi-angle-double-left",ANGLE_DOUBLE_RIGHT:"pi pi-angle-double-right",ANGLE_DOUBLE_UP:"pi pi-angle-double-up",ANGLE_DOWN:"pi pi-angle-down",ANGLE_LEFT:"pi pi-angle-left",ANGLE_RIGHT:"pi pi-angle-right",ANGLE_UP:"pi pi-angle-up",APPLE:"pi pi-apple",ARROW_CIRCLE_DOWN:"pi pi-arrow-circle-down",ARROW_CIRCLE_LEFT:"pi pi-arrow-circle-left",ARROW_CIRCLE_RIGHT:"pi pi-arrow-circle-right",ARROW_CIRCLE_UP:"pi pi-arrow-circle-up",ARROW_DOWN:"pi pi-arrow-down",ARROW_LEFT:"pi pi-arrow-left",ARROW_RIGHT:"pi pi-arrow-right",ARROW_UP:"pi pi-arrow-up",BACKWARD:"pi pi-backward",BAN:"pi pi-ban",BARS:"pi pi-bars",BELL:"pi pi-bell",BOOK:"pi pi-book",BOOKMARK:"pi pi-bookmark",BRIEFCASE:"pi pi-briefcase",CALENDAR_MINUS:"pi pi-calendar-minus",CALENDAR_PLUS:"pi pi-calendar-plus",CALENDAR_TIMES:"pi pi-calendar-times",CALENDAR:"pi pi-calendar",CAMERA:"pi pi-camera",CARET_DOWN:"pi pi-caret-down",CARET_LEFT:"pi pi-caret-left",CARET_RIGHT:"pi pi-caret-right",CARET_UP:"pi pi-caret-up",CHART_BAR:"pi pi-chart-bar",CHART_LINE:"pi pi-chart-line",CHECK_CIRCLE:"pi pi-check-circle",CHECK_SQUARE:"pi pi-check-square",CHECK:"pi pi-check",CHEVRON_CIRCLE_DOWN:"pi pi-chevron-circle-down",CHEVRON_CIRCLE_LEFT:"pi pi-chevron-circle-left",CHEVRON_CIRCLE_RIGHT:"pi pi-chevron-circle-right",CHEVRON_CIRCLE_UP:"pi pi-chevron-circle-up",CHEVRON_DOWN:"pi pi-chevron-down",CHEVRON_LEFT:"pi pi-chevron-left",CHEVRON_RIGHT:"pi pi-chevron-right",CHEVRON_UP:"pi pi-chevron-up",CLOCK:"pi pi-clock",CLONE:"pi pi-clone",CLOUD_DOWNLOAD:"pi pi-cloud-download",CLOUD_UPLOAD:"pi pi-cloud-upload",CLOUD:"pi pi-cloud",COG:"pi pi-cog",COMMENT:"pi pi-comment",COMMENTS:"pi pi-comments",COMPASS:"pi pi-compass",COPY:"pi pi-copy",CREDIT_CARD:"pi pi-credit-card",DESKTOP:"pi pi-desktop",DISCORD:"pi pi-discord",DIRECTIONS_ALT:"pi pi-directions-alt",DIRECTIONS:"pi pi-directions",DOLLAR:"pi pi-dollar",DOWNLOAD:"pi pi-download",EJECT:"pi pi-eject",ELLIPSIS_H:"pi pi-ellipsis-h",ELLIPSIS_V:"pi pi-ellipsis-v",ENVELOPE:"pi pi-envelope",EXCLAMATION_CIRCLE:"pi pi-exclamation-circle",EXCLAMATION_TRIANGLE:"pi pi-exclamation-triangle ",EXTERNAL_LINK:"pi pi-external-link",EYE_SLASH:"pi pi-eye-slash",EYE:"pi pi-eye",FACEBOOK:"pi pi-facebook",FAST_BACKWARD:"pi pi-fast-backward",FAST_FORWARD:"pi pi-fast-forward",FILE_EXCEL:"pi pi-file-excel",FILE_O:"pi pi-file-o",FILE_PDF:"pi pi-file-pdf",FILE:"pi pi-file",FILTER:"pi pi-filter",FILTER_SLASH:"pi pi-filter-slash",FLAG:"pi pi-flag",FOLDER_OPEN:"pi pi-folder-open",FOLDER:"pi pi-folder",FORWARD:"pi pi-forward",GITHUB:"pi pi-github",GLOBE:"pi pi-globe",GOOGLE:"pi pi-google",HEART:"pi pi-heart",HOME:"pi pi-home",ID_CARD:"pi pi-id-card",IMAGE:"pi pi-image",IMAGES:"pi pi-images",INBOX:"pi pi-inbox",INFO_CIRCLE:"pi pi-info-circle",INFO:"pi pi-info",KEY:"pi pi-key",LINK:"pi pi-link",LIST:"pi pi-list",LOCK_OPEN:"pi pi-lock-open",LOCK:"pi pi-lock",MAP:"pi pi-map",MAP_MARKER:"pi pi-map-marker",MICROSOFT:"pi pi-microsoft",MINUS_CIRCLE:"pi pi-minus-circle",MINUS:"pi pi-minus",MOBILE:"pi pi-mobile",MONEY_BILL:"pi pi-money-bill",MOON:"pi pi-moon",PALETTE:"pi pi-palette",PAPERCLIP:"pi pi-paperclip",PAUSE:"pi pi-pause",PAYPAL:"pi pi-paypal",PENCIL:"pi pi-pencil",PERCENTAGE:"pi pi-percentage",PHONE:"pi pi-phone",PLAY:"pi pi-play",PLUS_CIRCLE:"pi pi-plus-circle",PLUS:"pi pi-plus",POWER_OFF:"pi pi-power-off",PRINT:"pi pi-print",QUESTION_CIRCLE:"pi pi-question-circle",QUESTION:"pi pi-question",RADIO_OFF:"pi pi-radio-off",RADIO_ON:"pi pi-radio-on",REFRESH:"pi pi-refresh",REPLAY:"pi pi-replay",REPLY:"pi pi-reply",SAVE:"pi pi-save",SEARCH_MINUS:"pi pi-search-minus",SEARCH_PLUS:"pi pi-search-plus",SEARCH:"pi pi-search",SEND:"pi pi-send",SHARE_ALT:"pi pi-share-alt",SHIELD:"pi pi-shield",SHOPPING_CART:"pi pi-shopping-cart",SIGN_IN:"pi pi-sign-in",SIGN_OUT:"pi pi-sign-out",SITEMAP:"pi pi-sitemap",SLACK:"pi pi-slack",SLIDERS_H:"pi pi-sliders-h",SLIDERS_V:"pi pi-sliders-v",SORT_ALPHA_ALT_DOWN:"pi pi-sort-alpha-alt-down",SORT_ALPHA_ALT_UP:"pi pi-sort-alpha-alt-up",SORT_ALPHA_DOWN:"pi pi-sort-alpha-down",SORT_ALPHA_UP:"pi pi-sort-alpha-up",SORT_ALT:"pi pi-sort-alt",SORT_AMOUNT_DOWN_ALT:"pi pi-sort-amount-down-alt",SORT_AMOUNT_DOWN:"pi pi-sort-amount-down",SORT_AMOUNT_UP_ALT:"pi pi-sort-amount-up-alt",SORT_AMOUNT_UP:"pi pi-sort-amount-up",SORT_DOWN:"pi pi-sort-down",SORT_NUMERIC_ALT_DOWN:"pi pi-sort-numeric-alt-down",SORT_NUMERIC_ALT_UP:"pi pi-sort-numeric-alt-up",SORT_NUMERIC_DOWN:"pi pi-sort-numeric-down",SORT_NUMERIC_UP:"pi pi-sort-numeric-up",SORT_UP:"pi pi-sort-up",SORT:"pi pi-sort",SPINNER:"pi pi-spinner",STAR_O:"pi pi-star-o",STAR:"pi pi-star",STEP_BACKWARD_ALT:"pi pi-step-backward-alt",STEP_BACKWARD:"pi pi-step-backward",STEP_FORWARD_ALT:"pi pi-step-forward-alt",STEP_FORWARD:"pi pi-step-forward",SUN:"pi pi-sun",TABLE:"pi pi-table",TABLET:"pi pi-tablet",TAG:"pi pi-tag",TAGS:"pi pi-tags",TH_LARGE:"pi pi-th-large",THUMBS_DOWN:"pi pi-thumbs-down",THUMBS_UP:"pi pi-thumbs-up",TICKET:"pi pi-ticket",TIMES_CIRCLE:"pi pi-times-circle",TIMES:"pi pi-times",TRASH:"pi pi-trash",TWITTER:"pi pi-twitter",UNDO:"pi pi-undo",UNLOCK:"pi pi-unlock",UPLOAD:"pi pi-upload",USER_EDIT:"pi pi-user-edit",USER_MINUS:"pi pi-user-minus",USER_PLUS:"pi pi-user-plus",USER:"pi pi-user",USERS:"pi pi-users",VIDEO:"pi pi-video",VIMEO:"pi pi-vimeo",VOLUME_DOWN:"pi pi-volume-down",VOLUME_OFF:"pi pi-volume-off",VOLUME_UP:"pi pi-volume-up",YOUTUBE:"pi pi-youtube",WALLET:"pi pi-wallet",WIFI:"pi pi-wifi",WINDOW_MAXIMIZE:"pi pi-window-maximize",WINDOW_MINIMIZE:"pi pi-window-minimize"}),Object.freeze({SUCCESS:"success",INFO:"info",WARN:"warn",ERROR:"error"});var m=v;function w(){return(w=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function E(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}function b(t,e){return(b=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function _(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,b(t,e)}n(106);function C(t,e){return t.replace(new RegExp("(^|\\s)"+e+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}var S=!1,A=i.a.createContext(null),O=function(t){function e(e,n){var r;r=t.call(this,e,n)||this;var o,i=n&&!n.isMounting?e.enter:e.appear;return r.appearStatus=null,e.in?i?(o="exited",r.appearStatus="entering"):o="entered":o=e.unmountOnExit||e.mountOnEnter?"unmounted":"exited",r.state={status:o},r.nextCallback=null,r}_(e,t),e.getDerivedStateFromProps=function(t,e){return t.in&&"unmounted"===e.status?{status:"exited"}:null};var n=e.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(t){var e=null;if(t!==this.props){var n=this.state.status;this.props.in?"entering"!==n&&"entered"!==n&&(e="entering"):"entering"!==n&&"entered"!==n||(e="exiting")}this.updateStatus(!1,e)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var t,e,n,r=this.props.timeout;return t=e=n=r,null!=r&&"number"!=typeof r&&(t=r.exit,e=r.enter,n=void 0!==r.appear?r.appear:e),{exit:t,enter:e,appear:n}},n.updateStatus=function(t,e){void 0===t&&(t=!1),null!==e?(this.cancelNextCallback(),"entering"===e?this.performEnter(t):this.performExit()):this.props.unmountOnExit&&"exited"===this.state.status&&this.setState({status:"unmounted"})},n.performEnter=function(t){var e=this,n=this.props.enter,r=this.context?this.context.isMounting:t,o=this.props.nodeRef?[r]:[s.a.findDOMNode(this),r],i=o[0],a=o[1],u=this.getTimeouts(),l=r?u.appear:u.enter;!t&&!n||S?this.safeSetState({status:"entered"},(function(){e.props.onEntered(i)})):(this.props.onEnter(i,a),this.safeSetState({status:"entering"},(function(){e.props.onEntering(i,a),e.onTransitionEnd(l,(function(){e.safeSetState({status:"entered"},(function(){e.props.onEntered(i,a)}))}))})))},n.performExit=function(){var t=this,e=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:s.a.findDOMNode(this);e&&!S?(this.props.onExit(r),this.safeSetState({status:"exiting"},(function(){t.props.onExiting(r),t.onTransitionEnd(n.exit,(function(){t.safeSetState({status:"exited"},(function(){t.props.onExited(r)}))}))}))):this.safeSetState({status:"exited"},(function(){t.props.onExited(r)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(t,e){e=this.setNextCallback(e),this.setState(t,e)},n.setNextCallback=function(t){var e=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,e.nextCallback=null,t(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(t,e){this.setNextCallback(e);var n=this.props.nodeRef?this.props.nodeRef.current:s.a.findDOMNode(this),r=null==t&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],i=o[0],a=o[1];this.props.addEndListener(i,a)}null!=t&&setTimeout(this.nextCallback,t)}else setTimeout(this.nextCallback,0)},n.render=function(){var t=this.state.status;if("unmounted"===t)return null;var e=this.props,n=e.children,r=(e.in,e.mountOnEnter,e.unmountOnExit,e.appear,e.enter,e.exit,e.timeout,e.addEndListener,e.onEnter,e.onEntering,e.onEntered,e.onExit,e.onExiting,e.onExited,e.nodeRef,E(e,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return i.a.createElement(A.Provider,{value:null},"function"==typeof n?n(t,r):i.a.cloneElement(i.a.Children.only(n),r))},e}(i.a.Component);function I(){}O.contextType=A,O.propTypes={},O.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:I,onEntering:I,onEntered:I,onExit:I,onExiting:I,onExited:I},O.UNMOUNTED="unmounted",O.EXITED="exited",O.ENTERING="entering",O.ENTERED="entered",O.EXITING="exiting";var T=O,R=function(t,e){return t&&e&&e.split(" ").forEach((function(e){return r=e,void((n=t).classList?n.classList.remove(r):"string"==typeof n.className?n.className=C(n.className,r):n.setAttribute("class",C(n.className&&n.className.baseVal||"",r)));var n,r}))},N=function(t){function e(){for(var e,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(e=t.call.apply(t,[this].concat(r))||this).appliedClasses={appear:{},enter:{},exit:{}},e.onEnter=function(t,n){var r=e.resolveArguments(t,n),o=r[0],i=r[1];e.removeClasses(o,"exit"),e.addClass(o,i?"appear":"enter","base"),e.props.onEnter&&e.props.onEnter(t,n)},e.onEntering=function(t,n){var r=e.resolveArguments(t,n),o=r[0],i=r[1]?"appear":"enter";e.addClass(o,i,"active"),e.props.onEntering&&e.props.onEntering(t,n)},e.onEntered=function(t,n){var r=e.resolveArguments(t,n),o=r[0],i=r[1]?"appear":"enter";e.removeClasses(o,i),e.addClass(o,i,"done"),e.props.onEntered&&e.props.onEntered(t,n)},e.onExit=function(t){var n=e.resolveArguments(t)[0];e.removeClasses(n,"appear"),e.removeClasses(n,"enter"),e.addClass(n,"exit","base"),e.props.onExit&&e.props.onExit(t)},e.onExiting=function(t){var n=e.resolveArguments(t)[0];e.addClass(n,"exit","active"),e.props.onExiting&&e.props.onExiting(t)},e.onExited=function(t){var n=e.resolveArguments(t)[0];e.removeClasses(n,"exit"),e.addClass(n,"exit","done"),e.props.onExited&&e.props.onExited(t)},e.resolveArguments=function(t,n){return e.props.nodeRef?[e.props.nodeRef.current,t]:[t,n]},e.getClassNames=function(t){var n=e.props.classNames,r="string"==typeof n,o=r?""+(r&&n?n+"-":"")+t:n[t];return{baseClassName:o,activeClassName:r?o+"-active":n[t+"Active"],doneClassName:r?o+"-done":n[t+"Done"]}},e}_(e,t);var n=e.prototype;return n.addClass=function(t,e,n){var r=this.getClassNames(e)[n+"ClassName"],o=this.getClassNames("enter").doneClassName;"appear"===e&&"done"===n&&o&&(r+=" "+o),"active"===n&&t&&t.scrollTop,r&&(this.appliedClasses[e][n]=r,function(t,e){t&&e&&e.split(" ").forEach((function(e){return r=e,void((n=t).classList?n.classList.add(r):function(t,e){return t.classList?!!e&&t.classList.contains(e):-1!==(" "+(t.className.baseVal||t.className)+" ").indexOf(" "+e+" ")}(n,r)||("string"==typeof n.className?n.className=n.className+" "+r:n.setAttribute("class",(n.className&&n.className.baseVal||"")+" "+r)));var n,r}))}(t,r))},n.removeClasses=function(t,e){var n=this.appliedClasses[e],r=n.base,o=n.active,i=n.done;this.appliedClasses[e]={},r&&R(t,r),o&&R(t,o),i&&R(t,i)},n.render=function(){var t=this.props,e=(t.classNames,E(t,["classNames"]));return i.a.createElement(T,w({},e,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},e}(i.a.Component);N.defaultProps={classNames:""},N.propTypes={};var D=N;function P(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function x(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=t&&("undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"]);if(null!=n){var r,o,i=[],a=!0,s=!1;try{for(n=n.call(t);!(a=(r=n.next()).done)&&(i.push(r.value),!e||i.length!==e);a=!0);}catch(t){s=!0,o=t}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}}(t,e)||function(t,e){if(t){if("string"==typeof t)return P(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?P(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function k(t){return(k="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function M(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];if(e){for(var r=[],o=0;o<e.length;o++){var i=e[o];if(i){var a=k(i);if("string"===a||"number"===a)r.push(i);else if("object"===a){var s=Array.isArray(i)?i:Object.entries(i).map((function(t){var e=x(t,2),n=e[0];return e[1]?n:null}));r=s.length?r.concat(s.filter((function(t){return!!t}))):r}}}return r.join(" ")}}function L(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function B(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function F(t,e,n){return e&&B(t.prototype,e),n&&B(t,n),t}function U(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return z(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return z(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,o=function(){};return{s:o,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){s=!0,i=t},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function z(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var V=function(){function t(){L(this,t)}return F(t,null,[{key:"innerWidth",value:function(t){if(t){var e=t.offsetWidth,n=getComputedStyle(t);return e+=parseFloat(n.paddingLeft)+parseFloat(n.paddingRight)}return 0}},{key:"width",value:function(t){if(t){var e=t.offsetWidth,n=getComputedStyle(t);return e-=parseFloat(n.paddingLeft)+parseFloat(n.paddingRight),e}return 0}},{key:"getWindowScrollTop",value:function(){var t=document.documentElement;return(window.pageYOffset||t.scrollTop)-(t.clientTop||0)}},{key:"getWindowScrollLeft",value:function(){var t=document.documentElement;return(window.pageXOffset||t.scrollLeft)-(t.clientLeft||0)}},{key:"getOuterWidth",value:function(t,e){if(t){var n=t.offsetWidth;if(e){var r=getComputedStyle(t);n+=parseFloat(r.marginLeft)+parseFloat(r.marginRight)}return n}return 0}},{key:"getOuterHeight",value:function(t,e){if(t){var n=t.offsetHeight;if(e){var r=getComputedStyle(t);n+=parseFloat(r.marginTop)+parseFloat(r.marginBottom)}return n}return 0}},{key:"getClientHeight",value:function(t,e){if(t){var n=t.clientHeight;if(e){var r=getComputedStyle(t);n+=parseFloat(r.marginTop)+parseFloat(r.marginBottom)}return n}return 0}},{key:"getViewport",value:function(){var t=window,e=document,n=e.documentElement,r=e.getElementsByTagName("body")[0];return{width:t.innerWidth||n.clientWidth||r.clientWidth,height:t.innerHeight||n.clientHeight||r.clientHeight}}},{key:"getOffset",value:function(t){if(t){var e=t.getBoundingClientRect();return{top:e.top+(window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0),left:e.left+(window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0)}}return{top:"auto",left:"auto"}}},{key:"index",value:function(t){if(t)for(var e=t.parentNode.childNodes,n=0,r=0;r<e.length;r++){if(e[r]===t)return n;1===e[r].nodeType&&n++}return-1}},{key:"addMultipleClasses",value:function(t,e){if(t&&e)if(t.classList)for(var n=e.split(" "),r=0;r<n.length;r++)t.classList.add(n[r]);else for(var o=e.split(" "),i=0;i<o.length;i++)t.className+=" "+o[i]}},{key:"addClass",value:function(t,e){t&&e&&(t.classList?t.classList.add(e):t.className+=" "+e)}},{key:"removeClass",value:function(t,e){t&&e&&(t.classList?t.classList.remove(e):t.className=t.className.replace(new RegExp("(^|\\b)"+e.split(" ").join("|")+"(\\b|$)","gi")," "))}},{key:"hasClass",value:function(t,e){if(t)return t.classList?t.classList.contains(e):new RegExp("(^| )"+e+"( |$)","gi").test(t.className)}},{key:"find",value:function(t,e){return t?Array.from(t.querySelectorAll(e)):[]}},{key:"findSingle",value:function(t,e){return t?t.querySelector(e):null}},{key:"getHeight",value:function(t){if(t){var e=t.offsetHeight,n=getComputedStyle(t);return e-=parseFloat(n.paddingTop)+parseFloat(n.paddingBottom)+parseFloat(n.borderTopWidth)+parseFloat(n.borderBottomWidth)}return 0}},{key:"getWidth",value:function(t){if(t){var e=t.offsetWidth,n=getComputedStyle(t);return e-=parseFloat(n.paddingLeft)+parseFloat(n.paddingRight)+parseFloat(n.borderLeftWidth)+parseFloat(n.borderRightWidth)}return 0}},{key:"alignOverlay",value:function(e,n,r){e&&n&&("self"===r?this.relativePosition(e,n):(e.style.minWidth=t.getOuterWidth(n)+"px",this.absolutePosition(e,n)))}},{key:"absolutePosition",value:function(t,e){if(t){var n,r,o=t.offsetParent?{width:t.offsetWidth,height:t.offsetHeight}:this.getHiddenElementDimensions(t),i=o.height,a=o.width,s=e.offsetHeight,u=e.offsetWidth,l=e.getBoundingClientRect(),c=this.getWindowScrollTop(),f=this.getWindowScrollLeft(),p=this.getViewport();l.top+s+i>p.height?((n=l.top+c-i)<0&&(n=c),t.style.transformOrigin="bottom"):(n=s+l.top+c,t.style.transformOrigin="top"),r=l.left+u+a>p.width?Math.max(0,l.left+f+u-a):l.left+f,t.style.top=n+"px",t.style.left=r+"px"}}},{key:"relativePosition",value:function(t,e){if(t){var n,r,o=t.offsetParent?{width:t.offsetWidth,height:t.offsetHeight}:this.getHiddenElementDimensions(t),i=e.offsetHeight,a=e.getBoundingClientRect(),s=this.getViewport();a.top+i+o.height>s.height?(n=-1*o.height,a.top+n<0&&(n=-1*a.top),t.style.transformOrigin="bottom"):(n=i,t.style.transformOrigin="top"),r=o.width>s.width?-1*a.left:a.left+o.width>s.width?-1*(a.left+o.width-s.width):0,t.style.top=n+"px",t.style.left=r+"px"}}},{key:"flipfitCollision",value:function(e,n){var r=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"left top",i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"left bottom",a=arguments.length>4?arguments[4]:void 0,s=n.getBoundingClientRect(),u=this.getViewport(),l=o.split(" "),c=i.split(" "),f=function(t,e){return e?+t.substring(t.search(/(\+|-)/g))||0:t.substring(0,t.search(/(\+|-)/g))||t},p={my:{x:f(l[0]),y:f(l[1]||l[0]),offsetX:f(l[0],!0),offsetY:f(l[1]||l[0],!0)},at:{x:f(c[0]),y:f(c[1]||c[0]),offsetX:f(c[0],!0),offsetY:f(c[1]||c[0],!0)}},d={left:function(){return p.my.offsetX+p.at.offsetX+s.left+("left"===p.my.x?0:-1*("center"===p.my.x?r.getOuterWidth(e)/2:r.getOuterWidth(e)))},top:function(){return p.my.offsetY+p.at.offsetY+s.top+("top"===p.my.y?0:-1*("center"===p.my.y?r.getOuterHeight(e)/2:r.getOuterHeight(e)))}},h={count:{x:0,y:0},left:function(){var n=d.left(),r=t.getWindowScrollLeft();e.style.left=n+r+"px",2===this.count.x?(e.style.left=r+"px",this.count.x=0):n<0&&(this.count.x++,p.my.x="left",p.at.x="right",p.my.offsetX*=-1,p.at.offsetX*=-1,this.right())},right:function(){var r=d.left()+t.getOuterWidth(n),o=t.getWindowScrollLeft();e.style.left=r+o+"px",2===this.count.x?(e.style.left=u.width-t.getOuterWidth(e)+o+"px",this.count.x=0):r+t.getOuterWidth(e)>u.width&&(this.count.x++,p.my.x="right",p.at.x="left",p.my.offsetX*=-1,p.at.offsetX*=-1,this.left())},top:function(){var n=d.top(),r=t.getWindowScrollTop();e.style.top=n+r+"px",2===this.count.y?(e.style.left=r+"px",this.count.y=0):n<0&&(this.count.y++,p.my.y="top",p.at.y="bottom",p.my.offsetY*=-1,p.at.offsetY*=-1,this.bottom())},bottom:function(){var r=d.top()+t.getOuterHeight(n),o=t.getWindowScrollTop();e.style.top=r+o+"px",2===this.count.y?(e.style.left=u.height-t.getOuterHeight(e)+o+"px",this.count.y=0):r+t.getOuterHeight(n)>u.height&&(this.count.y++,p.my.y="bottom",p.at.y="top",p.my.offsetY*=-1,p.at.offsetY*=-1,this.top())},center:function(r){if("y"===r){var o=d.top()+t.getOuterHeight(n)/2;e.style.top=o+t.getWindowScrollTop()+"px",o<0?this.bottom():o+t.getOuterHeight(n)>u.height&&this.top()}else{var i=d.left()+t.getOuterWidth(n)/2;e.style.left=i+t.getWindowScrollLeft()+"px",i<0?this.left():i+t.getOuterWidth(e)>u.width&&this.right()}}};h[p.at.x]("x"),h[p.at.y]("y"),this.isFunction(a)&&a(p)}},{key:"findCollisionPosition",value:function(t){if(t){var e="left"===t?"right":"left";return"top"===t||"bottom"===t?{axis:"y",my:"center ".concat("top"===t?"bottom":"top"),at:"center ".concat(t)}:{axis:"x",my:"".concat(e," center"),at:"".concat(t," center")}}}},{key:"getParents",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return null===t.parentNode?e:this.getParents(t.parentNode,e.concat([t.parentNode]))}},{key:"getScrollableParents",value:function(t){var e=[];if(t){var n,r=this.getParents(t),o=/(auto|scroll)/,i=function(t){var e=window.getComputedStyle(t,null);return o.test(e.getPropertyValue("overflow"))||o.test(e.getPropertyValue("overflowX"))||o.test(e.getPropertyValue("overflowY"))},a=U(r);try{for(a.s();!(n=a.n()).done;){var s=n.value,u=1===s.nodeType&&s.dataset.scrollselectors;if(u){var l,c=U(u.split(","));try{for(c.s();!(l=c.n()).done;){var f=l.value,p=this.findSingle(s,f);p&&i(p)&&e.push(p)}}catch(t){c.e(t)}finally{c.f()}}9!==s.nodeType&&i(s)&&e.push(s)}}catch(t){a.e(t)}finally{a.f()}}return e}},{key:"getHiddenElementOuterHeight",value:function(t){if(t){t.style.visibility="hidden",t.style.display="block";var e=t.offsetHeight;return t.style.display="",t.style.visibility="",e}return 0}},{key:"getHiddenElementOuterWidth",value:function(t){if(t){t.style.visibility="hidden",t.style.display="block";var e=t.offsetWidth;return t.style.display="",t.style.visibility="",e}return 0}},{key:"getHiddenElementDimensions",value:function(t){var e={};return t&&(t.style.visibility="hidden",t.style.display="block",e.width=t.offsetWidth,e.height=t.offsetHeight,t.style.display="",t.style.visibility=""),e}},{key:"fadeIn",value:function(t,e){if(t){t.style.opacity=0;var n=+new Date,r=0;!function o(){r=+t.style.opacity+((new Date).getTime()-n)/e,t.style.opacity=r,n=+new Date,+r<1&&(window.requestAnimationFrame&&requestAnimationFrame(o)||setTimeout(o,16))}()}}},{key:"fadeOut",value:function(t,e){if(t)var n=1,r=50/e,o=setInterval((function(){(n-=r)<=0&&(n=0,clearInterval(o)),t.style.opacity=n}),50)}},{key:"getUserAgent",value:function(){return navigator.userAgent}},{key:"isIOS",value:function(){return/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream}},{key:"isAndroid",value:function(){return/(android)/i.test(navigator.userAgent)}},{key:"isTouchDevice",value:function(){return"ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0}},{key:"isFunction",value:function(t){return!!(t&&t.constructor&&t.call&&t.apply)}},{key:"appendChild",value:function(t,e){if(this.isElement(e))e.appendChild(t);else{if(!e.el||!e.el.nativeElement)throw new Error("Cannot append "+e+" to "+t);e.el.nativeElement.appendChild(t)}}},{key:"removeChild",value:function(t,e){if(this.isElement(e))e.removeChild(t);else{if(!e.el||!e.el.nativeElement)throw new Error("Cannot remove "+t+" from "+e);e.el.nativeElement.removeChild(t)}}},{key:"isElement",value:function(t){return"object"===("undefined"==typeof HTMLElement?"undefined":k(HTMLElement))?t instanceof HTMLElement:t&&"object"===k(t)&&null!==t&&1===t.nodeType&&"string"==typeof t.nodeName}},{key:"scrollInView",value:function(t,e){var n=getComputedStyle(t).getPropertyValue("borderTopWidth"),r=n?parseFloat(n):0,o=getComputedStyle(t).getPropertyValue("paddingTop"),i=o?parseFloat(o):0,a=t.getBoundingClientRect(),s=e.getBoundingClientRect().top+document.body.scrollTop-(a.top+document.body.scrollTop)-r-i,u=t.scrollTop,l=t.clientHeight,c=this.getOuterHeight(e);s<0?t.scrollTop=u+s:s+c>l&&(t.scrollTop=u+s-l+c)}},{key:"clearSelection",value:function(){if(window.getSelection)window.getSelection().empty?window.getSelection().empty():window.getSelection().removeAllRanges&&window.getSelection().rangeCount>0&&window.getSelection().getRangeAt(0).getClientRects().length>0&&window.getSelection().removeAllRanges();else if(document.selection&&document.selection.empty)try{document.selection.empty()}catch(t){}}},{key:"calculateScrollbarWidth",value:function(t){if(t){var e=getComputedStyle(t);return t.offsetWidth-t.clientWidth-parseFloat(e.borderLeftWidth)-parseFloat(e.borderRightWidth)}if(null!=this.calculatedScrollbarWidth)return this.calculatedScrollbarWidth;var n=document.createElement("div");n.className="p-scrollbar-measure",document.body.appendChild(n);var r=n.offsetWidth-n.clientWidth;return document.body.removeChild(n),this.calculatedScrollbarWidth=r,r}},{key:"getBrowser",value:function(){if(!this.browser){var t=this.resolveUserAgent();this.browser={},t.browser&&(this.browser[t.browser]=!0,this.browser.version=t.version),this.browser.chrome?this.browser.webkit=!0:this.browser.webkit&&(this.browser.safari=!0)}return this.browser}},{key:"resolveUserAgent",value:function(){var t=navigator.userAgent.toLowerCase(),e=/(chrome)[ ]([\w.]+)/.exec(t)||/(webkit)[ ]([\w.]+)/.exec(t)||/(opera)(?:.*version|)[ ]([\w.]+)/.exec(t)||/(msie) ([\w.]+)/.exec(t)||t.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(t)||[];return{browser:e[1]||"",version:e[2]||"0"}}},{key:"isVisible",value:function(t){return t&&null!=t.offsetParent}},{key:"getFocusableElements",value:function(e){var n,r=[],o=U(t.find(e,'button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]),\n [href][clientHeight][clientWidth]:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]),\n input:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]), select:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]),\n textarea:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]), [tabIndex]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]),\n [contenteditable]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])'));try{for(o.s();!(n=o.n()).done;){var i=n.value;"none"!==getComputedStyle(i).display&&"hidden"!==getComputedStyle(i).visibility&&r.push(i)}}catch(t){o.e(t)}finally{o.f()}return r}},{key:"getFirstFocusableElement",value:function(e){var n=t.getFocusableElements(e);return n.length>0?n[0]:null}},{key:"getLastFocusableElement",value:function(e){var n=t.getFocusableElements(e);return n.length>0?n[n.length-1]:null}},{key:"getCursorOffset",value:function(t,e,n,r){if(t){var o=getComputedStyle(t),i=document.createElement("div");i.style.position="absolute",i.style.top="0px",i.style.left="0px",i.style.visibility="hidden",i.style.pointerEvents="none",i.style.overflow=o.overflow,i.style.width=o.width,i.style.height=o.height,i.style.padding=o.padding,i.style.border=o.border,i.style.overflowWrap=o.overflowWrap,i.style.whiteSpace=o.whiteSpace,i.style.lineHeight=o.lineHeight,i.innerHTML=e.replace(/\r\n|\r|\n/g,"<br />");var a=document.createElement("span");a.textContent=r,i.appendChild(a);var s=document.createTextNode(n);i.appendChild(s),document.body.appendChild(i);var u=a.offsetLeft,l=a.offsetTop,c=a.clientHeight;return document.body.removeChild(i),{left:Math.abs(u-t.scrollLeft),top:Math.abs(l-t.scrollTop)+c}}return{top:"auto",left:"auto"}}}]),t}(),j=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){};L(this,t),this.element=e,this.listener=n}return F(t,[{key:"bindScrollListener",value:function(){this.scrollableParents=V.getScrollableParents(this.element);for(var t=0;t<this.scrollableParents.length;t++)this.scrollableParents[t].addEventListener("scroll",this.listener)}},{key:"unbindScrollListener",value:function(){if(this.scrollableParents)for(var t=0;t<this.scrollableParents.length;t++)this.scrollableParents[t].removeEventListener("scroll",this.listener)}},{key:"destroy",value:function(){this.unbindScrollListener(),this.element=null,this.listener=null,this.scrollableParents=null}}]),t}();var H=function(){function t(){L(this,t)}return F(t,null,[{key:"equals",value:function(t,e,n){return n&&t&&"object"===k(t)&&e&&"object"===k(e)?this.resolveFieldData(t,n)===this.resolveFieldData(e,n):this.deepEquals(t,e)}},{key:"deepEquals",value:function(t,e){if(t===e)return!0;if(t&&e&&"object"==k(t)&&"object"==k(e)){var n,r,o,i=Array.isArray(t),a=Array.isArray(e);if(i&&a){if((r=t.length)!==e.length)return!1;for(n=r;0!=n--;)if(!this.deepEquals(t[n],e[n]))return!1;return!0}if(i!==a)return!1;var s=t instanceof Date,u=e instanceof Date;if(s!==u)return!1;if(s&&u)return t.getTime()===e.getTime();var l=t instanceof RegExp,c=e instanceof RegExp;if(l!==c)return!1;if(l&&c)return t.toString()===e.toString();var f=Object.keys(t);if((r=f.length)!==Object.keys(e).length)return!1;for(n=r;0!=n--;)if(!Object.prototype.hasOwnProperty.call(e,f[n]))return!1;for(n=r;0!=n--;)if(o=f[n],!this.deepEquals(t[o],e[o]))return!1;return!0}return t!=t&&e!=e}},{key:"resolveFieldData",value:function(t,e){if(t&&Object.keys(t).length&&e){if(this.isFunction(e))return e(t);if(-1===e.indexOf("."))return t[e];for(var n=e.split("."),r=t,o=0,i=n.length;o<i;++o){if(null==r)return null;r=r[n[o]]}return r}return null}},{key:"isFunction",value:function(t){return!!(t&&t.constructor&&t.call&&t.apply)}},{key:"findDiffKeys",value:function(t,e){return t&&e?Object.keys(t).filter((function(t){return!e.hasOwnProperty(t)})).reduce((function(e,n){return e[n]=t[n],e}),{}):{}}},{key:"reorderArray",value:function(t,e,n){var r;if(t&&e!==n){if(n>=t.length)for(r=n-t.length;1+r--;)t.push(void 0);t.splice(n,0,t.splice(e,1)[0])}}},{key:"findIndexInList",value:function(t,e,n){var r=this;return e?n?e.findIndex((function(e){return r.equals(e,t,n)})):e.findIndex((function(e){return e===t})):-1}},{key:"getJSXElement",value:function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return this.isFunction(t)?t.apply(void 0,n):t}},{key:"removeAccents",value:function(t){return t&&t.search(/[\xC0-\xFF]/g)>-1&&(t=t.replace(/[\xC0-\xC5]/g,"A").replace(/[\xC6]/g,"AE").replace(/[\xC7]/g,"C").replace(/[\xC8-\xCB]/g,"E").replace(/[\xCC-\xCF]/g,"I").replace(/[\xD0]/g,"D").replace(/[\xD1]/g,"N").replace(/[\xD2-\xD6\xD8]/g,"O").replace(/[\xD9-\xDC]/g,"U").replace(/[\xDD]/g,"Y").replace(/[\xDE]/g,"P").replace(/[\xE0-\xE5]/g,"a").replace(/[\xE6]/g,"ae").replace(/[\xE7]/g,"c").replace(/[\xE8-\xEB]/g,"e").replace(/[\xEC-\xEF]/g,"i").replace(/[\xF1]/g,"n").replace(/[\xF2-\xF6\xF8]/g,"o").replace(/[\xF9-\xFC]/g,"u").replace(/[\xFE]/g,"p").replace(/[\xFD\xFF]/g,"y")),t}},{key:"isEmpty",value:function(t){return null==t||""===t||Array.isArray(t)&&0===t.length||"object"===k(t)&&0===Object.keys(t).length}},{key:"isNotEmpty",value:function(t){return!this.isEmpty(t)}}]),t}();function W(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return G(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return G(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,o=function(){};return{s:o,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){s=!0,i=t},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function G(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var X=function(){function t(){L(this,t)}return F(t,null,[{key:"filter",value:function(e,n,r,o,i){var a=[],s=H.removeAccents(r).toLocaleLowerCase(i);if(e){var u,l=W(e);try{for(l.s();!(u=l.n()).done;){var c,f=u.value,p=W(n);try{for(p.s();!(c=p.n()).done;){var d=c.value,h=H.removeAccents(String(H.resolveFieldData(f,d))).toLocaleLowerCase(i);if(t[o](h,s,i)){a.push(f);break}}}catch(t){p.e(t)}finally{p.f()}}}catch(t){l.e(t)}finally{l.f()}}return a}},{key:"startsWith",value:function(t,e,n){if(null==e||""===e.trim())return!0;if(null==t)return!1;var r=H.removeAccents(e.toString()).toLocaleLowerCase(n);return H.removeAccents(t.toString()).toLocaleLowerCase(n).slice(0,r.length)===r}},{key:"contains",value:function(t,e,n){if(null==e||"string"==typeof e&&""===e.trim())return!0;if(null==t)return!1;var r=H.removeAccents(e.toString()).toLocaleLowerCase(n);return-1!==H.removeAccents(t.toString()).toLocaleLowerCase(n).indexOf(r)}},{key:"endsWith",value:function(t,e,n){if(null==e||""===e.trim())return!0;if(null==t)return!1;var r=H.removeAccents(e.toString()).toLocaleLowerCase(n),o=H.removeAccents(t.toString()).toLocaleLowerCase(n);return-1!==o.indexOf(r,o.length-r.length)}},{key:"equals",value:function(t,e,n){return null==e||"string"==typeof e&&""===e.trim()||null!=t&&(t.getTime&&e.getTime?t.getTime()===e.getTime():H.removeAccents(t.toString()).toLocaleLowerCase(n)===H.removeAccents(e.toString()).toLocaleLowerCase(n))}},{key:"notEquals",value:function(t,e,n){return null!=e&&("string"!=typeof e||""!==e.trim())&&(null==t||(t.getTime&&e.getTime?t.getTime()!==e.getTime():H.removeAccents(t.toString()).toLocaleLowerCase(n)!==H.removeAccents(e.toString()).toLocaleLowerCase(n)))}},{key:"in",value:function(t,e,n){if(null==e||0===e.length)return!0;if(null==t)return!1;for(var r=0;r<e.length;r++)if(H.equals(t,e[r]))return!0;return!1}},{key:"lt",value:function(t,e,n){return!!(null==e||e.trim&&0===e.trim().length)||null!=t&&(t.getTime&&e.getTime?t.getTime()<e.getTime():t<parseFloat(e))}},{key:"lte",value:function(t,e,n){return!!(null==e||e.trim&&0===e.trim().length)||null!=t&&(t.getTime&&e.getTime?t.getTime()<=e.getTime():t<=parseFloat(e))}},{key:"gt",value:function(t,e,n){return!!(null==e||e.trim&&0===e.trim().length)||null!=t&&(t.getTime&&e.getTime?t.getTime()>e.getTime():t>parseFloat(e))}},{key:"gte",value:function(t,e,n){return!!(null==e||e.trim&&0===e.trim().length)||null!=t&&(t.getTime&&e.getTime?t.getTime()>=e.getTime():t>=parseFloat(e))}}]),t}();function Y(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var K=0;function Z(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"pr_id_";return K++,"".concat(t).concat(K)}var q,Q,$,J=(q=[],Q=function(t){return m.zIndex[t]||999},$=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(q||[]).reverse().find((function(e){return!!m.autoZIndex||e.key===t}))||{key:t,value:e}},{get:function(t){return t&&parseInt(t.style.zIndex,10)||0},set:function(t,e,n){e&&(e.style.zIndex=String(function(t,e){e=e||Q(t);var n=$(t,e),r=n.value+(n.key===t?0:e)+1;return q.push({key:t,value:r}),r}(t,n)))},clear:function(t){var e;t&&(e=J.get(t),q=q.filter((function(t){return t.value!==e})),t.style.zIndex="")},getBase:function(t){return Q(t)},getCurrent:function(t){return function(t){return $(t).value}(t)}});function tt(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function et(t,e){return(et=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function nt(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&et(t,e)}function rt(t,e){return!e||"object"!==k(e)&&"function"!=typeof e?tt(t):e}function ot(t){return(ot=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function it(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=ot(t);if(e){var o=ot(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return rt(this,n)}}var at=function(t){nt(n,t);var e=it(n);function n(t){var r;return L(this,n),(r=e.call(this,t)).onMouseDown=r.onMouseDown.bind(tt(r)),r}return F(n,[{key:"getTarget",value:function(){return this.ink&&this.ink.parentElement}},{key:"bindEvents",value:function(){this.target&&this.target.addEventListener("mousedown",this.onMouseDown)}},{key:"unbindEvents",value:function(){this.target&&this.target.removeEventListener("mousedown",this.onMouseDown)}},{key:"onMouseDown",value:function(t){if(this.ink&&"none"!==getComputedStyle(this.ink,null).display){if(V.removeClass(this.ink,"p-ink-active"),!V.getHeight(this.ink)&&!V.getWidth(this.ink)){var e=Math.max(V.getOuterWidth(this.target),V.getOuterHeight(this.target));this.ink.style.height=e+"px",this.ink.style.width=e+"px"}var n=V.getOffset(this.target),r=t.pageX-n.left+document.body.scrollTop-V.getWidth(this.ink)/2,o=t.pageY-n.top+document.body.scrollLeft-V.getHeight(this.ink)/2;this.ink.style.top=o+"px",this.ink.style.left=r+"px",V.addClass(this.ink,"p-ink-active")}}},{key:"onAnimationEnd",value:function(t){V.removeClass(t.currentTarget,"p-ink-active")}},{key:"componentDidMount",value:function(){this.ink&&(this.target=this.getTarget(),this.bindEvents())}},{key:"componentDidUpdate",value:function(){this.ink&&!this.target&&(this.target=this.getTarget(),this.bindEvents())}},{key:"componentWillUnmount",value:function(){this.ink&&(this.target=null,this.unbindEvents())}},{key:"render",value:function(){var t=this;return m.ripple&&i.a.createElement("span",{ref:function(e){return t.ink=e},className:"p-ink",onAnimationEnd:this.onAnimationEnd})}}]),n}(o.Component),st=function(){function t(){L(this,t)}return F(t,null,[{key:"isNavKeyPress",value:function(e){var n=e.keyCode;return(n=V.getBrowser().safari&&t.SAFARI_KEYS[n]||n)>=33&&n<=40||n===t.KEYS.RETURN||n===t.KEYS.TAB||n===t.KEYS.ESC}},{key:"isSpecialKey",value:function(t){var e=t.keyCode;return 9===e||13===e||27===e||16===e||17===e||e>=18&&e<=20||V.getBrowser().opera&&!t.shiftKey&&(8===e||e>=33&&e<=35||e>=36&&e<=39||e>=44&&e<=45)}},{key:"getKey",value:function(e){var n=e.keyCode||e.charCode;return V.getBrowser().safari&&t.SAFARI_KEYS[n]||n}},{key:"getCharCode",value:function(t){return t.charCode||t.keyCode||t.which}},{key:"onKeyPress",value:function(e,n,r){if(!r){var o=t.DEFAULT_MASKS[n]?t.DEFAULT_MASKS[n]:n,i=V.getBrowser();if(!e.ctrlKey&&!e.altKey){var a=this.getKey(e);if(!i.mozilla||!(this.isNavKeyPress(e)||a===t.KEYS.BACKSPACE||a===t.KEYS.DELETE&&0===e.charCode)){var s=this.getCharCode(e),u=String.fromCharCode(s);(!i.mozilla||!this.isSpecialKey(e)&&u)&&(o.test(u)||e.preventDefault())}}}}},{key:"validate",value:function(t,e){var n=t.target.value,r=!0;return n&&!e.test(n)&&(r=!1),r}}]),t}();function ut(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=ot(t);if(e){var o=ot(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return rt(this,n)}}Y(st,"DEFAULT_MASKS",{pint:/[\d]/,int:/[\d\-]/,pnum:/[\d\.]/,money:/[\d\.\s,]/,num:/[\d\-\.]/,hex:/[0-9a-f]/i,email:/[a-z0-9_\.\-@]/i,alpha:/[a-z_]/i,alphanum:/[a-z0-9_]/i}),Y(st,"KEYS",{TAB:9,RETURN:13,ESC:27,BACKSPACE:8,DELETE:46}),Y(st,"SAFARI_KEYS",{63234:37,63235:39,63232:38,63233:40,63276:33,63277:34,63272:46,63273:36,63275:35});var lt=function(t){nt(n,t);var e=ut(n);function n(t){var r;return L(this,n),(r=e.call(this,t)).state={mounted:t.visible},r}return F(n,[{key:"hasDOM",value:function(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}},{key:"componentDidMount",value:function(){this.hasDOM()&&!this.state.mounted&&this.setState({mounted:!0},this.props.onMounted)}},{key:"componentWillUnmount",value:function(){this.props.onUnmounted&&this.props.onUnmounted()}},{key:"render",value:function(){if(this.props.element&&this.state.mounted){var t=this.props.appendTo||m.appendTo||document.body;return"self"===t?this.props.element:s.a.createPortal(this.props.element,t)}return null}}]),n}(o.Component);function ct(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=ot(t);if(e){var o=ot(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return rt(this,n)}}function ft(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function pt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ft(Object(n),!0).forEach((function(e){Y(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ft(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function dt(t){var e=t.appendTo||document.body,n=document.createDocumentFragment();V.appendChild(n,e),t=pt(pt({},t),t.options);var r=i.a.createElement(ht,t);s.a.render(r,n);var o=function(e){t=pt(pt({},t),e),s.a.render(i.a.cloneElement(r,t),n)};return{destroy:function(){s.a.unmountComponentAtNode(n)},updateContent:function(t){console.warn("The 'updateContent' method has been deprecated on Tooltip. Use update(newProps) method."),o({content:t})},update:function(t){o(t)}}}Y(lt,"defaultProps",{element:null,appendTo:null,visible:!1,onMounted:null,onUnmounted:null});var ht=function(t){nt(n,t);var e=ct(n);function n(t){var r;return L(this,n),(r=e.call(this,t)).state={visible:!1,position:r.props.position},r.show=r.show.bind(tt(r)),r.hide=r.hide.bind(tt(r)),r.onMouseEnter=r.onMouseEnter.bind(tt(r)),r.onMouseLeave=r.onMouseLeave.bind(tt(r)),r}return F(n,[{key:"isTargetContentEmpty",value:function(t){return!(this.props.content||this.getTargetOption(t,"tooltip"))}},{key:"isContentEmpty",value:function(t){return!(this.props.content||this.getTargetOption(t,"tooltip")||this.props.children)}},{key:"isMouseTrack",value:function(t){return this.getTargetOption(t,"mousetrack")||this.props.mouseTrack}},{key:"isDisabled",value:function(t){return"true"===this.getTargetOption(t,"disabled")||this.hasTargetOption(t,"disabled")||this.props.disabled}},{key:"isAutoHide",value:function(){return this.getTargetOption(this.currentTarget,"autohide")||this.props.autoHide}},{key:"getTargetOption",value:function(t,e){return this.hasTargetOption(t,"data-pr-".concat(e))?t.getAttribute("data-pr-".concat(e)):null}},{key:"hasTargetOption",value:function(t,e){return t&&t.hasAttribute(e)}},{key:"getEvents",value:function(t){var e=this.getTargetOption(t,"showevent")||this.props.showEvent,n=this.getTargetOption(t,"hideevent")||this.props.hideEvent;this.isMouseTrack(t)?(e="mousemove",n="mouseleave"):"focus"===(this.getTargetOption(t,"event")||this.props.event)&&(e="focus",n="blur");return{showEvent:e,hideEvent:n}}},{key:"getPosition",value:function(t){return this.getTargetOption(t,"position")||this.state.position}},{key:"getMouseTrackPosition",value:function(t){return{top:this.getTargetOption(t,"mousetracktop")||this.props.mouseTrackTop,left:this.getTargetOption(t,"mousetrackleft")||this.props.mouseTrackLeft}}},{key:"updateText",value:function(t,e){if(this.tooltipTextEl){var n=this.getTargetOption(t,"tooltip")||this.props.content;n?(this.tooltipTextEl.innerHTML="",this.tooltipTextEl.appendChild(document.createTextNode(n)),e()):this.props.children&&e()}}},{key:"show",value:function(t){var e=this;if(this.currentTarget=t.currentTarget,!this.isContentEmpty(this.currentTarget)&&!this.isDisabled(this.currentTarget)){var n=function(){e.updateText(e.currentTarget,(function(){e.props.autoZIndex&&!J.get(e.containerEl)&&J.set("tooltip",e.containerEl,e.props.baseZIndex),e.containerEl.style.left="",e.containerEl.style.top="",e.isMouseTrack(e.currentTarget)&&!e.containerSize&&(e.containerSize={width:V.getOuterWidth(e.containerEl),height:V.getOuterHeight(e.containerEl)}),e.align(e.currentTarget,{x:t.pageX,y:t.pageY})}))};this.state.visible?this.applyDelay("updateDelay",n):(this.sendCallback(this.props.onBeforeShow,{originalEvent:t,target:this.currentTarget}),this.applyDelay("showDelay",(function(){e.setState({visible:!0,position:e.getPosition(e.currentTarget)},(function(){n(),e.sendCallback(e.props.onShow,{originalEvent:t,target:e.currentTarget})})),e.bindDocumentResizeListener(),e.bindScrollListener(),V.addClass(e.currentTarget,e.getTargetOption(e.currentTarget,"classname"))})))}}},{key:"hide",value:function(t){var e=this;this.clearTimeouts(),this.state.visible&&(V.removeClass(this.currentTarget,this.getTargetOption(this.currentTarget,"classname")),this.sendCallback(this.props.onBeforeHide,{originalEvent:t,target:this.currentTarget}),this.applyDelay("hideDelay",(function(){J.clear(e.containerEl),V.removeClass(e.containerEl,"p-tooltip-active"),(e.isAutoHide()||!1!==e.allowHide)&&e.setState({visible:!1,position:e.props.position},(function(){e.tooltipTextEl&&s.a.unmountComponentAtNode(e.tooltipTextEl),e.unbindDocumentResizeListener(),e.unbindScrollListener(),e.currentTarget=null,e.scrollHandler=null,e.containerSize=null,e.allowHide=!0,e.sendCallback(e.props.onHide,{originalEvent:t,target:e.currentTarget})}))})))}},{key:"align",value:function(t,e){var n=this,r=0,o=0;if(this.isMouseTrack(t)&&e){var i={width:V.getOuterWidth(this.containerEl),height:V.getOuterHeight(this.containerEl)};r=e.x,o=e.y;var a=this.getMouseTrackPosition(t),s=a.top,u=a.left;switch(this.state.position){case"left":r-=i.width+u,o-=i.height/2-s;break;case"right":r+=u,o-=i.height/2-s;break;case"top":r-=i.width/2-u,o-=i.height+s;break;case"bottom":r-=i.width/2-u,o+=s}r<=0||this.containerSize.width>i.width?(this.containerEl.style.left="0px",this.containerEl.style.right=window.innerWidth-i.width-r+"px"):(this.containerEl.style.right="",this.containerEl.style.left=r+"px"),this.containerEl.style.top=o+"px",V.addClass(this.containerEl,"p-tooltip-active")}else{var l=V.findCollisionPosition(this.state.position),c=this.getTargetOption(t,"my")||this.props.my||l.my,f=this.getTargetOption(t,"at")||this.props.at||l.at;this.containerEl.style.padding="0px",V.flipfitCollision(this.containerEl,t,c,f,(function(t){var e=t.at,r=e.x,o=e.y,i=t.my.x,a=n.props.at?"center"!==r&&r!==i?r:o:t.at["".concat(l.axis)];n.containerEl.style.padding="",n.setState({position:a},(function(){n.updateContainerPosition(),V.addClass(n.containerEl,"p-tooltip-active")}))}))}}},{key:"updateContainerPosition",value:function(){if(this.containerEl){var t=getComputedStyle(this.containerEl);"left"===this.state.position?this.containerEl.style.left=parseFloat(t.left)-2*parseFloat(t.paddingLeft)+"px":"top"===this.state.position&&(this.containerEl.style.top=parseFloat(t.top)-2*parseFloat(t.paddingTop)+"px")}}},{key:"onMouseEnter",value:function(){this.isAutoHide()||(this.allowHide=!1)}},{key:"onMouseLeave",value:function(t){this.isAutoHide()||(this.allowHide=!0,this.hide(t))}},{key:"bindDocumentResizeListener",value:function(){var t=this;this.documentResizeListener=function(e){V.isAndroid()||t.hide(e)},window.addEventListener("resize",this.documentResizeListener)}},{key:"unbindDocumentResizeListener",value:function(){this.documentResizeListener&&(window.removeEventListener("resize",this.documentResizeListener),this.documentResizeListener=null)}},{key:"bindScrollListener",value:function(){var t=this;this.scrollHandler||(this.scrollHandler=new j(this.currentTarget,(function(e){t.state.visible&&t.hide(e)}))),this.scrollHandler.bindScrollListener()}},{key:"unbindScrollListener",value:function(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()}},{key:"bindTargetEvent",value:function(t){if(t){var e=this.getEvents(t),n=e.showEvent,r=e.hideEvent;t.addEventListener(n,this.show),t.addEventListener(r,this.hide)}}},{key:"unbindTargetEvent",value:function(t){if(t){var e=this.getEvents(t),n=e.showEvent,r=e.hideEvent;t.removeEventListener(n,this.show),t.removeEventListener(r,this.hide)}}},{key:"applyDelay",value:function(t,e){this.clearTimeouts();var n=this.getTargetOption(this.currentTarget,t.toLowerCase())||this.props[t];n?this["".concat(t,"Timeout")]=setTimeout((function(){return e()}),n):e()}},{key:"sendCallback",value:function(t){if(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];t.apply(void 0,n)}}},{key:"clearTimeouts",value:function(){clearTimeout(this.showDelayTimeout),clearTimeout(this.updateDelayTimeout),clearTimeout(this.hideDelayTimeout)}},{key:"updateTargetEvents",value:function(t){this.unloadTargetEvents(t),this.loadTargetEvents(t)}},{key:"loadTargetEvents",value:function(t){this.setTargetEventOperations(t||this.props.target,"bindTargetEvent")}},{key:"unloadTargetEvents",value:function(t){this.setTargetEventOperations(t||this.props.target,"unbindTargetEvent")}},{key:"setTargetEventOperations",value:function(t,e){var n=this;if(t)if(V.isElement(t))this[e](t);else{var r=function(t){V.find(document,t).forEach((function(t){n[e](t)}))};t instanceof Array?t.forEach((function(t){r(t)})):r(t)}}},{key:"componentDidMount",value:function(){this.props.target&&this.loadTargetEvents()}},{key:"componentDidUpdate",value:function(t,e){var n=this;t.target!==this.props.target&&(this.unloadTargetEvents(t.target),this.loadTargetEvents()),this.state.visible&&(t.content!==this.props.content&&this.applyDelay("updateDelay",(function(){n.updateText(n.currentTarget,(function(){n.align(n.currentTarget)}))})),this.currentTarget&&this.isDisabled(this.currentTarget)&&this.hide())}},{key:"componentWillUnmount",value:function(){this.clearTimeouts(),this.unbindDocumentResizeListener(),this.unloadTargetEvents(),this.scrollHandler&&(this.scrollHandler.destroy(),this.scrollHandler=null),J.clear(this.containerEl)}},{key:"renderElement",value:function(){var t=this,e=M("p-tooltip p-component",Y({},"p-tooltip-".concat(this.state.position),!0),this.props.className),n=this.isTargetContentEmpty(this.currentTarget);return i.a.createElement("div",{id:this.props.id,ref:function(e){return t.containerEl=e},className:e,style:this.props.style,role:"tooltip","aria-hidden":this.state.visible,onMouseEnter:this.onMouseEnter,onMouseLeave:this.onMouseLeave},i.a.createElement("div",{className:"p-tooltip-arrow"}),i.a.createElement("div",{ref:function(e){return t.tooltipTextEl=e},className:"p-tooltip-text"},n&&this.props.children))}},{key:"render",value:function(){if(this.state.visible){var t=this.renderElement();return i.a.createElement(lt,{element:t,appendTo:this.props.appendTo,visible:!0})}return null}}]),n}(o.Component);Y(ht,"defaultProps",{id:null,target:null,content:null,disabled:!1,className:null,style:null,appendTo:null,position:"right",my:null,at:null,event:null,showEvent:"mouseenter",hideEvent:"mouseleave",autoZIndex:!0,baseZIndex:0,mouseTrack:!1,mouseTrackTop:5,mouseTrackLeft:5,showDelay:0,updateDelay:0,hideDelay:0,autoHide:!0,onBeforeShow:null,onBeforeHide:null,onShow:null,onHide:null});var gt,yt=(gt=new Map,{on:function(t,e){var n=gt.get(t);n?n.push(e):n=[e],gt.set(t,n)},off:function(t,e){var n=gt.get(t);n&&n.splice(n.indexOf(e)>>>0,1)},emit:function(t,e){var n=gt.get(t);n&&n.slice().forEach((function(t){return t(e)}))}});function vt(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function mt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?vt(Object(n),!0).forEach((function(e){Y(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):vt(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function wt(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=ot(t);if(e){var o=ot(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return rt(this,n)}}var Et=function(t){nt(n,t);var e=wt(n);function n(t){var r;return L(this,n),(r=e.call(this,t)).onEnter=r.onEnter.bind(tt(r)),r.onEntering=r.onEntering.bind(tt(r)),r.onEntered=r.onEntered.bind(tt(r)),r.onExit=r.onExit.bind(tt(r)),r.onExiting=r.onExiting.bind(tt(r)),r.onExited=r.onExited.bind(tt(r)),r}return F(n,[{key:"onEnter",value:function(t,e){this.props.onEnter&&this.props.onEnter(t,e),this.props.options&&this.props.options.onEnter&&this.props.options.onEnter(t,e)}},{key:"onEntering",value:function(t,e){this.props.onEntering&&this.props.onEntering(t,e),this.props.options&&this.props.options.onEntering&&this.props.options.onEntering(t,e)}},{key:"onEntered",value:function(t,e){this.props.onEntered&&this.props.onEntered(t,e),this.props.options&&this.props.options.onEntered&&this.props.options.onEntered(t,e)}},{key:"onExit",value:function(t){this.props.onExit&&this.props.onExit(t),this.props.options&&this.props.options.onExit&&this.props.options.onExit(t)}},{key:"onExiting",value:function(t){this.props.onExiting&&this.props.onExiting(t),this.props.options&&this.props.options.onExiting&&this.props.options.onExiting(t)}},{key:"onExited",value:function(t){this.props.onExited&&this.props.onExited(t),this.props.options&&this.props.options.onExited&&this.props.options.onExited(t)}},{key:"render",value:function(){var t={nodeRef:this.props.nodeRef,in:this.props.in,onEnter:this.onEnter,onEntering:this.onEntering,onEntered:this.onEntered,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited},e=mt(mt(mt({},{classNames:this.props.classNames,timeout:this.props.timeout,unmountOnExit:this.props.unmountOnExit}),this.props.options||{}),t);return i.a.createElement(D,e,this.props.children)}}]),n}(o.Component);function bt(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function _t(t){return function(t){if(Array.isArray(t))return bt(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return bt(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?bt(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ct(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function St(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function At(t,e){return(At=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Ot(t){return(Ot="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function It(t,e){return!e||"object"!==Ot(e)&&"function"!=typeof e?St(t):e}function Tt(t){return(Tt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Rt(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Tt(t);if(e){var o=Tt(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return It(this,n)}}var Nt,Dt,Pt,xt=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&At(t,e)}(a,t);var e,n,r,o=Rt(a);function a(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),(e=o.call(this,t)).state={id:t.id,maskVisible:t.visible,visible:!1},e.props.onMaximize||(e.state.maximized=t.maximized),e.onClose=e.onClose.bind(St(e)),e.toggleMaximize=e.toggleMaximize.bind(St(e)),e.onDragStart=e.onDragStart.bind(St(e)),e.onResizeStart=e.onResizeStart.bind(St(e)),e.onMaskClick=e.onMaskClick.bind(St(e)),e.onEnter=e.onEnter.bind(St(e)),e.onEntered=e.onEntered.bind(St(e)),e.onExited=e.onExited.bind(St(e)),e.attributeSelector=Z(),e.dialogRef=i.a.createRef(),e}return e=a,(n=[{key:"onClose",value:function(t){this.props.onHide(),t.preventDefault()}},{key:"focus",value:function(){var t=document.activeElement;!(t&&this.dialogRef&&this.dialogRef.current.contains(t))&&this.props.closable&&this.props.showHeader&&this.closeElement.focus()}},{key:"onMaskClick",value:function(t){this.props.dismissableMask&&this.props.modal&&this.mask===t.target&&this.onClose(t),this.props.onMaskClick&&this.props.onMaskClick(t)}},{key:"toggleMaximize",value:function(t){var e=!this.maximized;this.props.onMaximize?this.props.onMaximize({originalEvent:t,maximized:e}):this.setState({maximized:e},this.changeScrollOnMaximizable),t.preventDefault()}},{key:"onDragStart",value:function(t){V.hasClass(t.target,"p-dialog-header-icon")||V.hasClass(t.target.parentElement,"p-dialog-header-icon")||this.props.draggable&&(this.dragging=!0,this.lastPageX=t.pageX,this.lastPageY=t.pageY,this.dialogEl.style.margin="0",V.addClass(document.body,"p-unselectable-text"),this.props.onDragStart&&this.props.onDragStart(t))}},{key:"onDrag",value:function(t){if(this.dragging){var e=V.getOuterWidth(this.dialogEl),n=V.getOuterHeight(this.dialogEl),r=t.pageX-this.lastPageX,o=t.pageY-this.lastPageY,i=this.dialogEl.getBoundingClientRect(),a=i.left+r,s=i.top+o,u=V.getViewport();this.dialogEl.style.position="fixed",this.props.keepInViewport?(a>=this.props.minX&&a+e<u.width&&(this.lastPageX=t.pageX,this.dialogEl.style.left=a+"px"),s>=this.props.minY&&s+n<u.height&&(this.lastPageY=t.pageY,this.dialogEl.style.top=s+"px")):(this.lastPageX=t.pageX,this.dialogEl.style.left=a+"px",this.lastPageY=t.pageY,this.dialogEl.style.top=s+"px"),this.props.onDrag&&this.props.onDrag(t)}}},{key:"onDragEnd",value:function(t){this.dragging&&(this.dragging=!1,V.removeClass(document.body,"p-unselectable-text"),this.props.onDragEnd&&this.props.onDragEnd(t))}},{key:"onResizeStart",value:function(t){this.props.resizable&&(this.resizing=!0,this.lastPageX=t.pageX,this.lastPageY=t.pageY,V.addClass(document.body,"p-unselectable-text"),this.props.onResizeStart&&this.props.onResizeStart(t))}},{key:"convertToPx",value:function(t,e,n){!n&&(n=V.getViewport());var r=parseInt(t);return/^(\d+|(\.\d+))(\.\d+)?%$/.test(t)?r*(n[e]/100):r}},{key:"onResize",value:function(t){if(this.resizing){var e=t.pageX-this.lastPageX,n=t.pageY-this.lastPageY,r=V.getOuterWidth(this.dialogEl),o=V.getOuterHeight(this.dialogEl),i=this.dialogEl.getBoundingClientRect(),a=V.getViewport(),s=r+e,u=o+n,l=this.convertToPx(this.dialogEl.style.minWidth,"width",a),c=this.convertToPx(this.dialogEl.style.minHeight,"height",a);(!parseInt(this.dialogEl.style.top)||!parseInt(this.dialogEl.style.left))&&(s+=e,u+=n),(!l||s>l)&&i.left+s<a.width&&(this.dialogEl.style.width=s+"px"),(!c||u>c)&&i.top+u<a.height&&(this.dialogEl.style.height=u+"px"),this.lastPageX=t.pageX,this.lastPageY=t.pageY,this.props.onResize&&this.props.onResize(t)}}},{key:"onResizeEnd",value:function(t){this.resizing&&(this.resizing=!1,V.removeClass(document.body,"p-unselectable-text"),this.props.onResizeEnd&&this.props.onResizeEnd(t))}},{key:"resetPosition",value:function(){this.dialogEl.style.position="",this.dialogEl.style.left="",this.dialogEl.style.top="",this.dialogEl.style.margin=""}},{key:"getPositionClass",value:function(){var t=this,e=["center","left","right","top","top-left","top-right","bottom","bottom-left","bottom-right"].find((function(e){return e===t.props.position||e.replace("-","")===t.props.position}));return e?"p-dialog-".concat(e):""}},{key:"maximized",get:function(){return this.props.onMaximize?this.props.maximized:this.state.maximized}},{key:"dialogEl",get:function(){return this.dialogRef.current}},{key:"onEnter",value:function(){this.dialogEl.setAttribute(this.attributeSelector,"")}},{key:"onEntered",value:function(){this.props.onShow&&this.props.onShow(),this.props.focusOnShow&&this.focus(),this.enableDocumentSettings()}},{key:"onExited",value:function(){this.dragging=!1,J.clear(this.mask),this.setState({maskVisible:!1}),V.addClass(this.mask,"p-component-overlay-leave"),this.disableDocumentSettings()}},{key:"enableDocumentSettings",value:function(){this.bindGlobalListeners(),(this.props.blockScroll||this.props.maximizable&&this.maximized)&&V.addClass(document.body,"p-overflow-hidden")}},{key:"disableDocumentSettings",value:function(){this.unbindGlobalListeners(),this.props.modal?document.primeDialogParams&&document.primeDialogParams.some((function(t){return t.hasBlockScroll}))||V.removeClass(document.body,"p-overflow-hidden"):(this.props.blockScroll||this.props.maximizable&&this.maximized)&&V.removeClass(document.body,"p-overflow-hidden")}},{key:"bindGlobalListeners",value:function(){this.props.draggable&&this.bindDocumentDragListener(),this.props.resizable&&this.bindDocumentResizeListeners(),this.props.closeOnEscape&&this.props.closable&&this.bindDocumentKeyDownListener()}},{key:"unbindGlobalListeners",value:function(){this.unbindDocumentDragListener(),this.unbindDocumentResizeListeners(),this.unbindDocumentKeyDownListener()}},{key:"bindDocumentDragListener",value:function(){this.documentDragListener=this.onDrag.bind(this),this.documentDragEndListener=this.onDragEnd.bind(this),window.document.addEventListener("mousemove",this.documentDragListener),window.document.addEventListener("mouseup",this.documentDragEndListener)}},{key:"unbindDocumentDragListener",value:function(){this.documentDragListener&&this.documentDragEndListener&&(window.document.removeEventListener("mousemove",this.documentDragListener),window.document.removeEventListener("mouseup",this.documentDragEndListener),this.documentDragListener=null,this.documentDragEndListener=null)}},{key:"bindDocumentResizeListeners",value:function(){this.documentResizeListener=this.onResize.bind(this),this.documentResizeEndListener=this.onResizeEnd.bind(this),window.document.addEventListener("mousemove",this.documentResizeListener),window.document.addEventListener("mouseup",this.documentResizeEndListener)}},{key:"unbindDocumentResizeListeners",value:function(){this.documentResizeListener&&this.documentResizeEndListener&&(window.document.removeEventListener("mousemove",this.documentResizeListener),window.document.removeEventListener("mouseup",this.documentResizeEndListener),this.documentResizeListener=null,this.documentResizeEndListener=null)}},{key:"bindDocumentKeyDownListener",value:function(){var t=this;this.documentKeyDownListener=function(e){var n=e.currentTarget;if(n&&n.primeDialogParams){var r=n.primeDialogParams,o=r.length,i=r[o-1]?r[o-1].id:void 0;if(i===t.state.id){var a=document.getElementById(i);if(27===e.which)t.onClose(e),e.stopImmediatePropagation(),r.splice(o-1,1);else if(9===e.which){e.preventDefault();var s=V.getFocusableElements(a);if(s&&s.length>0)if(document.activeElement){var u=s.indexOf(document.activeElement);e.shiftKey?-1===u||0===u?s[s.length-1].focus():s[u-1].focus():-1===u||u===s.length-1?s[0].focus():s[u+1].focus()}else s[0].focus()}}}};var e={id:this.state.id,hasBlockScroll:this.props.blockScroll};document.primeDialogParams=document.primeDialogParams?[].concat(_t(document.primeDialogParams),[e]):[e],document.addEventListener("keydown",this.documentKeyDownListener)}},{key:"unbindDocumentKeyDownListener",value:function(){var t=this;this.documentKeyDownListener&&(document.removeEventListener("keydown",this.documentKeyDownListener),document.primeDialogParams=document.primeDialogParams&&document.primeDialogParams.filter((function(e){return e.id!==t.state.id})),this.documentKeyDownListener=null)}},{key:"createStyle",value:function(){if(!this.styleElement){this.styleElement=document.createElement("style"),document.head.appendChild(this.styleElement);var t="";for(var e in this.props.breakpoints)t+="\n @media screen and (max-width: ".concat(e,") {\n .p-dialog[").concat(this.attributeSelector,"] {\n width: ").concat(this.props.breakpoints[e]," !important;\n }\n }\n ");this.styleElement.innerHTML=t}}},{key:"componentDidMount",value:function(){var t=this;this.state.id||this.setState({id:Z()}),this.props.visible&&this.setState({visible:!0},(function(){J.set("modal",t.mask,t.props.baseZIndex)})),this.props.breakpoints&&this.createStyle()}},{key:"componentDidUpdate",value:function(t){var e=this;this.props.visible&&!this.state.maskVisible&&this.setState({maskVisible:!0},(function(){J.set("modal",e.mask,e.props.baseZIndex)})),this.props.visible!==this.state.visible&&this.state.maskVisible&&this.setState({visible:this.props.visible}),t.maximized!==this.props.maximized&&this.props.onMaximize&&this.changeScrollOnMaximizable()}},{key:"changeScrollOnMaximizable",value:function(){if(!this.props.blockScroll){var t=this.maximized?"addClass":"removeClass";V[t](document.body,"p-overflow-hidden")}}},{key:"componentWillUnmount",value:function(){this.disableDocumentSettings(),this.styleElement&&(document.head.removeChild(this.styleElement),this.styleElement=null),J.clear(this.mask)}},{key:"renderCloseIcon",value:function(){var t=this;return this.props.closable?i.a.createElement("button",{ref:function(e){return t.closeElement=e},type:"button",className:"p-dialog-header-icon p-dialog-header-close p-link","aria-label":this.props.ariaCloseIconLabel,onClick:this.onClose},i.a.createElement("span",{className:"p-dialog-header-close-icon pi pi-times"}),i.a.createElement(at,null)):null}},{key:"renderMaximizeIcon",value:function(){var t=M("p-dialog-header-maximize-icon pi",{"pi-window-maximize":!this.maximized,"pi-window-minimize":this.maximized});return this.props.maximizable?i.a.createElement("button",{type:"button",className:"p-dialog-header-icon p-dialog-header-maximize p-link",onClick:this.toggleMaximize},i.a.createElement("span",{className:t}),i.a.createElement(at,null)):null}},{key:"renderHeader",value:function(){var t=this;if(this.props.showHeader){var e=this.renderCloseIcon(),n=this.renderMaximizeIcon(),r=H.getJSXElement(this.props.icons,this.props),o=H.getJSXElement(this.props.header,this.props);return i.a.createElement("div",{ref:function(e){return t.headerEl=e},className:"p-dialog-header",onMouseDown:this.onDragStart},i.a.createElement("div",{id:this.state.id+"_header",className:"p-dialog-title"},o),i.a.createElement("div",{className:"p-dialog-header-icons"},r,n,e))}return null}},{key:"renderContent",value:function(){var t=this,e=M("p-dialog-content",this.props.contentClassName);return i.a.createElement("div",{id:this.state.id+"_content",ref:function(e){return t.contentEl=e},className:e,style:this.props.contentStyle},this.props.children)}},{key:"renderFooter",value:function(){var t=this,e=H.getJSXElement(this.props.footer,this.props);return e&&i.a.createElement("div",{ref:function(e){return t.footerElement=e},className:"p-dialog-footer"},e)}},{key:"renderResizer",value:function(){return this.props.resizable?i.a.createElement("div",{className:"p-resizable-handle",style:{zIndex:90},onMouseDown:this.onResizeStart}):null}},{key:"renderElement",value:function(){var t=this,e=M("p-dialog p-component",this.props.className,{"p-dialog-rtl":this.props.rtl,"p-dialog-maximized":this.maximized}),n=M("p-dialog-mask",{"p-component-overlay p-component-overlay-enter":this.props.modal,"p-dialog-visible":this.state.maskVisible,"p-dialog-draggable":this.props.draggable,"p-dialog-resizable":this.props.resizable},this.props.maskClassName,this.getPositionClass()),r=this.renderHeader(),o=this.renderContent(),a=this.renderFooter(),s=this.renderResizer(),u={enter:"center"===this.props.position?150:300,exit:"center"===this.props.position?150:300};return i.a.createElement("div",{ref:function(e){return t.mask=e},className:n,onClick:this.onMaskClick},i.a.createElement(Et,{nodeRef:this.dialogRef,classNames:"p-dialog",timeout:u,in:this.state.visible,options:this.props.transitionOptions,unmountOnExit:!0,onEnter:this.onEnter,onEntered:this.onEntered,onExited:this.onExited},i.a.createElement("div",{ref:this.dialogRef,id:this.state.id,className:e,style:this.props.style,onClick:this.props.onClick,role:"dialog","aria-labelledby":this.state.id+"_header","aria-describedby":this.state.id+"_content","aria-modal":this.props.modal},r,o,a,s)))}},{key:"render",value:function(){if(this.state.maskVisible){var t=this.renderElement();return i.a.createElement(lt,{element:t,appendTo:this.props.appendTo,visible:!0})}return null}}])&&Ct(e.prototype,n),r&&Ct(e,r),a}(o.Component);function kt(t,e){var n=Object.create(null);return t&&o.Children.map(t,(function(t){return t})).forEach((function(t){n[t.key]=function(t){return e&&Object(o.isValidElement)(t)?e(t):t}(t)})),n}function Mt(t,e,n){return null!=n[e]?n[e]:t.props[e]}function Lt(t,e,n){var r=kt(t.children),i=function(t,e){function n(n){return n in e?e[n]:t[n]}t=t||{},e=e||{};var r,o=Object.create(null),i=[];for(var a in t)a in e?i.length&&(o[a]=i,i=[]):i.push(a);var s={};for(var u in e){if(o[u])for(r=0;r<o[u].length;r++){var l=o[u][r];s[o[u][r]]=n(l)}s[u]=n(u)}for(r=0;r<i.length;r++)s[i[r]]=n(i[r]);return s}(e,r);return Object.keys(i).forEach((function(a){var s=i[a];if(Object(o.isValidElement)(s)){var u=a in e,l=a in r,c=e[a],f=Object(o.isValidElement)(c)&&!c.props.in;!l||u&&!f?l||!u||f?l&&u&&Object(o.isValidElement)(c)&&(i[a]=Object(o.cloneElement)(s,{onExited:n.bind(null,s),in:c.props.in,exit:Mt(s,"exit",t),enter:Mt(s,"enter",t)})):i[a]=Object(o.cloneElement)(s,{in:!1}):i[a]=Object(o.cloneElement)(s,{onExited:n.bind(null,s),in:!0,exit:Mt(s,"exit",t),enter:Mt(s,"enter",t)})}})),i}Pt={id:null,header:null,footer:null,visible:!1,position:"center",draggable:!0,resizable:!0,modal:!0,onHide:null,onShow:null,contentStyle:null,contentClassName:null,closeOnEscape:!0,dismissableMask:!1,rtl:!1,closable:!0,style:null,className:null,maskClassName:null,showHeader:!0,appendTo:null,baseZIndex:0,maximizable:!1,blockScroll:!1,icons:null,ariaCloseIconLabel:"Close",focusOnShow:!0,minX:0,minY:0,keepInViewport:!0,maximized:!1,breakpoints:null,transitionOptions:null,onMaximize:null,onDragStart:null,onDrag:null,onDragEnd:null,onResizeStart:null,onResize:null,onResizeEnd:null,onClick:null,onMaskClick:null},(Dt="defaultProps")in(Nt=xt)?Object.defineProperty(Nt,Dt,{value:Pt,enumerable:!0,configurable:!0,writable:!0}):Nt[Dt]=Pt;var Bt=Object.values||function(t){return Object.keys(t).map((function(e){return t[e]}))},Ft=function(t){function e(e,n){var r,o=(r=t.call(this,e,n)||this).handleExited.bind(function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(r));return r.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},r}_(e,t);var n=e.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},e.getDerivedStateFromProps=function(t,e){var n,r,i=e.children,a=e.handleExited;return{children:e.firstRender?(n=t,r=a,kt(n.children,(function(t){return Object(o.cloneElement)(t,{onExited:r.bind(null,t),in:!0,appear:Mt(t,"appear",n),enter:Mt(t,"enter",n),exit:Mt(t,"exit",n)})}))):Lt(t,i,a),firstRender:!1}},n.handleExited=function(t,e){var n=kt(this.props.children);t.key in n||(t.props.onExited&&t.props.onExited(e),this.mounted&&this.setState((function(e){var n=w({},e.children);return delete n[t.key],{children:n}})))},n.render=function(){var t=this.props,e=t.component,n=t.childFactory,r=E(t,["component","childFactory"]),o=this.state.contextValue,a=Bt(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===e?i.a.createElement(A.Provider,{value:o},a):i.a.createElement(A.Provider,{value:o},i.a.createElement(e,r,a))},e}(i.a.Component);Ft.propTypes={},Ft.defaultProps={component:"div",childFactory:function(t){return t}};var Ut=Ft;function zt(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function Vt(t){return function(t){if(Array.isArray(t))return zt(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return zt(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?zt(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function jt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ht(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Wt(t,e,n){return e&&Ht(t.prototype,e),n&&Ht(t,n),t}function Gt(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Xt(t,e){return(Xt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Yt(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Xt(t,e)}function Kt(t){return(Kt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Zt(t,e){return!e||"object"!==Kt(e)&&"function"!=typeof e?Gt(t):e}function qt(t){return(qt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Qt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function $t(){return($t=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function Jt(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function te(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Jt(Object(n),!0).forEach((function(e){Qt(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Jt(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function ee(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=qt(t);if(e){var o=qt(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Zt(this,n)}}var ne=function(t){Yt(n,t);var e=ee(n);function n(t){var r;return jt(this,n),(r=e.call(this,t)).onClick=r.onClick.bind(Gt(r)),r.onClose=r.onClose.bind(Gt(r)),r}return Wt(n,[{key:"componentWillUnmount",value:function(){this.timeout&&clearTimeout(this.timeout)}},{key:"componentDidMount",value:function(){var t=this;this.props.message.sticky||(this.timeout=setTimeout((function(){t.onClose(null)}),this.props.message.life||3e3))}},{key:"onClose",value:function(){this.timeout&&clearTimeout(this.timeout),this.props.onClose&&this.props.onClose(this.props.message)}},{key:"onClick",value:function(t){!this.props.onClick||V.hasClass(t.target,"p-toast-icon-close")||V.hasClass(t.target,"p-toast-icon-close-icon")||this.props.onClick(this.props.message)}},{key:"renderCloseIcon",value:function(){return!1!==this.props.message.closable?i.a.createElement("button",{type:"button",className:"p-toast-icon-close p-link",onClick:this.onClose},i.a.createElement("span",{className:"p-toast-icon-close-icon pi pi-times"}),i.a.createElement(at,null)):null}},{key:"renderMessage",value:function(){if(this.props.message){var t=this.props.message,e=t.severity,n=t.content,r=t.summary,o=t.detail,a=H.getJSXElement(n,te(te({},this.props),{},{onClose:this.onClose})),s=M("p-toast-message-icon pi",{"pi-info-circle":"info"===e,"pi-exclamation-triangle":"warn"===e,"pi-times":"error"===e,"pi-check":"success"===e});return a||i.a.createElement(i.a.Fragment,null,i.a.createElement("span",{className:s}),i.a.createElement("div",{className:"p-toast-message-text"},i.a.createElement("span",{className:"p-toast-summary"},r),o&&i.a.createElement("div",{className:"p-toast-detail"},o)))}return null}},{key:"render",value:function(){var t=this.props.message.severity,e=this.props.message.contentClassName,n=this.props.message.contentStyle,r=this.props.message.style,o=M("p-toast-message",{"p-toast-message-info":"info"===t,"p-toast-message-warn":"warn"===t,"p-toast-message-error":"error"===t,"p-toast-message-success":"success"===t},this.props.message.className),a=this.renderMessage(),s=this.renderCloseIcon();return i.a.createElement("div",{ref:this.props.forwardRef,className:o,style:r,role:"alert","aria-live":"assertive","aria-atomic":"true",onClick:this.onClick},i.a.createElement("div",{className:M("p-toast-message-content",e),style:n},a,s))}}]),n}(o.Component);Qt(ne,"defaultProps",{message:null,onClose:null,onClick:null});var re=i.a.forwardRef((function(t,e){return i.a.createElement(ne,$t({forwardRef:e},t))}));function oe(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=qt(t);if(e){var o=qt(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Zt(this,n)}}var ie=0,ae=function(t){Yt(n,t);var e=oe(n);function n(t){var r;return jt(this,n),(r=e.call(this,t)).state={messages:[]},r.onClose=r.onClose.bind(Gt(r)),r.onEntered=r.onEntered.bind(Gt(r)),r.onExited=r.onExited.bind(Gt(r)),r}return Wt(n,[{key:"show",value:function(t){if(t){var e;if(Array.isArray(t))for(var n=0;n<t.length;n++)t[n].id=ie++,e=[].concat(Vt(this.state.messages),Vt(t));else t.id=ie++,e=this.state.messages?[].concat(Vt(this.state.messages),[t]):[t];0===this.state.messages.length&&J.set("toast",this.container,this.props.baseZIndex),this.setState({messages:e})}}},{key:"clear",value:function(){J.clear(this.container),this.setState({messages:[]})}},{key:"onClose",value:function(t){var e=this.state.messages.filter((function(e){return e.id!==t.id}));this.setState({messages:e}),this.props.onRemove&&this.props.onRemove(t)}},{key:"onEntered",value:function(){this.props.onShow&&this.props.onShow()}},{key:"onExited",value:function(){0===this.state.messages.length&&J.clear(this.container),this.props.onHide&&this.props.onHide()}},{key:"componentWillUnmount",value:function(){J.clear(this.container)}},{key:"render",value:function(){var t=this,e=M("p-toast p-component p-toast-"+this.props.position,this.props.className);return i.a.createElement("div",{ref:function(e){t.container=e},id:this.props.id,className:e,style:this.props.style},i.a.createElement(Ut,null,this.state.messages.map((function(e){var n=i.a.createRef();return i.a.createElement(Et,{nodeRef:n,key:e.id,classNames:"p-toast-message",unmountOnExit:!0,timeout:{enter:300,exit:300},onEntered:t.onEntered,onExited:t.onExited,options:t.props.transitionOptions},i.a.createElement(re,{ref:n,message:e,onClick:t.props.onClick,onClose:t.onClose}))}))))}}]),n}(o.Component);Qt(ae,"defaultProps",{id:null,className:null,style:null,baseZIndex:0,position:"top-right",transitionOptions:null,onClick:null,onRemove:null,onShow:null,onHide:null});var se=function(){function t(){}return t.isMobile=function(){return/iPhone|iPad|iPod|Android/i.test(navigator.userAgent)},t.isIOSMobile=function(){return/iPhone|iPad|iPod/i.test(navigator.userAgent)},t}();function ue(){return(ue=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function le(t){return(le="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ce(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function fe(t,e){return(fe=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function pe(t,e){return!e||"object"!==le(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function de(t){return(de=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function he(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ge(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function ye(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=de(t);if(e){var o=de(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return pe(this,n)}}var ve=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&fe(t,e)}(s,t);var e,n,r,a=ye(s);function s(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(e=a.call(this,t)).elementRef=Object(o.createRef)(e.props.forwardRef),e}return e=s,(n=[{key:"updateForwardRef",value:function(){var t=this.props.forwardRef;t&&("function"==typeof t?t(this.elementRef.current):t.current=this.elementRef.current)}},{key:"isDisabled",value:function(){return this.props.disabled||this.props.loading}},{key:"componentDidMount",value:function(){this.updateForwardRef(),this.props.tooltip&&this.renderTooltip()}},{key:"componentDidUpdate",value:function(t){t.tooltip===this.props.tooltip&&t.tooltipOptions===this.props.tooltipOptions||(this.tooltip?this.tooltip.update(function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ge(Object(n),!0).forEach((function(e){he(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ge(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({content:this.props.tooltip},this.props.tooltipOptions||{})):this.renderTooltip())}},{key:"componentWillUnmount",value:function(){this.tooltip&&(this.tooltip.destroy(),this.tooltip=null)}},{key:"renderTooltip",value:function(){this.tooltip=dt({target:this.elementRef.current,content:this.props.tooltip,options:this.props.tooltipOptions})}},{key:"renderIcon",value:function(){var t=this.props.loading?this.props.loadingIcon:this.props.icon,e=null;if(t){var n,r=le(t),o=M("p-button-icon p-c",(he(n={"p-button-loading-icon":this.props.loading},"".concat(t),"string"===r),he(n,"p-button-icon-left","left"===this.props.iconPos&&this.props.label),he(n,"p-button-icon-right","right"===this.props.iconPos&&this.props.label),he(n,"p-button-icon-top","top"===this.props.iconPos&&this.props.label),he(n,"p-button-icon-bottom","bottom"===this.props.iconPos&&this.props.label),n));if(e=i.a.createElement("span",{className:o}),"string"!==r){var a={className:o,element:e,props:this.props};e=H.getJSXElement(t,a)}}return e}},{key:"renderLabel",value:function(){return this.props.label?i.a.createElement("span",{className:"p-button-label p-c"},this.props.label):!this.props.children&&!this.props.label&&i.a.createElement("span",{className:"p-button-label p-c",dangerouslySetInnerHTML:{__html:" "}})}},{key:"renderBadge",value:function(){if(this.props.badge){var t=M("p-badge",this.props.badgeClassName);return i.a.createElement("span",{className:t},this.props.badge)}return null}},{key:"render",value:function(){var t=this.isDisabled(),e=M("p-button p-component",this.props.className,he({"p-button-icon-only":(this.props.icon||this.props.loading&&this.props.loadingIcon)&&!this.props.label,"p-button-vertical":("top"===this.props.iconPos||"bottom"===this.props.iconPos)&&this.props.label,"p-disabled":t,"p-button-loading":this.props.loading,"p-button-loading-label-only":this.props.loading&&!this.props.icon&&this.props.label},"p-button-loading-".concat(this.props.iconPos),this.props.loading&&this.props.loadingIcon&&this.props.label)),n=this.renderIcon(),r=this.renderLabel(),o=this.renderBadge(),a=H.findDiffKeys(this.props,s.defaultProps);return i.a.createElement("button",ue({ref:this.elementRef},a,{className:e,disabled:t}),n,r,this.props.children,o,i.a.createElement(at,null))}}])&&ce(e.prototype,n),r&&ce(e,r),s}(o.Component);he(ve,"defaultProps",{label:null,icon:null,iconPos:"left",badge:null,badgeClassName:null,tooltip:null,tooltipOptions:null,forwardRef:null,disabled:!1,loading:!1,loadingIcon:"pi pi-spinner pi-spin"});var me=i.a.forwardRef((function(t,e){return i.a.createElement(ve,ue({forwardRef:e},t))})),we=function(){return(we=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};function Ee(t){function e(){window.removeEventListener("focus",e)}return Object(r.jsxs)("div",we({className:"ios-file-dialog-wrapper"},{children:[Object(r.jsx)(me,{icon:"pi pi-upload",iconPos:"top"},void 0),Object(r.jsx)("input",{type:"file",className:"p-button p-component ios-file-dialog-button",accept:".png, .jpg, .jpeg",onChange:function(n){window.removeEventListener("focus",e),void 0!==n.target.files&&(n.persist(),function(e,n){var r=e[0];r?(n.target.value="",t.onSelectFile(r)):t.onSelectFile(null)}(n.target.files,n))},onClick:function(){t.onSelectFile(null),window.addEventListener("focus",e)},capture:"environment"},void 0)]}),void 0)}function be(t){return Object(r.jsx)(me,{icon:"pi pi-upload",iconPos:"top",onClick:function(){f.selectFile().then(t.onSelect)},autoFocus:!0},void 0)}n(150);function _e(t){var e=Object(o.useState)(!1),n=e[0],i=e[1];return Object(o.useEffect)((function(){return i(t.loading)}),[t.loading]),n?Object(r.jsx)(me,{loading:!0},void 0):se.isIOSMobile()?Object(r.jsx)(Ee,{onSelectFile:t.onSelectFile},void 0):Object(r.jsx)(be,{onSelect:t.onSelectFile},void 0)}var Ce=function(t,e,n,r){return new(n||(n=Promise))((function(o,i){function a(t){try{u(r.next(t))}catch(t){i(t)}}function s(t){try{u(r.throw(t))}catch(t){i(t)}}function u(t){t.done?o(t.value):function(t){return t instanceof n?t:new n((function(e){e(t)}))}(t.value).then(a,s)}u((r=r.apply(t,e||[])).next())}))},Se=function(t,e){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=e.call(t,a)}catch(t){i=[6,t],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},Ae=function(){function t(){}return t.getVideoMediaDevices=function(){var t=this;return new Promise((function(e,n){return Ce(t,void 0,void 0,(function(){var t,r,o;return Se(this,(function(i){switch(i.label){case 0:return i.trys.push([0,2,,3]),[4,navigator.mediaDevices.enumerateDevices()];case 1:return t=i.sent(),r=t.filter((function(t){return t.deviceId.length>0&&"videoinput"===t.kind})).map((function(t){return{label:t.label.replace(/ (\(.*?\))/g,""),id:t.deviceId}})),e(r),[3,3];case 2:return o=i.sent(),n(o),[3,3];case 3:return[2]}}))}))}))},t.getPermission=function(){var e=this;return new Promise((function(n,r){return Ce(e,void 0,void 0,(function(){var e;return Se(this,(function(r){switch(r.label){case 0:return r.trys.push([0,5,,6]),[4,t.getVideoMediaDevices()];case 1:return 0!==r.sent().length?[3,3]:(e=n,[4,t.getMediaDevicesPermission()]);case 2:return e.apply(void 0,[r.sent()]),[3,4];case 3:n(!0),r.label=4;case 4:return[3,6];case 5:return r.sent(),n(!1),[3,6];case 6:return[2]}}))}))}))},t.getMediaDevicesPermission=function(){return new Promise((function(t,e){navigator.mediaDevices.getUserMedia({video:!0}).then((function(e){e.getTracks().forEach((function(t){t.stop()})),t(!0)})).catch((function(e){return t(!1)}))}))},t}();function Oe(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Ie(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Te(t,e){return(Te=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Re(t){return(Re="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Ne(t,e){return!e||"object"!==Re(e)&&"function"!=typeof e?Ie(t):e}function De(t){return(De=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Pe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function xe(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function ke(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?xe(Object(n),!0).forEach((function(e){Pe(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):xe(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Me(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=De(t);if(e){var o=De(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Ne(this,n)}}var Le=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Te(t,e)}(a,t);var e,n,r,o=Me(a);function a(t){var e;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a);var n=(e=o.call(this,t)).isBoth();return e.state={first:n?{rows:0,cols:0}:0,last:n?{rows:0,cols:0}:0,numItemsInViewport:n?{rows:0,cols:0}:0,numToleratedItems:t.numToleratedItems,loading:!1},e.onScroll=e.onScroll.bind(Ie(e)),e.lastScrollPos=n?{top:0,left:0}:0,e}return e=a,(n=[{key:"scrollTo",value:function(t){this.element&&this.element.scrollTo(t)}},{key:"scrollToIndex",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"auto",r=this.isBoth(),o=this.isHorizontal(),i=this.state.first,a=this.props.itemSize,s=this.getContentPadding(),u=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return t<=e.state.numToleratedItems?0:t},l=function(t,e,n){return t*e+n},c=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return e.scrollTo({left:t,top:r,behavior:n})};if(r){var f={rows:u(t[0]),cols:u(t[1])};(f.rows!==i.rows||f.cols!==i.cols)&&c(l(f.cols,a[1],s.left),l(f.rows,a[0],s.top))}else{var p=u(t);p!==i&&(o?c(l(p,a,s.left),0):c(0,l(p,a,s.top)))}}},{key:"scrollInView",value:function(t,e){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"auto";if(e){var o=this.isBoth(),i=this.isHorizontal(),a=this.getRenderedRange(),s=a.first,u=a.viewport,l=this.props.itemSize,c=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return n.scrollTo({left:t,top:e,behavior:r})},f="to-start"===e,p="to-end"===e;if(f){if(o)u.first.rows-s.rows>t[0]?c(u.first.cols*l,(u.first.rows-1)*l):u.first.cols-s.cols>t[1]&&c((u.first.cols-1)*l,u.first.rows*l);else if(u.first-s>t){var d=(u.first-1)*l;i?c(d,0):c(0,d)}}else if(p)if(o)u.last.rows-s.rows<=t[0]+1?c(u.first.cols*l,(u.first.rows+1)*l):u.last.cols-s.cols<=t[1]+1&&c((u.first.cols+1)*l,u.first.rows*l);else if(u.last-s<=t+1){var h=(u.first+1)*l;i?c(h,0):c(0,h)}}else this.scrollToIndex(t,r)}},{key:"getRenderedRange",value:function(){var t=this.isBoth(),e=this.isHorizontal(),n=this.state,r=n.first,o=n.last,i=n.numItemsInViewport,a=this.props.itemSize,s=function(t,e){return Math.floor(t/(e||t))},u=r,l=0;if(this.element){var c=this.element.scrollTop,f=this.element.scrollLeft;l=t?{rows:(u={rows:s(c,a[0]),cols:s(f,a[1])}).rows+i.rows,cols:u.cols+i.cols}:(u=s(e?f:c,a))+i}return{first:r,last:o,viewport:{first:u,last:l}}}},{key:"isHorizontal",value:function(){return"horizontal"===this.props.orientation}},{key:"isBoth",value:function(){return"both"===this.props.orientation}},{key:"calculateOptions",value:function(){var t=this,e=this.isBoth(),n=this.isHorizontal(),r=this.state.first,o=this.props.itemSize,i=this.getContentPadding(),a=this.element?this.element.offsetWidth-i.left:0,s=this.element?this.element.offsetHeight-i.top:0,u=function(t,e){return Math.ceil(t/(e||t))},l=e?{rows:u(s,o[0]),cols:u(a,o[1])}:u(n?a:s,o),c=this.state.numToleratedItems||Math.ceil((e?l.rows:l)/2),f=function(e,n,r){return t.getLast(e+n+(e<c?2:3)*c,r)},p={numItemsInViewport:l,last:e?{rows:f(r.rows,l.rows),cols:f(r.cols,l.cols,!0)}:f(r,l),numToleratedItems:c};this.props.showLoader&&(p.loaderArr=Array.from({length:e?l.rows:l})),this.setState(p,(function(){t.props.lazy&&t.props.onLazyLoad&&t.props.onLazyLoad({first:t.state.first,last:t.state.last})}))}},{key:"getLast",value:function(t,e){return this.props.items?Math.min(e?this.props.items[0].length:this.props.items.length,t):0}},{key:"getContentPadding",value:function(){if(this.content){var t=getComputedStyle(this.content),e=parseInt(t.paddingLeft,10),n=parseInt(t.paddingRight,10),r=parseInt(t.paddingTop,10),o=parseInt(t.paddingBottom,10);return{left:e,right:n,top:r,bottom:o,x:e+n,y:r+o}}return{left:0,right:0,top:0,bottom:0,x:0,y:0}}},{key:"setSize",value:function(){var t=this;if(this.element){var e=this.isBoth(),n=this.isHorizontal(),r=this.element.parentElement,o=this.props.scrollWidth||"".concat(this.element.offsetWidth||r.offsetWidth,"px"),i=this.props.scrollHeight||"".concat(this.element.offsetHeight||r.offsetHeight,"px"),a=function(e,n){return t.element.style[e]=n};e?(a("height",i),a("width",o)):n?a("width",o):a("height",i)}}},{key:"setSpacerSize",value:function(){var t=this,e=this.props.items;if(this.spacer&&e){var n=this.isBoth(),r=this.isHorizontal(),o=this.props.itemSize,i=this.getContentPadding(),a=function(e,n,r){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;return t.spacer.style[e]=(n||[]).length*r+o+"px"};n?(a("height",e[0],o[0],i.y),a("width",e[1],o[1],i.x)):r?a("width",e,o,i.x):a("height",e,o,i.y)}}},{key:"setContentPosition",value:function(t){var e=this;if(this.content){var n=this.isBoth(),r=this.isHorizontal(),o=t?t.first:this.state.first,i=this.props.itemSize,a=function(t,e){return t*e},s=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return e.content.style.transform="translate3d(".concat(t,"px, ").concat(n,"px, 0)")};if(n)s(a(o.cols,i[1]),a(o.rows,i[0]));else{var u=a(o,i);r?s(u,0):s(0,u)}}}},{key:"onScrollPositionChange",value:function(t){var e=this,n=t.target,r=this.isBoth(),o=this.isHorizontal(),i=this.state,a=i.first,s=i.last,u=i.numItemsInViewport,l=i.numToleratedItems,c=this.props.itemSize,f=this.getContentPadding(),p=function(t,e){return t?t>e?t-e:t:0},d=function(t,e){return Math.floor(t/(e||t))},h=function(t,e,n,r,o){return t<=l?l:o?n-r-l:e+l-1},g=function(t,e,n,r,o,i){return t<=l?0:i?t<e?n:t-l:t>e?n:t-2*l},y=function(t,n,r,o,i){var a=n+o+2*l;return t>=l&&(a+=l+1),e.getLast(a,i)},v=p(n.scrollTop,f.top),m=p(n.scrollLeft,f.left),w=0,E=s,b=!1;if(r){var _=this.lastScrollPos.top<=v,C=this.lastScrollPos.left<=m,S={rows:d(v,c[0]),cols:d(m,c[1])},A={rows:h(S.rows,a.rows,s.rows,u.rows,_),cols:h(S.cols,a.cols,s.cols,u.cols,C)};w={rows:g(S.rows,A.rows,a.rows,s.rows,u.rows,_),cols:g(S.cols,A.cols,a.cols,s.cols,u.cols,C)},E={rows:y(S.rows,w.rows,s.rows,u.rows),cols:y(S.cols,w.cols,s.cols,u.cols,!0)},b=w.rows!==a.rows||w.cols!==a.cols||E.rows!==s.rows||E.cols!==s.cols,this.lastScrollPos={top:v,left:m}}else{var O=o?m:v,I=this.lastScrollPos<=O,T=d(O,c);E=y(T,w=g(T,h(T,a,s,u,I),a,0,0,I),0,u),b=w!==a||E!==s,this.lastScrollPos=O}return{first:w,last:E,isRangeChanged:b}}},{key:"onScrollChange",value:function(t){var e=this,n=this.onScrollPositionChange(t),r=n.first,o=n.last;if(n.isRangeChanged){var i={first:r,last:o};this.setContentPosition(i),this.props.lazy&&this.props.onLazyLoad&&this.props.onLazyLoad(i),this.setState(i,(function(){e.props.onScrollIndexChange&&e.props.onScrollIndexChange(i)}))}}},{key:"onScroll",value:function(t){var e=this;this.props.onScroll&&this.props.onScroll(t),this.props.delay?(this.scrollTimeout&&clearTimeout(this.scrollTimeout),!this.state.loading&&this.props.showLoader&&this.onScrollPositionChange(t).isRangeChanged&&this.setState({loading:!0}),this.scrollTimeout=setTimeout((function(){e.onScrollChange(t),e.state.loading&&e.props.showLoader&&!e.props.lazy&&e.setState({loading:!1})}),this.props.delay)):this.onScrollChange(t)}},{key:"getOptions",value:function(t,e){return{index:t,count:e,first:0===t,last:t===e-1,even:t%2==0,odd:t%2!=0,props:this.props}}},{key:"init",value:function(){this.setSize(),this.calculateOptions(),this.setSpacerSize()}},{key:"componentDidMount",value:function(){this.init()}},{key:"componentDidUpdate",value:function(t,e){t.itemSize===this.props.itemSize&&t.items&&t.items.length===(this.props.items||[]).length||this.init(),this.props.lazy&&t.loading!==this.props.loading&&this.state.loading!==this.props.loading&&this.setState({loading:this.props.loading}),t.orientation!==this.props.orientation&&(this.lastScrollPos=this.isBoth()?{top:0,left:0}:0)}},{key:"renderItem",value:function(t,e,n,r){var o=this.getOptions(e,n),a=H.getJSXElement(this.props.itemTemplate,r||t,o);return i.a.createElement(i.a.Fragment,{key:e},a)}},{key:"renderItems",value:function(){var t=this,e=this.props.items;if(e&&!this.state.loading){var n=this.isBoth(),r=this.state,o=r.first,i=r.last,a=e.length;return n?e.slice(o.rows,i.rows).map((function(e,n){var r=e.slice(o.cols,i.cols),s=o.rows+n;return t.renderItem(e,s,a,r)})):e.slice(o,i).map((function(e,n){var r=o+n;return t.renderItem(e,r,a)}))}return null}},{key:"renderLoaderItem",value:function(t,e,n){var r=ke(ke({},this.getOptions(t,e)),n||{}),o=H.getJSXElement(this.props.loadingTemplate,r);return i.a.createElement(i.a.Fragment,{key:t},o)}},{key:"renderLoader",value:function(){var t=this;if(this.state.loading){var e=M("p-virtualscroller-loader",{"p-component-overlay":!this.props.loadingTemplate}),n=i.a.createElement("i",{className:"p-virtualscroller-loading-icon pi pi-spinner pi-spin"});if(this.props.loadingTemplate){var r=this.isBoth(),o=this.state.numItemsInViewport,a=r?o.rows:o;n=this.state.loaderArr.map((function(e,n){return t.renderLoaderItem(n,a,r&&{numCols:o.cols})}))}return i.a.createElement("div",{className:e},n)}return null}},{key:"renderContent",value:function(){var t=this,e=this.renderItems(),n=i.a.createElement("div",{className:"p-virtualscroller-content",ref:function(e){return t.content=e}},e);if(this.props.contentTemplate){var r=this.state,o=r.loading,a=r.first,s=r.last,u={className:"p-virtualscroller-content",ref:function(e){return t.content=e},children:e,element:n,props:this.props,loading:o,first:a,last:s};return H.getJSXElement(this.props.contentTemplate,u)}return n}},{key:"render",value:function(){var t=this,e=M("p-virtualscroller",{"p-both-scroll":this.isBoth(),"p-horizontal-scroll":this.isHorizontal()},this.props.className),n=this.renderLoader(),r=this.renderContent();return i.a.createElement("div",{ref:function(e){return t.element=e},className:e,tabIndex:0,style:this.props.style,onScroll:this.onScroll},r,i.a.createElement("div",{ref:function(e){return t.spacer=e},className:"p-virtualscroller-spacer"}),n)}}])&&Oe(e.prototype,n),r&&Oe(e,r),a}(o.Component);function Be(){return(Be=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function Fe(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ue(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function ze(t,e,n){return e&&Ue(t.prototype,e),n&&Ue(t,n),t}function Ve(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function je(t,e){return(je=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function He(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&je(t,e)}function We(t){return(We="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Ge(t,e){return!e||"object"!==We(e)&&"function"!=typeof e?Ve(t):e}function Xe(t){return(Xe=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Ye(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ke(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Xe(t);if(e){var o=Xe(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Ge(this,n)}}Pe(Le,"defaultProps",{id:null,style:null,className:null,items:null,itemSize:0,scrollHeight:null,scrollWidth:null,orientation:"vertical",numToleratedItems:null,delay:0,lazy:!1,showLoader:!1,loadingTemplate:null,itemTemplate:null,contentTemplate:null,onScroll:null,onScrollIndexChange:null,onLazyLoad:null});var Ze=function(t){He(n,t);var e=Ke(n);function n(t){var r;return Fe(this,n),(r=e.call(this,t)).onClick=r.onClick.bind(Ve(r)),r}return ze(n,[{key:"onClick",value:function(t){this.props.onClick&&this.props.onClick({originalEvent:t,option:this.props.option})}},{key:"render",value:function(){var t=M("p-dropdown-item",{"p-highlight":this.props.selected,"p-disabled":this.props.disabled,"p-dropdown-item-empty":!this.props.label||0===this.props.label.length},this.props.option.className),e=this.props.template?H.getJSXElement(this.props.template,this.props.option):this.props.label;return i.a.createElement("li",{className:t,onClick:this.onClick,"aria-label":this.props.label,key:this.props.label,role:"option","aria-selected":this.props.selected},e,i.a.createElement(at,null))}}]),n}(o.Component);function qe(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Qe(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?qe(Object(n),!0).forEach((function(e){Ye(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):qe(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function $e(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Xe(t);if(e){var o=Xe(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Ge(this,n)}}Ye(Ze,"defaultProps",{option:null,label:null,template:null,selected:!1,disabled:!1,onClick:null});var Je=function(t){He(n,t);var e=$e(n);function n(t){var r;return Fe(this,n),(r=e.call(this,t)).onEnter=r.onEnter.bind(Ve(r)),r.onEntered=r.onEntered.bind(Ve(r)),r.onFilterInputChange=r.onFilterInputChange.bind(Ve(r)),r}return ze(n,[{key:"onEnter",value:function(){var t=this;this.props.onEnter((function(){if(t.virtualScrollerRef){var e=t.props.getSelectedOptionIndex();-1!==e&&t.virtualScrollerRef.scrollToIndex(e)}}))}},{key:"onEntered",value:function(){var t=this;this.props.onEntered((function(){t.props.filter&&t.props.filterInputAutoFocus&&t.filterInput.focus()}))}},{key:"onFilterInputChange",value:function(t){this.virtualScrollerRef&&this.virtualScrollerRef.scrollToIndex(0),this.props.onFilterInputChange&&this.props.onFilterInputChange(t)}},{key:"isEmptyFilter",value:function(){return!(this.props.visibleOptions&&this.props.visibleOptions.length)&&this.props.hasFilter()}},{key:"renderGroupChildren",value:function(t){var e=this;return this.props.getOptionGroupChildren(t).map((function(t,n){var r=e.props.getOptionLabel(t),o=n+"_"+e.props.getOptionRenderKey(t),a=e.props.isOptionDisabled(t);return i.a.createElement(Ze,{key:o,label:r,option:t,template:e.props.itemTemplate,selected:e.props.isSelected(t),disabled:a,onClick:e.props.onOptionClick})}))}},{key:"renderEmptyMessage",value:function(t){var e=H.getJSXElement(t,this.props);return i.a.createElement("li",{className:"p-dropdown-empty-message"},e)}},{key:"renderItem",value:function(t,e){if(this.props.optionGroupLabel){var n=this.props.optionGroupTemplate?H.getJSXElement(this.props.optionGroupTemplate,t,e):this.props.getOptionGroupLabel(t),r=this.renderGroupChildren(t),o=e+"_"+this.props.getOptionGroupRenderKey(t);return i.a.createElement(i.a.Fragment,{key:o},i.a.createElement("li",{className:"p-dropdown-item-group"},n),r)}var a=this.props.getOptionLabel(t),s=e+"_"+this.props.getOptionRenderKey(t),u=this.props.isOptionDisabled(t);return i.a.createElement(Ze,{key:s,label:a,option:t,template:this.props.itemTemplate,selected:this.props.isSelected(t),disabled:u,onClick:this.props.onOptionClick})}},{key:"renderItems",value:function(){var t=this;return this.props.visibleOptions&&this.props.visibleOptions.length?this.props.visibleOptions.map((function(e,n){return t.renderItem(e,n)})):this.props.hasFilter()?this.renderEmptyMessage(this.props.emptyFilterMessage):this.renderEmptyMessage(this.props.emptyMessage)}},{key:"renderFilterClearIcon",value:function(){var t=this;return this.props.showFilterClear&&this.props.filterValue?i.a.createElement("i",{className:"p-dropdown-filter-clear-icon pi pi-times",onClick:function(){return t.props.onFilterClearIconClick((function(){return t.filterInput.focus()}))}}):null}},{key:"renderFilter",value:function(){var t=this;if(this.props.filter){var e=this.renderFilterClearIcon(),n=M("p-dropdown-filter-container",{"p-dropdown-clearable-filter":!!e});return i.a.createElement("div",{className:"p-dropdown-header"},i.a.createElement("div",{className:n},i.a.createElement("input",{ref:function(e){return t.filterInput=e},type:"text",autoComplete:"off",className:"p-dropdown-filter p-inputtext p-component",placeholder:this.props.filterPlaceholder,onKeyDown:this.props.onFilterInputKeyDown,onChange:this.onFilterInputChange,value:this.props.filterValue}),e,i.a.createElement("i",{className:"p-dropdown-filter-icon pi pi-search"})))}return null}},{key:"renderContent",value:function(){var t=this;if(this.props.virtualScrollerOptions){var e=Qe(Qe({},this.props.virtualScrollerOptions),{style:Qe(Qe({},this.props.virtualScrollerOptions.style),{height:this.props.scrollHeight}),className:M("p-dropdown-items-wrapper",this.props.virtualScrollerOptions.className),items:this.props.visibleOptions,onLazyLoad:function(e){return t.props.virtualScrollerOptions.onLazyLoad(Qe(Qe({},e),{filter:t.props.filterValue}))},itemTemplate:function(e,n){return e&&t.renderItem(e,n.index)},contentTemplate:function(e){var n=M("p-dropdown-items",e.className),r=t.isEmptyFilter()?t.renderEmptyMessage():e.children;return i.a.createElement("ul",{ref:e.ref,className:n,role:"listbox"},r)}});return i.a.createElement(Le,Be({ref:function(e){return t.virtualScrollerRef=e}},e))}var n=this.renderItems();return i.a.createElement("div",{className:"p-dropdown-items-wrapper",style:{maxHeight:this.props.scrollHeight||"auto"}},i.a.createElement("ul",{className:"p-dropdown-items",role:"listbox"},n))}},{key:"renderElement",value:function(){var t=M("p-dropdown-panel p-component",this.props.panelClassName),e=this.renderFilter(),n=this.renderContent();return i.a.createElement(Et,{nodeRef:this.props.forwardRef,classNames:"p-connected-overlay",in:this.props.in,timeout:{enter:120,exit:100},options:this.props.transitionOptions,unmountOnExit:!0,onEnter:this.onEnter,onEntering:this.props.onEntering,onEntered:this.onEntered,onExit:this.props.onExit,onExited:this.props.onExited},i.a.createElement("div",{ref:this.props.forwardRef,className:t,style:this.props.panelStyle,onClick:this.props.onClick},e,n))}},{key:"render",value:function(){var t=this.renderElement();return i.a.createElement(lt,{element:t,appendTo:this.props.appendTo})}}]),n}(o.Component),tn=i.a.forwardRef((function(t,e){return i.a.createElement(Je,Be({forwardRef:e},t))}));function en(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function nn(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?en(Object(n),!0).forEach((function(e){Ye(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):en(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function rn(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return on(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return on(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,o=function(){};return{s:o,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){s=!0,i=t},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function on(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function an(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Xe(t);if(e){var o=Xe(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Ge(this,n)}}var sn=function(t){He(n,t);var e=an(n);function n(t){var r;return Fe(this,n),(r=e.call(this,t)).state={filter:"",focused:!1,overlayVisible:!1},r.onClick=r.onClick.bind(Ve(r)),r.onInputFocus=r.onInputFocus.bind(Ve(r)),r.onInputBlur=r.onInputBlur.bind(Ve(r)),r.onInputKeyDown=r.onInputKeyDown.bind(Ve(r)),r.onEditableInputChange=r.onEditableInputChange.bind(Ve(r)),r.onEditableInputFocus=r.onEditableInputFocus.bind(Ve(r)),r.onOptionClick=r.onOptionClick.bind(Ve(r)),r.onFilterInputChange=r.onFilterInputChange.bind(Ve(r)),r.onFilterInputKeyDown=r.onFilterInputKeyDown.bind(Ve(r)),r.onFilterClearIconClick=r.onFilterClearIconClick.bind(Ve(r)),r.onPanelClick=r.onPanelClick.bind(Ve(r)),r.onOverlayEnter=r.onOverlayEnter.bind(Ve(r)),r.onOverlayEntered=r.onOverlayEntered.bind(Ve(r)),r.onOverlayExit=r.onOverlayExit.bind(Ve(r)),r.onOverlayExited=r.onOverlayExited.bind(Ve(r)),r.resetFilter=r.resetFilter.bind(Ve(r)),r.clear=r.clear.bind(Ve(r)),r.hasFilter=r.hasFilter.bind(Ve(r)),r.getOptionLabel=r.getOptionLabel.bind(Ve(r)),r.getOptionRenderKey=r.getOptionRenderKey.bind(Ve(r)),r.isOptionDisabled=r.isOptionDisabled.bind(Ve(r)),r.getOptionGroupChildren=r.getOptionGroupChildren.bind(Ve(r)),r.getOptionGroupLabel=r.getOptionGroupLabel.bind(Ve(r)),r.getOptionGroupRenderKey=r.getOptionGroupRenderKey.bind(Ve(r)),r.getSelectedOptionIndex=r.getSelectedOptionIndex.bind(Ve(r)),r.isSelected=r.isSelected.bind(Ve(r)),r.overlayRef=Object(o.createRef)(),r.inputRef=Object(o.createRef)(r.props.inputRef),r}return ze(n,[{key:"onClick",value:function(t){this.props.disabled||V.hasClass(t.target,"p-dropdown-clear-icon")||"INPUT"===t.target.tagName||this.overlayRef.current&&this.overlayRef.current&&this.overlayRef.current.contains(t.target)||(this.focusInput.focus(),this.state.overlayVisible?this.hideOverlay():this.showOverlay())}},{key:"onInputFocus",value:function(t){var e=this;t.persist(),this.props.showOnFocus&&!this.state.overlayVisible&&this.showOverlay(),this.setState({focused:!0},(function(){e.props.onFocus&&e.props.onFocus(t)}))}},{key:"onInputBlur",value:function(t){var e=this;t.persist(),this.setState({focused:!1},(function(){e.props.onBlur&&e.props.onBlur(t)}))}},{key:"onPanelClick",value:function(t){yt.emit("overlay-click",{originalEvent:t,target:this.container})}},{key:"onInputKeyDown",value:function(t){switch(t.which){case 40:this.onDownKey(t);break;case 38:this.onUpKey(t);break;case 32:this.state.overlayVisible?this.hideOverlay():this.showOverlay(),t.preventDefault();break;case 13:this.hideOverlay(),t.preventDefault();break;case 27:case 9:this.hideOverlay();break;default:this.search(t)}}},{key:"onFilterInputKeyDown",value:function(t){switch(t.which){case 40:this.onDownKey(t);break;case 38:this.onUpKey(t);break;case 13:case 27:this.hideOverlay(),t.preventDefault()}}},{key:"onUpKey",value:function(t){if(this.getVisibleOptions()){var e=this.findPrevOption(this.getSelectedOptionIndex());e&&this.selectItem({originalEvent:t,option:e})}t.preventDefault()}},{key:"onDownKey",value:function(t){if(this.getVisibleOptions())if(!this.state.overlayVisible&&t.altKey)this.showOverlay();else{var e=this.findNextOption(this.getSelectedOptionIndex());e&&this.selectItem({originalEvent:t,option:e})}t.preventDefault()}},{key:"findNextOption",value:function(t){var e=this.getVisibleOptions();if(this.props.optionGroupLabel){var n=-1===t?0:t.group,r=-1===t?-1:t.option,o=this.findNextOptionInList(this.getOptionGroupChildren(e[n]),r);return o||(n+1!==e.length?this.findNextOption({group:n+1,option:-1}):null)}return this.findNextOptionInList(e,t)}},{key:"findNextOptionInList",value:function(t,e){var n=e+1;if(n===t.length)return null;var r=t[n];return this.isOptionDisabled(r)?this.findNextOptionInList(n):r}},{key:"findPrevOption",value:function(t){if(-1===t)return null;var e=this.getVisibleOptions();if(this.props.optionGroupLabel){var n=t.group,r=t.option,o=this.findPrevOptionInList(this.getOptionGroupChildren(e[n]),r);return o||(n>0?this.findPrevOption({group:n-1,option:this.getOptionGroupChildren(e[n-1]).length}):null)}return this.findPrevOptionInList(e,t)}},{key:"findPrevOptionInList",value:function(t,e){var n=e-1;if(n<0)return null;var r=t[n];return this.isOptionDisabled(r)?this.findPrevOption(n):r}},{key:"search",value:function(t){var e=this;this.searchTimeout&&clearTimeout(this.searchTimeout);var n=t.key;if(this.previousSearchChar=this.currentSearchChar,this.currentSearchChar=n,this.previousSearchChar===this.currentSearchChar?this.searchValue=this.currentSearchChar:this.searchValue=this.searchValue?this.searchValue+n:n,this.searchValue){var r=this.getSelectedOptionIndex(),o=this.props.optionGroupLabel?this.searchOptionInGroup(r):this.searchOption(++r);o&&(this.selectItem({originalEvent:t,option:o}),this.selectedOptionUpdated=!0)}this.searchTimeout=setTimeout((function(){e.searchValue=null}),250)}},{key:"searchOption",value:function(t){var e;if(this.searchValue){var n=this.getVisibleOptions();(e=this.searchOptionInRange(t,n.length))||(e=this.searchOptionInRange(0,t))}return e}},{key:"searchOptionInRange",value:function(t,e){for(var n=this.getVisibleOptions(),r=t;r<e;r++){var o=n[r];if(this.matchesSearchValue(o))return o}return null}},{key:"searchOptionInGroup",value:function(t){for(var e=-1===t?{group:0,option:-1}:t,n=this.getVisibleOptions(),r=e.group;r<n.length;r++)for(var o=this.getOptionGroupChildren(n[r]),i=e.group===r?e.option+1:0;i<o.length;i++)if(this.matchesSearchValue(o[i]))return o[i];for(var a=0;a<=e.group;a++)for(var s=this.getOptionGroupChildren(n[a]),u=0;u<(e.group===a?e.option:s.length);u++)if(this.matchesSearchValue(s[u]))return s[u];return null}},{key:"matchesSearchValue",value:function(t){return this.getOptionLabel(t).toLocaleLowerCase(this.props.filterLocale).startsWith(this.searchValue.toLocaleLowerCase(this.props.filterLocale))}},{key:"onEditableInputChange",value:function(t){this.props.onChange&&this.props.onChange({originalEvent:t.originalEvent,value:t.target.value,stopPropagation:function(){},preventDefault:function(){},target:{name:this.props.name,id:this.props.id,value:t.target.value}})}},{key:"onEditableInputFocus",value:function(t){var e=this;t.persist(),this.setState({focused:!0},(function(){e.hideOverlay(),e.props.onFocus&&e.props.onFocus(t)}))}},{key:"onOptionClick",value:function(t){t.option.disabled||(this.selectItem(t),this.focusInput.focus()),this.hideOverlay()}},{key:"onFilterInputChange",value:function(t){var e=this,n=t.target.value;this.setState({filter:n},(function(){e.props.onFilter&&e.props.onFilter({originalEvent:t,filter:n})}))}},{key:"onFilterClearIconClick",value:function(t){this.resetFilter(t)}},{key:"resetFilter",value:function(t){var e=this;this.setState({filter:""},(function(){e.props.onFilter&&e.props.onFilter({filter:""}),t&&t()}))}},{key:"clear",value:function(t){this.props.onChange&&this.props.onChange({originalEvent:t,value:void 0,stopPropagation:function(){},preventDefault:function(){},target:{name:this.props.name,id:this.props.id,value:void 0}}),this.updateEditableLabel()}},{key:"selectItem",value:function(t){if(this.getSelectedOption()!==t.option){this.updateEditableLabel(t.option);var e=this.getOptionValue(t.option);this.props.onChange&&this.props.onChange({originalEvent:t.originalEvent,value:e,stopPropagation:function(){},preventDefault:function(){},target:{name:this.props.name,id:this.props.id,value:e}})}}},{key:"getSelectedOption",value:function(){var t=this.getSelectedOptionIndex(),e=this.getVisibleOptions();return-1!==t?this.props.optionGroupLabel?this.getOptionGroupChildren(e[t.group])[t.option]:e[t]:null}},{key:"getSelectedOptionIndex",value:function(){var t=this.getVisibleOptions();if(null!=this.props.value&&t){if(!this.props.optionGroupLabel)return this.findOptionIndexInList(this.props.value,t);for(var e=0;e<t.length;e++){var n=this.findOptionIndexInList(this.props.value,this.getOptionGroupChildren(t[e]));if(-1!==n)return{group:e,option:n}}}return-1}},{key:"findOptionIndexInList",value:function(t,e){for(var n=this.equalityKey(),r=0;r<e.length;r++)if(H.equals(t,this.getOptionValue(e[r]),n))return r;return-1}},{key:"isSelected",value:function(t){return H.equals(this.props.value,this.getOptionValue(t),this.equalityKey())}},{key:"equalityKey",value:function(){return this.props.optionValue?null:this.props.dataKey}},{key:"showOverlay",value:function(){this.setState({overlayVisible:!0})}},{key:"hideOverlay",value:function(){this.setState({overlayVisible:!1})}},{key:"onOverlayEnter",value:function(t){J.set("overlay",this.overlayRef.current),this.alignOverlay(),t&&t()}},{key:"onOverlayEntered",value:function(t){this.bindDocumentClickListener(),this.bindScrollListener(),this.bindResizeListener(),t&&t(),this.props.onShow&&this.props.onShow()}},{key:"onOverlayExit",value:function(){this.unbindDocumentClickListener(),this.unbindScrollListener(),this.unbindResizeListener()}},{key:"onOverlayExited",value:function(){this.props.filter&&this.props.resetFilterOnHide&&this.resetFilter(),J.clear(this.overlayRef.current),this.props.onHide&&this.props.onHide()}},{key:"alignOverlay",value:function(){V.alignOverlay(this.overlayRef.current,this.input.parentElement,this.props.appendTo||m.appendTo)}},{key:"scrollInView",value:function(){var t=V.findSingle(this.overlayRef.current,"li.p-highlight");t&&t.scrollIntoView({block:"nearest",inline:"start"})}},{key:"bindDocumentClickListener",value:function(){var t=this;this.documentClickListener||(this.documentClickListener=function(e){t.state.overlayVisible&&t.isOutsideClicked(e)&&t.hideOverlay()},document.addEventListener("click",this.documentClickListener))}},{key:"unbindDocumentClickListener",value:function(){this.documentClickListener&&(document.removeEventListener("click",this.documentClickListener),this.documentClickListener=null)}},{key:"bindScrollListener",value:function(){var t=this;this.scrollHandler||(this.scrollHandler=new j(this.container,(function(){t.state.overlayVisible&&t.hideOverlay()}))),this.scrollHandler.bindScrollListener()}},{key:"unbindScrollListener",value:function(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()}},{key:"bindResizeListener",value:function(){var t=this;this.resizeListener||(this.resizeListener=function(){t.state.overlayVisible&&!V.isTouchDevice()&&t.hideOverlay()},window.addEventListener("resize",this.resizeListener))}},{key:"unbindResizeListener",value:function(){this.resizeListener&&(window.removeEventListener("resize",this.resizeListener),this.resizeListener=null)}},{key:"isOutsideClicked",value:function(t){return this.container&&!(this.container.isSameNode(t.target)||this.isClearClicked(t)||this.container.contains(t.target)||this.overlayRef&&this.overlayRef.current.contains(t.target))}},{key:"isClearClicked",value:function(t){return V.hasClass(t.target,"p-dropdown-clear-icon")}},{key:"updateEditableLabel",value:function(t){this.input&&(this.input.value=t?this.getOptionLabel(t):this.props.value||"")}},{key:"hasFilter",value:function(){return this.state.filter&&this.state.filter.trim().length>0}},{key:"getOptionLabel",value:function(t){return this.props.optionLabel?H.resolveFieldData(t,this.props.optionLabel):t&&void 0!==t.label?t.label:t}},{key:"getOptionValue",value:function(t){return this.props.optionValue?H.resolveFieldData(t,this.props.optionValue):t&&void 0!==t.value?t.value:t}},{key:"getOptionRenderKey",value:function(t){return this.props.dataKey?H.resolveFieldData(t,this.props.dataKey):this.getOptionLabel(t)}},{key:"isOptionDisabled",value:function(t){return this.props.optionDisabled?H.isFunction(this.props.optionDisabled)?this.props.optionDisabled(t):H.resolveFieldData(t,this.props.optionDisabled):!(!t||void 0===t.disabled)&&t.disabled}},{key:"getOptionGroupRenderKey",value:function(t){return H.resolveFieldData(t,this.props.optionGroupLabel)}},{key:"getOptionGroupLabel",value:function(t){return H.resolveFieldData(t,this.props.optionGroupLabel)}},{key:"getOptionGroupChildren",value:function(t){return H.resolveFieldData(t,this.props.optionGroupChildren)}},{key:"checkValidity",value:function(){return this.inputRef.current.checkValidity()}},{key:"getVisibleOptions",value:function(){if(this.hasFilter()){var t=this.state.filter.trim().toLocaleLowerCase(this.props.filterLocale),e=this.props.filterBy?this.props.filterBy.split(","):[this.props.optionLabel||"label"];if(this.props.optionGroupLabel){var n,r=[],o=rn(this.props.options);try{for(o.s();!(n=o.n()).done;){var i=n.value,a=X.filter(this.getOptionGroupChildren(i),e,t,this.props.filterMatchMode,this.props.filterLocale);a&&a.length&&r.push(nn(nn({},i),{items:a}))}}catch(t){o.e(t)}finally{o.f()}return r}return X.filter(this.props.options,e,t,this.props.filterMatchMode,this.props.filterLocale)}return this.props.options}},{key:"updateInputField",value:function(){if(this.props.editable&&this.input){var t=this.getSelectedOption(),e=(t?this.getOptionLabel(t):null)||this.props.value||"";this.input.value=e}}},{key:"updateInputRef",value:function(){var t=this.props.inputRef;t&&("function"==typeof t?t(this.inputRef.current):t.current=this.inputRef.current)}},{key:"componentDidMount",value:function(){this.updateInputRef(),this.props.autoFocus&&this.focusInput&&this.focusInput.focus(),this.props.tooltip&&this.renderTooltip(),this.updateInputField(),this.inputRef.current.selectedIndex=1}},{key:"componentWillUnmount",value:function(){this.unbindDocumentClickListener(),this.unbindResizeListener(),this.scrollHandler&&(this.scrollHandler.destroy(),this.scrollHandler=null),this.tooltip&&(this.tooltip.destroy(),this.tooltip=null),this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=null),J.clear(this.overlayRef.current)}},{key:"componentDidUpdate",value:function(t){this.state.overlayVisible&&(this.props.filter&&this.alignOverlay(),t.value!==this.props.value&&this.scrollInView()),t.tooltip===this.props.tooltip&&t.tooltipOptions===this.props.tooltipOptions||(this.tooltip?this.tooltip.update(nn({content:this.props.tooltip},this.props.tooltipOptions||{})):this.renderTooltip()),!this.state.filter||this.props.options&&0!==this.props.options.length||this.setState({filter:""}),this.updateInputField(),this.inputRef.current.selectedIndex=1}},{key:"renderHiddenSelect",value:function(t){var e=i.a.createElement("option",{value:""},this.props.placeholder),n=t?i.a.createElement("option",{value:t.value},this.getOptionLabel(t)):null;return i.a.createElement("div",{className:"p-hidden-accessible p-dropdown-hidden-select"},i.a.createElement("select",{ref:this.inputRef,required:this.props.required,name:this.props.name,tabIndex:-1,"aria-hidden":"true"},e,n))}},{key:"renderTooltip",value:function(){this.tooltip=dt({target:this.container,content:this.props.tooltip,options:this.props.tooltipOptions})}},{key:"renderKeyboardHelper",value:function(){var t=this;return i.a.createElement("div",{className:"p-hidden-accessible"},i.a.createElement("input",{ref:function(e){return t.focusInput=e},id:this.props.inputId,type:"text",readOnly:!0,"aria-haspopup":"listbox",onFocus:this.onInputFocus,onBlur:this.onInputBlur,onKeyDown:this.onInputKeyDown,disabled:this.props.disabled,tabIndex:this.props.tabIndex,"aria-label":this.props.ariaLabel,"aria-labelledby":this.props.ariaLabelledBy}))}},{key:"renderLabel",value:function(t){var e=this,n=t?this.getOptionLabel(t):null;if(this.props.editable){var r=n||this.props.value||"";return i.a.createElement("input",{ref:function(t){return e.input=t},type:"text",defaultValue:r,className:"p-dropdown-label p-inputtext",disabled:this.props.disabled,placeholder:this.props.placeholder,maxLength:this.props.maxLength,onInput:this.onEditableInputChange,onFocus:this.onEditableInputFocus,onBlur:this.onInputBlur,"aria-label":this.props.ariaLabel,"aria-labelledby":this.props.ariaLabelledBy,"aria-haspopup":"listbox"})}var o=M("p-dropdown-label p-inputtext",{"p-placeholder":null===n&&this.props.placeholder,"p-dropdown-label-empty":null===n&&!this.props.placeholder}),a=this.props.valueTemplate?H.getJSXElement(this.props.valueTemplate,t,this.props):n||this.props.placeholder||"empty";return i.a.createElement("span",{ref:function(t){return e.input=t},className:o},a)}},{key:"renderClearIcon",value:function(){return null!=this.props.value&&this.props.showClear&&!this.props.disabled?i.a.createElement("i",{className:"p-dropdown-clear-icon pi pi-times",onClick:this.clear}):null}},{key:"renderDropdownIcon",value:function(){var t=this,e=M("p-dropdown-trigger-icon p-clickable",this.props.dropdownIcon);return i.a.createElement("div",{ref:function(e){return t.trigger=e},className:"p-dropdown-trigger",role:"button","aria-haspopup":"listbox","aria-expanded":this.state.overlayVisible},i.a.createElement("span",{className:e}))}},{key:"render",value:function(){var t=this,e=M("p-dropdown p-component p-inputwrapper",this.props.className,{"p-disabled":this.props.disabled,"p-focus":this.state.focused,"p-dropdown-clearable":this.props.showClear&&!this.props.disabled,"p-inputwrapper-filled":this.props.value,"p-inputwrapper-focus":this.state.focused||this.state.overlayVisible}),n=this.getVisibleOptions(),r=this.getSelectedOption(),o=this.renderHiddenSelect(r),a=this.renderKeyboardHelper(),s=this.renderLabel(r),u=this.renderDropdownIcon(),l=this.renderClearIcon();return i.a.createElement("div",{id:this.props.id,ref:function(e){return t.container=e},className:e,style:this.props.style,onClick:this.onClick,onMouseDown:this.props.onMouseDown,onContextMenu:this.props.onContextMenu},a,o,s,l,u,i.a.createElement(tn,Be({ref:this.overlayRef,visibleOptions:n},this.props,{onClick:this.onPanelClick,onOptionClick:this.onOptionClick,filterValue:this.state.filter,hasFilter:this.hasFilter,onFilterClearIconClick:this.onFilterClearIconClick,onFilterInputKeyDown:this.onFilterInputKeyDown,onFilterInputChange:this.onFilterInputChange,getOptionLabel:this.getOptionLabel,getOptionRenderKey:this.getOptionRenderKey,isOptionDisabled:this.isOptionDisabled,getOptionGroupChildren:this.getOptionGroupChildren,getOptionGroupLabel:this.getOptionGroupLabel,getOptionGroupRenderKey:this.getOptionGroupRenderKey,isSelected:this.isSelected,getSelectedOptionIndex:this.getSelectedOptionIndex,in:this.state.overlayVisible,onEnter:this.onOverlayEnter,onEntered:this.onOverlayEntered,onExit:this.onOverlayExit,onExited:this.onOverlayExited})))}}]),n}(o.Component);Ye(sn,"defaultProps",{id:null,inputRef:null,name:null,value:null,options:null,optionLabel:null,optionValue:null,optionDisabled:null,optionGroupLabel:null,optionGroupChildren:null,optionGroupTemplate:null,valueTemplate:null,itemTemplate:null,style:null,className:null,virtualScrollerOptions:null,scrollHeight:"200px",filter:!1,filterBy:null,filterMatchMode:"contains",filterPlaceholder:null,filterLocale:void 0,emptyMessage:"No records found",emptyFilterMessage:"No results found",editable:!1,placeholder:null,required:!1,disabled:!1,appendTo:null,tabIndex:null,autoFocus:!1,filterInputAutoFocus:!0,resetFilterOnHide:!1,showFilterClear:!1,panelClassName:null,panelStyle:null,dataKey:null,inputId:null,showClear:!1,maxLength:null,tooltip:null,tooltipOptions:null,ariaLabel:null,ariaLabelledBy:null,transitionOptions:null,dropdownIcon:"pi pi-chevron-down",showOnFocus:!1,onChange:null,onFocus:null,onBlur:null,onMouseDown:null,onContextMenu:null,onShow:null,onHide:null,onFilter:null});var un=function(){function t(){}return t.getPrefixName=function(){return"wp-scanner"},t.getKeyWithPrefix=function(e){return[t.getPrefixName(),e].join(",")},t.get=function(e){return localStorage.getItem(t.getKeyWithPrefix(e))},t.getValueOrDefault=function(e,n){var r=t.get(e);return null!==r?r:n},t.set=function(e,n){localStorage.setItem(t.getKeyWithPrefix(e),n)},t.delete=function(e){localStorage.removeItem(t.getKeyWithPrefix(e))},t}(),ln=function(){function t(){}return t.getDefaultSettings=function(){return{dialogTitle:"Input-Scanner",msgSuccessTitle:"Success",msgSuccessBody:"Code found.",msgFailedTitle:"Failed to scan",msgFailedBody:"No Code found.",noPermissionTitle:"You have no Permission",noPermissionBody:"Your browser has no rights to the camera."}},t.init=function(e){void 0===e&&(e={}),t.data=Object.assign({},t.getDefaultSettings(),e)},t.getDialogTitle=function(){return t.data.dialogTitle},t.getMsgSuccessTitle=function(){return t.data.msgSuccessTitle},t.getMsgSuccessBody=function(){return t.data.msgSuccessBody},t.getMsgFailedTitle=function(){return t.data.msgFailedTitle},t.getMsgFailedBody=function(){return t.data.msgFailedBody},t.getNoPermissionTitle=function(){return t.data.noPermissionTitle},t.getNoPermissionBody=function(){return t.data.noPermissionBody},t.data={},t}(),cn=function(){return(cn=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},fn=null,pn=i.a.forwardRef((function(t,e){var n=Object(o.useState)(!1),i=n[0],a=n[1],s=Object(o.useState)([]),u=s[0],l=s[1],c=Object(o.useState)(null),f=c[0],p=c[1],d=Object(o.useState)(!1),y=d[0],v=d[1],m=Object(o.useRef)(null),w=Object(o.useRef)(null);function E(t){null!==w.current&&(w.current.clear(),w.current.show({severity:"success",summary:ln.getMsgSuccessTitle(),detail:ln.getMsgSuccessBody(),life:3e3})),null!==fn&&t.length>0&&(b(),fn(t),fn=null)}Object(o.useImperativeHandle)(e,(function(){return{start:function(t){Ae.getPermission().then((function(e){e?(Ae.getVideoMediaDevices().then((function(t){p(un.getValueOrDefault("selected-device",t[0].id)),l(t),a(!0),null!==m.current&&m.current.start()})),fn=t):null!==w.current&&(w.current.clear(),w.current.show({severity:"error",summary:ln.getNoPermissionTitle(),detail:ln.getNoPermissionBody(),life:6e3}))}))}}}));var b=function(){null!==m.current&&m.current.close(),p(null),a(!1)};function _(t){null!==t&&(v(!0),setTimeout((function(){return h.scanCodeFromFile(t).then((function(t){v(!1),null===t?null!==w.current&&w.current.show({severity:"error",summary:ln.getMsgFailedTitle(),detail:ln.getMsgFailedBody(),life:3e3}):E(t)})).catch((function(t){console.warn(t)}))}),500))}function C(t){un.set("selected-device",t.value),p(t.value),setTimeout((function(){null!==m.current&&m.current.change()}),1e3)}return Object(r.jsxs)("div",cn({className:"wp-input-scanner-root"},{children:[Object(r.jsx)(ae,{ref:w},void 0),Object(r.jsx)(xt,cn({header:ln.getDialogTitle(),visible:i,style:{width:"50vw"},maximized:!0,maximizable:!0,footer:function(){return Object(r.jsxs)("span",cn({className:"p-buttonset scanner-dialog-footer"},{children:[Object(r.jsx)(_e,{loading:y,onSelectFile:_},void 0),Object(r.jsx)(sn,{value:f,options:u,onChange:C,optionValue:"id",optionLabel:"label"},void 0)]}),void 0)},onHide:b},{children:Object(r.jsx)(g,{ref:m,deviceId:f,onFetchCode:E},void 0)}),void 0)]}),void 0)})),dn=function(t,e,n){if(n||2===arguments.length)for(var r,o=0,i=e.length;o<i;o++)!r&&o in e||(r||(r=Array.prototype.slice.call(e,0,o)),r[o]=e[o]);return t.concat(r||Array.prototype.slice.call(e))},hn=function(){function t(){}return t.initInstance=function(e){if(void 0===e&&(e={}),t.addEventListenerByQuerySelector([".input-scanner-open"]),t.addInputLabelByQuerySelector([".input-scanner-open-label"]),null===t.appRef){ln.init(e);var n=document.createElement("div");document.getElementsByTagName("body")[0].append(n),t.render(n)}},t.addEventListenerByQuerySelector=function(e){for(var n=0,r=e;n<r.length;n++){var o=r[n];dn([],document.querySelectorAll(o),!0).forEach((function(e){e.addEventListener("click",(function(){return t.start(e)}))}))}},t.addInputLabelByQuerySelector=function(e){for(var n=0,r=e;n<r.length;n++){var o=r[n];dn([],document.querySelectorAll(o),!0).forEach((function(e){var n=document.createElement("div");n.className="p-inputgroup";var r=e.parentElement,o=document.createElement("span");o.className="p-button p-component p-inputgroup-addon p-button-icon p-c pi pi-camera",o.addEventListener("click",(function(){return t.start(e)})),n.append(e),n.append(o),null==r||r.append(n)}))}},t.start=function(e){t.appRef&&t.appRef.start((function(t){console.log(t),e.value=t}))},t.render=function(e){s.a.render(Object(r.jsx)(i.a.StrictMode,{children:Object(r.jsx)(pn,{ref:function(e){return t.appRef=e}},void 0)},void 0),e)},t.appRef=null,t}();window.InputScanner=hn}]); -
input-scanner/trunk/index.php
r2611879 r2648947 4 4 * Plugin URI: https://github.com/aigenseer/input-scanner 5 5 * Description: Input scanner for QR and barcodes 6 * Version: 1.0. 06 * Version: 1.0.1 7 7 * Requires at least: 5.2 8 8 * Requires PHP: 7.2 -
input-scanner/trunk/readme.txt
r2611879 r2648947 39 39 == Changelog == 40 40 41 42 = 1.0.1 = 43 * fix select device dialog 44 41 45 = 1.0.0 = 42 46 * First Version
Note: See TracChangeset
for help on using the changeset viewer.