1
- ' use strict' ;
1
+ " use strict" ;
2
2
3
3
Object . defineProperty ( exports , "__esModule" , {
4
4
value : true
5
5
} ) ;
6
+ exports . default = void 0 ;
6
7
7
- var _react = require ( ' react' ) ;
8
+ var React = _interopRequireWildcard ( require ( " react" ) ) ;
8
9
9
- var React = _interopRequireWildcard ( _react ) ;
10
+ var _recompose = require ( "recompose" ) ;
10
11
11
- var _recompose = require ( 'recompose' ) ;
12
+ function _interopRequireWildcard ( obj ) { if ( obj && obj . __esModule ) { return obj ; } else { var newObj = { } ; if ( obj != null ) { for ( var key in obj ) { if ( Object . prototype . hasOwnProperty . call ( obj , key ) ) { var desc = Object . defineProperty && Object . getOwnPropertyDescriptor ? Object . getOwnPropertyDescriptor ( obj , key ) : { } ; if ( desc . get || desc . set ) { Object . defineProperty ( newObj , key , desc ) ; } else { newObj [ key ] = obj [ key ] ; } } } } newObj . default = obj ; return newObj ; } }
12
13
13
- function _interopRequireWildcard ( obj ) { if ( obj && obj . __esModule ) { return obj ; } else { var newObj = { } ; if ( obj != null ) { for ( var key in obj ) { if ( Object . prototype . hasOwnProperty . call ( obj , key ) ) newObj [ key ] = obj [ key ] ; } } newObj . default = obj ; return newObj ; } }
14
-
15
- exports . default = ( 0 , _recompose . pure ) ( function ( _ref ) {
14
+ var _default = ( 0 , _recompose . pure ) ( function ( _ref ) {
16
15
var isFullScreen = _ref . isFullScreen ;
17
16
18
17
if ( isFullScreen ) {
19
- return React . createElement (
20
- 'svg' ,
21
- { id : 'no-fullscreen' , width : '15' , height : '15' , viewBox : '0 0 612 612' } ,
22
- React . createElement (
23
- 'g' ,
24
- null ,
25
- React . createElement (
26
- 'g' ,
27
- { id : '_x36_' } ,
28
- React . createElement (
29
- 'g' ,
30
- null ,
31
- React . createElement ( 'path' , {
32
- d : 'M260.655,351.173c-3.615-4.016-8.721-6.636-14.554-6.655l-164.915-0.229c-10.92-0.019-19.756,8.816-19.737,19.737 c0.019,10.92,12.756,23.198,18.226,28.668l41.711,41.712L0,554.625L57.375,612l119.608-121.979l41.711,41.712 c9.027,9.027,18.188,18.628,29.108,18.646c10.92,0.02,19.756-8.816,19.737-19.736l-0.229-164.915 C267.291,359.895,264.671,354.788,260.655,351.173z M493.119,175.472L612,57.375L554.625,0L436.566,118.556l-42.419-42.687 c-9.181-9.238-18.494-19.068-29.587-19.087c-11.111-0.019-20.081,9.027-20.081,20.196l0.229,168.797 c0,5.967,2.678,11.188,6.771,14.898c3.69,4.112,8.874,6.789,14.803,6.809l167.726,0.229c11.093,0.019,20.082-9.027,20.082-20.196 c-0.02-11.169-12.967-23.753-18.532-29.338L493.119,175.472z' ,
33
- fill : '#FFFFFF'
34
- } )
35
- )
36
- )
37
- )
38
- ) ;
18
+ return React . createElement ( "svg" , {
19
+ id : "no-fullscreen" ,
20
+ width : "15" ,
21
+ height : "15" ,
22
+ viewBox : "0 0 612 612"
23
+ } , React . createElement ( "g" , null , React . createElement ( "g" , {
24
+ id : "_x36_"
25
+ } , React . createElement ( "g" , null , React . createElement ( "path" , {
26
+ d : "M260.655,351.173c-3.615-4.016-8.721-6.636-14.554-6.655l-164.915-0.229c-10.92-0.019-19.756,8.816-19.737,19.737 c0.019,10.92,12.756,23.198,18.226,28.668l41.711,41.712L0,554.625L57.375,612l119.608-121.979l41.711,41.712 c9.027,9.027,18.188,18.628,29.108,18.646c10.92,0.02,19.756-8.816,19.737-19.736l-0.229-164.915 C267.291,359.895,264.671,354.788,260.655,351.173z M493.119,175.472L612,57.375L554.625,0L436.566,118.556l-42.419-42.687 c-9.181-9.238-18.494-19.068-29.587-19.087c-11.111-0.019-20.081,9.027-20.081,20.196l0.229,168.797 c0,5.967,2.678,11.188,6.771,14.898c3.69,4.112,8.874,6.789,14.803,6.809l167.726,0.229c11.093,0.019,20.082-9.027,20.082-20.196 c-0.02-11.169-12.967-23.753-18.532-29.338L493.119,175.472z" ,
27
+ fill : "#FFFFFF"
28
+ } ) ) ) ) ) ;
39
29
} else {
40
- return React . createElement (
41
- 'svg' ,
42
- { id : 'fullscreen' , width : '15' , height : '15' , viewBox : '0 0 438.529 438.529' } ,
43
- React . createElement (
44
- 'g' ,
45
- { fill : '#fff' } ,
46
- React . createElement ( 'path' , { d : 'M180.156,225.828c-1.903-1.902-4.093-2.854-6.567-2.854c-2.475,0-4.665,0.951-6.567,2.854l-94.787,94.787l-41.112-41.117 c-3.617-3.61-7.895-5.421-12.847-5.421c-4.952,0-9.235,1.811-12.851,5.421c-3.617,3.621-5.424,7.905-5.424,12.854v127.907 c0,4.948,1.807,9.229,5.424,12.847c3.619,3.613,7.902,5.424,12.851,5.424h127.906c4.949,0,9.23-1.811,12.847-5.424 c3.615-3.617,5.424-7.898,5.424-12.847s-1.809-9.233-5.424-12.854l-41.112-41.104l94.787-94.793 c1.902-1.903,2.853-4.086,2.853-6.564c0-2.478-0.953-4.66-2.853-6.57L180.156,225.828z' } ) ,
47
- React . createElement ( 'path' , { d : 'M433.11,5.424C429.496,1.807,425.212,0,420.263,0H292.356c-4.948,0-9.227,1.807-12.847,5.424 c-3.614,3.615-5.421,7.898-5.421,12.847s1.807,9.233,5.421,12.847l41.106,41.112l-94.786,94.787 c-1.901,1.906-2.854,4.093-2.854,6.567s0.953,4.665,2.854,6.567l32.552,32.548c1.902,1.903,4.086,2.853,6.563,2.853 s4.661-0.95,6.563-2.853l94.794-94.787l41.104,41.109c3.62,3.616,7.905,5.428,12.854,5.428s9.229-1.812,12.847-5.428 c3.614-3.614,5.421-7.898,5.421-12.847V18.268C438.53,13.315,436.734,9.04,433.11,5.424z' } )
48
- )
49
- ) ;
30
+ return React . createElement ( "svg" , {
31
+ id : "fullscreen" ,
32
+ width : "15" ,
33
+ height : "15" ,
34
+ viewBox : "0 0 438.529 438.529"
35
+ } , React . createElement ( "g" , {
36
+ fill : "#fff"
37
+ } , React . createElement ( "path" , {
38
+ d : "M180.156,225.828c-1.903-1.902-4.093-2.854-6.567-2.854c-2.475,0-4.665,0.951-6.567,2.854l-94.787,94.787l-41.112-41.117 c-3.617-3.61-7.895-5.421-12.847-5.421c-4.952,0-9.235,1.811-12.851,5.421c-3.617,3.621-5.424,7.905-5.424,12.854v127.907 c0,4.948,1.807,9.229,5.424,12.847c3.619,3.613,7.902,5.424,12.851,5.424h127.906c4.949,0,9.23-1.811,12.847-5.424 c3.615-3.617,5.424-7.898,5.424-12.847s-1.809-9.233-5.424-12.854l-41.112-41.104l94.787-94.793 c1.902-1.903,2.853-4.086,2.853-6.564c0-2.478-0.953-4.66-2.853-6.57L180.156,225.828z"
39
+ } ) , React . createElement ( "path" , {
40
+ d : "M433.11,5.424C429.496,1.807,425.212,0,420.263,0H292.356c-4.948,0-9.227,1.807-12.847,5.424 c-3.614,3.615-5.421,7.898-5.421,12.847s1.807,9.233,5.421,12.847l41.106,41.112l-94.786,94.787 c-1.901,1.906-2.854,4.093-2.854,6.567s0.953,4.665,2.854,6.567l32.552,32.548c1.902,1.903,4.086,2.853,6.563,2.853 s4.661-0.95,6.563-2.853l94.794-94.787l41.104,41.109c3.62,3.616,7.905,5.428,12.854,5.428s9.229-1.812,12.847-5.428 c3.614-3.614,5.421-7.898,5.421-12.847V18.268C438.53,13.315,436.734,9.04,433.11,5.424z"
41
+ } ) ) ) ;
50
42
}
51
- } ) ;
43
+ } ) ;
44
+
45
+ exports . default = _default ;
0 commit comments