@performant-software/core-data 2.3.10-beta.8 → 2.3.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs105.js +1 -1
- package/dist/index.cjs106.js +1 -1
- package/dist/index.cjs109.js +1 -1
- package/dist/index.cjs110.js +1 -1
- package/dist/index.cjs111.js +1 -1
- package/dist/index.cjs114.js +1 -1
- package/dist/index.cjs115.js +1 -1
- package/dist/index.cjs116.js +1 -1
- package/dist/index.cjs118.js +1 -1
- package/dist/index.cjs119.js +1 -1
- package/dist/index.cjs120.js +1 -1
- package/dist/index.cjs123.js +1 -1
- package/dist/index.cjs125.js +1 -1
- package/dist/index.cjs126.js +1 -1
- package/dist/index.cjs130.js +1 -1
- package/dist/index.cjs131.js +1 -1
- package/dist/index.cjs132.js +1 -1
- package/dist/index.cjs133.js +1 -1
- package/dist/index.cjs134.js +1 -1
- package/dist/index.cjs161.js +1 -1
- package/dist/index.cjs162.js +1 -1
- package/dist/index.cjs163.js +1 -1
- package/dist/index.cjs164.js +1 -1
- package/dist/index.cjs165.js +1 -1
- package/dist/index.cjs166.js +1 -1
- package/dist/index.cjs167.js +1 -1
- package/dist/index.cjs168.js +1 -1
- package/dist/index.cjs177.js +1 -1
- package/dist/index.cjs180.js +1 -1
- package/dist/index.cjs181.js +1 -1
- package/dist/index.cjs182.js +1 -1
- package/dist/index.cjs186.js +1 -1
- package/dist/index.cjs187.js +1 -1
- package/dist/index.cjs188.js +1 -1
- package/dist/index.cjs189.js +1 -1
- package/dist/index.cjs192.js +1 -1
- package/dist/index.cjs198.js +1 -1
- package/dist/index.cjs199.js +1 -1
- package/dist/index.cjs200.js +1 -1
- package/dist/index.cjs201.js +1 -1
- package/dist/index.cjs202.js +1 -1
- package/dist/index.cjs203.js +1 -1
- package/dist/index.cjs206.js +1 -1
- package/dist/index.cjs207.js +1 -1
- package/dist/index.cjs209.js +1 -1
- package/dist/index.cjs210.js +1 -1
- package/dist/index.cjs211.js +1 -1
- package/dist/index.cjs212.js +1 -1
- package/dist/index.cjs213.js +1 -1
- package/dist/index.cjs214.js +1 -1
- package/dist/index.cjs216.js +1 -1
- package/dist/index.cjs216.js.map +1 -1
- package/dist/index.cjs217.js +1 -1
- package/dist/index.cjs217.js.map +1 -1
- package/dist/index.cjs218.js +1 -1
- package/dist/index.cjs218.js.map +1 -1
- package/dist/index.cjs219.js +1 -1
- package/dist/index.cjs219.js.map +1 -1
- package/dist/index.cjs220.js +1 -1
- package/dist/index.cjs220.js.map +1 -1
- package/dist/index.cjs221.js +1 -1
- package/dist/index.cjs221.js.map +1 -1
- package/dist/index.cjs222.js +1 -1
- package/dist/index.cjs222.js.map +1 -1
- package/dist/index.cjs223.js +1 -1
- package/dist/index.cjs223.js.map +1 -1
- package/dist/index.cjs224.js +1 -1
- package/dist/index.cjs224.js.map +1 -1
- package/dist/index.cjs225.js +1 -1
- package/dist/index.cjs225.js.map +1 -1
- package/dist/index.cjs226.js +1 -1
- package/dist/index.cjs226.js.map +1 -1
- package/dist/index.cjs227.js +1 -1
- package/dist/index.cjs227.js.map +1 -1
- package/dist/index.cjs228.js +1 -1
- package/dist/index.cjs228.js.map +1 -1
- package/dist/index.cjs229.js +1 -1
- package/dist/index.cjs229.js.map +1 -1
- package/dist/index.cjs230.js +1 -1
- package/dist/index.cjs230.js.map +1 -1
- package/dist/index.cjs231.js +1 -1
- package/dist/index.cjs231.js.map +1 -1
- package/dist/index.cjs232.js +1 -1
- package/dist/index.cjs232.js.map +1 -1
- package/dist/index.cjs233.js +1 -1
- package/dist/index.cjs233.js.map +1 -1
- package/dist/index.cjs234.js +1 -1
- package/dist/index.cjs234.js.map +1 -1
- package/dist/index.cjs235.js +1 -1
- package/dist/index.cjs235.js.map +1 -1
- package/dist/index.cjs236.js +1 -1
- package/dist/index.cjs236.js.map +1 -1
- package/dist/index.cjs237.js +1 -1
- package/dist/index.cjs237.js.map +1 -1
- package/dist/index.cjs238.js +1 -1
- package/dist/index.cjs238.js.map +1 -1
- package/dist/index.cjs239.js +1 -1
- package/dist/index.cjs239.js.map +1 -1
- package/dist/index.cjs240.js +1 -1
- package/dist/index.cjs240.js.map +1 -1
- package/dist/index.cjs241.js +1 -1
- package/dist/index.cjs241.js.map +1 -1
- package/dist/index.cjs242.js +1 -1
- package/dist/index.cjs242.js.map +1 -1
- package/dist/index.cjs243.js +1 -1
- package/dist/index.cjs243.js.map +1 -1
- package/dist/index.cjs244.js +1 -1
- package/dist/index.cjs244.js.map +1 -1
- package/dist/index.cjs245.js +1 -1
- package/dist/index.cjs245.js.map +1 -1
- package/dist/index.cjs246.js +1 -6
- package/dist/index.cjs246.js.map +1 -1
- package/dist/index.cjs247.js +1 -1
- package/dist/index.cjs247.js.map +1 -1
- package/dist/index.cjs248.js +6 -2
- package/dist/index.cjs248.js.map +1 -1
- package/dist/index.cjs249.js +1 -3
- package/dist/index.cjs249.js.map +1 -1
- package/dist/index.cjs250.js +2 -1
- package/dist/index.cjs250.js.map +1 -1
- package/dist/index.cjs251.js +3 -1
- package/dist/index.cjs251.js.map +1 -1
- package/dist/index.cjs252.js +1 -8
- package/dist/index.cjs252.js.map +1 -1
- package/dist/index.cjs253.js +1 -13
- package/dist/index.cjs253.js.map +1 -1
- package/dist/index.cjs254.js +8 -1
- package/dist/index.cjs254.js.map +1 -1
- package/dist/index.cjs255.js +13 -17
- package/dist/index.cjs255.js.map +1 -1
- package/dist/index.cjs256.js +1 -1
- package/dist/index.cjs256.js.map +1 -1
- package/dist/index.cjs257.js +17 -1
- package/dist/index.cjs257.js.map +1 -1
- package/dist/index.cjs258.js +1 -1
- package/dist/index.cjs258.js.map +1 -1
- package/dist/index.cjs259.js +1 -1
- package/dist/index.cjs259.js.map +1 -1
- package/dist/index.cjs260.js +1 -1
- package/dist/index.cjs260.js.map +1 -1
- package/dist/index.cjs261.js +1 -1
- package/dist/index.cjs261.js.map +1 -1
- package/dist/index.cjs262.js +1 -1
- package/dist/index.cjs262.js.map +1 -1
- package/dist/index.cjs263.js +1 -1
- package/dist/index.cjs263.js.map +1 -1
- package/dist/index.cjs264.js +1 -1
- package/dist/index.cjs264.js.map +1 -1
- package/dist/index.cjs265.js +1 -1
- package/dist/index.cjs265.js.map +1 -1
- package/dist/index.cjs266.js +1 -1
- package/dist/index.cjs266.js.map +1 -1
- package/dist/index.cjs267.js +1 -1
- package/dist/index.cjs267.js.map +1 -1
- package/dist/index.cjs268.js +1 -1
- package/dist/index.cjs268.js.map +1 -1
- package/dist/index.cjs269.js +1 -1
- package/dist/index.cjs269.js.map +1 -1
- package/dist/index.cjs270.js +1 -1
- package/dist/index.cjs270.js.map +1 -1
- package/dist/index.cjs271.js +1 -1
- package/dist/index.cjs271.js.map +1 -1
- package/dist/index.cjs273.js +1 -1
- package/dist/index.cjs274.js +1 -1
- package/dist/index.cjs275.js +1 -1
- package/dist/index.cjs276.js +1 -1
- package/dist/index.cjs277.js +1 -1
- package/dist/index.cjs278.js +1 -1
- package/dist/index.cjs279.js +1 -1
- package/dist/index.cjs280.js +1 -1
- package/dist/index.cjs281.js +1 -1
- package/dist/index.cjs282.js +1 -1
- package/dist/index.cjs292.js +1 -1
- package/dist/index.cjs298.js +1 -1
- package/dist/index.cjs310.js +1 -1
- package/dist/index.cjs427.js +1 -1
- package/dist/index.cjs428.js +1 -1
- package/dist/index.cjs431.js +1 -1
- package/dist/index.cjs456.js +1 -6
- package/dist/index.cjs456.js.map +1 -1
- package/dist/index.cjs457.js +1 -6
- package/dist/index.cjs457.js.map +1 -1
- package/dist/index.cjs458.js +1 -1
- package/dist/index.cjs458.js.map +1 -1
- package/dist/index.cjs459.js +1 -1
- package/dist/index.cjs459.js.map +1 -1
- package/dist/index.cjs460.js +1 -1
- package/dist/index.cjs460.js.map +1 -1
- package/dist/index.cjs461.js +1 -1
- package/dist/index.cjs461.js.map +1 -1
- package/dist/index.cjs462.js +1 -1
- package/dist/index.cjs462.js.map +1 -1
- package/dist/index.cjs463.js +1 -1
- package/dist/index.cjs463.js.map +1 -1
- package/dist/index.cjs464.js +1 -1
- package/dist/index.cjs464.js.map +1 -1
- package/dist/index.cjs465.js +1 -1
- package/dist/index.cjs465.js.map +1 -1
- package/dist/index.cjs466.js +1 -1
- package/dist/index.cjs466.js.map +1 -1
- package/dist/index.cjs467.js +1 -1
- package/dist/index.cjs467.js.map +1 -1
- package/dist/index.cjs468.js +1 -1
- package/dist/index.cjs468.js.map +1 -1
- package/dist/index.cjs469.js +1 -1
- package/dist/index.cjs469.js.map +1 -1
- package/dist/index.cjs470.js +1 -1
- package/dist/index.cjs470.js.map +1 -1
- package/dist/index.cjs471.js +1 -1
- package/dist/index.cjs471.js.map +1 -1
- package/dist/index.cjs472.js +1 -1
- package/dist/index.cjs472.js.map +1 -1
- package/dist/index.cjs473.js +1 -1
- package/dist/index.cjs473.js.map +1 -1
- package/dist/index.cjs474.js +1 -1
- package/dist/index.cjs474.js.map +1 -1
- package/dist/index.cjs475.js +6 -1
- package/dist/index.cjs475.js.map +1 -1
- package/dist/index.cjs476.js +6 -1
- package/dist/index.cjs476.js.map +1 -1
- package/dist/index.cjs477.js +1 -1
- package/dist/index.cjs477.js.map +1 -1
- package/dist/index.cjs478.js +1 -1
- package/dist/index.cjs478.js.map +1 -1
- package/dist/index.cjs479.js +1 -1
- package/dist/index.cjs479.js.map +1 -1
- package/dist/index.cjs480.js +1 -1
- package/dist/index.cjs480.js.map +1 -1
- package/dist/index.cjs481.js +1 -1
- package/dist/index.cjs481.js.map +1 -1
- package/dist/index.cjs482.js +1 -1
- package/dist/index.cjs482.js.map +1 -1
- package/dist/index.cjs483.js +1 -1
- package/dist/index.cjs483.js.map +1 -1
- package/dist/index.cjs494.js +1 -1
- package/dist/index.cjs496.js +1 -1
- package/dist/index.cjs496.js.map +1 -1
- package/dist/index.cjs497.js +1 -1
- package/dist/index.cjs497.js.map +1 -1
- package/dist/index.cjs498.js +1 -1
- package/dist/index.cjs498.js.map +1 -1
- package/dist/index.cjs499.js +1 -1
- package/dist/index.cjs499.js.map +1 -1
- package/dist/index.cjs50.js +1 -1
- package/dist/index.cjs50.js.map +1 -1
- package/dist/index.cjs500.js +1 -1
- package/dist/index.cjs500.js.map +1 -1
- package/dist/index.cjs501.js +1 -1
- package/dist/index.cjs501.js.map +1 -1
- package/dist/index.cjs502.js +1 -1
- package/dist/index.cjs502.js.map +1 -1
- package/dist/index.cjs503.js +1 -1
- package/dist/index.cjs503.js.map +1 -1
- package/dist/index.cjs504.js +1 -1
- package/dist/index.cjs504.js.map +1 -1
- package/dist/index.cjs505.js +1 -1
- package/dist/index.cjs505.js.map +1 -1
- package/dist/index.cjs508.js +1 -1
- package/dist/index.cjs508.js.map +1 -1
- package/dist/index.cjs509.js +1 -1
- package/dist/index.cjs509.js.map +1 -1
- package/dist/index.cjs511.js +1 -1
- package/dist/index.cjs511.js.map +1 -1
- package/dist/index.cjs512.js +1 -1
- package/dist/index.cjs512.js.map +1 -1
- package/dist/index.cjs513.js +1 -1
- package/dist/index.cjs513.js.map +1 -1
- package/dist/index.cjs514.js +1 -1
- package/dist/index.cjs514.js.map +1 -1
- package/dist/index.cjs515.js +1 -1
- package/dist/index.cjs515.js.map +1 -1
- package/dist/index.cjs516.js +1 -1
- package/dist/index.cjs516.js.map +1 -1
- package/dist/index.cjs517.js +1 -1
- package/dist/index.cjs517.js.map +1 -1
- package/dist/index.cjs518.js +1 -1
- package/dist/index.cjs518.js.map +1 -1
- package/dist/index.cjs519.js +1 -1
- package/dist/index.cjs519.js.map +1 -1
- package/dist/index.cjs520.js +1 -1
- package/dist/index.cjs520.js.map +1 -1
- package/dist/index.cjs521.js +1 -1
- package/dist/index.cjs521.js.map +1 -1
- package/dist/index.cjs522.js +1 -1
- package/dist/index.cjs522.js.map +1 -1
- package/dist/index.cjs523.js +1 -1
- package/dist/index.cjs523.js.map +1 -1
- package/dist/index.cjs524.js +1 -1
- package/dist/index.cjs524.js.map +1 -1
- package/dist/index.cjs525.js +1 -1
- package/dist/index.cjs525.js.map +1 -1
- package/dist/index.cjs526.js +1 -1
- package/dist/index.cjs526.js.map +1 -1
- package/dist/index.cjs527.js +1 -1
- package/dist/index.cjs527.js.map +1 -1
- package/dist/index.cjs531.js +1 -1
- package/dist/index.cjs532.js +1 -1
- package/dist/index.cjs555.js +1 -1
- package/dist/index.cjs557.js +1 -1
- package/dist/index.cjs559.js +1 -1
- package/dist/index.cjs573.js +1 -1
- package/dist/index.cjs574.js +1 -1
- package/dist/index.cjs583.js +1 -1
- package/dist/index.cjs584.js +1 -1
- package/dist/index.cjs584.js.map +1 -1
- package/dist/index.cjs585.js +1 -1
- package/dist/index.cjs585.js.map +1 -1
- package/dist/index.cjs587.js +1 -1
- package/dist/index.cjs591.js +1 -1
- package/dist/index.cjs593.js +1 -1
- package/dist/index.cjs594.js +1 -1
- package/dist/index.cjs595.js +1 -1
- package/dist/index.cjs595.js.map +1 -1
- package/dist/index.cjs596.js +1 -1
- package/dist/index.cjs596.js.map +1 -1
- package/dist/index.cjs597.js +1 -1
- package/dist/index.cjs597.js.map +1 -1
- package/dist/index.cjs598.js +1 -1
- package/dist/index.cjs598.js.map +1 -1
- package/dist/index.cjs599.js +1 -1
- package/dist/index.cjs599.js.map +1 -1
- package/dist/index.cjs600.js +1 -1
- package/dist/index.cjs600.js.map +1 -1
- package/dist/index.cjs601.js +1 -1
- package/dist/index.cjs601.js.map +1 -1
- package/dist/index.cjs602.js +1 -1
- package/dist/index.cjs602.js.map +1 -1
- package/dist/index.cjs603.js +1 -1
- package/dist/index.cjs603.js.map +1 -1
- package/dist/index.cjs604.js +1 -1
- package/dist/index.cjs604.js.map +1 -1
- package/dist/index.cjs605.js +1 -1
- package/dist/index.cjs605.js.map +1 -1
- package/dist/index.cjs606.js +1 -1
- package/dist/index.cjs606.js.map +1 -1
- package/dist/index.cjs607.js +1 -1
- package/dist/index.cjs607.js.map +1 -1
- package/dist/index.cjs608.js +1 -1
- package/dist/index.cjs608.js.map +1 -1
- package/dist/index.cjs609.js +1 -1
- package/dist/index.cjs609.js.map +1 -1
- package/dist/index.cjs610.js +1 -1
- package/dist/index.cjs610.js.map +1 -1
- package/dist/index.cjs611.js +1 -1
- package/dist/index.cjs611.js.map +1 -1
- package/dist/index.cjs612.js +1 -1
- package/dist/index.cjs612.js.map +1 -1
- package/dist/index.cjs613.js +1 -1
- package/dist/index.cjs613.js.map +1 -1
- package/dist/index.cjs614.js +1 -1
- package/dist/index.cjs614.js.map +1 -1
- package/dist/index.cjs615.js +1 -1
- package/dist/index.cjs615.js.map +1 -1
- package/dist/index.cjs616.js +1 -1
- package/dist/index.cjs616.js.map +1 -1
- package/dist/index.cjs617.js +1 -1
- package/dist/index.cjs617.js.map +1 -1
- package/dist/index.cjs618.js +1 -1
- package/dist/index.cjs618.js.map +1 -1
- package/dist/index.cjs619.js +1 -1
- package/dist/index.cjs619.js.map +1 -1
- package/dist/index.cjs620.js +1 -1
- package/dist/index.cjs620.js.map +1 -1
- package/dist/index.cjs621.js +1 -1
- package/dist/index.cjs621.js.map +1 -1
- package/dist/index.cjs622.js +1 -1
- package/dist/index.cjs622.js.map +1 -1
- package/dist/index.cjs623.js +1 -1
- package/dist/index.cjs623.js.map +1 -1
- package/dist/index.cjs624.js +1 -1
- package/dist/index.cjs624.js.map +1 -1
- package/dist/index.cjs625.js +1 -1
- package/dist/index.cjs625.js.map +1 -1
- package/dist/index.cjs626.js +1 -1
- package/dist/index.cjs626.js.map +1 -1
- package/dist/index.cjs627.js +1 -1
- package/dist/index.cjs627.js.map +1 -1
- package/dist/index.cjs628.js +1 -1
- package/dist/index.cjs628.js.map +1 -1
- package/dist/index.cjs629.js +1 -1
- package/dist/index.cjs629.js.map +1 -1
- package/dist/index.cjs630.js +1 -1
- package/dist/index.cjs630.js.map +1 -1
- package/dist/index.cjs631.js +1 -1
- package/dist/index.cjs631.js.map +1 -1
- package/dist/index.cjs632.js +1 -1
- package/dist/index.cjs633.js +1 -1
- package/dist/index.cjs633.js.map +1 -1
- package/dist/index.cjs634.js +1 -1
- package/dist/index.cjs634.js.map +1 -1
- package/dist/index.cjs635.js +1 -4
- package/dist/index.cjs635.js.map +1 -1
- package/dist/index.cjs636.js +2 -1
- package/dist/index.cjs636.js.map +1 -1
- package/dist/index.cjs637.js +1 -1
- package/dist/index.cjs638.js +1 -1
- package/dist/index.cjs638.js.map +1 -1
- package/dist/index.cjs639.js +1 -1
- package/dist/index.cjs639.js.map +1 -1
- package/dist/index.cjs640.js +1 -1
- package/dist/index.cjs640.js.map +1 -1
- package/dist/index.cjs641.js +1 -2
- package/dist/index.cjs641.js.map +1 -1
- package/dist/index.cjs642.js +2 -1
- package/dist/index.cjs642.js.map +1 -1
- package/dist/index.cjs643.js +1 -1
- package/dist/index.cjs643.js.map +1 -1
- package/dist/index.cjs644.js +1 -1
- package/dist/index.cjs644.js.map +1 -1
- package/dist/index.cjs645.js +1 -2
- package/dist/index.cjs645.js.map +1 -1
- package/dist/index.cjs646.js +4 -1
- package/dist/index.cjs646.js.map +1 -1
- package/dist/index.cjs648.js +1 -1
- package/dist/index.cjs649.js +1 -1
- package/dist/index.cjs650.js +1 -1
- package/dist/index.cjs650.js.map +1 -1
- package/dist/index.cjs651.js +1 -1
- package/dist/index.cjs651.js.map +1 -1
- package/dist/index.cjs659.js +1 -1
- package/dist/index.cjs661.js +1 -1
- package/dist/index.cjs661.js.map +1 -1
- package/dist/index.cjs662.js +1 -1
- package/dist/index.cjs662.js.map +1 -1
- package/dist/index.cjs663.js +1 -1
- package/dist/index.cjs663.js.map +1 -1
- package/dist/index.cjs668.js +1 -1
- package/dist/index.cjs668.js.map +1 -1
- package/dist/index.cjs669.js +1 -1
- package/dist/index.cjs669.js.map +1 -1
- package/dist/index.cjs670.js +1 -1
- package/dist/index.cjs670.js.map +1 -1
- package/dist/index.cjs671.js +1 -1
- package/dist/index.cjs671.js.map +1 -1
- package/dist/index.cjs672.js +1 -1
- package/dist/index.cjs672.js.map +1 -1
- package/dist/index.cjs673.js +1 -1
- package/dist/index.cjs673.js.map +1 -1
- package/dist/index.cjs674.js +1 -1
- package/dist/index.cjs674.js.map +1 -1
- package/dist/index.cjs675.js +1 -1
- package/dist/index.cjs675.js.map +1 -1
- package/dist/index.cjs676.js +1 -1
- package/dist/index.cjs676.js.map +1 -1
- package/dist/index.cjs677.js +1 -1
- package/dist/index.cjs677.js.map +1 -1
- package/dist/index.cjs678.js +1 -1
- package/dist/index.cjs678.js.map +1 -1
- package/dist/index.cjs679.js +1 -1
- package/dist/index.cjs679.js.map +1 -1
- package/dist/index.cjs680.js +1 -1
- package/dist/index.cjs680.js.map +1 -1
- package/dist/index.cjs681.js +1 -1
- package/dist/index.cjs681.js.map +1 -1
- package/dist/index.cjs682.js +1 -1
- package/dist/index.cjs682.js.map +1 -1
- package/dist/index.cjs683.js +1 -1
- package/dist/index.cjs683.js.map +1 -1
- package/dist/index.cjs684.js +1 -1
- package/dist/index.cjs684.js.map +1 -1
- package/dist/index.cjs685.js +1 -1
- package/dist/index.cjs685.js.map +1 -1
- package/dist/index.cjs686.js +1 -1
- package/dist/index.cjs686.js.map +1 -1
- package/dist/index.cjs687.js +1 -1
- package/dist/index.cjs687.js.map +1 -1
- package/dist/index.cjs688.js +1 -1
- package/dist/index.cjs688.js.map +1 -1
- package/dist/index.cjs689.js +1 -1
- package/dist/index.cjs689.js.map +1 -1
- package/dist/index.cjs690.js +1 -1
- package/dist/index.cjs690.js.map +1 -1
- package/dist/index.cjs691.js +1 -1
- package/dist/index.cjs691.js.map +1 -1
- package/dist/index.cjs692.js +1 -38
- package/dist/index.cjs692.js.map +1 -1
- package/dist/index.cjs693.js +38 -1
- package/dist/index.cjs693.js.map +1 -1
- package/dist/index.cjs694.js +1 -1
- package/dist/index.cjs694.js.map +1 -1
- package/dist/index.cjs695.js +1 -1
- package/dist/index.cjs695.js.map +1 -1
- package/dist/index.cjs696.js +1 -1
- package/dist/index.cjs696.js.map +1 -1
- package/dist/index.cjs697.js +1 -1
- package/dist/index.cjs697.js.map +1 -1
- package/dist/index.cjs698.js +1 -1
- package/dist/index.cjs698.js.map +1 -1
- package/dist/index.cjs699.js +1 -1
- package/dist/index.cjs699.js.map +1 -1
- package/dist/index.cjs70.js +1 -1
- package/dist/index.cjs70.js.map +1 -1
- package/dist/index.cjs700.js +1 -1
- package/dist/index.cjs700.js.map +1 -1
- package/dist/index.cjs701.js +1 -1
- package/dist/index.cjs701.js.map +1 -1
- package/dist/index.cjs702.js +1 -1
- package/dist/index.cjs702.js.map +1 -1
- package/dist/index.cjs703.js +1 -1
- package/dist/index.cjs704.js +1 -1
- package/dist/index.cjs704.js.map +1 -1
- package/dist/index.cjs706.js +1 -1
- package/dist/index.cjs706.js.map +1 -1
- package/dist/index.cjs708.js +1 -1
- package/dist/index.cjs708.js.map +1 -1
- package/dist/index.cjs709.js +1 -1
- package/dist/index.cjs709.js.map +1 -1
- package/dist/index.cjs71.js +1 -1
- package/dist/index.cjs71.js.map +1 -1
- package/dist/index.cjs710.js +1 -1
- package/dist/index.cjs710.js.map +1 -1
- package/dist/index.cjs712.js +1 -1
- package/dist/index.cjs714.js +1 -1
- package/dist/index.cjs714.js.map +1 -1
- package/dist/index.cjs716.js +1 -1
- package/dist/index.cjs716.js.map +1 -1
- package/dist/index.cjs718.js +1 -1
- package/dist/index.cjs718.js.map +1 -1
- package/dist/index.cjs719.js +1 -1
- package/dist/index.cjs720.js +1 -1
- package/dist/index.cjs720.js.map +1 -1
- package/dist/index.cjs723.js +1 -1
- package/dist/index.cjs724.js +1 -1
- package/dist/index.cjs725.js +1 -1
- package/dist/index.cjs726.js +1 -1
- package/dist/index.cjs727.js +1 -1
- package/dist/index.cjs728.js +1 -1
- package/dist/index.cjs740.js +1 -1
- package/dist/index.cjs741.js +1 -1
- package/dist/index.cjs742.js +1 -38
- package/dist/index.cjs742.js.map +1 -1
- package/dist/index.cjs743.js +1 -1
- package/dist/index.cjs743.js.map +1 -1
- package/dist/index.cjs744.js +1 -1
- package/dist/index.cjs744.js.map +1 -1
- package/dist/index.cjs745.js +1 -1
- package/dist/index.cjs745.js.map +1 -1
- package/dist/index.cjs748.js +1 -1
- package/dist/index.cjs748.js.map +1 -1
- package/dist/index.cjs750.js +38 -1
- package/dist/index.cjs750.js.map +1 -1
- package/dist/index.cjs751.js +1 -1
- package/dist/index.cjs751.js.map +1 -1
- package/dist/index.cjs752.js +1 -1
- package/dist/index.cjs752.js.map +1 -1
- package/dist/index.cjs753.js +1 -1
- package/dist/index.cjs766.js +1 -1
- package/dist/index.cjs766.js.map +1 -1
- package/dist/index.cjs767.js +1 -1
- package/dist/index.cjs767.js.map +1 -1
- package/dist/index.cjs77.js +1 -1
- package/dist/index.cjs774.js +1 -1
- package/dist/index.cjs776.js +1 -1
- package/dist/index.cjs777.js +1 -1
- package/dist/index.cjs784.js +1 -1
- package/dist/index.cjs784.js.map +1 -1
- package/dist/index.cjs785.js +1 -1
- package/dist/index.cjs785.js.map +1 -1
- package/dist/index.cjs786.js +1 -1
- package/dist/index.cjs786.js.map +1 -1
- package/dist/index.cjs787.js +1 -1
- package/dist/index.cjs787.js.map +1 -1
- package/dist/index.cjs806.js +1 -1
- package/dist/index.cjs811.js +1 -1
- package/dist/index.cjs812.js +1 -1
- package/dist/index.cjs812.js.map +1 -1
- package/dist/index.cjs813.js +1 -1
- package/dist/index.cjs813.js.map +1 -1
- package/dist/index.cjs814.js +1 -1
- package/dist/index.cjs814.js.map +1 -1
- package/dist/index.cjs815.js +1 -2
- package/dist/index.cjs815.js.map +1 -1
- package/dist/index.cjs816.js +2 -1
- package/dist/index.cjs816.js.map +1 -1
- package/dist/index.cjs817.js +1 -1
- package/dist/index.cjs817.js.map +1 -1
- package/dist/index.cjs818.js +1 -1
- package/dist/index.cjs818.js.map +1 -1
- package/dist/index.es105.js +1 -1
- package/dist/index.es106.js +1 -1
- package/dist/index.es109.js +2 -2
- package/dist/index.es110.js +4 -4
- package/dist/index.es111.js +12 -12
- package/dist/index.es114.js +1 -1
- package/dist/index.es115.js +1 -1
- package/dist/index.es116.js +1 -1
- package/dist/index.es118.js +3 -3
- package/dist/index.es119.js +1 -1
- package/dist/index.es120.js +1 -1
- package/dist/index.es123.js +3 -3
- package/dist/index.es125.js +1 -1
- package/dist/index.es126.js +1 -1
- package/dist/index.es130.js +1 -1
- package/dist/index.es131.js +4 -4
- package/dist/index.es132.js +2 -2
- package/dist/index.es133.js +1 -1
- package/dist/index.es134.js +1 -1
- package/dist/index.es161.js +1 -1
- package/dist/index.es162.js +1 -1
- package/dist/index.es163.js +1 -1
- package/dist/index.es164.js +1 -1
- package/dist/index.es165.js +1 -1
- package/dist/index.es166.js +1 -1
- package/dist/index.es167.js +1 -1
- package/dist/index.es168.js +1 -1
- package/dist/index.es177.js +1 -1
- package/dist/index.es180.js +1 -1
- package/dist/index.es181.js +1 -1
- package/dist/index.es182.js +1 -1
- package/dist/index.es186.js +2 -2
- package/dist/index.es187.js +1 -1
- package/dist/index.es188.js +7 -7
- package/dist/index.es189.js +1 -1
- package/dist/index.es192.js +1 -1
- package/dist/index.es198.js +1 -1
- package/dist/index.es199.js +1 -1
- package/dist/index.es200.js +13 -13
- package/dist/index.es201.js +1 -1
- package/dist/index.es202.js +3 -3
- package/dist/index.es203.js +2 -2
- package/dist/index.es206.js +3 -3
- package/dist/index.es207.js +8 -8
- package/dist/index.es209.js +4 -4
- package/dist/index.es210.js +4 -4
- package/dist/index.es211.js +8 -8
- package/dist/index.es212.js +15 -15
- package/dist/index.es213.js +2 -2
- package/dist/index.es214.js +2 -2
- package/dist/index.es216.js +25 -11
- package/dist/index.es216.js.map +1 -1
- package/dist/index.es217.js +24 -35
- package/dist/index.es217.js.map +1 -1
- package/dist/index.es218.js +9 -77
- package/dist/index.es218.js.map +1 -1
- package/dist/index.es219.js +34 -10
- package/dist/index.es219.js.map +1 -1
- package/dist/index.es220.js +78 -11
- package/dist/index.es220.js.map +1 -1
- package/dist/index.es221.js +11 -4
- package/dist/index.es221.js.map +1 -1
- package/dist/index.es222.js +3 -179
- package/dist/index.es222.js.map +1 -1
- package/dist/index.es223.js +45 -21
- package/dist/index.es223.js.map +1 -1
- package/dist/index.es224.js +13 -24
- package/dist/index.es224.js.map +1 -1
- package/dist/index.es225.js +47 -378
- package/dist/index.es225.js.map +1 -1
- package/dist/index.es226.js +56 -515
- package/dist/index.es226.js.map +1 -1
- package/dist/index.es227.js +6 -10
- package/dist/index.es227.js.map +1 -1
- package/dist/index.es228.js +134 -4
- package/dist/index.es228.js.map +1 -1
- package/dist/index.es229.js +16 -44
- package/dist/index.es229.js.map +1 -1
- package/dist/index.es230.js +183 -11
- package/dist/index.es230.js.map +1 -1
- package/dist/index.es231.js +213 -47
- package/dist/index.es231.js.map +1 -1
- package/dist/index.es232.js +12 -58
- package/dist/index.es232.js.map +1 -1
- package/dist/index.es233.js +196 -6
- package/dist/index.es233.js.map +1 -1
- package/dist/index.es234.js +44 -131
- package/dist/index.es234.js.map +1 -1
- package/dist/index.es235.js +10 -18
- package/dist/index.es235.js.map +1 -1
- package/dist/index.es236.js +4 -186
- package/dist/index.es236.js.map +1 -1
- package/dist/index.es237.js +10 -216
- package/dist/index.es237.js.map +1 -1
- package/dist/index.es238.js +12 -12
- package/dist/index.es238.js.map +1 -1
- package/dist/index.es239.js +3 -196
- package/dist/index.es239.js.map +1 -1
- package/dist/index.es240.js +178 -45
- package/dist/index.es240.js.map +1 -1
- package/dist/index.es241.js +21 -9
- package/dist/index.es241.js.map +1 -1
- package/dist/index.es242.js +25 -4
- package/dist/index.es242.js.map +1 -1
- package/dist/index.es243.js +379 -25
- package/dist/index.es243.js.map +1 -1
- package/dist/index.es244.js +515 -71
- package/dist/index.es244.js.map +1 -1
- package/dist/index.es245.js +28 -6
- package/dist/index.es245.js.map +1 -1
- package/dist/index.es246.js +75 -19
- package/dist/index.es246.js.map +1 -1
- package/dist/index.es247.js +5 -70
- package/dist/index.es247.js.map +1 -1
- package/dist/index.es248.js +17 -68
- package/dist/index.es248.js.map +1 -1
- package/dist/index.es249.js +68 -68
- package/dist/index.es249.js.map +1 -1
- package/dist/index.es250.js +68 -2
- package/dist/index.es250.js.map +1 -1
- package/dist/index.es251.js +71 -2
- package/dist/index.es251.js.map +1 -1
- package/dist/index.es252.js +2 -91
- package/dist/index.es252.js.map +1 -1
- package/dist/index.es253.js +2 -86
- package/dist/index.es253.js.map +1 -1
- package/dist/index.es254.js +87 -38
- package/dist/index.es254.js.map +1 -1
- package/dist/index.es255.js +76 -58
- package/dist/index.es255.js.map +1 -1
- package/dist/index.es256.js +42 -2
- package/dist/index.es256.js.map +1 -1
- package/dist/index.es257.js +66 -1632
- package/dist/index.es257.js.map +1 -1
- package/dist/index.es258.js +2 -35
- package/dist/index.es258.js.map +1 -1
- package/dist/index.es259.js +1609 -241
- package/dist/index.es259.js.map +1 -1
- package/dist/index.es260.js +34 -3
- package/dist/index.es260.js.map +1 -1
- package/dist/index.es261.js +266 -21
- package/dist/index.es261.js.map +1 -1
- package/dist/index.es262.js +3 -1339
- package/dist/index.es262.js.map +1 -1
- package/dist/index.es263.js +20 -49
- package/dist/index.es263.js.map +1 -1
- package/dist/index.es264.js +1339 -5
- package/dist/index.es264.js.map +1 -1
- package/dist/index.es265.js +50 -5
- package/dist/index.es265.js.map +1 -1
- package/dist/index.es266.js +5 -24
- package/dist/index.es266.js.map +1 -1
- package/dist/index.es267.js +5 -25
- package/dist/index.es267.js.map +1 -1
- package/dist/index.es268.js +24 -23
- package/dist/index.es268.js.map +1 -1
- package/dist/index.es269.js +14 -22
- package/dist/index.es269.js.map +1 -1
- package/dist/index.es270.js +17 -15
- package/dist/index.es270.js.map +1 -1
- package/dist/index.es271.js +23 -17
- package/dist/index.es271.js.map +1 -1
- package/dist/index.es273.js +1 -1
- package/dist/index.es274.js +1 -1
- package/dist/index.es275.js +1 -1
- package/dist/index.es276.js +1 -1
- package/dist/index.es277.js +2 -2
- package/dist/index.es278.js +1 -1
- package/dist/index.es279.js +5 -5
- package/dist/index.es280.js +2 -2
- package/dist/index.es281.js +6 -6
- package/dist/index.es282.js +2 -2
- package/dist/index.es292.js +3 -3
- package/dist/index.es298.js +3 -3
- package/dist/index.es310.js +3 -3
- package/dist/index.es427.js +1 -1
- package/dist/index.es428.js +1 -1
- package/dist/index.es431.js +1 -1
- package/dist/index.es456.js +73 -40
- package/dist/index.es456.js.map +1 -1
- package/dist/index.es457.js +14 -18
- package/dist/index.es457.js.map +1 -1
- package/dist/index.es458.js +28 -71
- package/dist/index.es458.js.map +1 -1
- package/dist/index.es459.js +40 -13
- package/dist/index.es459.js.map +1 -1
- package/dist/index.es460.js +5 -29
- package/dist/index.es460.js.map +1 -1
- package/dist/index.es461.js +16 -40
- package/dist/index.es461.js.map +1 -1
- package/dist/index.es462.js +9 -6
- package/dist/index.es462.js.map +1 -1
- package/dist/index.es463.js +16 -17
- package/dist/index.es463.js.map +1 -1
- package/dist/index.es464.js +16 -9
- package/dist/index.es464.js.map +1 -1
- package/dist/index.es465.js +23 -15
- package/dist/index.es465.js.map +1 -1
- package/dist/index.es466.js +45 -15
- package/dist/index.es466.js.map +1 -1
- package/dist/index.es467.js +13 -22
- package/dist/index.es467.js.map +1 -1
- package/dist/index.es468.js +25 -46
- package/dist/index.es468.js.map +1 -1
- package/dist/index.es469.js +52 -15
- package/dist/index.es469.js.map +1 -1
- package/dist/index.es470.js +27 -25
- package/dist/index.es470.js.map +1 -1
- package/dist/index.es471.js +4 -51
- package/dist/index.es471.js.map +1 -1
- package/dist/index.es472.js +4 -26
- package/dist/index.es472.js.map +1 -1
- package/dist/index.es473.js +4 -4
- package/dist/index.es473.js.map +1 -1
- package/dist/index.es474.js +12 -4
- package/dist/index.es474.js.map +1 -1
- package/dist/index.es475.js +40 -5
- package/dist/index.es475.js.map +1 -1
- package/dist/index.es476.js +18 -13
- package/dist/index.es476.js.map +1 -1
- package/dist/index.es477.js +11 -9
- package/dist/index.es477.js.map +1 -1
- package/dist/index.es478.js +9 -12
- package/dist/index.es478.js.map +1 -1
- package/dist/index.es479.js +4 -4
- package/dist/index.es479.js.map +1 -1
- package/dist/index.es480.js +11 -12
- package/dist/index.es480.js.map +1 -1
- package/dist/index.es481.js +27 -9
- package/dist/index.es481.js.map +1 -1
- package/dist/index.es482.js +29 -6
- package/dist/index.es482.js.map +1 -1
- package/dist/index.es483.js +5 -15
- package/dist/index.es483.js.map +1 -1
- package/dist/index.es494.js +2 -2
- package/dist/index.es496.js +8 -27
- package/dist/index.es496.js.map +1 -1
- package/dist/index.es497.js +13 -29
- package/dist/index.es497.js.map +1 -1
- package/dist/index.es498.js +5 -5
- package/dist/index.es498.js.map +1 -1
- package/dist/index.es499.js +13 -11
- package/dist/index.es499.js.map +1 -1
- package/dist/index.es50.js +211 -170
- package/dist/index.es50.js.map +1 -1
- package/dist/index.es500.js +9 -9
- package/dist/index.es500.js.map +1 -1
- package/dist/index.es501.js +5 -4
- package/dist/index.es501.js.map +1 -1
- package/dist/index.es502.js +15 -12
- package/dist/index.es502.js.map +1 -1
- package/dist/index.es503.js +10 -2
- package/dist/index.es503.js.map +1 -1
- package/dist/index.es504.js +2 -322
- package/dist/index.es504.js.map +1 -1
- package/dist/index.es505.js +322 -2
- package/dist/index.es505.js.map +1 -1
- package/dist/index.es506.js +2 -2
- package/dist/index.es507.js +2 -2
- package/dist/index.es508.js +2 -15
- package/dist/index.es508.js.map +1 -1
- package/dist/index.es509.js +15 -2
- package/dist/index.es509.js.map +1 -1
- package/dist/index.es510.js +2 -2
- package/dist/index.es511.js +2 -48
- package/dist/index.es511.js.map +1 -1
- package/dist/index.es512.js +36 -26
- package/dist/index.es512.js.map +1 -1
- package/dist/index.es513.js +36 -41
- package/dist/index.es513.js.map +1 -1
- package/dist/index.es514.js +43 -2
- package/dist/index.es514.js.map +1 -1
- package/dist/index.es515.js +2 -16
- package/dist/index.es515.js.map +1 -1
- package/dist/index.es516.js +16 -2
- package/dist/index.es516.js.map +1 -1
- package/dist/index.es517.js +2 -16
- package/dist/index.es517.js.map +1 -1
- package/dist/index.es518.js +13 -13
- package/dist/index.es518.js.map +1 -1
- package/dist/index.es519.js +14 -16
- package/dist/index.es519.js.map +1 -1
- package/dist/index.es520.js +16 -18
- package/dist/index.es520.js.map +1 -1
- package/dist/index.es521.js +20 -2
- package/dist/index.es521.js.map +1 -1
- package/dist/index.es522.js +2 -10
- package/dist/index.es522.js.map +1 -1
- package/dist/index.es523.js +6 -29
- package/dist/index.es523.js.map +1 -1
- package/dist/index.es524.js +29 -5
- package/dist/index.es524.js.map +1 -1
- package/dist/index.es525.js +5 -29
- package/dist/index.es525.js.map +1 -1
- package/dist/index.es526.js +29 -5
- package/dist/index.es526.js.map +1 -1
- package/dist/index.es527.js +5 -6
- package/dist/index.es527.js.map +1 -1
- package/dist/index.es531.js +1 -1
- package/dist/index.es532.js +1 -1
- package/dist/index.es555.js +1 -1
- package/dist/index.es557.js +1 -1
- package/dist/index.es559.js +1 -1
- package/dist/index.es573.js +1 -1
- package/dist/index.es574.js +2 -2
- package/dist/index.es583.js +1 -1
- package/dist/index.es584.js +3 -5
- package/dist/index.es584.js.map +1 -1
- package/dist/index.es585.js +5 -3
- package/dist/index.es585.js.map +1 -1
- package/dist/index.es587.js +8 -8
- package/dist/index.es591.js +1 -1
- package/dist/index.es593.js +5 -5
- package/dist/index.es594.js +1 -1
- package/dist/index.es595.js +156 -2
- package/dist/index.es595.js.map +1 -1
- package/dist/index.es596.js +104 -2
- package/dist/index.es596.js.map +1 -1
- package/dist/index.es597.js +16 -21
- package/dist/index.es597.js.map +1 -1
- package/dist/index.es598.js +7 -156
- package/dist/index.es598.js.map +1 -1
- package/dist/index.es599.js +2 -104
- package/dist/index.es599.js.map +1 -1
- package/dist/index.es600.js +2 -17
- package/dist/index.es600.js.map +1 -1
- package/dist/index.es601.js +22 -2
- package/dist/index.es601.js.map +1 -1
- package/dist/index.es602.js +2 -96
- package/dist/index.es602.js.map +1 -1
- package/dist/index.es603.js +86 -265
- package/dist/index.es603.js.map +1 -1
- package/dist/index.es604.js +227 -81
- package/dist/index.es604.js.map +1 -1
- package/dist/index.es605.js +81 -120
- package/dist/index.es605.js.map +1 -1
- package/dist/index.es606.js +119 -82
- package/dist/index.es606.js.map +1 -1
- package/dist/index.es607.js +75 -72
- package/dist/index.es607.js.map +1 -1
- package/dist/index.es608.js +76 -81
- package/dist/index.es608.js.map +1 -1
- package/dist/index.es609.js +80 -75
- package/dist/index.es609.js.map +1 -1
- package/dist/index.es610.js +76 -65
- package/dist/index.es610.js.map +1 -1
- package/dist/index.es611.js +53 -53
- package/dist/index.es611.js.map +1 -1
- package/dist/index.es612.js +35 -35
- package/dist/index.es612.js.map +1 -1
- package/dist/index.es613.js +56 -56
- package/dist/index.es613.js.map +1 -1
- package/dist/index.es614.js +69 -77
- package/dist/index.es614.js.map +1 -1
- package/dist/index.es615.js +72 -78
- package/dist/index.es615.js.map +1 -1
- package/dist/index.es616.js +75 -72
- package/dist/index.es616.js.map +1 -1
- package/dist/index.es617.js +121 -26
- package/dist/index.es617.js.map +1 -1
- package/dist/index.es618.js +33 -2
- package/dist/index.es618.js.map +1 -1
- package/dist/index.es619.js +2 -21
- package/dist/index.es619.js.map +1 -1
- package/dist/index.es620.js +21 -2
- package/dist/index.es620.js.map +1 -1
- package/dist/index.es621.js +2 -43
- package/dist/index.es621.js.map +1 -1
- package/dist/index.es622.js +26 -26
- package/dist/index.es622.js.map +1 -1
- package/dist/index.es623.js +30 -30
- package/dist/index.es623.js.map +1 -1
- package/dist/index.es624.js +23 -23
- package/dist/index.es624.js.map +1 -1
- package/dist/index.es625.js +30 -30
- package/dist/index.es625.js.map +1 -1
- package/dist/index.es626.js +22 -22
- package/dist/index.es626.js.map +1 -1
- package/dist/index.es627.js +30 -30
- package/dist/index.es627.js.map +1 -1
- package/dist/index.es628.js +31 -31
- package/dist/index.es628.js.map +1 -1
- package/dist/index.es629.js +22 -23
- package/dist/index.es629.js.map +1 -1
- package/dist/index.es630.js +37 -34
- package/dist/index.es630.js.map +1 -1
- package/dist/index.es631.js +40 -6
- package/dist/index.es631.js.map +1 -1
- package/dist/index.es632.js +2 -2
- package/dist/index.es633.js +12 -5
- package/dist/index.es633.js.map +1 -1
- package/dist/index.es634.js +34 -3
- package/dist/index.es634.js.map +1 -1
- package/dist/index.es635.js +18 -107
- package/dist/index.es635.js.map +1 -1
- package/dist/index.es636.js +12 -2
- package/dist/index.es636.js.map +1 -1
- package/dist/index.es637.js +2 -2
- package/dist/index.es638.js +2 -12
- package/dist/index.es638.js.map +1 -1
- package/dist/index.es639.js +2 -34
- package/dist/index.es639.js.map +1 -1
- package/dist/index.es640.js +12 -19
- package/dist/index.es640.js.map +1 -1
- package/dist/index.es641.js +9 -9
- package/dist/index.es641.js.map +1 -1
- package/dist/index.es642.js +12 -2
- package/dist/index.es642.js.map +1 -1
- package/dist/index.es643.js +2 -14
- package/dist/index.es643.js.map +1 -1
- package/dist/index.es644.js +5 -12
- package/dist/index.es644.js.map +1 -1
- package/dist/index.es645.js +3 -12
- package/dist/index.es645.js.map +1 -1
- package/dist/index.es646.js +110 -2
- package/dist/index.es646.js.map +1 -1
- package/dist/index.es648.js +1 -1
- package/dist/index.es649.js +2 -2
- package/dist/index.es650.js +6 -3
- package/dist/index.es650.js.map +1 -1
- package/dist/index.es651.js +3 -6
- package/dist/index.es651.js.map +1 -1
- package/dist/index.es659.js +1 -1
- package/dist/index.es661.js +2 -109
- package/dist/index.es661.js.map +1 -1
- package/dist/index.es662.js +2 -2
- package/dist/index.es662.js.map +1 -1
- package/dist/index.es663.js +109 -2
- package/dist/index.es663.js.map +1 -1
- package/dist/index.es668.js +478 -61
- package/dist/index.es668.js.map +1 -1
- package/dist/index.es669.js +45 -4
- package/dist/index.es669.js.map +1 -1
- package/dist/index.es670.js +24 -8
- package/dist/index.es670.js.map +1 -1
- package/dist/index.es671.js +25 -8
- package/dist/index.es671.js.map +1 -1
- package/dist/index.es672.js +60 -13
- package/dist/index.es672.js.map +1 -1
- package/dist/index.es673.js +5 -19
- package/dist/index.es673.js.map +1 -1
- package/dist/index.es674.js +7 -10
- package/dist/index.es674.js.map +1 -1
- package/dist/index.es675.js +6 -2
- package/dist/index.es675.js.map +1 -1
- package/dist/index.es676.js +18 -482
- package/dist/index.es676.js.map +1 -1
- package/dist/index.es677.js +19 -46
- package/dist/index.es677.js.map +1 -1
- package/dist/index.es678.js +11 -24
- package/dist/index.es678.js.map +1 -1
- package/dist/index.es679.js +4 -25
- package/dist/index.es679.js.map +1 -1
- package/dist/index.es680.js +12 -33
- package/dist/index.es680.js.map +1 -1
- package/dist/index.es681.js +14 -12
- package/dist/index.es681.js.map +1 -1
- package/dist/index.es682.js +7 -8
- package/dist/index.es682.js.map +1 -1
- package/dist/index.es683.js +13 -13
- package/dist/index.es683.js.map +1 -1
- package/dist/index.es684.js +20 -11
- package/dist/index.es684.js.map +1 -1
- package/dist/index.es685.js +2 -7
- package/dist/index.es685.js.map +1 -1
- package/dist/index.es686.js +12 -11
- package/dist/index.es686.js.map +1 -1
- package/dist/index.es687.js +305 -22
- package/dist/index.es687.js.map +1 -1
- package/dist/index.es688.js +22 -2
- package/dist/index.es688.js.map +1 -1
- package/dist/index.es689.js +33 -13
- package/dist/index.es689.js.map +1 -1
- package/dist/index.es690.js +12 -306
- package/dist/index.es690.js.map +1 -1
- package/dist/index.es691.js +8 -22
- package/dist/index.es691.js.map +1 -1
- package/dist/index.es692.js +112 -49
- package/dist/index.es692.js.map +1 -1
- package/dist/index.es693.js +54 -8
- package/dist/index.es693.js.map +1 -1
- package/dist/index.es694.js +9 -14
- package/dist/index.es694.js.map +1 -1
- package/dist/index.es695.js +14 -60
- package/dist/index.es695.js.map +1 -1
- package/dist/index.es696.js +59 -64
- package/dist/index.es696.js.map +1 -1
- package/dist/index.es697.js +65 -2
- package/dist/index.es697.js.map +1 -1
- package/dist/index.es698.js +2 -3
- package/dist/index.es698.js.map +1 -1
- package/dist/index.es699.js +3 -3
- package/dist/index.es699.js.map +1 -1
- package/dist/index.es70.js +15 -12
- package/dist/index.es70.js.map +1 -1
- package/dist/index.es700.js +4 -118
- package/dist/index.es700.js.map +1 -1
- package/dist/index.es701.js +14 -2
- package/dist/index.es701.js.map +1 -1
- package/dist/index.es702.js +2 -151
- package/dist/index.es702.js.map +1 -1
- package/dist/index.es703.js +2 -2
- package/dist/index.es704.js +2 -6
- package/dist/index.es704.js.map +1 -1
- package/dist/index.es705.js +2 -2
- package/dist/index.es706.js +2 -148
- package/dist/index.es706.js.map +1 -1
- package/dist/index.es708.js +2 -138
- package/dist/index.es708.js.map +1 -1
- package/dist/index.es709.js +2 -3
- package/dist/index.es709.js.map +1 -1
- package/dist/index.es71.js +26 -24
- package/dist/index.es71.js.map +1 -1
- package/dist/index.es710.js +2 -14
- package/dist/index.es710.js.map +1 -1
- package/dist/index.es713.js +2 -2
- package/dist/index.es714.js +151 -2
- package/dist/index.es714.js.map +1 -1
- package/dist/index.es715.js +2 -2
- package/dist/index.es716.js +6 -2
- package/dist/index.es716.js.map +1 -1
- package/dist/index.es717.js +2 -2
- package/dist/index.es718.js +148 -2
- package/dist/index.es718.js.map +1 -1
- package/dist/index.es719.js +2 -2
- package/dist/index.es720.js +138 -2
- package/dist/index.es720.js.map +1 -1
- package/dist/index.es723.js +4 -4
- package/dist/index.es724.js +3 -3
- package/dist/index.es725.js +3 -3
- package/dist/index.es726.js +3 -3
- package/dist/index.es727.js +3 -3
- package/dist/index.es728.js +3 -3
- package/dist/index.es740.js +2 -2
- package/dist/index.es741.js +2 -2
- package/dist/index.es742.js +2 -69
- package/dist/index.es742.js.map +1 -1
- package/dist/index.es743.js +2 -14
- package/dist/index.es743.js.map +1 -1
- package/dist/index.es744.js +2 -60
- package/dist/index.es744.js.map +1 -1
- package/dist/index.es745.js +14 -2
- package/dist/index.es745.js.map +1 -1
- package/dist/index.es746.js +2 -2
- package/dist/index.es747.js +2 -2
- package/dist/index.es748.js +2 -14
- package/dist/index.es748.js.map +1 -1
- package/dist/index.es750.js +69 -2
- package/dist/index.es750.js.map +1 -1
- package/dist/index.es751.js +14 -2
- package/dist/index.es751.js.map +1 -1
- package/dist/index.es752.js +60 -2
- package/dist/index.es752.js.map +1 -1
- package/dist/index.es753.js +1 -1
- package/dist/index.es766.js +30 -2
- package/dist/index.es766.js.map +1 -1
- package/dist/index.es767.js +2 -30
- package/dist/index.es767.js.map +1 -1
- package/dist/index.es768.js +2 -2
- package/dist/index.es77.js +1 -1
- package/dist/index.es770.js +2 -2
- package/dist/index.es772.js +2 -2
- package/dist/index.es774.js +2 -2
- package/dist/index.es775.js +2 -2
- package/dist/index.es776.js +2 -2
- package/dist/index.es777.js +1 -1
- package/dist/index.es784.js +21 -11
- package/dist/index.es784.js.map +1 -1
- package/dist/index.es785.js +11 -26
- package/dist/index.es785.js.map +1 -1
- package/dist/index.es786.js +27 -4
- package/dist/index.es786.js.map +1 -1
- package/dist/index.es787.js +4 -22
- package/dist/index.es787.js.map +1 -1
- package/dist/index.es806.js +1 -1
- package/dist/index.es811.js +6 -6
- package/dist/index.es812.js +13 -16
- package/dist/index.es812.js.map +1 -1
- package/dist/index.es813.js +18 -39
- package/dist/index.es813.js.map +1 -1
- package/dist/index.es814.js +39 -12
- package/dist/index.es814.js.map +1 -1
- package/dist/index.es815.js +12 -37
- package/dist/index.es815.js.map +1 -1
- package/dist/index.es816.js +36 -38
- package/dist/index.es816.js.map +1 -1
- package/dist/index.es817.js +39 -12
- package/dist/index.es817.js.map +1 -1
- package/dist/index.es818.js +8 -11
- package/dist/index.es818.js.map +1 -1
- package/package.json +3 -3
- package/src/components/FacetTimeline.js +96 -31
- package/src/utils/Peripleo.js +9 -6
- package/src/utils/Typesense.js +3 -1
- package/types/components/EventDetailsModal.js.flow +35 -0
- package/types/components/FacetTimeline.js.flow +96 -31
- package/types/components/Icons.js.flow +12 -0
- package/types/components/PlaceDetailsPanel.js.flow +126 -0
- package/types/components/PlaceMarker.js.flow +77 -0
- package/types/components/PlaceResultsList.js.flow +137 -0
- package/types/context/I18n.js.flow +11 -0
- package/types/types/Translations.js.flow +5 -0
- package/types/utils/Peripleo.js.flow +9 -6
- package/types/utils/Typesense.js.flow +3 -1
- package/types/utils/test.mjs.flow +37 -0
package/dist/index.es259.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es259.js","sources":["../../../node_modules/redux/es/redux.js"],"sourcesContent":["import _objectSpread from '@babel/runtime/helpers/esm/objectSpread2';\n\n/**\n * Adapted from React: https://github.com/facebook/react/blob/master/packages/shared/formatProdErrorMessage.js\n *\n * Do not require this module directly! Use normal throw error calls. These messages will be replaced with error codes\n * during build.\n * @param {number} code\n */\nfunction formatProdErrorMessage(code) {\n return \"Minified Redux error #\" + code + \"; visit https://redux.js.org/Errors?code=\" + code + \" for the full message or \" + 'use the non-minified dev environment for full errors. ';\n}\n\n// Inlined version of the `symbol-observable` polyfill\nvar $$observable = (function () {\n return typeof Symbol === 'function' && Symbol.observable || '@@observable';\n})();\n\n/**\n * These are private action types reserved by Redux.\n * For any unknown actions, you must return the current state.\n * If the current state is undefined, you must return the initial state.\n * Do not reference these action types directly in your code.\n */\nvar randomString = function randomString() {\n return Math.random().toString(36).substring(7).split('').join('.');\n};\n\nvar ActionTypes = {\n INIT: \"@@redux/INIT\" + randomString(),\n REPLACE: \"@@redux/REPLACE\" + randomString(),\n PROBE_UNKNOWN_ACTION: function PROBE_UNKNOWN_ACTION() {\n return \"@@redux/PROBE_UNKNOWN_ACTION\" + randomString();\n }\n};\n\n/**\n * @param {any} obj The object to inspect.\n * @returns {boolean} True if the argument appears to be a plain object.\n */\nfunction isPlainObject(obj) {\n if (typeof obj !== 'object' || obj === null) return false;\n var proto = obj;\n\n while (Object.getPrototypeOf(proto) !== null) {\n proto = Object.getPrototypeOf(proto);\n }\n\n return Object.getPrototypeOf(obj) === proto;\n}\n\n// Inlined / shortened version of `kindOf` from https://github.com/jonschlinkert/kind-of\nfunction miniKindOf(val) {\n if (val === void 0) return 'undefined';\n if (val === null) return 'null';\n var type = typeof val;\n\n switch (type) {\n case 'boolean':\n case 'string':\n case 'number':\n case 'symbol':\n case 'function':\n {\n return type;\n }\n }\n\n if (Array.isArray(val)) return 'array';\n if (isDate(val)) return 'date';\n if (isError(val)) return 'error';\n var constructorName = ctorName(val);\n\n switch (constructorName) {\n case 'Symbol':\n case 'Promise':\n case 'WeakMap':\n case 'WeakSet':\n case 'Map':\n case 'Set':\n return constructorName;\n } // other\n\n\n return type.slice(8, -1).toLowerCase().replace(/\\s/g, '');\n}\n\nfunction ctorName(val) {\n return typeof val.constructor === 'function' ? val.constructor.name : null;\n}\n\nfunction isError(val) {\n return val instanceof Error || typeof val.message === 'string' && val.constructor && typeof val.constructor.stackTraceLimit === 'number';\n}\n\nfunction isDate(val) {\n if (val instanceof Date) return true;\n return typeof val.toDateString === 'function' && typeof val.getDate === 'function' && typeof val.setDate === 'function';\n}\n\nfunction kindOf(val) {\n var typeOfVal = typeof val;\n\n if (process.env.NODE_ENV !== 'production') {\n typeOfVal = miniKindOf(val);\n }\n\n return typeOfVal;\n}\n\n/**\n * @deprecated\n *\n * **We recommend using the `configureStore` method\n * of the `@reduxjs/toolkit` package**, which replaces `createStore`.\n *\n * Redux Toolkit is our recommended approach for writing Redux logic today,\n * including store setup, reducers, data fetching, and more.\n *\n * **For more details, please read this Redux docs page:**\n * **https://redux.js.org/introduction/why-rtk-is-redux-today**\n *\n * `configureStore` from Redux Toolkit is an improved version of `createStore` that\n * simplifies setup and helps avoid common bugs.\n *\n * You should not be using the `redux` core package by itself today, except for learning purposes.\n * The `createStore` method from the core `redux` package will not be removed, but we encourage\n * all users to migrate to using Redux Toolkit for all Redux code.\n *\n * If you want to use `createStore` without this visual deprecation warning, use\n * the `legacy_createStore` import instead:\n *\n * `import { legacy_createStore as createStore} from 'redux'`\n *\n */\n\nfunction createStore(reducer, preloadedState, enhancer) {\n var _ref2;\n\n if (typeof preloadedState === 'function' && typeof enhancer === 'function' || typeof enhancer === 'function' && typeof arguments[3] === 'function') {\n throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(0) : 'It looks like you are passing several store enhancers to ' + 'createStore(). This is not supported. Instead, compose them ' + 'together to a single function. See https://redux.js.org/tutorials/fundamentals/part-4-store#creating-a-store-with-enhancers for an example.');\n }\n\n if (typeof preloadedState === 'function' && typeof enhancer === 'undefined') {\n enhancer = preloadedState;\n preloadedState = undefined;\n }\n\n if (typeof enhancer !== 'undefined') {\n if (typeof enhancer !== 'function') {\n throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(1) : \"Expected the enhancer to be a function. Instead, received: '\" + kindOf(enhancer) + \"'\");\n }\n\n return enhancer(createStore)(reducer, preloadedState);\n }\n\n if (typeof reducer !== 'function') {\n throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(2) : \"Expected the root reducer to be a function. Instead, received: '\" + kindOf(reducer) + \"'\");\n }\n\n var currentReducer = reducer;\n var currentState = preloadedState;\n var currentListeners = [];\n var nextListeners = currentListeners;\n var isDispatching = false;\n /**\n * This makes a shallow copy of currentListeners so we can use\n * nextListeners as a temporary list while dispatching.\n *\n * This prevents any bugs around consumers calling\n * subscribe/unsubscribe in the middle of a dispatch.\n */\n\n function ensureCanMutateNextListeners() {\n if (nextListeners === currentListeners) {\n nextListeners = currentListeners.slice();\n }\n }\n /**\n * Reads the state tree managed by the store.\n *\n * @returns {any} The current state tree of your application.\n */\n\n\n function getState() {\n if (isDispatching) {\n throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(3) : 'You may not call store.getState() while the reducer is executing. ' + 'The reducer has already received the state as an argument. ' + 'Pass it down from the top reducer instead of reading it from the store.');\n }\n\n return currentState;\n }\n /**\n * Adds a change listener. It will be called any time an action is dispatched,\n * and some part of the state tree may potentially have changed. You may then\n * call `getState()` to read the current state tree inside the callback.\n *\n * You may call `dispatch()` from a change listener, with the following\n * caveats:\n *\n * 1. The subscriptions are snapshotted just before every `dispatch()` call.\n * If you subscribe or unsubscribe while the listeners are being invoked, this\n * will not have any effect on the `dispatch()` that is currently in progress.\n * However, the next `dispatch()` call, whether nested or not, will use a more\n * recent snapshot of the subscription list.\n *\n * 2. The listener should not expect to see all state changes, as the state\n * might have been updated multiple times during a nested `dispatch()` before\n * the listener is called. It is, however, guaranteed that all subscribers\n * registered before the `dispatch()` started will be called with the latest\n * state by the time it exits.\n *\n * @param {Function} listener A callback to be invoked on every dispatch.\n * @returns {Function} A function to remove this change listener.\n */\n\n\n function subscribe(listener) {\n if (typeof listener !== 'function') {\n throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(4) : \"Expected the listener to be a function. Instead, received: '\" + kindOf(listener) + \"'\");\n }\n\n if (isDispatching) {\n throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(5) : 'You may not call store.subscribe() while the reducer is executing. ' + 'If you would like to be notified after the store has been updated, subscribe from a ' + 'component and invoke store.getState() in the callback to access the latest state. ' + 'See https://redux.js.org/api/store#subscribelistener for more details.');\n }\n\n var isSubscribed = true;\n ensureCanMutateNextListeners();\n nextListeners.push(listener);\n return function unsubscribe() {\n if (!isSubscribed) {\n return;\n }\n\n if (isDispatching) {\n throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(6) : 'You may not unsubscribe from a store listener while the reducer is executing. ' + 'See https://redux.js.org/api/store#subscribelistener for more details.');\n }\n\n isSubscribed = false;\n ensureCanMutateNextListeners();\n var index = nextListeners.indexOf(listener);\n nextListeners.splice(index, 1);\n currentListeners = null;\n };\n }\n /**\n * Dispatches an action. It is the only way to trigger a state change.\n *\n * The `reducer` function, used to create the store, will be called with the\n * current state tree and the given `action`. Its return value will\n * be considered the **next** state of the tree, and the change listeners\n * will be notified.\n *\n * The base implementation only supports plain object actions. If you want to\n * dispatch a Promise, an Observable, a thunk, or something else, you need to\n * wrap your store creating function into the corresponding middleware. For\n * example, see the documentation for the `redux-thunk` package. Even the\n * middleware will eventually dispatch plain object actions using this method.\n *\n * @param {Object} action A plain object representing “what changed”. It is\n * a good idea to keep actions serializable so you can record and replay user\n * sessions, or use the time travelling `redux-devtools`. An action must have\n * a `type` property which may not be `undefined`. It is a good idea to use\n * string constants for action types.\n *\n * @returns {Object} For convenience, the same action object you dispatched.\n *\n * Note that, if you use a custom middleware, it may wrap `dispatch()` to\n * return something else (for example, a Promise you can await).\n */\n\n\n function dispatch(action) {\n if (!isPlainObject(action)) {\n throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(7) : \"Actions must be plain objects. Instead, the actual type was: '\" + kindOf(action) + \"'. You may need to add middleware to your store setup to handle dispatching other values, such as 'redux-thunk' to handle dispatching functions. See https://redux.js.org/tutorials/fundamentals/part-4-store#middleware and https://redux.js.org/tutorials/fundamentals/part-6-async-logic#using-the-redux-thunk-middleware for examples.\");\n }\n\n if (typeof action.type === 'undefined') {\n throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(8) : 'Actions may not have an undefined \"type\" property. You may have misspelled an action type string constant.');\n }\n\n if (isDispatching) {\n throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(9) : 'Reducers may not dispatch actions.');\n }\n\n try {\n isDispatching = true;\n currentState = currentReducer(currentState, action);\n } finally {\n isDispatching = false;\n }\n\n var listeners = currentListeners = nextListeners;\n\n for (var i = 0; i < listeners.length; i++) {\n var listener = listeners[i];\n listener();\n }\n\n return action;\n }\n /**\n * Replaces the reducer currently used by the store to calculate the state.\n *\n * You might need this if your app implements code splitting and you want to\n * load some of the reducers dynamically. You might also need this if you\n * implement a hot reloading mechanism for Redux.\n *\n * @param {Function} nextReducer The reducer for the store to use instead.\n * @returns {void}\n */\n\n\n function replaceReducer(nextReducer) {\n if (typeof nextReducer !== 'function') {\n throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(10) : \"Expected the nextReducer to be a function. Instead, received: '\" + kindOf(nextReducer));\n }\n\n currentReducer = nextReducer; // This action has a similiar effect to ActionTypes.INIT.\n // Any reducers that existed in both the new and old rootReducer\n // will receive the previous state. This effectively populates\n // the new state tree with any relevant data from the old one.\n\n dispatch({\n type: ActionTypes.REPLACE\n });\n }\n /**\n * Interoperability point for observable/reactive libraries.\n * @returns {observable} A minimal observable of state changes.\n * For more information, see the observable proposal:\n * https://github.com/tc39/proposal-observable\n */\n\n\n function observable() {\n var _ref;\n\n var outerSubscribe = subscribe;\n return _ref = {\n /**\n * The minimal observable subscription method.\n * @param {Object} observer Any object that can be used as an observer.\n * The observer object should have a `next` method.\n * @returns {subscription} An object with an `unsubscribe` method that can\n * be used to unsubscribe the observable from the store, and prevent further\n * emission of values from the observable.\n */\n subscribe: function subscribe(observer) {\n if (typeof observer !== 'object' || observer === null) {\n throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(11) : \"Expected the observer to be an object. Instead, received: '\" + kindOf(observer) + \"'\");\n }\n\n function observeState() {\n if (observer.next) {\n observer.next(getState());\n }\n }\n\n observeState();\n var unsubscribe = outerSubscribe(observeState);\n return {\n unsubscribe: unsubscribe\n };\n }\n }, _ref[$$observable] = function () {\n return this;\n }, _ref;\n } // When a store is created, an \"INIT\" action is dispatched so that every\n // reducer returns their initial state. This effectively populates\n // the initial state tree.\n\n\n dispatch({\n type: ActionTypes.INIT\n });\n return _ref2 = {\n dispatch: dispatch,\n subscribe: subscribe,\n getState: getState,\n replaceReducer: replaceReducer\n }, _ref2[$$observable] = observable, _ref2;\n}\n/**\n * Creates a Redux store that holds the state tree.\n *\n * **We recommend using `configureStore` from the\n * `@reduxjs/toolkit` package**, which replaces `createStore`:\n * **https://redux.js.org/introduction/why-rtk-is-redux-today**\n *\n * The only way to change the data in the store is to call `dispatch()` on it.\n *\n * There should only be a single store in your app. To specify how different\n * parts of the state tree respond to actions, you may combine several reducers\n * into a single reducer function by using `combineReducers`.\n *\n * @param {Function} reducer A function that returns the next state tree, given\n * the current state tree and the action to handle.\n *\n * @param {any} [preloadedState] The initial state. You may optionally specify it\n * to hydrate the state from the server in universal apps, or to restore a\n * previously serialized user session.\n * If you use `combineReducers` to produce the root reducer function, this must be\n * an object with the same shape as `combineReducers` keys.\n *\n * @param {Function} [enhancer] The store enhancer. You may optionally specify it\n * to enhance the store with third-party capabilities such as middleware,\n * time travel, persistence, etc. The only store enhancer that ships with Redux\n * is `applyMiddleware()`.\n *\n * @returns {Store} A Redux store that lets you read the state, dispatch actions\n * and subscribe to changes.\n */\n\nvar legacy_createStore = createStore;\n\n/**\n * Prints a warning in the console if it exists.\n *\n * @param {String} message The warning message.\n * @returns {void}\n */\nfunction warning(message) {\n /* eslint-disable no-console */\n if (typeof console !== 'undefined' && typeof console.error === 'function') {\n console.error(message);\n }\n /* eslint-enable no-console */\n\n\n try {\n // This error was thrown as a convenience so that if you enable\n // \"break on all exceptions\" in your console,\n // it would pause the execution at this line.\n throw new Error(message);\n } catch (e) {} // eslint-disable-line no-empty\n\n}\n\nfunction getUnexpectedStateShapeWarningMessage(inputState, reducers, action, unexpectedKeyCache) {\n var reducerKeys = Object.keys(reducers);\n var argumentName = action && action.type === ActionTypes.INIT ? 'preloadedState argument passed to createStore' : 'previous state received by the reducer';\n\n if (reducerKeys.length === 0) {\n return 'Store does not have a valid reducer. Make sure the argument passed ' + 'to combineReducers is an object whose values are reducers.';\n }\n\n if (!isPlainObject(inputState)) {\n return \"The \" + argumentName + \" has unexpected type of \\\"\" + kindOf(inputState) + \"\\\". Expected argument to be an object with the following \" + (\"keys: \\\"\" + reducerKeys.join('\", \"') + \"\\\"\");\n }\n\n var unexpectedKeys = Object.keys(inputState).filter(function (key) {\n return !reducers.hasOwnProperty(key) && !unexpectedKeyCache[key];\n });\n unexpectedKeys.forEach(function (key) {\n unexpectedKeyCache[key] = true;\n });\n if (action && action.type === ActionTypes.REPLACE) return;\n\n if (unexpectedKeys.length > 0) {\n return \"Unexpected \" + (unexpectedKeys.length > 1 ? 'keys' : 'key') + \" \" + (\"\\\"\" + unexpectedKeys.join('\", \"') + \"\\\" found in \" + argumentName + \". \") + \"Expected to find one of the known reducer keys instead: \" + (\"\\\"\" + reducerKeys.join('\", \"') + \"\\\". Unexpected keys will be ignored.\");\n }\n}\n\nfunction assertReducerShape(reducers) {\n Object.keys(reducers).forEach(function (key) {\n var reducer = reducers[key];\n var initialState = reducer(undefined, {\n type: ActionTypes.INIT\n });\n\n if (typeof initialState === 'undefined') {\n throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(12) : \"The slice reducer for key \\\"\" + key + \"\\\" returned undefined during initialization. \" + \"If the state passed to the reducer is undefined, you must \" + \"explicitly return the initial state. The initial state may \" + \"not be undefined. If you don't want to set a value for this reducer, \" + \"you can use null instead of undefined.\");\n }\n\n if (typeof reducer(undefined, {\n type: ActionTypes.PROBE_UNKNOWN_ACTION()\n }) === 'undefined') {\n throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(13) : \"The slice reducer for key \\\"\" + key + \"\\\" returned undefined when probed with a random type. \" + (\"Don't try to handle '\" + ActionTypes.INIT + \"' or other actions in \\\"redux/*\\\" \") + \"namespace. They are considered private. Instead, you must return the \" + \"current state for any unknown actions, unless it is undefined, \" + \"in which case you must return the initial state, regardless of the \" + \"action type. The initial state may not be undefined, but can be null.\");\n }\n });\n}\n/**\n * Turns an object whose values are different reducer functions, into a single\n * reducer function. It will call every child reducer, and gather their results\n * into a single state object, whose keys correspond to the keys of the passed\n * reducer functions.\n *\n * @param {Object} reducers An object whose values correspond to different\n * reducer functions that need to be combined into one. One handy way to obtain\n * it is to use ES6 `import * as reducers` syntax. The reducers may never return\n * undefined for any action. Instead, they should return their initial state\n * if the state passed to them was undefined, and the current state for any\n * unrecognized action.\n *\n * @returns {Function} A reducer function that invokes every reducer inside the\n * passed object, and builds a state object with the same shape.\n */\n\n\nfunction combineReducers(reducers) {\n var reducerKeys = Object.keys(reducers);\n var finalReducers = {};\n\n for (var i = 0; i < reducerKeys.length; i++) {\n var key = reducerKeys[i];\n\n if (process.env.NODE_ENV !== 'production') {\n if (typeof reducers[key] === 'undefined') {\n warning(\"No reducer provided for key \\\"\" + key + \"\\\"\");\n }\n }\n\n if (typeof reducers[key] === 'function') {\n finalReducers[key] = reducers[key];\n }\n }\n\n var finalReducerKeys = Object.keys(finalReducers); // This is used to make sure we don't warn about the same\n // keys multiple times.\n\n var unexpectedKeyCache;\n\n if (process.env.NODE_ENV !== 'production') {\n unexpectedKeyCache = {};\n }\n\n var shapeAssertionError;\n\n try {\n assertReducerShape(finalReducers);\n } catch (e) {\n shapeAssertionError = e;\n }\n\n return function combination(state, action) {\n if (state === void 0) {\n state = {};\n }\n\n if (shapeAssertionError) {\n throw shapeAssertionError;\n }\n\n if (process.env.NODE_ENV !== 'production') {\n var warningMessage = getUnexpectedStateShapeWarningMessage(state, finalReducers, action, unexpectedKeyCache);\n\n if (warningMessage) {\n warning(warningMessage);\n }\n }\n\n var hasChanged = false;\n var nextState = {};\n\n for (var _i = 0; _i < finalReducerKeys.length; _i++) {\n var _key = finalReducerKeys[_i];\n var reducer = finalReducers[_key];\n var previousStateForKey = state[_key];\n var nextStateForKey = reducer(previousStateForKey, action);\n\n if (typeof nextStateForKey === 'undefined') {\n var actionType = action && action.type;\n throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(14) : \"When called with an action of type \" + (actionType ? \"\\\"\" + String(actionType) + \"\\\"\" : '(unknown type)') + \", the slice reducer for key \\\"\" + _key + \"\\\" returned undefined. \" + \"To ignore an action, you must explicitly return the previous state. \" + \"If you want this reducer to hold no value, you can return null instead of undefined.\");\n }\n\n nextState[_key] = nextStateForKey;\n hasChanged = hasChanged || nextStateForKey !== previousStateForKey;\n }\n\n hasChanged = hasChanged || finalReducerKeys.length !== Object.keys(state).length;\n return hasChanged ? nextState : state;\n };\n}\n\nfunction bindActionCreator(actionCreator, dispatch) {\n return function () {\n return dispatch(actionCreator.apply(this, arguments));\n };\n}\n/**\n * Turns an object whose values are action creators, into an object with the\n * same keys, but with every function wrapped into a `dispatch` call so they\n * may be invoked directly. This is just a convenience method, as you can call\n * `store.dispatch(MyActionCreators.doSomething())` yourself just fine.\n *\n * For convenience, you can also pass an action creator as the first argument,\n * and get a dispatch wrapped function in return.\n *\n * @param {Function|Object} actionCreators An object whose values are action\n * creator functions. One handy way to obtain it is to use ES6 `import * as`\n * syntax. You may also pass a single function.\n *\n * @param {Function} dispatch The `dispatch` function available on your Redux\n * store.\n *\n * @returns {Function|Object} The object mimicking the original object, but with\n * every action creator wrapped into the `dispatch` call. If you passed a\n * function as `actionCreators`, the return value will also be a single\n * function.\n */\n\n\nfunction bindActionCreators(actionCreators, dispatch) {\n if (typeof actionCreators === 'function') {\n return bindActionCreator(actionCreators, dispatch);\n }\n\n if (typeof actionCreators !== 'object' || actionCreators === null) {\n throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(16) : \"bindActionCreators expected an object or a function, but instead received: '\" + kindOf(actionCreators) + \"'. \" + \"Did you write \\\"import ActionCreators from\\\" instead of \\\"import * as ActionCreators from\\\"?\");\n }\n\n var boundActionCreators = {};\n\n for (var key in actionCreators) {\n var actionCreator = actionCreators[key];\n\n if (typeof actionCreator === 'function') {\n boundActionCreators[key] = bindActionCreator(actionCreator, dispatch);\n }\n }\n\n return boundActionCreators;\n}\n\n/**\n * Composes single-argument functions from right to left. The rightmost\n * function can take multiple arguments as it provides the signature for\n * the resulting composite function.\n *\n * @param {...Function} funcs The functions to compose.\n * @returns {Function} A function obtained by composing the argument functions\n * from right to left. For example, compose(f, g, h) is identical to doing\n * (...args) => f(g(h(...args))).\n */\nfunction compose() {\n for (var _len = arguments.length, funcs = new Array(_len), _key = 0; _key < _len; _key++) {\n funcs[_key] = arguments[_key];\n }\n\n if (funcs.length === 0) {\n return function (arg) {\n return arg;\n };\n }\n\n if (funcs.length === 1) {\n return funcs[0];\n }\n\n return funcs.reduce(function (a, b) {\n return function () {\n return a(b.apply(void 0, arguments));\n };\n });\n}\n\n/**\n * Creates a store enhancer that applies middleware to the dispatch method\n * of the Redux store. This is handy for a variety of tasks, such as expressing\n * asynchronous actions in a concise manner, or logging every action payload.\n *\n * See `redux-thunk` package as an example of the Redux middleware.\n *\n * Because middleware is potentially asynchronous, this should be the first\n * store enhancer in the composition chain.\n *\n * Note that each middleware will be given the `dispatch` and `getState` functions\n * as named arguments.\n *\n * @param {...Function} middlewares The middleware chain to be applied.\n * @returns {Function} A store enhancer applying the middleware.\n */\n\nfunction applyMiddleware() {\n for (var _len = arguments.length, middlewares = new Array(_len), _key = 0; _key < _len; _key++) {\n middlewares[_key] = arguments[_key];\n }\n\n return function (createStore) {\n return function () {\n var store = createStore.apply(void 0, arguments);\n\n var _dispatch = function dispatch() {\n throw new Error(process.env.NODE_ENV === \"production\" ? formatProdErrorMessage(15) : 'Dispatching while constructing your middleware is not allowed. ' + 'Other middleware would not be applied to this dispatch.');\n };\n\n var middlewareAPI = {\n getState: store.getState,\n dispatch: function dispatch() {\n return _dispatch.apply(void 0, arguments);\n }\n };\n var chain = middlewares.map(function (middleware) {\n return middleware(middlewareAPI);\n });\n _dispatch = compose.apply(void 0, chain)(store.dispatch);\n return _objectSpread(_objectSpread({}, store), {}, {\n dispatch: _dispatch\n });\n };\n };\n}\n\nexport { ActionTypes as __DO_NOT_USE__ActionTypes, applyMiddleware, bindActionCreators, combineReducers, compose, createStore, legacy_createStore };\n"],"names":["formatProdErrorMessage","code","$$observable","randomString","ActionTypes","isPlainObject","obj","proto","miniKindOf","val","type","isDate","isError","constructorName","ctorName","kindOf","typeOfVal","createStore","reducer","preloadedState","enhancer","_ref2","currentReducer","currentState","currentListeners","nextListeners","isDispatching","ensureCanMutateNextListeners","getState","subscribe","listener","isSubscribed","index","dispatch","action","listeners","i","replaceReducer","nextReducer","observable","_ref","outerSubscribe","observer","observeState","unsubscribe","warning","message","getUnexpectedStateShapeWarningMessage","inputState","reducers","unexpectedKeyCache","reducerKeys","argumentName","unexpectedKeys","key","assertReducerShape","initialState","combineReducers","finalReducers","finalReducerKeys","shapeAssertionError","e","state","warningMessage","hasChanged","nextState","_i","_key","previousStateForKey","nextStateForKey","actionType","compose","_len","funcs","arg","a","b","applyMiddleware","middlewares","store","_dispatch","middlewareAPI","chain","middleware","_objectSpread"],"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AAI,aAAa,eAAehF,EAAuB,EAAE,IAAI,wHAA6H;AAAA,MAAA,GAGhNiF,IAAgB;AAAA,QAClB,UAAUF,EAAM;AAAA,QAChB,UAAU,WAAoB;AACrB,iBAAAC,EAAU,MAAM,QAAQ,SAAS;AAAA,QAC1C;AAAA,MAAA,GAEEE,IAAQJ,EAAY,IAAI,SAAUK,GAAY;AAChD,eAAOA,EAAWF,CAAa;AAAA,MAAA,CAChC;AACD,aAAAD,IAAYT,EAAQ,MAAM,QAAQW,CAAK,EAAEH,EAAM,QAAQ,GAChDK,EAAcA,EAAc,IAAIL,CAAK,GAAG,CAAA,GAAI;AAAA,QACjD,UAAUC;AAAA,MAAA,CACX;AAAA,IAAA;AAAA,EACH;AAEJ;","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"index.es259.js","sources":["../../../node_modules/@iiif/parser/dist/bundle/esm/index.mjs"],"sourcesContent":["var __defProp = Object.defineProperty;\nvar __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\nvar __publicField = (obj, key, value) => {\n __defNormalProp(obj, typeof key !== \"symbol\" ? key + \"\" : key, value);\n return value;\n};\nconst EMPTY = [];\nObject.freeze(EMPTY);\nconst emptyAnnotation = {\n id: \"https://iiif-parser/annotation\",\n type: \"Annotation\",\n behavior: EMPTY,\n label: null,\n thumbnail: EMPTY,\n summary: null,\n requiredStatement: null,\n metadata: EMPTY,\n seeAlso: EMPTY,\n homepage: EMPTY,\n logo: EMPTY,\n rendering: EMPTY,\n service: EMPTY,\n accessibility: EMPTY,\n audience: EMPTY,\n body: EMPTY,\n bodyValue: null,\n canonical: null,\n created: null,\n creator: EMPTY,\n generated: null,\n generator: EMPTY,\n modified: null,\n motivation: EMPTY,\n rights: EMPTY,\n stylesheet: null,\n target: EMPTY,\n timeMode: void 0,\n via: EMPTY,\n partOf: EMPTY\n};\nconst emptyAnnotationPage = {\n id: \"https://iiif-parser/annotation-page\",\n type: \"AnnotationPage\",\n behavior: EMPTY,\n motivation: null,\n label: null,\n thumbnail: EMPTY,\n summary: null,\n requiredStatement: null,\n metadata: EMPTY,\n rights: null,\n provider: EMPTY,\n items: EMPTY,\n seeAlso: EMPTY,\n homepage: EMPTY,\n logo: EMPTY,\n rendering: EMPTY,\n service: EMPTY\n};\nconst emptyCanvas = {\n id: \"https://iiif-parser/empty-canvas\",\n type: \"Canvas\",\n label: null,\n behavior: EMPTY,\n motivation: null,\n thumbnail: EMPTY,\n posterCanvas: null,\n accompanyingCanvas: null,\n placeholderCanvas: null,\n summary: null,\n requiredStatement: null,\n metadata: EMPTY,\n rights: null,\n navDate: null,\n provider: EMPTY,\n items: EMPTY,\n annotations: EMPTY,\n seeAlso: EMPTY,\n homepage: EMPTY,\n logo: EMPTY,\n partOf: EMPTY,\n rendering: EMPTY,\n service: EMPTY,\n duration: 0,\n height: 0,\n width: 0\n};\nconst emptyCollection = {\n id: \"https://iiif-parser/empty-collection\",\n type: \"Collection\",\n label: null,\n viewingDirection: \"left-to-right\",\n behavior: EMPTY,\n motivation: null,\n thumbnail: EMPTY,\n posterCanvas: null,\n accompanyingCanvas: null,\n placeholderCanvas: null,\n summary: null,\n requiredStatement: null,\n metadata: EMPTY,\n rights: null,\n navDate: null,\n provider: EMPTY,\n items: EMPTY,\n annotations: EMPTY,\n seeAlso: EMPTY,\n homepage: EMPTY,\n logo: EMPTY,\n partOf: EMPTY,\n rendering: EMPTY,\n service: EMPTY,\n services: EMPTY\n};\nconst emptyManifest = {\n id: \"https://iiif-parser/empty-manifest\",\n type: \"Manifest\",\n annotations: EMPTY,\n behavior: EMPTY,\n homepage: EMPTY,\n items: EMPTY,\n label: null,\n logo: EMPTY,\n metadata: EMPTY,\n motivation: null,\n navDate: null,\n provider: EMPTY,\n partOf: EMPTY,\n posterCanvas: null,\n accompanyingCanvas: null,\n placeholderCanvas: null,\n rendering: EMPTY,\n requiredStatement: null,\n rights: null,\n seeAlso: EMPTY,\n service: EMPTY,\n services: EMPTY,\n start: null,\n structures: EMPTY,\n summary: null,\n thumbnail: EMPTY,\n viewingDirection: \"left-to-right\"\n};\nconst emptyRange = {\n id: \"https://iiif-parser/empty-canvas\",\n type: \"Range\",\n label: null,\n behavior: EMPTY,\n motivation: null,\n thumbnail: EMPTY,\n posterCanvas: null,\n accompanyingCanvas: null,\n placeholderCanvas: null,\n summary: null,\n requiredStatement: null,\n metadata: EMPTY,\n rights: null,\n navDate: null,\n provider: EMPTY,\n items: EMPTY,\n annotations: EMPTY,\n seeAlso: EMPTY,\n homepage: EMPTY,\n logo: EMPTY,\n partOf: EMPTY,\n rendering: EMPTY,\n service: EMPTY,\n start: null,\n supplementary: null,\n viewingDirection: \"left-to-right\"\n};\nconst emptyAgent = {\n id: \"https://iiif-parser/empty-agent\",\n type: \"Agent\",\n label: {},\n logo: EMPTY,\n seeAlso: EMPTY,\n homepage: EMPTY\n};\nfunction ensureArray$1(maybeArray) {\n if (Array.isArray(maybeArray)) {\n return maybeArray;\n }\n return [maybeArray];\n}\nconst types$1 = [\n \"Collection\",\n \"Manifest\",\n \"Canvas\",\n \"AnnotationPage\",\n \"AnnotationCollection\",\n \"Annotation\",\n \"ContentResource\",\n \"Range\",\n \"Service\",\n \"Selector\",\n \"Agent\"\n];\nfunction identifyResource$1(resource) {\n if (typeof resource === \"undefined\" || resource === null) {\n throw new Error(\"Null or undefined is not a valid entity.\");\n }\n if (Array.isArray(resource)) {\n throw new Error(\"Array is not a valid entity\");\n }\n if (typeof resource !== \"object\") {\n throw new Error(`${typeof resource} is not a valid entity`);\n }\n if (typeof resource.type === \"string\") {\n const hasType = types$1.indexOf(resource.type);\n if (hasType !== -1) {\n return types$1[hasType];\n }\n }\n if (resource.profile) {\n return \"Service\";\n }\n throw new Error(\"Resource type is not known\");\n}\nclass Traverse$1 {\n constructor(traversals, options = {}) {\n __publicField(this, \"traversals\");\n __publicField(this, \"options\");\n this.traversals = {\n collection: [],\n manifest: [],\n canvas: [],\n annotationCollection: [],\n annotationPage: [],\n annotation: [],\n contentResource: [],\n choice: [],\n range: [],\n service: [],\n agent: [],\n ...traversals\n };\n this.options = {\n allowUndefinedReturn: false,\n ...options\n };\n }\n static all(traversal) {\n return new Traverse$1({\n collection: [traversal],\n manifest: [traversal],\n canvas: [traversal],\n annotationCollection: [traversal],\n annotationPage: [traversal],\n annotation: [traversal],\n contentResource: [traversal],\n choice: [traversal],\n range: [traversal],\n service: [traversal]\n });\n }\n traverseDescriptive(resource) {\n if (resource.thumbnail) {\n resource.thumbnail = resource.thumbnail.map(\n (thumbnail) => this.traverseType(thumbnail, this.traversals.contentResource)\n );\n }\n if (resource.provider) {\n resource.provider = resource.provider.map((agent) => this.traverseAgent(agent));\n }\n return resource;\n }\n traverseLinking(resource) {\n if (resource.seeAlso) {\n resource.seeAlso = resource.seeAlso.map((content) => this.traverseType(content, this.traversals.contentResource));\n }\n if (resource.service) {\n resource.service = ensureArray$1(resource.service).map(\n (service) => this.traverseType(service, this.traversals.service)\n );\n }\n if (resource.services) {\n resource.services = resource.services.map((service) => this.traverseType(service, this.traversals.service));\n }\n if (resource.logo) {\n resource.logo = resource.logo.map((content) => this.traverseType(content, this.traversals.contentResource));\n }\n if (resource.homepage) {\n resource.homepage = resource.homepage.map(\n (homepage) => this.traverseType(homepage, this.traversals.contentResource)\n );\n }\n if (resource.partOf) {\n resource.partOf = resource.partOf.map((partOf) => {\n if (typeof partOf === \"string\" || !partOf.type) {\n return this.traverseType(partOf, this.traversals.contentResource);\n }\n if (partOf.type === \"Canvas\") {\n return this.traverseType(partOf, this.traversals.canvas);\n }\n if (partOf.type === \"AnnotationCollection\") {\n return this.traverseType(partOf, this.traversals.annotationCollection);\n }\n if (partOf.type === \"Collection\") {\n return this.traverseType(partOf, this.traversals.collection);\n }\n return this.traverseType(partOf, this.traversals.contentResource);\n });\n }\n if (resource.start) {\n resource.start = resource.start ? this.traverseType(resource.start, this.traversals.canvas) : null;\n }\n if (resource.rendering) {\n resource.rendering = resource.rendering.map(\n (content) => this.traverseType(content, this.traversals.contentResource)\n );\n }\n if (resource.supplementary) {\n resource.supplementary = resource.supplementary.map(\n (content) => this.traverseType(content, this.traversals.contentResource)\n );\n }\n return resource;\n }\n traverseCollectionItems(collection) {\n if (collection.items) {\n collection.items.map((collectionOrManifest) => {\n if (collectionOrManifest.type === \"Collection\") {\n return this.traverseCollection(collectionOrManifest);\n }\n return this.traverseManifest(collectionOrManifest);\n });\n }\n return collection;\n }\n traverseCollection(collection) {\n return this.traverseType(\n this.traverseDescriptive(\n this.traverseInlineAnnotationPages(\n this.traverseLinking(this.traversePosterCanvas(this.traverseCollectionItems(collection)))\n )\n ),\n this.traversals.collection\n );\n }\n traverseManifestItems(manifest) {\n if (manifest.items) {\n manifest.items = manifest.items.map((canvas) => this.traverseCanvas(canvas));\n }\n return manifest;\n }\n traverseManifestStructures(manifest) {\n if (manifest.structures) {\n manifest.structures = manifest.structures.map((range) => this.traverseRange(range));\n }\n return manifest;\n }\n traverseManifest(manifest) {\n return this.traverseType(\n this.traverseInlineAnnotationPages(\n this.traverseManifestStructures(\n this.traversePosterCanvas(\n this.traverseDescriptive(this.traverseLinking(this.traverseManifestItems(manifest)))\n )\n )\n ),\n this.traversals.manifest\n );\n }\n traverseCanvasItems(canvas) {\n canvas.items = (canvas.items || []).map((annotationPage) => {\n return this.traverseAnnotationPage(annotationPage);\n });\n return canvas;\n }\n traverseInlineAnnotationPages(resource) {\n if (typeof resource === \"string\" || !resource) {\n return resource;\n }\n if (resource.annotations) {\n resource.annotations = resource.annotations.map((annotationPage) => {\n return this.traverseAnnotationPage(annotationPage);\n });\n }\n return resource;\n }\n traverseCanvas(canvas) {\n return this.traverseType(\n this.traverseInlineAnnotationPages(\n this.traversePosterCanvas(this.traverseDescriptive(this.traverseLinking(this.traverseCanvasItems(canvas))))\n ),\n this.traversals.canvas\n );\n }\n traverseAnnotationPageItems(annotationPage) {\n if (annotationPage.items) {\n annotationPage.items = annotationPage.items.map((annotation) => {\n return this.traverseAnnotation(annotation);\n });\n }\n return annotationPage;\n }\n traverseAnnotationPage(annotationPageJson) {\n return this.traverseType(\n this.traverseDescriptive(this.traverseLinking(this.traverseAnnotationPageItems(annotationPageJson))),\n this.traversals.annotationPage\n );\n }\n traverseAnnotationBody(annotation) {\n if (Array.isArray(annotation.body)) {\n annotation.body = annotation.body.map((annotationBody) => {\n return this.traverseContentResource(annotationBody);\n });\n } else if (annotation.body) {\n annotation.body = this.traverseContentResource(annotation.body);\n }\n return annotation;\n }\n traversePosterCanvas(json) {\n if (json.posterCanvas) {\n json.posterCanvas = this.traverseCanvas(json.posterCanvas);\n }\n if (json.placeholderCanvas) {\n json.placeholderCanvas = this.traverseCanvas(json.placeholderCanvas);\n }\n if (json.accompanyingCanvas) {\n json.accompanyingCanvas = this.traverseCanvas(json.accompanyingCanvas);\n }\n return json;\n }\n traverseAnnotation(annotationJson) {\n return this.traverseType(\n this.traverseLinking(this.traverseAnnotationBody(annotationJson)),\n this.traversals.annotation\n );\n }\n traverseContentResourceLinking(contentResourceJson) {\n if (typeof contentResourceJson === \"string\" || !contentResourceJson) {\n return contentResourceJson;\n }\n if (contentResourceJson && contentResourceJson.service) {\n contentResourceJson.service = ensureArray$1(\n contentResourceJson.service || []\n ).map((service) => this.traverseType(service, this.traversals.service));\n }\n return contentResourceJson;\n }\n traverseContentResource(contentResourceJson) {\n if (contentResourceJson.type === \"Choice\") {\n contentResourceJson.items = contentResourceJson.items.map((choiceItem) => {\n return this.traverseContentResource(choiceItem);\n });\n }\n return this.traverseType(\n this.traverseInlineAnnotationPages(this.traverseContentResourceLinking(contentResourceJson)),\n this.traversals.contentResource\n );\n }\n traverseRangeRanges(range) {\n if (range.items) {\n range.items = range.items.map((rangeOrManifest) => {\n if (typeof rangeOrManifest === \"string\") {\n return this.traverseCanvas({ id: rangeOrManifest, type: \"Canvas\" });\n }\n if (rangeOrManifest.type === \"Manifest\") {\n return this.traverseManifest(rangeOrManifest);\n }\n return this.traverseRange(rangeOrManifest);\n });\n }\n return range;\n }\n traverseRange(range) {\n return this.traverseType(\n this.traversePosterCanvas(this.traverseDescriptive(this.traverseLinking(this.traverseRangeRanges(range)))),\n this.traversals.range\n );\n }\n traverseAgent(agent) {\n return this.traverseType(\n this.traverseDescriptive(this.traverseLinking(agent)),\n this.traversals.agent\n );\n }\n traverseType(object, traversals) {\n return traversals.reduce((acc, traversal) => {\n const returnValue = traversal(acc);\n if (typeof returnValue === \"undefined\" && !this.options.allowUndefinedReturn) {\n return acc;\n }\n return returnValue;\n }, object);\n }\n traverseService(service) {\n return this.traverseType(service, this.traversals.service);\n }\n traverseUnknown(resource) {\n const type = identifyResource$1(resource);\n switch (type) {\n case \"Collection\":\n return this.traverseCollection(resource);\n case \"Manifest\":\n return this.traverseManifest(resource);\n case \"Canvas\":\n return this.traverseCanvas(resource);\n case \"AnnotationPage\":\n return this.traverseAnnotationPage(resource);\n case \"Annotation\":\n return this.traverseAnnotation(resource);\n case \"ContentResource\":\n return this.traverseContentResource(resource);\n case \"Range\":\n return this.traverseRange(resource);\n case \"Service\":\n return this.traverseService(resource);\n case \"Agent\":\n return this.traverseAgent(resource);\n default:\n throw new Error(`Unknown or unsupported resource type of ${type}`);\n }\n }\n}\nconst types = [\n \"sc:Collection\",\n \"sc:Manifest\",\n \"sc:Canvas\",\n \"sc:AnnotationList\",\n \"oa:Annotation\",\n \"sc:Range\",\n \"sc:Layer\",\n \"sc:Sequence\",\n \"oa:Choice\",\n \"Service\",\n \"ContentResource\"\n];\nfunction identifyResource(resource) {\n if (typeof resource === \"undefined\" || resource === null) {\n throw new Error(\"Null or undefined is not a valid entity.\");\n }\n if (Array.isArray(resource)) {\n throw new Error(\"Array is not a valid entity\");\n }\n if (typeof resource !== \"object\") {\n throw new Error(`${typeof resource} is not a valid entity`);\n }\n if (typeof resource[\"@type\"] === \"string\") {\n const hasType = types.indexOf(resource[\"@type\"]);\n if (hasType !== -1) {\n return types[hasType];\n }\n }\n if (resource.profile) {\n return \"Service\";\n }\n if (resource.format) {\n return \"ContentResource\";\n }\n if (resource[\"@type\"]) {\n return \"ContentResource\";\n }\n throw new Error(\"Resource type is not known\");\n}\nclass Traverse {\n constructor(traversals, options = {}) {\n __publicField(this, \"traversals\");\n __publicField(this, \"options\");\n this.traversals = {\n collection: [],\n manifest: [],\n canvas: [],\n annotationList: [],\n sequence: [],\n annotation: [],\n contentResource: [],\n choice: [],\n range: [],\n service: [],\n layer: [],\n ...traversals\n };\n this.options = {\n convertPropsToArray: true,\n mergeMemberProperties: true,\n allowUndefinedReturn: false,\n ...options\n };\n }\n static all(traversal) {\n return new Traverse({\n collection: [traversal],\n manifest: [traversal],\n canvas: [traversal],\n annotationList: [traversal],\n sequence: [traversal],\n annotation: [traversal],\n contentResource: [traversal],\n choice: [traversal],\n range: [traversal],\n service: [traversal],\n layer: [traversal]\n });\n }\n traverseCollection(collection) {\n return this.traverseType(\n this.traverseDescriptive(this.traverseLinking(this.traverseCollectionItems(collection))),\n this.traversals.collection\n );\n }\n traverseCollectionItems(collection) {\n if (this.options.mergeMemberProperties) {\n const members = [\n ...(collection.manifests || []).map((manifest) => {\n if (typeof manifest === \"string\") {\n return { \"@id\": manifest, \"@type\": \"sc:Manifest\" };\n }\n return manifest;\n }),\n ...(collection.collections || []).map((subCollection) => {\n if (typeof subCollection === \"string\") {\n return { \"@id\": subCollection, \"@type\": \"sc:Collection\" };\n }\n return subCollection;\n }),\n ...collection.members || []\n ];\n delete collection.collections;\n delete collection.manifests;\n collection.members = members;\n }\n if (collection.manifests) {\n collection.manifests = collection.manifests.map(\n (manifest) => this.traverseManifest(\n typeof manifest === \"string\" ? { \"@id\": manifest, \"@type\": \"sc:Manifest\" } : manifest\n )\n );\n }\n if (collection.collections) {\n collection.collections = collection.collections.map(\n (subCollection) => this.traverseCollection(\n typeof subCollection === \"string\" ? { \"@id\": subCollection, \"@type\": \"sc:Collection\" } : subCollection\n )\n );\n }\n if (collection.members) {\n collection.members = collection.members.map((member) => {\n if (typeof member === \"string\") {\n return member;\n }\n return this.traverseUnknown(member);\n });\n }\n return collection;\n }\n traverseManifest(manifest) {\n return this.traverseType(\n this.traverseDescriptive(this.traverseLinking(this.traverseManifestItems(manifest))),\n this.traversals.manifest\n );\n }\n traverseManifestItems(manifest) {\n if (manifest.sequences) {\n manifest.sequences = manifest.sequences.map((sequence) => this.traverseSequence(sequence));\n }\n if (manifest.structures) {\n manifest.structures = manifest.structures.map((structure) => this.traverseRange(structure));\n }\n return manifest;\n }\n traverseSequence(sequence) {\n return this.traverseType(\n this.traverseDescriptive(this.traverseLinking(this.traverseSequenceItems(sequence))),\n this.traversals.sequence\n );\n }\n traverseSequenceItems(sequence) {\n if (sequence.canvases) {\n sequence.canvases = sequence.canvases.map((canvas) => this.traverseCanvas(canvas));\n }\n return sequence;\n }\n traverseCanvas(canvas) {\n return this.traverseType(\n this.traverseDescriptive(this.traverseLinking(this.traverseCanvasItems(canvas))),\n this.traversals.canvas\n );\n }\n traverseCanvasItems(canvas) {\n if (canvas.images) {\n canvas.images = canvas.images.map((image) => this.traverseAnnotation(image));\n }\n if (canvas.otherContent) {\n canvas.otherContent = canvas.otherContent.map((annotationList) => this.traverseAnnotationList(annotationList));\n }\n return canvas;\n }\n traverseRange(range) {\n return this.traverseType(\n this.traverseDescriptive(this.traverseLinking(this.traverseRangeItems(range))),\n this.traversals.range\n );\n }\n traverseRangeItems(range) {\n if (this.options.mergeMemberProperties) {\n const members = [\n ...(range.ranges || []).map((innerRange) => {\n if (typeof innerRange === \"string\") {\n return { \"@id\": innerRange, \"@type\": \"sc:Range\" };\n }\n return innerRange;\n }),\n ...(range.canvases || []).map((canvas) => {\n if (typeof canvas === \"string\") {\n return { \"@id\": canvas, \"@type\": \"sc:Canvas\" };\n }\n return canvas;\n }),\n ...range.members || []\n ];\n delete range.ranges;\n delete range.canvases;\n range.members = members.length ? members.map((member) => this.traverseUnknown(member)) : void 0;\n }\n return range;\n }\n traverseAnnotationList(annotationList) {\n const list = typeof annotationList === \"string\" ? { \"@id\": annotationList, \"@type\": \"sc:AnnotationList\" } : annotationList;\n return this.traverseType(\n this.traverseDescriptive(this.traverseAnnotationListItems(list)),\n this.traversals.annotationList\n );\n }\n traverseAnnotationListItems(annotationList) {\n if (annotationList.resources) {\n annotationList.resources = annotationList.resources.map((annotation) => this.traverseAnnotation(annotation));\n }\n return annotationList;\n }\n traverseAnnotation(annotation) {\n return this.traverseType(\n this.traverseDescriptive(this.traverseLinking(this.traverseAnnotationItems(annotation))),\n this.traversals.annotation\n );\n }\n traverseAnnotationItems(annotation) {\n if (annotation.resource) {\n if (Array.isArray(annotation.resource)) {\n annotation.resource = annotation.resource.map(\n (res) => this.traverseContentResource(res)\n );\n } else {\n annotation.resource = this.traverseContentResource(annotation.resource);\n }\n }\n if (annotation.on)\n ;\n return annotation;\n }\n traverseLayer(layer) {\n return this.traverseType(this.traverseLinking(this.traverseLayerItems(layer)), this.traversals.layer);\n }\n traverseLayerItems(layer) {\n if (layer.otherContent) {\n layer.otherContent = layer.otherContent.map((annotationList) => this.traverseAnnotationList(annotationList));\n }\n return layer;\n }\n traverseChoice(choice) {\n return this.traverseType(this.traverseChoiceItems(choice), this.traversals.choice);\n }\n traverseChoiceItems(choice) {\n if (choice.default && choice.default !== \"rdf:nil\") {\n choice.default = this.traverseContentResource(choice.default);\n }\n if (choice.item && choice.item !== \"rdf:nil\") {\n choice.item = choice.item.map((item) => this.traverseContentResource(item));\n }\n return choice;\n }\n traverseService(service) {\n return this.traverseType(this.traverseLinking(service), this.traversals.service);\n }\n traverseContentResource(contentResource) {\n if (contentResource[\"@type\"] === \"oa:Choice\") {\n return this.traverseChoice(contentResource);\n }\n return this.traverseType(\n this.traverseDescriptive(this.traverseLinking(contentResource)),\n this.traversals.contentResource\n );\n }\n traverseUnknown(item) {\n if (!item[\"@type\"] || typeof item === \"string\") {\n return item;\n }\n switch (identifyResource(item)) {\n case \"sc:Collection\":\n return this.traverseCollection(item);\n case \"sc:Manifest\":\n return this.traverseManifest(item);\n case \"sc:Canvas\":\n return this.traverseCanvas(item);\n case \"sc:Sequence\":\n return this.traverseSequence(item);\n case \"sc:Range\":\n return this.traverseRange(item);\n case \"oa:Annotation\":\n return this.traverseAnnotation(item);\n case \"sc:AnnotationList\":\n return this.traverseAnnotationList(item);\n case \"sc:Layer\":\n return this.traverseLayer(item);\n case \"Service\":\n return this.traverseService(item);\n case \"oa:Choice\":\n return this.traverseChoice(item);\n case \"ContentResource\":\n return this.traverseContentResource(item);\n }\n if (item.profile) {\n return this.traverseService(item);\n }\n return item;\n }\n traverseImageResource(contentResource) {\n const wasArray = Array.isArray(contentResource);\n const resourceList = Array.isArray(contentResource) ? contentResource : [contentResource];\n const newResourceList = [];\n for (const singleResource of resourceList) {\n if (typeof singleResource === \"string\") {\n newResourceList.push(\n this.traverseContentResource({\n \"@id\": singleResource,\n \"@type\": \"dctypes:Image\"\n })\n );\n } else {\n newResourceList.push(this.traverseContentResource(singleResource));\n }\n }\n if (!wasArray && !this.options.convertPropsToArray) {\n return newResourceList[0];\n }\n return newResourceList;\n }\n traverseDescriptive(resource) {\n if (resource.thumbnail) {\n resource.thumbnail = this.traverseImageResource(resource.thumbnail);\n }\n if (resource.logo) {\n resource.logo = this.traverseImageResource(resource.logo);\n }\n return resource;\n }\n traverseOneOrMoreServices(allServices) {\n const wasArray = Array.isArray(allServices);\n const services = Array.isArray(allServices) ? allServices : [allServices];\n const newServices = [];\n for (const service of services) {\n newServices.push(this.traverseService(service));\n }\n if (!wasArray && !this.options.convertPropsToArray) {\n return newServices[0];\n }\n return newServices;\n }\n traverseLinking(resource) {\n if (resource.related) {\n resource.related = this.traverseOneOrManyType(resource.related, this.traversals.contentResource);\n }\n if (resource.rendering) {\n resource.rendering = this.traverseOneOrManyType(resource.rendering, this.traversals.contentResource);\n }\n if (resource.service) {\n resource.service = this.traverseOneOrMoreServices(resource.service);\n }\n if (resource.seeAlso) {\n resource.seeAlso = this.traverseOneOrManyType(resource.seeAlso, this.traversals.contentResource);\n }\n if (resource.within) {\n if (typeof resource.within === \"string\")\n ;\n else {\n resource.within = this.traverseOneOrManyType(\n resource.within,\n this.traversals.contentResource\n );\n }\n }\n if (resource.startCanvas) {\n if (typeof resource.startCanvas === \"string\") {\n resource.startCanvas = this.traverseType(\n { \"@id\": resource.startCanvas, \"@type\": \"sc:Canvas\" },\n this.traversals.canvas\n );\n } else if (resource.startCanvas) {\n this.traverseType(resource.startCanvas, this.traversals.canvas);\n }\n }\n if (resource.contentLayer) {\n if (typeof resource.contentLayer === \"string\") {\n resource.contentLayer = this.traverseLayer({\n \"@id\": resource.contentLayer,\n \"@type\": \"sc:Layer\"\n });\n } else {\n resource.contentLayer = this.traverseLayer(resource.contentLayer);\n }\n }\n return resource;\n }\n traverseOneOrManyType(object, traversals) {\n if (!Array.isArray(object)) {\n if (this.options.convertPropsToArray) {\n object = [object];\n } else {\n return this.traverseType(object, traversals);\n }\n }\n return object.map((singleObj) => this.traverseType(singleObj, traversals));\n }\n traverseType(object, traversals) {\n return traversals.reduce((acc, traversal) => {\n const returnValue = traversal(acc);\n if (typeof returnValue === \"undefined\" && !this.options.allowUndefinedReturn) {\n return acc;\n }\n return returnValue;\n }, object);\n }\n}\nconst STANFORD_IIIF_IMAGE_COMPLIANCE_0 = \"http://library.stanford.edu/iiif/image-api/compliance.html#level0\";\nconst STANFORD_IIIF_IMAGE_COMPLIANCE_1 = \"http://library.stanford.edu/iiif/image-api/compliance.html#level1\";\nconst STANFORD_IIIF_IMAGE_COMPLIANCE_2 = \"http://library.stanford.edu/iiif/image-api/compliance.html#level2\";\nconst STANFORD_IIIF_IMAGE_CONFORMANCE_0 = \"http://library.stanford.edu/iiif/image-api/conformance.html#level0\";\nconst STANFORD_IIIF_IMAGE_CONFORMANCE_1 = \"http://library.stanford.edu/iiif/image-api/conformance.html#level1\";\nconst STANFORD_IIIF_IMAGE_CONFORMANCE_2 = \"http://library.stanford.edu/iiif/image-api/conformance.html#level2\";\nconst STANFORD_IIIF_1_IMAGE_COMPLIANCE_0 = \"http://library.stanford.edu/iiif/image-api/1.1/compliance.html#level0\";\nconst STANFORD_IIIF_1_IMAGE_COMPLIANCE_1 = \"http://library.stanford.edu/iiif/image-api/1.1/compliance.html#level1\";\nconst STANFORD_IIIF_1_IMAGE_COMPLIANCE_2 = \"http://library.stanford.edu/iiif/image-api/1.1/compliance.html#level2\";\nconst STANFORD_IIIF_1_IMAGE_CONFORMANCE_0 = \"http://library.stanford.edu/iiif/image-api/1.1/conformance.html#level0\";\nconst STANFORD_IIIF_1_IMAGE_CONFORMANCE_1 = \"http://library.stanford.edu/iiif/image-api/1.1/conformance.html#level1\";\nconst STANFORD_IIIF_1_IMAGE_CONFORMANCE_2 = \"http://library.stanford.edu/iiif/image-api/1.1/conformance.html#level2\";\nconst IIIF_1_IMAGE_LEVEL_0 = \"http://iiif.io/api/image/1/level0.json\";\nconst IIIF_1_IMAGE_LEVEL_0_PROFILE = \"http://iiif.io/api/image/1/profiles/level0.json\";\nconst IIIF_1_IMAGE_LEVEL_1 = \"http://iiif.io/api/image/1/level1.json\";\nconst IIIF_1_IMAGE_LEVEL_1_PROFILE = \"http://iiif.io/api/image/1/profiles/level1.json\";\nconst IIIF_1_IMAGE_LEVEL_2 = \"http://iiif.io/api/image/1/level2.json\";\nconst IIIF_1_IMAGE_LEVEL_2_PROFILE = \"http://iiif.io/api/image/1/profiles/level2.json\";\nconst IIIF_2_IMAGE_LEVEL_0 = \"http://iiif.io/api/image/2/level0.json\";\nconst IIIF_2_IMAGE_LEVEL_0_PROFILE = \"http://iiif.io/api/image/2/profiles/level0.json\";\nconst IIIF_2_IMAGE_LEVEL_1 = \"http://iiif.io/api/image/2/level1.json\";\nconst IIIF_2_IMAGE_LEVEL_1_PROFILE = \"http://iiif.io/api/image/2/profiles/level1.json\";\nconst IIIF_2_IMAGE_LEVEL_2 = \"http://iiif.io/api/image/2/level2.json\";\nconst IIIF_2_IMAGE_LEVEL_2_PROFILE = \"http://iiif.io/api/image/2/profiles/level2.json\";\nconst IIIF_3_IMAGE_LEVEL_0 = \"level0\";\nconst IIIF_3_IMAGE_LEVEL_1 = \"level1\";\nconst IIIF_3_IMAGE_LEVEL_2 = \"level2\";\nconst IIIF_2_IMAGE_LEVEL_0_NO_JSON = \"http://iiif.io/api/image/2/level0\";\nconst IIIF_2_IMAGE_LEVEL_1_NO_JSON = \"http://iiif.io/api/image/2/level1\";\nconst IIIF_2_IMAGE_LEVEL_2_NO_JSON = \"http://iiif.io/api/image/2/level2\";\nconst level1Support = [\n IIIF_2_IMAGE_LEVEL_1_NO_JSON,\n IIIF_2_IMAGE_LEVEL_2_NO_JSON,\n STANFORD_IIIF_IMAGE_COMPLIANCE_1,\n STANFORD_IIIF_IMAGE_COMPLIANCE_2,\n STANFORD_IIIF_IMAGE_CONFORMANCE_1,\n STANFORD_IIIF_IMAGE_CONFORMANCE_2,\n STANFORD_IIIF_1_IMAGE_COMPLIANCE_1,\n STANFORD_IIIF_1_IMAGE_COMPLIANCE_2,\n STANFORD_IIIF_1_IMAGE_CONFORMANCE_1,\n STANFORD_IIIF_1_IMAGE_CONFORMANCE_2,\n IIIF_1_IMAGE_LEVEL_1,\n IIIF_1_IMAGE_LEVEL_1_PROFILE,\n IIIF_1_IMAGE_LEVEL_2,\n IIIF_1_IMAGE_LEVEL_2_PROFILE,\n IIIF_2_IMAGE_LEVEL_1,\n IIIF_2_IMAGE_LEVEL_1_PROFILE,\n IIIF_2_IMAGE_LEVEL_2,\n IIIF_2_IMAGE_LEVEL_2_PROFILE,\n IIIF_3_IMAGE_LEVEL_1,\n IIIF_3_IMAGE_LEVEL_2\n];\nconst imageServiceProfiles = [\n IIIF_2_IMAGE_LEVEL_0_NO_JSON,\n IIIF_2_IMAGE_LEVEL_1_NO_JSON,\n IIIF_2_IMAGE_LEVEL_2_NO_JSON,\n STANFORD_IIIF_IMAGE_COMPLIANCE_0,\n STANFORD_IIIF_IMAGE_COMPLIANCE_1,\n STANFORD_IIIF_IMAGE_COMPLIANCE_2,\n STANFORD_IIIF_IMAGE_CONFORMANCE_0,\n STANFORD_IIIF_IMAGE_CONFORMANCE_1,\n STANFORD_IIIF_IMAGE_CONFORMANCE_2,\n STANFORD_IIIF_1_IMAGE_COMPLIANCE_0,\n STANFORD_IIIF_1_IMAGE_COMPLIANCE_1,\n STANFORD_IIIF_1_IMAGE_COMPLIANCE_2,\n STANFORD_IIIF_1_IMAGE_CONFORMANCE_0,\n STANFORD_IIIF_1_IMAGE_CONFORMANCE_1,\n STANFORD_IIIF_1_IMAGE_CONFORMANCE_2,\n IIIF_1_IMAGE_LEVEL_0,\n IIIF_1_IMAGE_LEVEL_0_PROFILE,\n IIIF_1_IMAGE_LEVEL_1,\n IIIF_1_IMAGE_LEVEL_1_PROFILE,\n IIIF_1_IMAGE_LEVEL_2,\n IIIF_1_IMAGE_LEVEL_2_PROFILE,\n IIIF_2_IMAGE_LEVEL_0,\n IIIF_2_IMAGE_LEVEL_0_PROFILE,\n IIIF_2_IMAGE_LEVEL_1,\n IIIF_2_IMAGE_LEVEL_1_PROFILE,\n IIIF_2_IMAGE_LEVEL_2,\n IIIF_2_IMAGE_LEVEL_2_PROFILE,\n IIIF_3_IMAGE_LEVEL_0,\n IIIF_3_IMAGE_LEVEL_1,\n IIIF_3_IMAGE_LEVEL_2\n];\nconst configuration = {\n attributionLabel: \"Attribution\",\n lang: \"none\",\n providerId: \"http://example.org/provider\",\n providerName: \"Unknown\"\n};\nfunction convertLanguageMapping(inputLangProperty, defaultLang = \"none\") {\n if (!inputLangProperty) {\n return {};\n }\n const arrayOfValues = Array.isArray(inputLangProperty) ? inputLangProperty : [inputLangProperty];\n const languageMap = {};\n for (const language of arrayOfValues) {\n if (typeof language === \"string\") {\n languageMap[defaultLang] = languageMap[defaultLang] ? languageMap[defaultLang] : [];\n languageMap[defaultLang].push(language || \"\");\n continue;\n }\n if (!language[\"@language\"]) {\n languageMap[defaultLang] = languageMap[defaultLang] ? languageMap[defaultLang] : [];\n languageMap[defaultLang].push(language[\"@value\"] || \"\");\n continue;\n }\n const lang = language[\"@language\"];\n languageMap[lang] = languageMap[lang] ? languageMap[lang] : [];\n languageMap[lang].push(language[\"@value\"] || \"\");\n }\n return languageMap;\n}\nfunction getProfile(profile) {\n if (Array.isArray(profile)) {\n return getProfile(profile.find((s) => typeof s === \"string\"));\n }\n if (imageServiceProfiles.indexOf(profile) !== -1) {\n return \"level2\";\n }\n if (level1Support.indexOf(profile) !== -1) {\n return \"level1\";\n }\n if (typeof profile !== \"string\") {\n return void 0;\n }\n return profile;\n}\nfunction getTypeFromContext(inputContexts) {\n const contexts = Array.isArray(inputContexts) ? inputContexts : [inputContexts];\n for (const context of contexts) {\n switch (context) {\n case \"http://iiif.io/api/image/2/context.json\":\n case \"http://library.stanford.edu/iiif/image-api/1.1/compliance.html#level2\":\n return \"ImageService2\";\n case \"http://iiif.io/api/image/1/context.json\":\n case \"http://library.stanford.edu/iiif/image-api/1.1/context.json\":\n return \"ImageService1\";\n case \"http://iiif.io/api/annex/openannotation/context.json\":\n return \"ImageApiSelector\";\n }\n }\n return void 0;\n}\nfunction getTypeFromProfile(inputProfile) {\n switch (inputProfile) {\n case \"http://iiif.io/api/image/2/level0.json\":\n case \"http://iiif.io/api/image/2/level1.json\":\n case \"http://iiif.io/api/image/2/level2.json\":\n return \"ImageService2\";\n case \"http://iiif.io/api/auth/1/kiosk\":\n case \"http://iiif.io/api/auth/1/login\":\n case \"http://iiif.io/api/auth/1/clickthrough\":\n case \"http://iiif.io/api/auth/1/external\":\n case \"http://iiif.io/api/auth/0/kiosk\":\n case \"http://iiif.io/api/auth/0/login\":\n case \"http://iiif.io/api/auth/0/clickthrough\":\n case \"http://iiif.io/api/auth/0/external\":\n return \"AuthCookieService1\";\n case \"http://iiif.io/api/auth/1/token\":\n case \"http://iiif.io/api/auth/0/token\":\n return \"AuthTokenService1\";\n case \"http://iiif.io/api/auth/1/logout\":\n case \"http://iiif.io/api/auth/0/logout\":\n return \"AuthLogoutService1\";\n case \"http://iiif.io/api/search/1/search\":\n case \"http://iiif.io/api/search/0/search\":\n return \"SearchService1\";\n case \"http://iiif.io/api/search/1/autocomplete\":\n case \"http://iiif.io/api/search/0/autocomplete\":\n return \"AutoCompleteService1\";\n }\n return void 0;\n}\nfunction removePrefix(str) {\n for (const prefix of [\"sc\", \"oa\", \"dcterms\", \"dctypes\", \"iiif\"]) {\n if (str.startsWith(`${prefix}:`)) {\n return str.slice(prefix.length + 1);\n }\n }\n return str;\n}\nconst knownTypes = [\"Collection\", \"Manifest\", \"Annotation\", \"AnnotationPage\", \"Range\", \"Service\"];\nfunction getNewType(resource) {\n const id = resource[\"@id\"] || resource.id;\n let oldType = resource[\"@type\"] || resource.type;\n const profile = resource.profile || void 0;\n const context = resource[\"@context\"] || void 0;\n if (profile) {\n const possibleType = getTypeFromProfile(profile);\n if (possibleType) {\n return possibleType;\n }\n }\n if (context) {\n const possibleType = getTypeFromContext(context);\n if (possibleType) {\n return possibleType;\n }\n }\n if (oldType) {\n if (Array.isArray(oldType)) {\n if (oldType.indexOf(\"oa:CssStylesheet\") !== -1) {\n return \"CssStylesheet\";\n }\n if (oldType.indexOf(\"cnt:ContentAsText\") !== -1) {\n return \"TextualBody\";\n }\n oldType = oldType[0];\n }\n for (const prefix of [\"sc\", \"oa\", \"dcterms\", \"dctypes\", \"iiif\"]) {\n if (oldType.startsWith(`${prefix}:`)) {\n oldType = oldType.slice(prefix.length + 1);\n break;\n }\n }\n switch (oldType) {\n case \"Layer\":\n return \"AnnotationCollection\";\n case \"AnnotationList\":\n return \"AnnotationPage\";\n case \"cnt:ContentAsText\":\n return \"TextualBody\";\n }\n }\n if (oldType && knownTypes.indexOf(oldType) !== -1) {\n return oldType;\n }\n if (resource.format) {\n if (resource.format.startsWith(\"image/\")) {\n return \"Image\";\n }\n if (resource.format.startsWith(\"text/\")) {\n return \"Text\";\n }\n if (resource.format === \"application/pdf\") {\n return \"Text\";\n }\n if (resource.format.startsWith(\"application/\")) {\n return \"Dataset\";\n }\n }\n if (id && (id.endsWith(\".jpg\") || id.endsWith(\".png\") || id.endsWith(\".jpeg\"))) {\n return \"Image\";\n }\n if (!oldType) {\n return \"unknown\";\n }\n return oldType;\n}\nconst licenseRegex = /http(s)?:\\/\\/(creativecommons.org|rightsstatements.org)[^\"'\\\\<\\n]+/gm;\nfunction extractLicense(license) {\n const matches = license.match(licenseRegex);\n if (matches) {\n return matches[0];\n }\n return license;\n}\nfunction fixLicense(license, licenseLabel = \"Rights/License\", lang = \"none\") {\n let rights = null;\n const metadata = [];\n const licenseList = Array.isArray(license) ? license : [license];\n for (const rawLicense of licenseList) {\n const singleLicense = rawLicense ? extractLicense(rawLicense) : void 0;\n if (singleLicense && (singleLicense.indexOf(\"creativecommons.org\") !== -1 || singleLicense.indexOf(\"rightsstatements.org\") !== -1)) {\n if (singleLicense.startsWith(\"https://\")) {\n rights = `http://${singleLicense.slice(8)}`;\n } else {\n rights = singleLicense;\n }\n continue;\n }\n if (singleLicense) {\n metadata.push({\n label: { [lang]: [licenseLabel] },\n value: { [lang]: [singleLicense] }\n });\n }\n }\n return [rights, metadata];\n}\nconst removeContexts = [\n \"http://iiif.io/api/presentation/2/context.json\",\n \"http://iiif.io/api/image/2/context.json\",\n \"http://iiif.io/api/image/1/context.json\",\n \"http://library.stanford.edu/iiif/image-api/1.1/context.json\",\n \"http://iiif.io/api/search/1/context.json\",\n \"http://iiif.io/api/search/0/context.json\",\n \"http://iiif.io/api/auth/1/context.json\",\n \"http://iiif.io/api/auth/0/context.json\",\n \"http://iiif.io/api/annex/openannotation/context.json\"\n];\nfunction fixContext(inputContext) {\n if (inputContext) {\n const contexts = Array.isArray(inputContext) ? inputContext : [inputContext];\n const newContexts = [];\n for (const context of contexts) {\n if (context === \"http://iiif.io/api/presentation/2/context.json\") {\n newContexts.push(\"http://iiif.io/api/presentation/3/context.json\");\n }\n if (removeContexts.indexOf(context) !== -1) {\n continue;\n }\n newContexts.push(context);\n }\n if (contexts.length) {\n return newContexts.length === 1 ? newContexts[0] : newContexts;\n }\n }\n return void 0;\n}\nfunction convertMetadata(metadata) {\n if (!metadata) {\n return [];\n }\n return metadata.map((item) => {\n return {\n label: convertLanguageMapping(item.label),\n value: convertLanguageMapping(item.value)\n };\n });\n}\nfunction removeUndefinedProperties(obj) {\n for (const prop in obj) {\n if (typeof obj[prop] === \"undefined\" || obj[prop] === null) {\n delete obj[prop];\n }\n }\n return obj;\n}\nlet mintedIdCounter = 0;\nfunction mintNewIdFromResource(resource, subresource) {\n const origId = encodeURI(resource.id || resource[\"@id\"] || \"\").trim();\n if (origId && subresource) {\n return `${origId}/${subresource}`;\n }\n if (origId) {\n return origId;\n }\n mintedIdCounter++;\n return `http://example.org/${resource[\"@type\"]}${subresource ? `/${subresource}` : \"\"}/${mintedIdCounter}`;\n}\nfunction technicalProperties$2(resource) {\n const allBehaviours = [...resource.behavior || []];\n if (resource.viewingHint) {\n allBehaviours.push(resource.viewingHint);\n }\n let motivation;\n if (Array.isArray(resource.motivation)) {\n motivation = resource.motivation.map(removePrefix);\n } else if (resource.motivation) {\n motivation = removePrefix(resource.motivation);\n }\n return {\n \"@context\": resource[\"@context\"] ? fixContext(resource[\"@context\"]) : void 0,\n id: (resource[\"@id\"] || mintNewIdFromResource(resource)).trim(),\n type: getNewType(resource),\n behavior: allBehaviours.length ? allBehaviours : void 0,\n height: resource.height ? resource.height : void 0,\n width: resource.width ? resource.width : void 0,\n motivation,\n viewingDirection: resource.viewingDirection,\n profile: resource.profile,\n format: resource.format ? resource.format : void 0,\n duration: void 0,\n timeMode: void 0\n };\n}\nfunction descriptiveProperties$2(resource) {\n const [rights, extraMetadata] = fixLicense(resource.license);\n const allMetadata = [...resource.metadata ? convertMetadata(resource.metadata) : [], ...extraMetadata];\n return {\n rights,\n metadata: allMetadata.length ? allMetadata : void 0,\n label: resource.label ? convertLanguageMapping(resource.label) : void 0,\n requiredStatement: resource.attribution ? {\n label: convertLanguageMapping(configuration.attributionLabel),\n value: convertLanguageMapping(resource.attribution)\n } : void 0,\n navDate: resource.navDate,\n summary: resource.description ? convertLanguageMapping(resource.description) : void 0,\n thumbnail: resource.thumbnail\n };\n}\nfunction parseWithin(resource) {\n if (!resource.within) {\n return void 0;\n }\n const withinProperties = Array.isArray(resource.within) ? resource.within : [resource.within];\n const returnPartOf = [];\n for (const within of withinProperties) {\n if (typeof within === \"string\") {\n if (within) {\n switch (resource[\"@type\"]) {\n case \"sc:Manifest\":\n returnPartOf.push({ id: within, type: \"Collection\" });\n break;\n }\n }\n } else if (within[\"@id\"]) {\n returnPartOf.push({\n id: within[\"@id\"],\n type: getNewType(within)\n });\n } else\n ;\n }\n return returnPartOf.length ? returnPartOf : void 0;\n}\nfunction linkingProperties$2(resource) {\n const related = resource.related ? Array.isArray(resource.related) ? resource.related : [resource.related] : [];\n const layer = resource.contentLayer;\n return {\n provider: resource.logo || related.length ? [\n {\n id: configuration.providerId,\n type: \"Agent\",\n homepage: related.length ? [related[0]] : void 0,\n logo: resource.logo ? Array.isArray(resource.logo) ? resource.logo : [resource.logo] : void 0,\n label: convertLanguageMapping(configuration.providerName)\n }\n ] : void 0,\n partOf: parseWithin(resource),\n rendering: resource.rendering,\n seeAlso: resource.seeAlso,\n start: resource.startCanvas,\n service: resource.service ? ensureArray$1(resource.service) : void 0,\n supplementary: layer ? [layer] : void 0\n };\n}\nfunction embeddedContentProperties(resource) {\n return {\n chars: resource.chars,\n format: resource.format ? resource.format : void 0,\n language: resource.language\n };\n}\nfunction upgradeCollection(collection) {\n return removeUndefinedProperties({\n ...technicalProperties$2(collection),\n ...descriptiveProperties$2(collection),\n ...linkingProperties$2(collection),\n items: collection.members\n });\n}\nfunction upgradeManifest(manifest) {\n const allCanvases = [];\n const behavior = [];\n for (const sequence of manifest.sequences || []) {\n if (sequence.canvases.length) {\n allCanvases.push(...sequence.canvases);\n }\n if (sequence.behavior) {\n behavior.push(...sequence.behavior);\n }\n }\n const technical = technicalProperties$2(manifest);\n if (behavior.length) {\n if (technical.behavior) {\n technical.behavior.push(...behavior);\n } else {\n technical.behavior = behavior;\n }\n }\n return removeUndefinedProperties({\n ...technical,\n ...descriptiveProperties$2(manifest),\n ...linkingProperties$2(manifest),\n items: allCanvases,\n structures: manifest.structures\n });\n}\nfunction upgradeCanvas(canvas) {\n return removeUndefinedProperties({\n ...technicalProperties$2(canvas),\n ...descriptiveProperties$2(canvas),\n ...linkingProperties$2(canvas),\n annotations: canvas.otherContent && canvas.otherContent.length ? canvas.otherContent : void 0,\n items: canvas.images && canvas.images.length ? [\n {\n id: mintNewIdFromResource(canvas, \"annotation-page\"),\n type: \"AnnotationPage\",\n items: canvas.images\n }\n ] : void 0\n });\n}\nfunction upgradeAnnotationList(annotationPage) {\n return removeUndefinedProperties({\n ...technicalProperties$2(annotationPage),\n ...descriptiveProperties$2(annotationPage),\n ...linkingProperties$2(annotationPage),\n items: annotationPage.resources && annotationPage.resources.length ? annotationPage.resources : void 0\n });\n}\nfunction upgradeSequence(sequence) {\n if (!sequence.canvases || sequence.canvases.length === 0) {\n return {\n canvases: [],\n behavior: []\n };\n }\n return {\n canvases: sequence.canvases,\n behavior: sequence.viewingHint ? [sequence.viewingHint] : []\n };\n}\nfunction upgradeAnnotation(annotation) {\n function upgradeTarget(target) {\n if (Array.isArray(target)) {\n if (target.length > 1) {\n return { type: \"List\", items: target.map(upgradeTarget) };\n }\n target = target[0];\n }\n if (typeof target === \"string\") {\n return encodeURI(target).trim();\n } else if (\"@type\" in target) {\n let source;\n if (typeof target.full === \"string\") {\n source = target.full;\n } else if (target.full[\"@type\"] === \"dctypes:Image\") {\n source = { id: target.full[\"@id\"], type: \"Image\" };\n } else if (target.full[\"@type\"] === \"sc:Canvas\") {\n source = { id: target.full[\"@id\"], type: \"Canvas\" };\n } else {\n throw new Error(`Unsupported source type on annotation: ${target.full[\"@type\"]}`);\n }\n return {\n type: \"SpecificResource\",\n source,\n selector: upgradeSelector(target.selector)\n };\n } else {\n return encodeURI(target[\"@id\"]).trim();\n }\n }\n return removeUndefinedProperties({\n ...technicalProperties$2(annotation),\n ...descriptiveProperties$2(annotation),\n ...linkingProperties$2(annotation),\n target: upgradeTarget(annotation.on),\n body: Array.isArray(annotation.resource) ? annotation.resource.map(upgradeContentResource) : upgradeContentResource(annotation.resource)\n });\n}\nfunction upgradeContentResource(inputContentResource) {\n const contentResource = inputContentResource;\n return removeUndefinedProperties({\n ...technicalProperties$2(contentResource),\n ...descriptiveProperties$2(contentResource),\n ...linkingProperties$2(contentResource),\n ...embeddedContentProperties(contentResource)\n });\n}\nfunction upgradeChoice(choice) {\n const items = [];\n if (choice.default && choice.default !== \"rdf:nil\") {\n items.push(choice.default);\n }\n if (choice.item && choice.item !== \"rdf:nil\") {\n items.push(...choice.item);\n }\n return {\n ...technicalProperties$2(choice),\n ...descriptiveProperties$2(choice),\n items\n };\n}\nfunction upgradeRange(range) {\n return removeUndefinedProperties({\n ...technicalProperties$2(range),\n ...descriptiveProperties$2(range),\n ...linkingProperties$2(range),\n items: range.members\n });\n}\nfunction upgradeService(service) {\n const { \"@id\": id, \"@type\": type, \"@context\": context, profile, ...additionalProps } = service;\n const newService = {};\n if (id) {\n newService[\"@id\"] = id;\n }\n newService[\"@type\"] = getNewType(service);\n if (newService[\"@type\"] === \"unknown\") {\n if (context && context.length) {\n newService[\"@context\"] = context;\n }\n newService[\"@type\"] = \"Service\";\n }\n if (profile) {\n newService.profile = getProfile(profile);\n }\n return removeUndefinedProperties({\n ...newService,\n ...additionalProps\n });\n}\nfunction upgradeLayer(layer) {\n return removeUndefinedProperties({\n ...technicalProperties$2(layer),\n ...descriptiveProperties$2(layer),\n ...linkingProperties$2(layer)\n });\n}\nconst presentation2to3 = new Traverse({\n collection: [upgradeCollection],\n manifest: [upgradeManifest],\n canvas: [upgradeCanvas],\n annotationList: [upgradeAnnotationList],\n sequence: [upgradeSequence],\n annotation: [upgradeAnnotation],\n contentResource: [upgradeContentResource],\n choice: [upgradeChoice],\n range: [upgradeRange],\n service: [upgradeService],\n layer: [upgradeLayer]\n});\nfunction convertPresentation2(entity) {\n if (entity && entity[\"@context\"] && (entity[\"@context\"] === \"http://iiif.io/api/presentation/2/context.json\" || entity[\"@context\"].indexOf(\"http://iiif.io/api/presentation/2/context.json\") !== -1 || entity[\"@context\"] === \"http://www.shared-canvas.org/ns/context.json\") || entity[\"@context\"] === \"http://iiif.io/api/image/2/context.json\") {\n return presentation2to3.traverseUnknown(entity);\n }\n return entity;\n}\nfunction upgradeSelector(selector) {\n const isSvgSelector = (Array.isArray(selector[\"@type\"]) && selector[\"@type\"].includes(\"oa:SvgSelector\") || selector[\"@type\"] == \"oa:SvgSelector\") && (\"chars\" in selector || \"value\" in selector);\n if (isSvgSelector) {\n return {\n type: \"SvgSelector\",\n value: \"chars\" in selector ? selector.chars : selector.value\n };\n }\n if (selector[\"@type\"] === \"oa:FragmentSelector\") {\n return {\n type: \"FragmentSelector\",\n value: selector.value\n };\n }\n if (selector[\"@type\"] === \"oa:Choice\") {\n return [\n upgradeSelector(selector.default),\n ...(Array.isArray(selector.item) ? selector.item : [selector.item]).map(\n upgradeSelector\n )\n ];\n }\n if (selector[\"@type\"] == \"iiif:ImageApiSelector\") {\n return {\n type: \"ImageApiSelector\",\n region: \"region\" in selector ? selector.region : void 0,\n rotation: \"rotation\" in selector ? selector.rotation : void 0\n };\n }\n throw new Error(`Unsupported selector type: ${selector[\"@type\"]}`);\n}\nconst defaultEntities = {\n Collection: {},\n Manifest: {},\n Canvas: {},\n AnnotationPage: {},\n AnnotationCollection: {},\n Annotation: {},\n ContentResource: {},\n Range: {},\n Service: {},\n Selector: {},\n Agent: {}\n};\nfunction getDefaultEntities() {\n return {\n Collection: {},\n Manifest: {},\n Canvas: {},\n AnnotationPage: {},\n AnnotationCollection: {},\n Annotation: {},\n ContentResource: {},\n Range: {},\n Service: {},\n Selector: {},\n Agent: {}\n };\n}\nfunction getResource(entityOrString, type) {\n if (typeof entityOrString === \"string\") {\n return { id: entityOrString, type };\n }\n if (!entityOrString.id) {\n throw new Error(`Invalid resource does not have an ID (${type})`);\n }\n return entityOrString;\n}\nfunction mapToEntities(entities) {\n return (type, defaultStringType) => {\n const storeType = entities[type] ? entities[type] : {};\n return (r) => {\n const resource = getResource(r, defaultStringType || type);\n if (resource && resource.id && type) {\n storeType[resource.id] = storeType[resource.id] ? mergeEntities(storeType[resource.id], resource) : Object.assign({}, resource);\n return {\n id: resource.id,\n type: type === \"ContentResource\" ? type : resource.type\n };\n }\n return resource;\n };\n };\n}\nfunction merge(existing, incoming) {\n if (!incoming) {\n return existing;\n }\n if (Array.isArray(existing)) {\n if (!Array.isArray(incoming)) {\n throw new Error(\"Cannot merge array with non-array\");\n }\n const merged = [...existing];\n for (const item of incoming) {\n if (item === null || item === void 0) {\n continue;\n }\n if (Array.isArray(item)) {\n merged.push(item);\n } else if (typeof item === \"object\" && item.id && item.type) {\n const existingIdx = merged.findIndex((e) => e.id === item.id && e.type === item.type);\n if (existingIdx >= 0) {\n merged[existingIdx] = merge(merged[existingIdx], item);\n }\n } else if (existing.indexOf(item) === -1) {\n merged.push(item);\n }\n }\n return merged;\n } else if (typeof existing === \"object\") {\n if (Array.isArray(incoming) || typeof incoming !== \"object\") {\n throw new Error(\"Cannot merge object with non-object\");\n }\n const merged = { ...existing };\n for (const [key, val] of Object.entries(incoming)) {\n const currentVal = merged[key];\n if (currentVal === EMPTY || !currentVal) {\n merged[key] = val;\n } else {\n merged[key] = merge(currentVal, val);\n }\n }\n return merged;\n } else if (existing) {\n return existing;\n }\n return incoming;\n}\nfunction mergeEntities(existing, incoming) {\n if (typeof existing === \"string\") {\n return existing;\n }\n if (incoming.id !== existing.id || incoming.type !== existing.type) {\n throw new Error(\"Can only merge entities with identical identifiers and type!\");\n }\n return merge({ ...existing }, incoming);\n}\nfunction recordTypeInMapping(mapping) {\n return (type, defaultStringType) => {\n return (r) => {\n const { id, type: foundType } = getResource(r, defaultStringType || type);\n if (typeof id === \"undefined\") {\n throw new Error(\"Found invalid entity without an ID.\");\n }\n if (type === \"ContentResource\") {\n mapping[id] = type;\n } else {\n mapping[id] = foundType;\n }\n return r;\n };\n };\n}\nfunction hash(object) {\n const text = JSON.stringify(object);\n let numHash = 5381, index = text.length;\n while (index) {\n numHash = numHash * 33 ^ text.charCodeAt(--index);\n }\n const num = numHash >>> 0;\n const hexString = num.toString(16);\n if (hexString.length % 2) {\n return \"0\" + hexString;\n }\n return hexString;\n}\nfunction addMissingIdToContentResource(type) {\n return (resource) => {\n if (typeof resource === \"string\") {\n return { id: resource, type };\n }\n if (!resource.id) {\n return { id: `vault://${hash(resource)}`, type, ...resource };\n }\n if (!resource.type) {\n return { type, ...resource };\n }\n return resource;\n };\n}\nfunction ensureDefaultFields(defaultResource) {\n return (resource) => {\n return {\n ...defaultResource,\n ...resource\n };\n };\n}\nfunction ensureArray(maybeArray) {\n if (Array.isArray(maybeArray)) {\n return maybeArray;\n }\n return [maybeArray];\n}\nfunction ensureArrayOnAnnotation(annotation) {\n if (annotation.body) {\n annotation.body = ensureArray(annotation.body);\n }\n if (annotation.seeAlso) {\n annotation.seeAlso = ensureArray(annotation.seeAlso);\n }\n if (annotation.body) {\n annotation.body = ensureArray(annotation.body);\n }\n if (annotation.audience) {\n annotation.audience = ensureArray(annotation.audience);\n }\n if (annotation.accessibility) {\n annotation.accessibility = ensureArray(annotation.accessibility);\n }\n if (annotation.motivation) {\n annotation.motivation = ensureArray(annotation.motivation);\n }\n return annotation;\n}\nfunction normalize(unknownEntity) {\n const entity = convertPresentation2(unknownEntity);\n const entities = getDefaultEntities();\n const mapping = {};\n const addToEntities = mapToEntities(entities);\n const addToMapping = recordTypeInMapping(mapping);\n const traversal = new Traverse$1({\n collection: [\n ensureDefaultFields(emptyCollection),\n addToMapping(\"Collection\"),\n addToEntities(\"Collection\")\n ],\n manifest: [\n ensureDefaultFields(emptyManifest),\n addToMapping(\"Manifest\"),\n addToEntities(\"Manifest\")\n ],\n canvas: [\n ensureDefaultFields(emptyCanvas),\n addToMapping(\"Canvas\"),\n addToEntities(\"Canvas\")\n ],\n annotationPage: [\n addMissingIdToContentResource(\"AnnotationPage\"),\n ensureDefaultFields(emptyAnnotationPage),\n addToMapping(\"AnnotationPage\"),\n addToEntities(\"AnnotationPage\")\n ],\n annotation: [\n addMissingIdToContentResource(\"Annotation\"),\n ensureArrayOnAnnotation,\n addToMapping(\"Annotation\"),\n addToEntities(\"Annotation\")\n ],\n contentResource: [\n addMissingIdToContentResource(\"ContentResource\"),\n addToMapping(\"ContentResource\"),\n addToEntities(\"ContentResource\")\n ],\n range: [\n ensureDefaultFields(emptyRange),\n addToMapping(\"Range\", \"Canvas\"),\n addToEntities(\"Range\", \"Canvas\")\n ],\n agent: [\n ensureDefaultFields(emptyAgent),\n addToMapping(\"Agent\"),\n addToEntities(\"Agent\")\n ]\n });\n const resource = traversal.traverseUnknown(entity);\n return { entities, resource, mapping };\n}\nconst UNSET = \"__$UNSET$__\";\nconst UNWRAP = \"__$UNWRAP$__\";\nfunction resolveIfExists(state, url) {\n const request = state.requests[url];\n const resourceType = state.mapping[url];\n if (!resourceType || request && request.resourceUri && !state.entities[resourceType][request.resourceUri]) {\n return void 0;\n }\n return state.entities[resourceType][request ? request.resourceUri : url];\n}\nfunction serializedFieldsToObject(fields) {\n const object = {};\n for (const [key, value] of fields) {\n if (key === UNWRAP && value !== UNSET) {\n return value;\n }\n if (value !== UNSET && typeof value !== \"undefined\" && value !== null) {\n object[key] = value;\n }\n }\n return object;\n}\nfunction serialize(state, subject, config) {\n if (!subject.type || !subject.id) {\n throw new Error(\"Unknown entity\");\n }\n if (!config[subject.type]) {\n throw new Error(`Serializer not found for ${subject.type}`);\n }\n function flatten(sub) {\n const generator = config[sub.type];\n if (!generator) {\n return UNSET;\n }\n const resource = resolveIfExists(state, sub.id) || (sub.id && sub.type ? sub : null);\n if (!resource) {\n return UNSET;\n }\n const iterator = generator(resource, state, { isTopLevel: subject.id === sub.id });\n let current = iterator.next();\n while (!current.done) {\n const requestToHydrate = current.value;\n let next = UNSET;\n if (requestToHydrate) {\n if (Array.isArray(requestToHydrate)) {\n const nextList = [];\n for (const req of requestToHydrate) {\n nextList.push(flatten(req));\n }\n next = nextList;\n } else {\n next = flatten(requestToHydrate);\n }\n }\n current = iterator.next(next);\n }\n if (current.value === UNSET) {\n return UNSET;\n }\n return serializedFieldsToObject(current.value);\n }\n return flatten(subject);\n}\nfunction languageString2to3(value) {\n if (!value) {\n return void 0;\n }\n const languages = Object.keys(value);\n if (languages.length === 0) {\n return void 0;\n }\n if (languages.length === 1) {\n const language = languages[0];\n if (!language) {\n return \"\";\n }\n const singleValue = (value[language] || []).join(\"\");\n if (language === \"@none\" || language === \"none\" || language === \"en\") {\n return singleValue;\n }\n return {\n \"@language\": language,\n \"@value\": singleValue\n };\n }\n return languages.map((language) => {\n return {\n \"@language\": language,\n \"@value\": (value[language] || []).join(\"\")\n };\n });\n}\nfunction parseCanvasTarget(target) {\n if (Array.isArray(target)) {\n return target.map((t) => parseCanvasTarget(t));\n }\n if (typeof target === \"string\") {\n return target;\n }\n if (target.type && target.type === \"Canvas\") {\n return target.id;\n }\n return target;\n}\nfunction unNestArray(oneOrArray, onlyOne = false) {\n if (!oneOrArray) {\n return void 0;\n }\n if (oneOrArray.length > 1 && !onlyOne) {\n return oneOrArray;\n }\n return oneOrArray[0] || void 0;\n}\nfunction convertService(service) {\n if (!service) {\n return void 0;\n }\n if (typeof service === \"string\") {\n return {\n \"@id\": service\n };\n }\n if (\"@id\" in service) {\n const newService = { ...service };\n delete newService[\"@type\"];\n return newService;\n }\n return {\n \"@context\": \"http://iiif.io/api/image/2/context.json\",\n \"@id\": service.id,\n profile: `http://iiif.io/api/image/2/profiles/${service.profile}.json`\n };\n}\nfunction technicalProperties$1(props, type) {\n return [\n [\"@id\", props.id],\n [\"@type\", type],\n [\"format\", props.format],\n [\"height\", props.height],\n [\"width\", props.width],\n [\"viewingDirection\", props.viewingDirection !== \"left-to-right\" ? props.viewingDirection : void 0]\n ];\n}\nfunction* descriptiveProperties$1(prop) {\n const provider = prop.provider ? yield prop.provider[0] : void 0;\n return [\n [\"label\", languageString2to3(prop.label)],\n [\n \"metadata\",\n prop.metadata && prop.metadata.length ? prop.metadata.map((item) => ({\n label: languageString2to3(item.label) || \"\",\n value: languageString2to3(item.value) || \"\"\n })) : void 0\n ],\n [\"description\", languageString2to3(prop.summary)],\n [\"thumbnail\", unNestArray(yield prop.thumbnail)],\n [\"navDate\", prop.navDate],\n [\"logo\", provider ? unNestArray(provider.logo) : void 0],\n [\"homepage\", provider ? provider.homepage : void 0],\n [\"attribution\", prop.requiredStatement ? languageString2to3(prop.requiredStatement.value) : void 0]\n ];\n}\nfunction* linkingProperties$1(prop) {\n return [\n [\"seeAlso\", unNestArray(yield prop.seeAlso)],\n [\"service\", unNestArray((prop.service || []).map(convertService))],\n [\"rendering\", unNestArray(yield prop.rendering)],\n [\"startCanvas\", prop.start ? prop.start.id : void 0]\n ];\n}\nconst serializeConfigPresentation2 = {\n Manifest: function* (entity) {\n return [\n ...technicalProperties$1(entity, \"sc:Manifest\"),\n ...yield* descriptiveProperties$1(entity),\n ...yield* linkingProperties$1(entity),\n [\n \"sequences\",\n [\n {\n \"@id\": `${entity.id}/sequence0`,\n \"@type\": \"sc:Sequence\",\n canvases: yield entity.items\n }\n ]\n ],\n [\"structures\", yield entity.structures]\n ];\n },\n Canvas: function* (entity) {\n const paintingPage = yield entity.items;\n const resources = paintingPage[0];\n return [\n ...technicalProperties$1(entity, \"sc:Canvas\"),\n ...yield* descriptiveProperties$1(entity),\n ...yield* linkingProperties$1(entity),\n [\"images\", resources ? [resources.resources] : void 0],\n [\n \"annotations\",\n entity.annotations && entity.annotations.length ? unNestArray(yield entity.annotations) : void 0\n ]\n ];\n },\n AnnotationPage: function* (entity) {\n return [\n ...technicalProperties$1(entity, \"sc:AnnotationList\"),\n ...yield* descriptiveProperties$1(entity),\n [\"resources\", entity.items && entity.items.length ? unNestArray(yield entity.items) : void 0]\n ];\n },\n Annotation: function* (entity) {\n return [\n [\"@id\", entity.id],\n [\"@type\", \"oa:Annotation\"],\n [\"motivation\", \"sc:painting\"],\n [\"on\", parseCanvasTarget(entity.target)],\n [\"resource\", unNestArray(yield entity.body, true)]\n ];\n },\n ContentResource: function* (entity) {\n switch (entity.type) {\n case \"Image\":\n return [\n ...technicalProperties$1(entity, \"dctypes:Image\"),\n ...yield* descriptiveProperties$1(entity),\n ...yield* linkingProperties$1(entity)\n ];\n case \"Text\":\n case \"Dataset\":\n default:\n return [...technicalProperties$1(entity, void 0), ...yield* descriptiveProperties$1(entity)];\n }\n },\n AnnotationCollection: function* (entity) {\n return [\n [\"@id\", entity.id],\n [\"@type\", \"sc:Layer\"],\n [\"label\", languageString2to3(entity.label)]\n ];\n },\n Collection: function* (entity) {\n return [\n ...technicalProperties$1(entity, \"sc:Collection\"),\n ...yield* descriptiveProperties$1(entity),\n ...yield* linkingProperties$1(entity),\n [\"members\", yield* entity.items]\n ];\n },\n Range: function* (entity) {\n const members = [];\n const canvases = [];\n if (entity.items) {\n for (const item of entity.items) {\n const canvas = yield item;\n members.push({\n \"@id\": item.id,\n \"@type\": item.type,\n label: canvas ? canvas.label : void 0,\n within: entity.id\n });\n if (item.type === \"Canvas\") {\n canvases.push(item.id);\n }\n }\n }\n return [\n ...technicalProperties$1(entity, \"sc:Range\"),\n ...yield* descriptiveProperties$1(entity),\n ...yield* linkingProperties$1(entity),\n [\"canvases\", canvases.length === members.length ? canvases : void 0],\n [\"members\", canvases.length !== members.length ? members : void 0]\n ];\n }\n};\nfunction technicalProperties(entity) {\n var _a;\n return [\n [\"id\", !((_a = entity.id) == null ? void 0 : _a.startsWith(\"vault://\")) ? entity.id : void 0],\n [\"type\", entity.type],\n [\"format\", entity.format],\n [\"profile\", entity.profile],\n [\"height\", entity.height],\n [\"width\", entity.width],\n [\"duration\", entity.duration || void 0],\n [\"viewingDirection\", entity.viewingDirection !== \"left-to-right\" ? entity.viewingDirection : void 0],\n [\"behavior\", entity.behavior && entity.behavior.length ? entity.behavior : void 0],\n [\"timeMode\", entity.timeMode],\n [\"motivation\", Array.isArray(entity.motivation) ? entity.motivation[0] : entity.motivation]\n ];\n}\nfunction filterEmpty(item) {\n if (!item || item.length === 0) {\n return void 0;\n }\n return item;\n}\nfunction service2compat(service) {\n if (service && service.type && service.type === \"ImageService2\") {\n const { id, type, profile: _profile, ..._service } = service;\n const profile = typeof _profile === \"string\" ? _profile : Array.isArray(_profile) ? _profile.find((p) => typeof p === \"string\") : \"\";\n return {\n \"@id\": id,\n \"@type\": type,\n profile: profile ? profile.startsWith(\"http\") ? profile : `http://iiif.io/api/image/2/${profile}.json` : \"http://iiif.io/api/image/2/level0.json\",\n ..._service\n };\n }\n return service;\n}\nfunction filterService2Compat(services) {\n if (!services || services.length === 0) {\n return void 0;\n }\n return services.map(service2compat);\n}\nfunction* descriptiveProperties(entity) {\n return [\n [\"label\", entity.label],\n [\"metadata\", filterEmpty(entity.metadata)],\n [\"summary\", entity.summary],\n [\"requiredStatement\", entity.requiredStatement],\n [\"rights\", entity.rights],\n [\"navDate\", entity.navDate],\n [\"language\", entity.language],\n [\"thumbnail\", filterEmpty(yield entity.thumbnail)],\n [\"placeholderCanvas\", yield entity.placeholderCanvas],\n [\"accompanyingCanvas\", yield entity.accompanyingCanvas],\n [\"provider\", filterEmpty(yield entity.provider)]\n ];\n}\nfunction* linkingProperties(entity) {\n return [\n [\"seeAlso\", filterEmpty(yield entity.seeAlso)],\n [\"service\", filterService2Compat(entity.service)],\n [\"services\", filterService2Compat(entity.services)],\n [\"rendering\", filterEmpty(yield entity.rendering)],\n [\"supplementary\", filterEmpty(yield entity.supplementary)],\n [\"homepage\", filterEmpty(yield entity.homepage)],\n [\"logo\", filterEmpty(yield entity.logo)],\n [\"partOf\", filterEmpty(yield entity.partOf)],\n [\"start\", entity.start]\n ];\n}\nconst serializeConfigPresentation3 = {\n Manifest: function* (entity, state, { isTopLevel }) {\n if (!isTopLevel) {\n return [\n ...technicalProperties(entity),\n ...yield* descriptiveProperties(entity)\n ];\n }\n return [\n [\"@context\", \"http://iiif.io/api/presentation/3/context.json\"],\n ...technicalProperties(entity),\n ...yield* descriptiveProperties(entity),\n ...yield* linkingProperties(entity),\n [\"items\", yield entity.items],\n [\"structures\", filterEmpty(yield entity.structures)],\n [\"annotations\", filterEmpty(yield entity.annotations)]\n ];\n },\n Canvas: function* (entity) {\n return [\n ...technicalProperties(entity),\n ...yield* descriptiveProperties(entity),\n ...yield* linkingProperties(entity),\n [\"items\", yield entity.items],\n [\"annotations\", filterEmpty(yield entity.annotations)]\n ];\n },\n Agent: function* (entity) {\n return [\n [\"id\", entity.id],\n [\"type\", \"Agent\"],\n [\"label\", entity.label],\n ...yield* linkingProperties(entity)\n ];\n },\n AnnotationPage: function* (entity) {\n const entries = Object.entries(entity).map(([key, item]) => {\n return [key, Array.isArray(item) ? filterEmpty(item) : item];\n }).filter(([key, value]) => {\n return key !== \"items\";\n });\n return [\n ...entries,\n ...yield* linkingProperties(entity),\n [\"items\", yield entity.items]\n ];\n },\n Service: function* (entity) {\n return [[UNWRAP, service2compat(entity)]];\n },\n Annotation: function* (entity) {\n const entries = Object.entries(entity).map(([key, item]) => {\n if (key === \"motivation\") {\n return [key, Array.isArray(item) ? item[0] : item];\n }\n return [key, Array.isArray(item) ? filterEmpty(item) : item];\n }).filter(([key]) => {\n return key !== \"body\";\n });\n const resolvedBody = yield entity.body;\n return [...entries, [\"body\", resolvedBody.length === 1 ? resolvedBody[0] : resolvedBody]];\n },\n ContentResource: function* (entity) {\n return [\n ...technicalProperties(entity),\n ...yield* descriptiveProperties(entity),\n ...yield* linkingProperties(entity),\n [\"annotations\", filterEmpty(yield entity.annotations)],\n [\"items\", filterEmpty(yield entity.items)]\n ];\n },\n AnnotationCollection: function* (entity) {\n return [\n [\"id\", entity.id],\n [\"type\", \"AnnotationCollection\"],\n [\"label\", entity.label]\n ];\n },\n Collection: function* (entity, state, { isTopLevel }) {\n if (isTopLevel) {\n return [\n [\"@context\", \"http://iiif.io/api/presentation/3/context.json\"],\n ...technicalProperties(entity),\n ...yield* descriptiveProperties(entity),\n ...yield* linkingProperties(entity),\n [\"items\", filterEmpty(yield entity.items)]\n ];\n }\n return [...technicalProperties(entity), ...yield* descriptiveProperties(entity)];\n },\n Range: function* (entity) {\n const rangeItems = [];\n for (const item of entity.items) {\n if (item.type === \"Range\") {\n rangeItems.push(yield item);\n } else {\n rangeItems.push(item);\n }\n }\n return [\n ...technicalProperties(entity),\n ...yield* descriptiveProperties(entity),\n ...yield* linkingProperties(entity),\n [\"items\", rangeItems],\n [\"annotations\", filterEmpty(yield entity.annotations)]\n ];\n }\n};\nexport {\n EMPTY,\n Traverse$1 as Traverse,\n UNSET,\n UNWRAP,\n defaultEntities,\n emptyAgent,\n emptyAnnotation,\n emptyAnnotationPage,\n emptyCanvas,\n emptyCollection,\n emptyManifest,\n emptyRange,\n getDefaultEntities,\n identifyResource$1 as identifyResource,\n languageString2to3,\n mergeEntities,\n normalize,\n serialize,\n serializeConfigPresentation2,\n serializeConfigPresentation3,\n serializedFieldsToObject,\n types$1 as types\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["__defProp","__defNormalProp","obj","key","value","__publicField","EMPTY","emptyAnnotationPage","emptyCanvas","emptyCollection","emptyManifest","emptyRange","emptyAgent","ensureArray$1","maybeArray","types$1","identifyResource$1","resource","hasType","Traverse$1","traversals","options","traversal","thumbnail","agent","content","service","homepage","partOf","collection","collectionOrManifest","manifest","canvas","range","annotationPage","annotation","annotationPageJson","annotationBody","json","annotationJson","contentResourceJson","choiceItem","rangeOrManifest","object","acc","returnValue","type","types","identifyResource","Traverse","members","subCollection","member","sequence","structure","image","annotationList","innerRange","list","res","layer","choice","item","contentResource","wasArray","resourceList","newResourceList","singleResource","allServices","services","newServices","singleObj","STANFORD_IIIF_IMAGE_COMPLIANCE_0","STANFORD_IIIF_IMAGE_COMPLIANCE_1","STANFORD_IIIF_IMAGE_COMPLIANCE_2","STANFORD_IIIF_IMAGE_CONFORMANCE_0","STANFORD_IIIF_IMAGE_CONFORMANCE_1","STANFORD_IIIF_IMAGE_CONFORMANCE_2","STANFORD_IIIF_1_IMAGE_COMPLIANCE_0","STANFORD_IIIF_1_IMAGE_COMPLIANCE_1","STANFORD_IIIF_1_IMAGE_COMPLIANCE_2","STANFORD_IIIF_1_IMAGE_CONFORMANCE_0","STANFORD_IIIF_1_IMAGE_CONFORMANCE_1","STANFORD_IIIF_1_IMAGE_CONFORMANCE_2","IIIF_1_IMAGE_LEVEL_0","IIIF_1_IMAGE_LEVEL_0_PROFILE","IIIF_1_IMAGE_LEVEL_1","IIIF_1_IMAGE_LEVEL_1_PROFILE","IIIF_1_IMAGE_LEVEL_2","IIIF_1_IMAGE_LEVEL_2_PROFILE","IIIF_2_IMAGE_LEVEL_0","IIIF_2_IMAGE_LEVEL_0_PROFILE","IIIF_2_IMAGE_LEVEL_1","IIIF_2_IMAGE_LEVEL_1_PROFILE","IIIF_2_IMAGE_LEVEL_2","IIIF_2_IMAGE_LEVEL_2_PROFILE","IIIF_3_IMAGE_LEVEL_0","IIIF_3_IMAGE_LEVEL_1","IIIF_3_IMAGE_LEVEL_2","IIIF_2_IMAGE_LEVEL_0_NO_JSON","IIIF_2_IMAGE_LEVEL_1_NO_JSON","IIIF_2_IMAGE_LEVEL_2_NO_JSON","level1Support","imageServiceProfiles","configuration","convertLanguageMapping","inputLangProperty","defaultLang","arrayOfValues","languageMap","language","lang","getProfile","profile","s","getTypeFromContext","inputContexts","contexts","context","getTypeFromProfile","inputProfile","removePrefix","str","prefix","knownTypes","getNewType","id","oldType","possibleType","licenseRegex","extractLicense","license","matches","fixLicense","licenseLabel","rights","metadata","licenseList","rawLicense","singleLicense","removeContexts","fixContext","inputContext","newContexts","convertMetadata","removeUndefinedProperties","prop","mintedIdCounter","mintNewIdFromResource","subresource","origId","technicalProperties$2","allBehaviours","motivation","descriptiveProperties$2","extraMetadata","allMetadata","parseWithin","withinProperties","returnPartOf","within","linkingProperties$2","related","embeddedContentProperties","upgradeCollection","upgradeManifest","allCanvases","behavior","technical","upgradeCanvas","upgradeAnnotationList","upgradeSequence","upgradeAnnotation","upgradeTarget","target","source","upgradeSelector","upgradeContentResource","inputContentResource","upgradeChoice","items","upgradeRange","upgradeService","additionalProps","newService","upgradeLayer","presentation2to3","convertPresentation2","entity","selector","getDefaultEntities","getResource","entityOrString","mapToEntities","entities","defaultStringType","storeType","mergeEntities","merge","existing","incoming","merged","existingIdx","e","val","currentVal","recordTypeInMapping","mapping","r","foundType","hash","text","numHash","index","hexString","addMissingIdToContentResource","ensureDefaultFields","defaultResource","ensureArray","ensureArrayOnAnnotation","normalize","unknownEntity","addToEntities","addToMapping","UNSET","UNWRAP","resolveIfExists","state","url","request","resourceType","serializedFieldsToObject","fields","serialize","subject","config","flatten","sub","generator","iterator","current","requestToHydrate","next","nextList","req","languageString2to3","languages","singleValue","parseCanvasTarget","unNestArray","oneOrArray","onlyOne","convertService","technicalProperties$1","props","descriptiveProperties$1","provider","linkingProperties$1","serializeConfigPresentation2","resources","canvases","technicalProperties","_a","filterEmpty","service2compat","_profile","_service","p","filterService2Compat","descriptiveProperties","linkingProperties","serializeConfigPresentation3","isTopLevel","entries","resolvedBody","rangeItems"],"mappings":"AAAA,IAAIA,KAAY,OAAO,gBACnBC,KAAkB,CAACC,GAAKC,GAAKC,MAAUD,KAAOD,IAAMF,GAAUE,GAAKC,GAAK,EAAE,YAAY,IAAM,cAAc,IAAM,UAAU,IAAM,OAAAC,EAAO,CAAA,IAAIF,EAAIC,CAAG,IAAIC,GACtJC,IAAgB,CAACH,GAAKC,GAAKC,OAC7BH,GAAgBC,GAAK,OAAOC,KAAQ,WAAWA,IAAM,KAAKA,GAAKC,CAAK,GAC7DA;AAEJ,MAACE,IAAQ,CAAG;AACjB,OAAO,OAAOA,CAAK;AAiCd,MAACC,KAAsB;AAAA,EAC1B,IAAI;AAAA,EACJ,MAAM;AAAA,EACN,UAAUD;AAAA,EACV,YAAY;AAAA,EACZ,OAAO;AAAA,EACP,WAAWA;AAAA,EACX,SAA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AASuF,CAAU;AAAA,MACpB,CAAC,eAAeZ,EAAY,MAAM3E,EAAO,WAAW,CAAC;AAAA,IAC3D;AAAA,EACG;AACH;","x_google_ignoreList":[0]}
|
package/dist/index.es260.js
CHANGED
|
@@ -1,7 +1,38 @@
|
|
|
1
|
-
function
|
|
2
|
-
return
|
|
1
|
+
function e(n) {
|
|
2
|
+
return n == null;
|
|
3
|
+
}
|
|
4
|
+
function i(n) {
|
|
5
|
+
throw new Error("Argument " + n + " is empty.");
|
|
6
|
+
}
|
|
7
|
+
function l(n) {
|
|
8
|
+
return typeof n == "string" || typeof n == "symbol";
|
|
9
|
+
}
|
|
10
|
+
function a(n) {
|
|
11
|
+
return !l(n);
|
|
12
|
+
}
|
|
13
|
+
function s(n) {
|
|
14
|
+
throw new Error("Argument " + n + " is invalid, it should be an action type of type: string | symbol");
|
|
15
|
+
}
|
|
16
|
+
function c(n, t) {
|
|
17
|
+
return e(n) && i(1), a(n) && s(1), Object.assign(function() {
|
|
18
|
+
var o = t != null ? t.apply(void 0, arguments) : void 0;
|
|
19
|
+
return Object.assign({ type: n }, o);
|
|
20
|
+
}, { getType: function() {
|
|
21
|
+
return n;
|
|
22
|
+
}, toString: function() {
|
|
23
|
+
return n;
|
|
24
|
+
} });
|
|
25
|
+
}
|
|
26
|
+
function g(n, t, o) {
|
|
27
|
+
return e(n) && i(1), a(n) && s(1), function() {
|
|
28
|
+
return c(n, function() {
|
|
29
|
+
var u = arguments.length <= 0 ? void 0 : arguments[0], r = arguments.length <= 1 ? void 0 : arguments[1];
|
|
30
|
+
return t == null && o == null || (u = t != null ? t.apply(void 0, arguments) : void 0, r = o != null ? o.apply(void 0, arguments) : void 0), Object.assign({}, u !== void 0 && { payload: u }, {}, r !== void 0 && { meta: r });
|
|
31
|
+
});
|
|
32
|
+
};
|
|
3
33
|
}
|
|
4
34
|
export {
|
|
5
|
-
|
|
35
|
+
g as createAction,
|
|
36
|
+
c as createCustomAction
|
|
6
37
|
};
|
|
7
38
|
//# sourceMappingURL=index.es260.js.map
|
package/dist/index.es260.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es260.js","sources":["../../../node_modules
|
|
1
|
+
{"version":3,"file":"index.es260.js","sources":["../../../node_modules/typesafe-actions/dist/typesafe-actions.es.production.js"],"sourcesContent":["function n(n){return null==n}function t(n){throw new Error(\"Argument \"+n+\" is empty.\")}function r(n){return\"function\"==typeof n&&\"getType\"in n}function e(n){throw new Error(\"Argument \"+n+' is invalid, it should be an action-creator instance from \"typesafe-actions\"')}function i(n,t){if(null==n)throw new Error(\"Argument contains array with empty element at index \"+t);if(null==n.getType)throw new Error(\"Argument contains array with invalid element at index \"+t+', it should be an action-creator instance from \"typesafe-actions\"')}function o(n){return\"string\"==typeof n||\"symbol\"==typeof n}function u(n){return!o(n)}function a(n){throw new Error(\"Argument \"+n+\" is invalid, it should be an action type of type: string | symbol\")}function c(n,t){if(null==n)throw new Error(\"Argument contains array with empty element at index \"+t);if(\"string\"!=typeof n&&\"symbol\"!=typeof n)throw new Error(\"Argument contains array with invalid element at index \"+t+\", it should be of type: string | symbol\")}function f(r,i,o,a){return n(r)&&t(1),u(r)&&e(1),{type:r,payload:i,meta:o,error:a}}function s(r,e){n(r)&&t(1),u(r)&&a(1);return Object.assign((function(){var n=null!=e?e.apply(void 0,arguments):void 0;return Object.assign({type:r},n)}),{getType:function(){return r},toString:function(){return r}})}function y(r,e,i){return n(r)&&t(1),u(r)&&a(1),function(){return s(r,(function(){var n=arguments.length<=0?void 0:arguments[0],t=arguments.length<=1?void 0:arguments[1];return null==e&&null==i||(n=null!=e?e.apply(void 0,arguments):void 0,t=null!=i?i.apply(void 0,arguments):void 0),Object.assign({},void 0!==n&&{payload:n},{},void 0!==t&&{meta:t})}))}}function l(n,t,r,e){return function(){var i=[n,t,r,e].map((function(n,t){return Array.isArray(n)?y(n[0],n[1],n[2])():\"string\"==typeof n||\"symbol\"==typeof n?y(n)():void(t<3&&function(n){throw new Error(\"Argument \"+n+' is invalid, it should be an action type of \"string | symbol\" or a tuple of \"[string | symbol, Function, Function?]\"')}(t))}));return{request:i[0],success:i[1],failure:i[2],cancel:i[3]}}}function p(i){return n(i)&&t(1),r(i)||e(1),i.getType()}function d(n,t){void 0===t&&(t={});var e=Object.assign({},t),i=function(t,i){var u=Array.isArray(t)?t:[t],a={};return u.map((function(n,t){return r(n)?p(n):o(n)?n:function(n){throw new Error(\"Argument \"+n+' is invalid, it should be an action-creator instance from \"typesafe-actions\" or action type of type: string | symbol')}(t+1)})).forEach((function(n){return a[n]=i})),d(n,Object.assign({},e,{},a))};return Object.assign((function(t,r){if(void 0===t&&(t=n),e.hasOwnProperty(r.type)){var i=e[r.type];if(\"function\"!=typeof i)throw Error('Reducer under \"'+r.type+'\" key is not a valid reducer');return i(t,r)}return t}),{handlers:Object.assign({},e),handleAction:i,handleType:i})}function g(r,e){n(r)&&t(1);var i=Array.isArray(r)?r:[r];i.forEach(c);var o=function(n){return i.includes(n.type)};return void 0===e?o:o(e)}function m(r,e){n(r)&&t(1);var o=Array.isArray(r)?r:[r];o.forEach(i);var u=function(n){return o.some((function(t){return n.type===t.getType()}))};return void 0===e?u:u(e)}function v(r,e){n(r)&&t(1),u(r)&&a(1);var i=null!=e?e(r):function(){return{type:r}};return Object.assign(i,{getType:function(){return r},toString:function(){return r}})}var h={createAction:function(n,t){var r=null==t?function(){return f(n)}:t(f.bind(null,n));return Object.assign(r,{getType:function(){return n},toString:function(){return n}})},createCustomAction:v,createStandardAction:function(r){return n(r)&&t(1),u(r)&&a(1),Object.assign((function(){return v(r,(function(n){return function(t,r){return{type:n,payload:t,meta:r}}}))}),{map:function(n){return v(r,(function(t){return function(r,e){return Object.assign(n(r,e),{type:t})}}))}})}};export{f as action,y as createAction,l as createAsyncAction,s as createCustomAction,d as createReducer,h as deprecated,p as getType,m as isActionOf,g as isOfType};\n//# sourceMappingURL=typesafe-actions.es.production.js.map\n"],"names":["n","t","o","u","a","s","r","e","y","i"],"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