| 8512 | const nextSwitch = new NextSwitch(); |
| 8513 | |
| 8514 | class Picker { |
| 8515 | //static picker; |
| 8516 | constructor() { |
| 8517 | this.inited = false; |
| 8518 | } |
| 8519 | |
| 8520 | /*static getInstance() { |
| 8521 | if (!Picker.picker) { |
| 8522 | Picker.picker = new Picker(); |
| 8523 | } |
| 8524 | return Picker.picker; |
| 8525 | }*/ |
| 8526 | |
| 8527 | init() { |
| 8528 | if (this.inited) return; |
| 8529 | this.inited = true; |
| 8530 | let self = this; |
| 8531 | this.signList = []; |
| 8532 | this.cssText = ` |
| 8533 | body.pagetual-picker, |
| 8534 | body.pagetual-picker *:hover, |
| 8535 | body.pagetual-picker a:hover { |
| 8536 | cursor: crosshair !important; |
| 8537 | } |
| 8538 | #pagetual-picker { |
| 8539 | position: fixed; |
| 8540 | max-width: 80vw; |
| 8541 | top: 10px; |
| 8542 | left: calc(50% - 178px); |
| 8543 | background: aliceblue; |
| 8544 | padding: 10px; |
| 8545 | border-radius: 5px; |
| 8546 | text-align: center; |
| 8547 | opacity: 0.95; |
| 8548 | color: #161616; |
| 8549 | z-index: 2147483646; |
| 8550 | font-size: 16px; |
| 8551 | overflow: hidden; |
| 8552 | box-shadow: rgb(0 0 0) 0px 0px 10px; |
| 8553 | } |
| 8554 | #pagetual-picker * { |
| 8555 | margin: 0; |
| 8556 | padding: 0; |
| 8557 | font-family: Times New Roman; |
| 8558 | overflow: initial; |
| 8559 | user-select: none; |
| 8560 | line-height: unset; |
| 8561 | min-width: unset; |
| 8562 | min-height: unset; |
| 8563 | height: auto; |
| 8564 | width: auto; |
| 8565 | } |
| 8566 | #pagetual-picker>.title { |
| 8567 | max-width: 100%; |
| 8568 | margin: -5px 45px 10px 45px; |
| 8569 | font-size: 20px; |
| 8570 | font-weight: bold; |
| 8571 | cursor: pointer; |
nothing calls this directly
no outgoing calls
no test coverage detected